[geeklog-cvs] Geeklog-1.x/plugins/spamx EditBlackList.Admin.class.php, 1.11, 1.12 EditHeader.Admin.class.php, 1.8, 1.9 EditIP.Admin.class.php, 1.10, 1.11 EditIPofURL.Admin.class.php, 1.9, 1.10 Import.Admin.class.php, 1.13, 1.14 LogView.Admin.class.php, 1.9, 1.10 MassDelTrackback.Admin.class.php, 1.8, 1.9 MassDelete.Admin.class.php, 1.19, 1.20 SLVwhitelist.Admin.class.php, 1.5, 1.6

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


Update of /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx
In directory qs1489.pair.com:/tmp/cvs-serv9353/spamx

Modified Files:
	EditBlackList.Admin.class.php EditHeader.Admin.class.php 
	EditIP.Admin.class.php EditIPofURL.Admin.class.php 
	Import.Admin.class.php LogView.Admin.class.php 
	MassDelTrackback.Admin.class.php MassDelete.Admin.class.php 
	SLVwhitelist.Admin.class.php 
Log Message:
XHTML optional updates

Index: EditIP.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/EditIP.Admin.class.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** EditIP.Admin.class.php	6 May 2007 08:21:11 -0000	1.10
--- EditIP.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.11
***************
*** 57,61 ****
          }
  
!         $display = '<hr>' . LB . '<p><b>';
          $display .= $LANG_SX00['ipblack'];
          $display .= '</b></p>' . LB . '<ul>' . LB;
--- 57,61 ----
          }
  
!         $display = '<hr' . XHTML . '>' . LB . '<p><b>';
          $display .= $LANG_SX00['ipblack'];
          $display .= '</b></p>' . LB . '<ul>' . LB;
***************
*** 70,76 ****
          $display .= '</ul>' . LB . '<p>' . $LANG_SX00['e1'] . '</p>' . LB;
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>' . LB;
!         $display .= '<form method="POST" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=EditIP">' . LB;
!         $display .= '<div><input type="text" size ="31" name="pentry">   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '">' . LB;
          $display .= '</div></form>' . LB;
  
--- 70,76 ----
          $display .= '</ul>' . LB . '<p>' . $LANG_SX00['e1'] . '</p>' . LB;
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>' . LB;
!         $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=EditIP">' . LB;
!         $display .= '<div><input type="text" size ="31" name="pentry"' . XHTML . '>   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '"' . XHTML . '>' . LB;
          $display .= '</div></form>' . LB;
  

Index: EditBlackList.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/EditBlackList.Admin.class.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** EditBlackList.Admin.class.php	6 May 2007 08:21:11 -0000	1.11
--- EditBlackList.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.12
***************
*** 61,65 ****
          }
  
!         $display = '<hr>' . LB . '<p><b>';
          $display .= $LANG_SX00['pblack'];
          $display .= '</b></p>' . LB . '<ul>' . LB;
--- 61,65 ----
          }
  
!         $display = '<hr' . XHTML . '>' . LB . '<p><b>';
          $display .= $LANG_SX00['pblack'];
          $display .= '</b></p>' . LB . '<ul>' . LB;
***************
*** 76,84 ****
          $display .= '</ul>' . LB . '<p>' . $LANG_SX00['e1'] . '</p>' . LB;
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>' . LB;
!         $display .= '<form method="POST" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=EditBlackList">' . LB;
!         $display .= '<div><input type="text" size="30" name="pentry">   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '">' . LB;
!         $display .= '<p>' . $LANG_SX00['e3'] . '&nbsp&nbsp&nbsp';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addcen'] . '">' . LB;
          $display .= '</div></form>' . LB;
  
--- 76,84 ----
          $display .= '</ul>' . LB . '<p>' . $LANG_SX00['e1'] . '</p>' . LB;
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>' . LB;
!         $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=EditBlackList">' . LB;
!         $display .= '<div><input type="text" size="30" name="pentry"' . XHTML . '>   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '"' . XHTML . '>' . LB;
!         $display .= '<p>' . $LANG_SX00['e3'] . '</p>   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addcen'] . '"' . XHTML . '>' . LB;
          $display .= '</div></form>' . LB;
  

Index: EditIPofURL.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/EditIPofURL.Admin.class.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** EditIPofURL.Admin.class.php	6 May 2007 08:21:11 -0000	1.9
--- EditIPofURL.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.10
***************
*** 56,60 ****
          }
  
!         $display = '<hr>' . LB . '<p><b>';
          $display .= $LANG_SX00['ipofurlblack'];
          $display .= '</b></p>' . LB . '<ul>' . LB;
--- 56,60 ----
          }
  
!         $display = '<hr' . XHTML . '>' . LB . '<p><b>';
          $display .= $LANG_SX00['ipofurlblack'];
          $display .= '</b></p>' . LB . '<ul>' . LB;
***************
*** 69,75 ****
          $display .= '</ul>' . LB . '<p>' . $LANG_SX00['e1'] . '</p>' . LB;
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>' . LB;
!         $display .= '<form method="POST" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=EditIPofUrl">';
!         $display .= '<div><input type="text" size ="30" name="pentry">   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '">' . LB;
          $display .= '</div></form>' . LB;
  
--- 69,75 ----
          $display .= '</ul>' . LB . '<p>' . $LANG_SX00['e1'] . '</p>' . LB;
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>' . LB;
!         $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=EditIPofUrl">';
!         $display .= '<div><input type="text" size ="30" name="pentry"' . XHTML . '>   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '"' . XHTML . '>' . LB;
          $display .= '</div></form>' . LB;
  

Index: Import.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/Import.Admin.class.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Import.Admin.class.php	29 Jul 2007 08:06:31 -0000	1.13
--- Import.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.14
***************
*** 108,112 ****
              }
          }
!         $display = '<hr><p><b>' . $LANG_SX00['entriesadded'] . '</b></p><ul>';
          foreach ($to_add as $e) {
              $display .= "<li>$e</li>";
--- 108,112 ----
              }
          }
!         $display = '<hr' . XHTML . '><p><b>' . $LANG_SX00['entriesadded'] . '</b></p><ul>';
          foreach ($to_add as $e) {
              $display .= "<li>$e</li>";

Index: MassDelete.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/MassDelete.Admin.class.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** MassDelete.Admin.class.php	12 Feb 2007 06:52:15 -0000	1.19
--- MassDelete.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.20
***************
*** 84,88 ****
          } else {
              $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=MassDelete"><div>';
!             $display .= $LANG_SX00['numtocheck'] . " &nbsp&nbsp" . ' <select name="limit">';
              $display .= '<option value = "10">10</option><option value="50">50</option>';
              $display .= '<option value = "100" selected="selected">100</option><option value="200">200</option>';
--- 84,88 ----
          } else {
              $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=MassDelete"><div>';
!             $display .= $LANG_SX00['numtocheck'] . "   " . ' <select name="limit">';
              $display .= '<option value = "10">10</option><option value="50">50</option>';
              $display .= '<option value = "100" selected="selected">100</option><option value="200">200</option>';
***************
*** 95,99 ****
              $display .= $LANG_SX00['note5'];
              $display .= $LANG_SX00['note6'];
!             $display .= '<input type = "Submit" name="action" value="' . $LANG_SX00['deletespam'] . '">';
              $display .= '</div></form>';
          }
--- 95,99 ----
              $display .= $LANG_SX00['note5'];
              $display .= $LANG_SX00['note6'];
!             $display .= '<input type="submit" name="action" value="' . $LANG_SX00['deletespam'] . '"' . XHTML . '>';
              $display .= '</div></form>';
          }

Index: SLVwhitelist.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/SLVwhitelist.Admin.class.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** SLVwhitelist.Admin.class.php	6 May 2007 08:21:11 -0000	1.5
--- SLVwhitelist.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.6
***************
*** 56,60 ****
          }
  
!         $display = '<hr>' . LB . '<p><b>';
          $display .= $LANG_SX00['slvwhitelist'];
          $display .= '</b></p>' . LB . '<ul>' . LB;
--- 56,60 ----
          }
  
!         $display = '<hr' . XHTML . '>' . LB . '<p><b>';
          $display .= $LANG_SX00['slvwhitelist'];
          $display .= '</b></p>' . LB . '<ul>' . LB;
***************
*** 71,77 ****
          $display .= '</ul>' . LB . '<p>' . $LANG_SX00['e1'] . '</p>' . LB;
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>' . LB;
!         $display .= '<form method="POST" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=SLVwhitelist">' . LB;
!         $display .= '<div><input type="text" size ="30" name="pentry">   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '">' . LB;
          $display .= '</div></form>' . LB;
  
--- 71,77 ----
          $display .= '</ul>' . LB . '<p>' . $LANG_SX00['e1'] . '</p>' . LB;
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>' . LB;
!         $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=SLVwhitelist">' . LB;
!         $display .= '<div><input type="text" size ="30" name="pentry"' . XHTML . '>   ';
!         $display .= '<input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '"' . XHTML . '>' . LB;
          $display .= '</div></form>' . LB;
  

Index: MassDelTrackback.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/MassDelTrackback.Admin.class.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** MassDelTrackback.Admin.class.php	12 Feb 2007 06:52:15 -0000	1.8
--- MassDelTrackback.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.9
***************
*** 87,91 ****
          } else {
              $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=MassDelTrackback"><div>';
!             $display .= $LANG_SX00['numtocheck'] . ' &nbsp&nbsp' . ' <select name="limit">';
              $display .= '<option value="10">10</option>'
                       .  '<option value="50">50</option>'
--- 87,91 ----
          } else {
              $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=MassDelTrackback"><div>';
!             $display .= $LANG_SX00['numtocheck'] . '   ' . ' <select name="limit">';
              $display .= '<option value="10">10</option>'
                       .  '<option value="50">50</option>'
***************
*** 101,105 ****
              $display .= $LANG_SX00['note5'];
              $display .= $LANG_SX00['note6'];
!             $display .= '<input type="submit" name="action" value="' . $LANG_SX00['deletespam'] . '">';
              $display .= '</div></form>';
          }
--- 101,105 ----
              $display .= $LANG_SX00['note5'];
              $display .= $LANG_SX00['note6'];
!             $display .= '<input type="submit" name="action" value="' . $LANG_SX00['deletespam'] . '"' . XHTML . '>';
              $display .= '</div></form>';
          }

Index: EditHeader.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/EditHeader.Admin.class.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** EditHeader.Admin.class.php	6 May 2007 08:21:11 -0000	1.8
--- EditHeader.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.9
***************
*** 63,67 ****
          }
  
!         $display = '<hr><p><b>';
          $display .= $LANG_SX00['headerblack'];
          $display .= '</b></p><ul>';
--- 63,67 ----
          }
  
!         $display = '<hr' . XHTML . '><p><b>';
          $display .= $LANG_SX00['headerblack'];
          $display .= '</b></p><ul>';
***************
*** 78,89 ****
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>';
  
!         $display .= '<form method="POST" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=EditHeader">';
          $display .= '<table border="0" width="100%">' . LB;
          $display .= '<tr><td align="right"><b>Header:</b></td>' . LB;
!         $display .= '<td><input type="text" size="40" name="header-name"> e.g. <tt>User-Agent</tt></td></tr>' . LB;
          $display .= '<tr><td align="right"><b>Content:</b></td>' . LB;
!         $display .= '<td><input type="text" size="40" name="header-value"> e.g. <tt>Mozilla</tt></td></tr>' . LB;
          $display .= '</table>' . LB;
!         $display .= '<p><input type="Submit" name="paction" value="' . $LANG_SX00['addentry'] . '"></p>';
          $display .= '</form>';
          return $display;
--- 78,89 ----
          $display .= '<p>' . $LANG_SX00['e2'] . '</p>';
  
!         $display .= '<form method="post" action="' . $_CONF['site_admin_url'] . '/plugins/spamx/index.php?command=EditHeader">';
          $display .= '<table border="0" width="100%">' . LB;
          $display .= '<tr><td align="right"><b>Header:</b></td>' . LB;
!         $display .= '<td><input type="text" size="40" name="header-name"' . XHTML . '> e.g. <tt>User-Agent</tt></td></tr>' . LB;
          $display .= '<tr><td align="right"><b>Content:</b></td>' . LB;
!         $display .= '<td><input type="text" size="40" name="header-value"' . XHTML . '> e.g. <tt>Mozilla</tt></td></tr>' . LB;
          $display .= '</table>' . LB;
!         $display .= '<p><input type="submit" name="paction" value="' . $LANG_SX00['addentry'] . '"' . XHTML . '></p>';
          $display .= '</form>';
          return $display;

Index: LogView.Admin.class.php
===================================================================
RCS file: /usr/home/geeklog2/cvsroot/geeklog/Geeklog-1.x/plugins/spamx/LogView.Admin.class.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** LogView.Admin.class.php	12 Feb 2007 06:52:15 -0000	1.9
--- LogView.Admin.class.php	25 Nov 2007 06:56:05 -0000	1.10
***************
*** 38,42 ****
          $log = 'spamx.log';
          $display .= "<form method=\"post\" action=\"{$path}\"><div>";
!         $display .= "<input type=\"submit\" name=\"action\" value=\"{$LANG_SX00['clearlog']}\">";
          $display .= "</div></form>";
          if ($action == $LANG_SX00['clearlog']) {
--- 38,42 ----
          $log = 'spamx.log';
          $display .= "<form method=\"post\" action=\"{$path}\"><div>";
!         $display .= "<input type=\"submit\" name=\"action\" value=\"{$LANG_SX00['clearlog']}\"" . XHTML . ">";
          $display .= "</div></form>";
          if ($action == $LANG_SX00['clearlog']) {
***************
*** 58,62 ****
            fclose($fd);
          }
!         $display .= "<hr><pre>";
          $display .= implode('', file($_CONF['path_log'] . $log));
          $display .= "</pre>";
--- 58,62 ----
            fclose($fd);
          }
!         $display .= "<hr" . XHTML . "><pre>";
          $display .= implode('', file($_CONF['path_log'] . $log));
          $display .= "</pre>";




More information about the geeklog-cvs mailing list