[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/sitemgr/ -> theme_info.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare SiteMgr - Web Content Management                              *
   4      * http://www.egroupware.org                                                *
   5      * Written and (c) by RalfBecker@outdoor-training.de                        *
   6      * --------------------------------------------                             *
   7      *  This program is free software; you can redistribute it and/or modify it *
   8      *  under the terms of the GNU General Public License as published by the   *
   9      *  Free Software Foundation; either version 2 of the License, or (at your  *
  10      *  option) any later version.                                              *
  11      \**************************************************************************/
  12  
  13      /* $Id: theme_info.php 20295 2006-02-15 12:31:25Z  $ */
  14  
  15      $GLOBALS['egw_info']['flags'] = array
  16      (
  17              'currentapp' => 'sitemgr',
  18              'nonavbar'   => True,
  19              'noheader'   => True,
  20              'noapi'      => False
  21      );
  22      include('../header.inc.php');
  23  
  24      $GLOBALS['Common_BO'] =& CreateObject('sitemgr.Common_BO');
  25      $GLOBALS['Common_BO']->sites->set_currentsite(False,'Administration');
  26  
  27      $GLOBALS['egw']->template->set_file('theme_info','theme_info.tpl');
  28      if ($_GET['theme'] && ($info = $GLOBALS['Common_BO']->theme->getThemeInfos($_GET['theme'])))
  29      {
  30          if ($info['thumbnail']) $info['thumbnail'] = '<img src="'.$info['thumbnail'].'" />';
  31          $GLOBALS['egw']->template->set_var($info);
  32          $GLOBALS['egw']->template->set_var(array(
  33              'lang_author' => lang('Author'),
  34              'lang_copyright' => lang('Copyright'),
  35          ));
  36      }
  37      $GLOBALS['egw']->template->pfp('out','theme_info');
  38  
  39      $GLOBALS['egw']->common->egw_exit();


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7