[geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/polls index.php, 1.47, 1.48
Oliver
ospiess at qs1489.pair.com
Wed Oct 10 21:53:11 EDT 2007
Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/polls
In directory qs1489.pair.com:/tmp/cvs-serv31120
Modified Files:
index.php
Log Message:
show the admin menu in all admin pages
Index: index.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/polls/index.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** index.php 29 Aug 2007 09:33:54 -0000 1.47
--- index.php 11 Oct 2007 01:53:09 -0000 1.48
***************
*** 287,293 ****
{
global $_CONF, $_PO_CONF, $_GROUPS, $_TABLES, $_USER, $LANG25, $LANG_ACCESS,
! $LANG_ADMIN, $MESSAGE;
$retval = '';
$poll_templates = new Template ($_CONF['path']
--- 287,308 ----
{
global $_CONF, $_PO_CONF, $_GROUPS, $_TABLES, $_USER, $LANG25, $LANG_ACCESS,
! $LANG_ADMIN, $MESSAGE, $LANG_POLLS;
$retval = '';
+
+
+ // writing the menu on top
+ require_once( $_CONF['path_system'] . 'lib-admin.php' );
+ $menu_arr = array (
+ array('url' => $_CONF['site_admin_url'] . '/plugins/polls/index.php',
+ 'text' => $LANG_ADMIN['list_all']),
+ array('url' => $_CONF['site_admin_url'],
+ 'text' => $LANG_ADMIN['admin_home']));
+
+ $retval .= ADMIN_createMenu(
+ $menu_arr,
+ $LANG_POLLS['editinstructions'],
+ plugin_geticon_polls()
+ );
$poll_templates = new Template ($_CONF['path']
More information about the geeklog-cvs
mailing list