[geeklog-cvs] geeklog-1.3/public_html/admin event.php,1.39,1.40

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Tue Aug 12 06:49:26 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory geeklog_prod:/tmp/cvs-serv20215

Modified Files:
	event.php 
Log Message:
In the event editor, don't display the "delete" button for new events.


Index: event.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/event.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** event.php	19 Jun 2003 20:01:41 -0000	1.39
--- event.php	12 Aug 2003 10:49:24 -0000	1.40
***************
*** 104,113 ****
                                COM_getBlockTemplate ('_admin_block', 'header'));
  
-     if ($A['eid'] == '') { 
- 		$A['eid'] = COM_makesid(); 
- 	}
- 
      if (!empty($A['eid']) && SEC_hasRights('event.edit')) {
          $event_templates->set_var('delete_option', "<input type=\"submit\" value=\"$LANG22[22]\" name=\"mode\">");
      }
  
--- 104,113 ----
                                COM_getBlockTemplate ('_admin_block', 'header'));
  
      if (!empty($A['eid']) && SEC_hasRights('event.edit')) {
          $event_templates->set_var('delete_option', "<input type=\"submit\" value=\"$LANG22[22]\" name=\"mode\">");
+     }
+ 
+     if ($A['eid'] == '') { 
+         $A['eid'] = COM_makesid(); 
      }
  





More information about the geeklog-cvs mailing list