[geeklog-cvs] geeklog-1.3/public_html/admin event.php,1.45,1.46 link.php,1.40,1.41 block.php,1.55,1.56

dhaun at geeklog.net dhaun at geeklog.net
Sat Jan 24 16:52:04 EST 2004


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

Modified Files:
	event.php link.php block.php 
Log Message:
Introduced {max_url_length} template variable.


Index: event.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/event.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** event.php	18 Jan 2004 14:41:22 -0000	1.45
--- event.php	24 Jan 2004 21:52:01 -0000	1.46
***************
*** 14,17 ****
--- 14,18 ----
  // |          Mark Limburg      - mlimburg at users.sourceforge.net               |
  // |          Jason Whittenburg - jwhitten at securitygeeks.com                   |
+ // |          Dirk Haun         - dirk at haun-online.de                          |
  // +---------------------------------------------------------------------------+
  // |                                                                           |
***************
*** 106,110 ****
  
      if (!empty($A['eid']) && SEC_hasRights('event.edit')) {
!         $event_templates->set_var('delete_option', "<input type=\"submit\" value=\"$LANG22[22]\" name=\"mode\">");
      }
  
--- 107,112 ----
  
      if (!empty($A['eid']) && SEC_hasRights('event.edit')) {
!         $event_templates->set_var ('delete_option',
!             '<input type="submit" value="' . $LANG22[22] . '" name="mode">');
      }
  
***************
*** 131,134 ****
--- 133,137 ----
      $event_templates->set_var('type_options', $catdd);
      $event_templates->set_var('lang_eventurl', $LANG22[4]);
+     $event_templates->set_var('max_url_length', 128);
      $event_templates->set_var('event_url', $A['url']);
      $event_templates->set_var('lang_includehttp', $LANG22[9]);

Index: link.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/link.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** link.php	18 Jan 2004 14:41:22 -0000	1.40
--- link.php	24 Jan 2004 21:52:01 -0000	1.41
***************
*** 112,115 ****
--- 112,116 ----
                               htmlspecialchars (stripslashes ($A['title'])));
      $link_templates->set_var('lang_linkurl', $LANG23[4]);
+     $link_templates->set_var('max_url_length', 96);
      $link_templates->set_var('link_url', $A['url']);
      $link_templates->set_var('lang_includehttp', $LANG23[6]);

Index: block.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/block.php,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** block.php	18 Jan 2004 14:41:22 -0000	1.55
--- block.php	24 Jan 2004 21:52:02 -0000	1.56
***************
*** 291,294 ****
--- 291,295 ----
      $block_templates->set_var('lang_portalblockoptions', $LANG21[13]);
      $block_templates->set_var('lang_rdfurl', $LANG21[14]);
+     $block_templates->set_var('max_url_length', 96);
      $block_templates->set_var('block_rdfurl', $A['rdfurl']);
      $block_templates->set_var('lang_lastrdfupdate', $LANG21[15]);
***************
*** 501,509 ****
  
              if ($A['is_enabled'] == 1) {
!                 $block_templates->set_var('enabled', "checked");
              } else {
!                 $block_templates->set_var('enabled', "");
              }
!             $block_templates->set_var ('block_enabled', $enabled);
  
              if ($A['onleft'] == 1) {
--- 502,510 ----
  
              if ($A['is_enabled'] == 1) {
!                 $block_templates->set_var('enabled', 'checked="checked"');
              } else {
!                 $block_templates->set_var('enabled', '');
              }
!             // $block_templates->set_var ('block_enabled', $enabled);
  
              if ($A['onleft'] == 1) {





More information about the geeklog-cvs mailing list