[geeklog-cvs] geeklog-1.3/public_html/admin/plugins/staticpages index.php,1.25,1.26

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Mon Sep 1 15:01:09 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin/plugins/staticpages
In directory geeklog_prod:/tmp/cvs-serv28005/public_html/admin/plugins/staticpages

Modified Files:
	index.php 
Log Message:
Fixed warnings


Index: index.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/plugins/staticpages/index.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** index.php	2 Aug 2003 17:19:35 -0000	1.25
--- index.php	1 Sep 2003 19:01:06 -0000	1.26
***************
*** 83,87 ****
      } else {
          $sp_template = new Template($_CONF['path'] . 'plugins/staticpages/templates/admin');
!         if (($_CONF['advanced_editor'] == 1) && file_exists ($_CONF['path'] . 'plugins/staticpages/templates/admin/editor_advanced.thtml')) {
              $sp_template->set_file ('form', 'editor_advanced.thtml');
          } else {
--- 83,87 ----
      } else {
          $sp_template = new Template($_CONF['path'] . 'plugins/staticpages/templates/admin');
!         if (isset ($_CONF['advanced_editor']) && ($_CONF['advanced_editor'] == 1) && file_exists ($_CONF['path'] . 'plugins/staticpages/templates/admin/editor_advanced.thtml')) {
              $sp_template->set_file ('form', 'editor_advanced.thtml');
          } else {
***************
*** 94,97 ****
--- 94,98 ----
          $sp_template->set_var('lang_group', $LANG_ACCESS['group']);
      	$usergroups = SEC_getUserGroups();
+         $groupdd = '';
      	if ($access == 3) {
  			$groupdd .= '<select name="group_id">';
***************
*** 99,103 ****
              	$groupdd .= '<option value="' . $usergroups[key($usergroups)] . '"';
              	if ($A['group_id'] == $usergroups[key($usergroups)]) {
!                 	$groupdd .= ' SELECTED';
              	}
              	$groupdd .= '>' . key($usergroups) . '</option>';
--- 100,104 ----
              	$groupdd .= '<option value="' . $usergroups[key($usergroups)] . '"';
              	if ($A['group_id'] == $usergroups[key($usergroups)]) {
!                 	$groupdd .= ' selected="selected"';
              	}
              	$groupdd .= '>' . key($usergroups) . '</option>';





More information about the geeklog-cvs mailing list