source: pmb4.2/trunk/fuentes/pmb/cms/cms_build/cms_build.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: 931 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: cms_build.inc.php,v 1.3 2014-11-17 13:39:11 ngantier Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9require_once ("$include_path/cms/cms.inc.php");
10require_once ("$include_path/templates/cms/cms_build.tpl.php"); 
11require_once("$class_path/cms/cms_build.class.php");
12
13$cms_build=new cms_build($opac_id);
14
15
16switch($sub) {                 
17        case 'block':
18                $cms_layout = str_replace('!!menu_sous_rub!!', $msg["cms_menu_build_page_layout"], $cms_layout);
19                print $cms_layout;
20                print $cms_build->get_form_block();
21        break;
22        default:
23                $cms_layout = str_replace('!!menu_sous_rub!!', $msg["cms_menu_build_page_layout"], $cms_layout);
24                print $cms_layout;
25                print $cms_build->get_form_block();
26        break;
27}               
Note: See TracBrowser for help on using the repository browser.