source: pmb4.2/trunk/fuentes/pmb/admin/mailtpl/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: 993 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: main.inc.php,v 1.1 2012-07-05 14:33:36 ngantier Exp $
6
7if (stristr($_SERVER['REQUEST_URI'], ".inc.php")) die("no access");
8
9switch($sub) {
10        case 'build':
11                $admin_layout = str_replace('!!menu_sous_rub!!', $msg["admin_mailtpl_title"], $admin_layout);
12                print $admin_layout;
13                include("./admin/mailtpl/build.inc.php");               
14        break;
15        case 'img':
16                $admin_layout = str_replace('!!menu_sous_rub!!', $msg["admin_mailtpl_img_title"], $admin_layout);
17                print $admin_layout;
18                include("./admin/mailtpl/img.inc.php");         
19        break;
20       
21        default:
22                $admin_layout = str_replace('!!menu_sous_rub!!', "", $admin_layout);
23                print $admin_layout;
24                echo window_title($database_window_title.$msg[131].$msg[1003].$msg[1001]);
25                include("$include_path/messages/help/$lang/admin_mailtpl.txt");
26        break;
27}
28?>
Note: See TracBrowser for help on using the repository browser.