[geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/links category.php, 1.5, 1.6 index.php, 1.52, 1.53

Oliver ospiess at qs1489.pair.com
Sun Nov 25 01:58:58 EST 2007


Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links
In directory qs1489.pair.com:/tmp/cvs-serv9782/admin/plugins/links

Modified Files:
	category.php index.php 
Log Message:
XHTML optional updates

Index: category.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links/category.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** category.php	29 Aug 2007 09:33:54 -0000	1.5
--- category.php	25 Nov 2007 06:58:55 -0000	1.6
***************
*** 195,198 ****
--- 195,199 ----
      $T->set_file(array('page'=>'categoryeditor.thtml'));
  
+     $T->set_var( 'xhtml', XHTML );
      $T->set_var('site_url', $_CONF['site_url']);
      $T->set_var('site_admin_url', $_CONF['site_admin_url']);
***************
*** 213,217 ****
      $T->set_var('lang_save', $LANG_ADMIN['save']);
      if (!empty($cid)) {
!         $T->set_var('delete_option', '<input type="submit" value="'.$LANG_ADMIN['delete'].'" name="mode">');
      } else {
          $T->set_var('delete_option', '');
--- 214,218 ----
      $T->set_var('lang_save', $LANG_ADMIN['save']);
      if (!empty($cid)) {
!         $T->set_var('delete_option', '<input type="submit" value="'.$LANG_ADMIN['delete'].'" name="mode"' . XHTML . '>');
      } else {
          $T->set_var('delete_option', '');

Index: index.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/links/index.php,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** index.php	9 Oct 2007 05:39:49 -0000	1.52
--- index.php	25 Nov 2007 06:58:55 -0000	1.53
***************
*** 100,103 ****
--- 100,104 ----
      $link_templates = new Template($_CONF['path'] . 'plugins/links/templates/admin/');
      $link_templates->set_file('editor','linkeditor.thtml');
+     $link_templates->set_var( 'xhtml', XHTML );
      $link_templates->set_var('site_url', $_CONF['site_url']);
      $link_templates->set_var('site_admin_url', $_CONF['site_admin_url']);
***************
*** 159,163 ****
      if (!empty($lid) && SEC_hasRights('links.edit')) {
          $delbutton = '<input type="submit" value="' . $LANG_ADMIN['delete']
!                    . '" name="mode"%s>';
          $jsconfirm = ' onclick="return confirm(\'' . $MESSAGE[76] . '\');"';
          $link_templates->set_var ('delete_option',
--- 160,164 ----
      if (!empty($lid) && SEC_hasRights('links.edit')) {
          $delbutton = '<input type="submit" value="' . $LANG_ADMIN['delete']
!                    . '" name="mode"%s' . XHTML . '>';
          $jsconfirm = ' onclick="return confirm(\'' . $MESSAGE[76] . '\');"';
          $link_templates->set_var ('delete_option',




More information about the geeklog-cvs mailing list