source: pmb4.2/trunk/fuentes/pmb/admin/cms/editorial/main.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: 1.0 KB
Line 
1<?php
2// +-------------------------------------------------+
3// © 2002-2004 PMB Services / www.sigb.net pmb@sigb.net et contributeurs (voir www.sigb.net)
4// +-------------------------------------------------+
5// $Id: main.inc.php,v 1.2 2012-08-23 08:48:11 arenou Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9echo window_title($database_window_title.$msg['editorial_content'].$msg[1003].$msg[1001]);
10switch($sub) {
11        case "type" :
12                $admin_layout = str_replace('!!menu_sous_rub!!', $msg['editorial_content_type'], $admin_layout);
13                print $admin_layout;
14                include("./admin/cms/editorial/types.inc.php");
15                break;
16        case 'publication_state':
17                $admin_layout = str_replace('!!menu_sous_rub!!', $msg['editorial_content_publication_state'], $admin_layout);
18                print $admin_layout;
19                include("./admin/cms/editorial/publication_states.inc.php");
20                break;
21        default:
22                $admin_layout = str_replace('!!menu_sous_rub!!', "", $admin_layout);
23                print $admin_layout;
24                include("$include_path/messages/help/$lang/admin_cms_editorial.txt");
25                break;
26}
Note: See TracBrowser for help on using the repository browser.