[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/polls/inc/ -> header.inc.php (source)

   1  <?php
   2      /**************************************************************************\
   3      * eGroupWare - Polls                                                       *
   4      * http://www.egroupware.org                                                *
   5      * Copyright (c) 1999 Till Gerken (tig@skv.org)                             *
   6      * Modified by Greg Haygood (shrykedude@bellsouth.net)                      *
   7      * -----------------------------------------------                          *
   8      *  This program is free software; you can redistribute it and/or modify it *
   9      *  under the terms of the GNU General Public License as published by the   *
  10      *  Free Software Foundation; either version 2 of the License, or (at your  *
  11      *  option) any later version.                                              *
  12      \**************************************************************************/
  13  
  14      /* $Id: header.inc.php 19418 2005-10-14 16:10:00Z ralfbecker $ */
  15  
  16      if($GLOBALS['egw_info']['flags']['admin_header'])
  17      {
  18          $tpl = $GLOBALS['egw']->template;
  19          $tpl->set_file(array('admin_header' => 'admin_header.tpl'));
  20  
  21          $tpl->set_var('th_bg',$GLOBALS['egw_info']['theme']['th_bg']);
  22          $tpl->set_var('info',lang('Voting booth administration'));
  23          $tpl->set_var('link_list_questions','<a href="' . $GLOBALS['egw']->link('/polls/admin.php','show=questions') . '">' . lang('Show questions') . '</a>');
  24          $tpl->set_var('link_list_answers','<a href="' . $GLOBALS['egw']->link('/polls/admin.php','show=answers') . '">' . lang('Show answers') . '</a>');
  25          $tpl->set_var('link_questions','<a href="' . $GLOBALS['egw']->link('/polls/admin_addquestion.php') . '">' . lang('Add questions') . '</a>');
  26          $tpl->set_var('link_answers','<a href="' . $GLOBALS['egw']->link('/polls/admin_addanswer.php') . '">' . lang('Add answers') . '</a>');
  27          $tpl->set_var('link_settings','<a href="' . $GLOBALS['egw']->link('/polls/admin_settings.php') . '">' . lang('Poll settings') . '</a>');
  28          $tpl->pfp('out','admin_header');
  29      }
  30  ?>


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