source: pmb4.2/trunk/fuentes/pmb/admin/cms/editorial/publication_states.inc.php @ 815

Last change on this file since 815 was 815, checked in by jrpelegrina, 4 years ago

Initial release of pmb 4.2

  • Property svn:executable set to *
File size: 863 bytes
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: publication_states.inc.php,v 1.1 2012-08-20 12:41:08 arenou Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9require_once($class_path."/cms/cms_editorial_publications_states.class.php");
10
11$publication_states = new cms_editorial_publications_states();
12
13switch($action){
14        case "edit":
15                print $publication_states->get_form($id);
16                break;
17        case "save":
18                $publication_states->save();
19                print $publication_states->get_table();
20                break;
21        case "delete":
22                $publication_states->delete($id);
23                print $publication_states->get_table();
24                break;         
25        case "list" :
26        default :
27                print $publication_states->get_table();
28                break;
29       
30}
31
Note: See TracBrowser for help on using the repository browser.