[ Index ]
 

Code source de Plume CMS 1.2.2

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/manager/mtemplates/ -> _pop_top.php (source)

   1  <?php
   2  # ***** BEGIN LICENSE BLOCK *****
   3  # This file is part of Plume CMS, a website management application.
   4  # Copyright (C) 2001-2005 Loic d'Anterroches and contributors.
   5  #
   6  # Plume CMS is free software; you can redistribute it and/or modify
   7  # it under the terms of the GNU General Public License as published by
   8  # the Free Software Foundation; either version 2 of the License, or
   9  # (at your option) any later version.
  10  #
  11  # Plume CMS is distributed in the hope that it will be useful,
  12  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14  # GNU General Public License for more details.
  15  #
  16  # You should have received a copy of the GNU General Public License
  17  # along with this program; if not, write to the Free Software
  18  # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  19  #
  20  # ***** END LICENSE BLOCK *****
  21  
  22  if (basename($_SERVER['SCRIPT_NAME']) == '_pop_top.php') exit;
  23  
  24  /* Can be include only after the creation of the user ($u) and the manager ($m)
  25     objects as they are used here. */
  26  header('Content-Type: text/html; charset='.strtolower($GLOBALS['_PX_config']['encoding']));
  27  ?>
  28  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  29   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  30  
  31  <html xmlns="http://www.w3.org/1999/xhtml">
  32  <head>
  33    <title><?php echo $px_title; ?> - PLUME CMS</title>
  34    <script type="text/javascript" src="tools.js"> </script>
  35    <?php Hook::run('onPrintHeaderManagerPopUpPage', array('m' => &$m)); ?>
  36    <link rel="stylesheet" type="text/css" href="themes/<?php echo $_px_theme; ?>/style.css" />
  37    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower($GLOBALS['_PX_config']['encoding']); ?>" />
  38    <script type="text/javascript">
  39    <!--  
  40    var pxThemeid = '<?php echo $_px_theme; ?>';  
  41    //-->
  42    </script>
  43  
  44  </head>
  45  
  46  <body>
  47  
  48  <div id="main-pop">
  49  
  50  
  51  <div id="content">
  52  
  53  
  54  <?php
  55  if(!empty($_GET['msg'])) {
  56      echo '<p class="message">'.$_GET['msg'].'</p>';
  57  }
  58  if (false !== ($px_error = $m->error(true, false)) )
  59      echo "\n\n" . $px_error . "\n\n"; 
  60  ?>
  61  
  62  


Généré le : Mon Nov 26 11:57:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics