phpslash-commit Mailing List for phpSlash (Page 102)
Brought to you by:
joestewart,
nhruby
This list is closed, nobody may subscribe to it.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(11) |
Nov
(59) |
Dec
(60) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(52) |
Feb
(77) |
Mar
(118) |
Apr
(76) |
May
(106) |
Jun
(145) |
Jul
(9) |
Aug
(15) |
Sep
(78) |
Oct
(83) |
Nov
(105) |
Dec
(51) |
| 2003 |
Jan
(105) |
Feb
(100) |
Mar
(111) |
Apr
(149) |
May
(95) |
Jun
(56) |
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(22) |
Nov
(117) |
Dec
(6) |
| 2004 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
(25) |
May
|
Jun
(11) |
Jul
(26) |
Aug
(85) |
Sep
(119) |
Oct
(312) |
Nov
(271) |
Dec
(5) |
| 2005 |
Jan
(6) |
Feb
|
Mar
|
Apr
(12) |
May
(7) |
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Joe S. <joe...@us...> - 2002-02-01 21:46:17
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default
In directory usw-pr-cvs1:/tmp/cvs-serv24474/phpslash-ft/public_html/templates/en/default
Added Files:
blocktypeList.tpl
Log Message:
add/remove block_types
--- NEW FILE: blocktypeList.tpl ---
<!-- blocktypeList.tpl -->
<FORM ACTION="{ACTION_URL}" METHOD="POST">
<TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0>
<TR>
<TH>Installed</TH>
</TR>
<!-- BEGIN removerow -->
<TR>
<TD>{REMOVENAME}</TD>
<TD><A HREF="{REMOVEURL}">Remove</A>
</TD>
</TR>
<!-- END removerow -->
<TR>
<TH>Available</TH>
</TR>
<!-- BEGIN addrow -->
<TR>
<TD>{ADDNAME}</TD>
<TD><A HREF="{ADDURL}">Add</A>
</TD>
</TR>
<!-- END addrow -->
</TABLE>
<P>
</FORM>
<!-- blocktypeList.tpl -->
|
|
From: Joe S. <joe...@us...> - 2002-02-01 04:23:56
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin
In directory usw-pr-cvs1:/tmp/cvs-serv30932/phpslash-ft/public_html/admin
Modified Files:
authorAdmin.php3 blockAdmin.php3 commentAdmin.php3
glossaryAdmin.php3 infologAdmin.php3 mailinglistAdmin.php3
pollAdmin.php3 sectionAdmin.php3 storyAdmin.php3
submissionAdmin.php3 topicAdmin.php3 variableAdmin.php3
Added Files:
config.php3
Log Message:
added symlink-like admin/config.php3
--- NEW FILE: config.php3 ---
<?php
// This file can also be a symlink to the required file.
require("../config.php3");
?>
Index: authorAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/authorAdmin.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** authorAdmin.php3 2001/12/19 20:00:41 1.3
--- authorAdmin.php3 2002/02/01 04:23:52 1.4
***************
*** 6,10 ****
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 6,10 ----
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: blockAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/blockAdmin.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** blockAdmin.php3 2001/05/15 22:45:26 1.1
--- blockAdmin.php3 2002/02/01 04:23:52 1.2
***************
*** 10,14 ****
/* Require the config */
! require("../config.php3");
/* Open the page with session variables enabled */
--- 10,14 ----
/* Require the config */
! require("config.php3");
/* Open the page with session variables enabled */
Index: commentAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/commentAdmin.php3,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** commentAdmin.php3 2001/12/19 20:00:41 1.7
--- commentAdmin.php3 2002/02/01 04:23:52 1.8
***************
*** 8,12 ****
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 8,12 ----
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: glossaryAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/glossaryAdmin.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** glossaryAdmin.php3 2001/05/15 22:45:26 1.1
--- glossaryAdmin.php3 2002/02/01 04:23:52 1.2
***************
*** 6,10 ****
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 6,10 ----
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: infologAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/infologAdmin.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** infologAdmin.php3 2001/12/19 20:00:41 1.2
--- infologAdmin.php3 2002/02/01 04:23:52 1.3
***************
*** 7,14 ****
$xsiteobject = "Administration";
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
! require($classdir . '/Infolog.class');
$log = new Infolog;
--- 7,14 ----
$xsiteobject = "Administration";
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
! require($_PSL[classdir] . '/Infolog.class');
$log = new Infolog;
Index: mailinglistAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/mailinglistAdmin.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** mailinglistAdmin.php3 2001/12/16 20:54:51 1.2
--- mailinglistAdmin.php3 2002/02/01 04:23:52 1.3
***************
*** 6,10 ****
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require('../config.php3');
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 6,10 ----
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require('config.php3');
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: pollAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/pollAdmin.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pollAdmin.php3 2001/06/08 21:30:00 1.2
--- pollAdmin.php3 2002/02/01 04:23:52 1.3
***************
*** 6,10 ****
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 6,10 ----
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: sectionAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/sectionAdmin.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sectionAdmin.php3 2001/12/19 20:00:41 1.2
--- sectionAdmin.php3 2002/02/01 04:23:52 1.3
***************
*** 8,12 ****
$xsiteobject = "Administration";
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 8,12 ----
$xsiteobject = "Administration";
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: storyAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/storyAdmin.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** storyAdmin.php3 2001/12/19 20:00:41 1.4
--- storyAdmin.php3 2002/02/01 04:23:52 1.5
***************
*** 6,10 ****
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 6,10 ----
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: submissionAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/submissionAdmin.php3,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** submissionAdmin.php3 2001/10/09 23:28:12 1.4
--- submissionAdmin.php3 2002/02/01 04:23:52 1.5
***************
*** 5,9 ****
$xsiteobject = "Administration";#Defines The META TAG Page Type
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 5,9 ----
$xsiteobject = "Administration";#Defines The META TAG Page Type
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: topicAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/topicAdmin.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** topicAdmin.php3 2001/12/19 20:00:41 1.2
--- topicAdmin.php3 2002/02/01 04:23:52 1.3
***************
*** 6,10 ****
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 6,10 ----
$xsiteobject = "Administration"; // Defines The META TAG Page Type
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
Index: variableAdmin.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/variableAdmin.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** variableAdmin.php3 2001/12/19 20:00:41 1.2
--- variableAdmin.php3 2002/02/01 04:23:52 1.3
***************
*** 7,11 ****
$xsiteobject = "Administration";
! require("../config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
--- 7,11 ----
$xsiteobject = "Administration";
! require("config.php3");
page_open(array("sess"=>"slashSess","auth"=>"slashAuth","perm"=>"slashPerm"));
|
|
From: Joe S. <joe...@us...> - 2002-02-01 04:23:55
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv30932/phpslash-ft Modified Files: CHANGES Log Message: added symlink-like admin/config.php3 Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.380 retrieving revision 1.381 diff -C2 -d -r1.380 -r1.381 *** CHANGES 2002/01/28 15:22:23 1.380 --- CHANGES 2002/02/01 04:23:52 1.381 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2002-Jan-31 9:00AM CST Joe Stewart <jo...@be...> + [W] - Added a skeleton config.php3 file to admin directory. All admin + files changed to point to it. + 2002-Jan-28 9:00AM CST Joe Stewart <jo...@be...> [B] - search.php3 - obfuscate author email. |
|
From: Joe S. <joe...@us...> - 2002-01-28 15:22:26
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv3947/phpslash-ft Modified Files: CHANGES Log Message: obfuscate author mailto Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.379 retrieving revision 1.380 diff -C2 -d -r1.379 -r1.380 *** CHANGES 2002/01/25 19:24:22 1.379 --- CHANGES 2002/01/28 15:22:23 1.380 *************** *** 13,16 **** --- 13,19 ---- 9 - Removal of something (kill -9 :) + 2002-Jan-28 9:00AM CST Joe Stewart <jo...@be...> + [B] - search.php3 - obfuscate author email. + 2002-Jan-25 1:00PM CST Joe Stewart <jo...@be...> [B] - extchg.sh - now changes references in template files also. |
|
From: Joe S. <joe...@us...> - 2002-01-28 15:22:26
|
Update of /cvsroot/phpslash/phpslash-ft/public_html
In directory usw-pr-cvs1:/tmp/cvs-serv3947/phpslash-ft/public_html
Modified Files:
search.php3
Log Message:
obfuscate author mailto
Index: search.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/search.php3,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** search.php3 2002/01/24 13:27:09 1.41
--- search.php3 2002/01/28 15:22:23 1.42
***************
*** 373,377 ****
STORY_URL => $_PSL[rooturl] . "/article.php3?story_id=".$sl_q->Record[story_id],
STORY_TITLE => $sl_q->Record[title],
! AUTHOR_URL => $sl_q->Record[url],
AUTHOR_NAME => $sl_q->Record[author_name],
DATE => $sl_q->Record[dateformat],
--- 373,377 ----
STORY_URL => $_PSL[rooturl] . "/article.php3?story_id=".$sl_q->Record[story_id],
STORY_TITLE => $sl_q->Record[title],
! AUTHOR_URL => str_html($sl_q->Record[url]),
AUTHOR_NAME => $sl_q->Record[author_name],
DATE => $sl_q->Record[dateformat],
|
|
From: Joe S. <joe...@us...> - 2002-01-25 19:24:25
|
Update of /cvsroot/phpslash/phpslash-ft/contrib In directory usw-pr-cvs1:/tmp/cvs-serv18259/phpslash-ft/contrib Modified Files: extchg.sh Log Message: bugfix - extchg.sh changes ext refs in all files Index: extchg.sh =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/contrib/extchg.sh,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** extchg.sh 2001/11/23 18:59:24 1.1 --- extchg.sh 2002/01/25 19:24:23 1.2 *************** *** 1,492 **** ! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ! "http://www.w3.org/TR/REC-html40/loose.dtd"> ! ! <!-- Server: sf-web1 --> ! <html lang="en"> ! <head> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ! <TITLE>SourceForge: Modify: 484890 - Script to change file extensions</TITLE> ! <SCRIPT language="JavaScript"> ! <!-- ! function help_window(helpurl) { ! HelpWin = window.open( 'https://sourceforge.net' + helpurl,'HelpWindow','scrollbars=yes,resizable=yes,toolbar=no,height=400,width=400'); ! } ! // --> ! </SCRIPT> ! ! <link rel="SHORTCUT ICON" href="/images/favicon.ico"> ! <style type="text/css"> ! <!-- ! OL,UL,P,BODY,TD,TR,TH,FORM { font-family: verdana,arial,helvetica,sans-serif; font-size:small; color: #333333; } ! ! H1 { font-size: x-large; font-family: verdana,arial,helvetica,sans-serif; } ! H2 { font-size: large; font-family: verdana,arial,helvetica,sans-serif; } ! H3 { font-size: medium; font-family: verdana,arial,helvetica,sans-serif; } ! H4 { font-size: small; font-family: verdana,arial,helvetica,sans-serif; } ! H5 { font-size: x-small; font-family: verdana,arial,helvetica,sans-serif; } ! H6 { font-size: xx-small; font-family: verdana,arial,helvetica,sans-serif; } ! ! PRE,TT { font-family: courier,sans-serif } ! ! SPAN.center { text-align: center } ! SPAN.boxspace { font-size: 2pt; } ! SPAN.osdn {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} ! SPAN.search {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} ! SPAN.slogan {font-size: large; font-weight: bold; font-family: verdana,arial,helvetica,sans-serif;} ! SPAN.footer {font-size: x-small; font-family: verdana,arial,helvetica,sans-serif;} ! ! A.maintitlebar { color: #FFFFFF } ! A.maintitlebar:visited { color: #FFFFFF } ! ! A.sortbutton { color: #FFFFFF; text-decoration: underline; } ! A.sortbutton:visited { color: #FFFFFF; text-decoration: underline; } ! ! .menus { color: #6666aa; text-decoration: none; } ! .menus:visited { color: #6666aa; text-decoration: none; } ! ! A:link { text-decoration:none } ! A:visited { text-decoration:none } ! A:active { text-decoration:none } ! A:hover { text-decoration:underline; color:#FF0000 } ! ! .tabs { color: #000000; } ! .tabs:visited { color: #000000; } ! .tabs:hover { color:#FF0000; } ! .tabselect { color: #000000; font-weight: bold; } ! .tabselect:visited { font-weight: bold;} ! .tabselect:hover { color:#FF0000; font-weight: bold; } ! ! .titlebar { text-decoration:none; color:#000000; font-family: Helvetica,verdana,arial,helvetica,sans-serif; font-size: small; font-weight: bold; } ! .develtitle { color:#000000; font-weight: bold; } ! .legallink { color:#000000; font-weight: bold; } ! ! .osdn-search { ! background-color:#fff; ! border:1px #666666 solid; ! font-size: 10px; ! color: #666666; ! //margin: 0px; ! font-family: arial,sans-serif; ! } ! ! input[type="text"].osdn-search { ! padding-top: 0.1em; ! padding-left: 0.2em; ! padding-right: 0.2em; ! } ! ! .osdn-button { ! margin-top: 1px; ! margin-bottom: 1px; ! } ! ! select.osdn-search { ! text-align: center; ! } ! ! .osdn-navtext {color: #666666; font-family: verdana, arial, sans-serif; font-size: 10px; text-decoration: none;} ! --> ! </style> ! ! </HEAD> ! <body text="#333333" link="#6666aa" alink="#aa6666" vlink="#6666aa" bgcolor="#6C7198" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> ! ! <!-- ! ! OSDN navbar ! ! --> ! <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> ! <form action="http://www.osdn.com/osdnsearch.pl" method="POST"> ! ! <tr bgcolor="#999999"> ! <td colspan="5"><img src="/images/blank.gif" width="1" height="1" alt=""></td> ! </tr> ! ! <tr bgcolor="#eeeeee"> ! <td nowrap class="osdn-navtext"> <a href="http://www.osdn.com" class="osdn-navtext" title="click to visit OSDN.com!"><B>OSDN:</B> Open Source Development Network</a>: <a href="http://www.osdn.com/newsletters/">Newsletters</a> - <a href="http://jobs.osdn.com">Jobs</a> </td> ! <td align="right" valign="middle" width="100%" class="osdn-navtext"><B>SEARCH:</B> </td> ! ! <td align="right" valign="middle" nowrap class="osdn-navtext"> ! <select name="site" class="osdn-search"> ! <option value="all" SELECTED>All OSDN Sites</option> ! <option value="">-----------</option> ! <option value="Freshmeat">freshmeat</option> ! <option value="Jobs.OSDN.com">Jobs.OSDN.com</option> ! <option value="Kuro5hin">Kuro5hin</option> ! <option value="LinuxGram">LinuxGram</option> ! <option value="NewsForge">NewsForge</option> ! <option value="OSDN">OSDN.com</option> ! <option value="Slashcode">Slashcode</option> ! <option value="Slashdot">Slashdot</option> ! <option value="SourceForge">SourceForge.net</option> ! </select> ! <input type="text" name="query" size="12" class="osdn-search"> ! </td> ! <td nowrap width="40"><input type="image" border="0" name="Submit" value="GO" src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net/images/osdn_nav_go.gif" alt="Go" width="30" height="20" align="middle" class="osdn-button"></td> ! </tr> ! ! <tr bgcolor="#999999"> ! <td colspan="5"><img src="/images/blank.gif" width="1" height="1" alt=""></td> ! </tr> ! ! </form> ! </table> ! ! <table width="100%" cellpadding="0" cellspacing="0" border="0"> ! <tr> ! <td bgcolor="#d5d7d9" background="/images/steel3.jpg" WIDTH="70%" align="left"><a href="/"><IMG width=210 height=60 border=0 src="/images/sf_logo_metal2.jpg"></a></TD><TD bgcolor="#d5d7d9" background="/images/steel3.jpg" WIDTH="30%"> ! ! <IFRAME SRC="https://sfads.osdn.com/1.html" width="468" height="60" frameborder="no" border="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no"><A HREF="https://sfads.osdn.com/cgi-bin/ad_default.pl?click"><IMG SRC="https://sfads.osdn.com/cgi-bin/ad_default.pl?display" border=0 height="60" width="468"></A> ! </IFRAME> ! </td><td bgcolor="#d5d7d9" background="/images/steel3.jpg" width=20><img src="/images/blank.gif" width="20" height="1" alt=""></td> ! </tr> ! </table> ! <!-- ! ! ! End OSDN NavBar ! ! ! --><img src="/images/blank.gif" width="100" height="5" alt=""><br> ! <!-- start page body --> ! <div align="center"> ! <table cellpadding="0" cellspacing="0" border="0" width="99%"> ! <tr> ! <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tbar1.png" width="1%" height="17"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tleft1.png" border=0 width=17 height=17></td> ! <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tbar1.png" align="center" colspan="3" width="99%"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tbar1.png" border=0 width=1 height=17></td> ! <td><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/tright1.png" border=0 width=17 height=17></td> ! </tr> ! <tr> ! <td width="17" background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/leftbar1.png" align="left" valign="bottom"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/leftbar1.png" border=0 width=17 height=25></td> ! <td colspan="3" bgcolor="#ffffff"> ! <!-- start main body cell --> ! ! <table cellpadding="0" cellspacing="0" border="0" width="100%"> ! <tr> ! <td width="141" background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/steel3.jpg" bgcolor="#cfd1d4" align="left" valign="top"> ! ! <!-- VA Linux Stats Counter --> ! <IMG src="https://www2.valinux.com/clear.gif?id=105" width=140 height=1 alt="Counter"><BR> ! <P> ! <!-- menus --> ! <table cellpadding="0" cellspacing="0" border="0" width="140"> ! <tr> ! <td align="left" valign="middle"><b>Logged In: nhruby</b><br></td> ! </tr> ! <tr> ! <td align="right" valign="middle"> ! <A class="menus" href="/account/logout.php">Logout</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/register/">Register New Project</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/account/">Account Maintenance</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/themes/">Change My Theme</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/my/">My Personal Page</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/my/bookmark_add.php?bookmark_url=%2Ftracker%2Findex.php%3Ffunc%3Ddetail%26aid%3D484890%26group_id%3D10566%26atid%3D310566&bookmark_title=Modify%3A+484890+-+Script+to+change+file+extensions">Bookmark this page</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> ! <BR> ! </td> ! </tr> ! </table> ! <table cellpadding="0" cellspacing="0" border="0" width="140"> ! <tr> ! <td align="left" valign="middle"><b>Search</b><br></td> ! </tr> ! <tr> ! <td align="right" valign="middle"> ! <CENTER> ! <FONT SIZE="1"> ! <FORM action="/search/" method="POST" target="_blank"> ! ! <SELECT name="type_of_search"> ! <OPTION value="artifact">Patches</OPTION> ! <OPTION value="soft">Software/Group</OPTION> ! <OPTION value="people">People</OPTION> ! <OPTION value="freshmeat">Freshmeat.net</OPTION> ! </SELECT><BR> ! <INPUT TYPE="CHECKBOX" NAME="exact" VALUE="1" CHECKED> Require All Words<BR> ! <INPUT TYPE="HIDDEN" VALUE="10566" NAME="group_id"> ! <INPUT TYPE="HIDDEN" VALUE="310566" NAME="atid"> ! <INPUT TYPE="text" SIZE="12" NAME="words" VALUE=""><BR><INPUT TYPE="submit" NAME="Search" VALUE="Search"></FORM></FONT> ! <BR> ! </td> ! </tr> ! </table> ! <table cellpadding="0" cellspacing="0" border="0" width="140"> ! <tr> ! <td align="left" valign="middle"><b>Project: phpSlash</b><br></td> ! </tr> ! <tr> ! <td align="right" valign="middle"> ! <A class="menus" href="/projects/phpslash/">Project Summary</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/project/admin/?group_id=10566">Project Admin</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> ! <BR> ! </td> ! </tr> ! </table> ! <table cellpadding="0" cellspacing="0" border="0" width="140"> ! <tr> ! <td align="left" valign="middle"><b>Software</b><br></td> ! </tr> ! <tr> ! <td align="right" valign="middle"> ! <A class="menus" href="/softwaremap/">Software Map</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/new/">New Releases</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=6041&group_id=1">Other Site Mirrors</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/snippet/">Code Snippet Library</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> ! <BR> ! </td> ! </tr> ! </table> ! <table cellpadding="0" cellspacing="0" border="0" width="140"> ! <tr> ! <td align="left" valign="middle"><b>SourceForge.net</b><br></td> ! </tr> ! <tr> ! <td align="right" valign="middle"> ! <A class="menus" href="/docman/?group_id=1"><b>Site Docs</b></A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=7438&group_id=1">Work for Sourceforge!</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/forum/?group_id=1">Discussion Forums</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/people/">Project Help Wanted</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/top/">Top Projects</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=2352&group_id=1">Site Status</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=7632&group_id=1">Contact Support</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="http://jobs.osdn.com">jobs.osdn.com</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/docman/display_doc.php?docid=762&group_id=1">Compile Farm</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="/docman/display_doc.php?docid=7632&group_id=1">Contact SourceForge.net</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/docman/display_doc.php?docid=6025&group_id=1">About SourceForge.net</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> ! <BR> ! </td> ! </tr> ! </table> ! <table cellpadding="0" cellspacing="0" border="0" width="140"> ! <tr> ! <td align="left" valign="middle"><b>SourceForge.net Foundries</b><br></td> ! </tr> ! <tr> ! <td align="right" valign="middle"> ! <A class="menus" href="/docman/display_doc.php?docid=6029&group_id=1">About Foundries</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br><P> <A class="menus" href="http://foundries.sourceforge.net/clusters/">Clustering</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="http://foundries.sourceforge.net/distributed/">Distributed Computing</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="http://foundries.sourceforge.net/large/">Linux on Large Systems</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/linuxkernel/">Linux Kernel</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/linuxdrivers/">Linux Drivers</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/3d/">3D</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/games/">Games</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/java/">Java</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/printing/">Printing</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> <A class="menus" href="/foundry/storage/">Storage</A> <IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/point1.png" border=0 width=7 height=7><br> ! <BR> ! </td> ! </tr> ! </table> ! <P> ! </TD> ! ! <td width="20" background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/fade1.png" nowrap> </td> ! <td valign="top" bgcolor="#FFFFFF" width="99%"> ! <BR> ! ! <b>Project: phpSlash</b> ! <h2>Trackers</h2> ! </H2> ! <P> ! <HR SIZE="1" NoShade> ! <A class=tabs href="/projects/phpslash/">Summary</A> | ! <A class=tabs href="/project/admin/?group_id=10566">Admin</A> | ! <A class=tabs href="http://phpslash.sourceforge.net">Home Page</A> | ! <A class=tabselect href="/tracker/?group_id=10566">Tracker</A> | ! <A class=tabs href="/tracker/?group_id=10566&atid=110566">Bugs</A> | ! <A class=tabs href="/tracker/?group_id=10566&atid=310566">Patches</A> | ! <A class=tabs href="/mail/?group_id=10566">Lists</A> | ! <A class=tabs href="/docman/?group_id=10566">Docs</A> | ! <A class=tabs href="/news/?group_id=10566">News</A> | ! <A class=tabs href="/cvs/?group_id=10566">CVS</A> | ! <A class=tabs href="/project/showfiles.php?group_id=10566">Files</A> | <HR SIZE="1" NoShade><BR><B><A HREF="/tracker/?func=add&group_id=10566&atid=310566">Submit New</A> | <A HREF="/tracker/?func=browse&group_id=10566&atid=310566">Browse</A> | <A HREF="/tracker/reporting/?group_id=10566&atid=310566">Reporting</A> | <A HREF="/tracker/admin/?group_id=10566">Admin</A></B><P> <H2>[ #484890 ] Script to change file extensions</H2> ! ! <TABLE WIDTH="100%"> ! <FORM ACTION="/tracker/index.php?group_id=10566&atid=310566" METHOD="POST"> ! <INPUT TYPE="HIDDEN" NAME="func" VALUE="monitor"> ! <INPUT TYPE="HIDDEN" NAME="artifact_id" VALUE="484890"> ! <TR> ! <TD COLSPAN=2"> ! <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Monitor"> <A href="javascript:help_window('/help/tracker.php?helpname=monitor')"><B>(?)</B></A> ! </FORM> ! </TD> ! </TR> ! ! <FORM ACTION="/tracker/index.php?group_id=10566&atid=310566" METHOD="POST" enctype="multipart/form-data"> ! <INPUT TYPE="HIDDEN" NAME="func" VALUE="postmod"> ! <INPUT TYPE="HIDDEN" NAME="artifact_id" VALUE="484890"> ! ! <TR> ! <TD><B>Submitted By:</B><BR>Joe Stewart (<tt>joestewart</tt>)</TD> ! <TD><B>Date Submitted:</B><BR> ! 2001-11-23 10:46 </TD> ! </TR> ! ! <TR> ! <TD><B>Data Type: <A href="javascript:help_window('/help/tracker.php?helpname=data_type')"><B>(?)</B></A></B><BR> ! ! <SELECT NAME="new_artfact_type_id"> ! <OPTION VALUE="110566">Bugs</OPTION> ! <OPTION VALUE="360566">Feature Requests</OPTION> ! <OPTION VALUE="310566" SELECTED>Patches</OPTION> ! <OPTION VALUE="210566">Support Requests</OPTION> ! </SELECT> </TD> ! <TD> ! <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Submit Changes"> ! </TD> ! </TR> ! ! <TR> ! <TD><B>Category: <A href="javascript:help_window('/help/tracker.php?helpname=category')"><b>(?)</b></a></B><BR> ! ! <SELECT NAME="category_id"> ! <OPTION VALUE="100">None</OPTION> ! </SELECT> <A HREF="/tracker/admin/?group_id=10566&atid=310566&add_cat=1">(admin)</A> </TD> ! <TD><B>Group: <A href="javascript:help_window('/help/tracker.php?helpname=group')"><b>(?)</b></a></B><BR> ! ! <SELECT NAME="artifact_group_id"> ! <OPTION VALUE="100">None</OPTION> ! </SELECT> <A HREF="/tracker/admin/?group_id=10566&atid=310566&add_group=1">(admin)</A> </TD> ! </TR> ! ! <TR> ! <TD><B>Assigned To: <A href="javascript:help_window('/help/tracker.php?helpname=assignee')"><b>(?)</b></a></B><BR> ! ! <SELECT NAME="assigned_to"> ! <OPTION VALUE="100">None</OPTION> ! <OPTION VALUE="70334">ajayrockrock</OPTION> ! <OPTION VALUE="71233">cmalamas</OPTION> ! <OPTION VALUE="77269">joestewart</OPTION> ! <OPTION VALUE="19736">nhruby</OPTION> ! <OPTION VALUE="72345">trollboy</OPTION> ! </SELECT> <A HREF="/tracker/admin/?group_id=10566&atid=310566&update_users=1">(admin)</A> </TD><TD> ! <B>Priority: <A href="javascript:help_window('/help/tracker.php?helpname=priority')"><b>(?)</b></a></B><BR> ! <SELECT NAME="priority"> ! <OPTION VALUE="1">1 - Lowest</OPTION> ! <OPTION VALUE="2">2</OPTION> ! <OPTION VALUE="3">3</OPTION> ! <OPTION VALUE="4">4</OPTION> ! <OPTION VALUE="5" SELECTED>5 - Medium</OPTION> ! <OPTION VALUE="6">6</OPTION> ! <OPTION VALUE="7">7</OPTION> ! <OPTION VALUE="8">8</OPTION> ! <OPTION VALUE="9">9 - Highest</OPTION> ! </SELECT> ! </TD> ! </TR> ! ! <TR> ! <TD> ! <B>Status: <A href="javascript:help_window('/help/tracker.php?helpname=status')"><b>(?)</b></a></B><BR> ! ! <SELECT NAME="status_id"> ! <OPTION VALUE="1" SELECTED>Open</OPTION> ! <OPTION VALUE="2">Closed</OPTION> ! <OPTION VALUE="3">Deleted</OPTION> ! <OPTION VALUE="4">Pending</OPTION> ! </SELECT> </TD> ! <TD> ! ! <B>Resolution: <A href="javascript:help_window('/help/tracker.php?helpname=resolution')"><b>(?)</b></a></B><BR> ! <SELECT NAME="resolution_id"> ! <OPTION VALUE="102">Accepted</OPTION> ! <OPTION VALUE="101">Duplicate</OPTION> ! <OPTION VALUE="1">Fixed</OPTION> ! <OPTION VALUE="2">Invalid</OPTION> ! <OPTION VALUE="4">Later</OPTION> ! <OPTION VALUE="100" SELECTED>None</OPTION> ! <OPTION VALUE="103">Out of Date</OPTION> ! <OPTION VALUE="104">Postponed</OPTION> ! <OPTION VALUE="105">Rejected</OPTION> ! <OPTION VALUE="5">Remind</OPTION> ! <OPTION VALUE="3">Wont Fix</OPTION> ! <OPTION VALUE="6">Works For Me</OPTION> ! </SELECT> </TD> ! </TR> ! <TR> ! <TD COLSPAN="2"><B>Summary: <A href="javascript:help_window('/help/tracker.php?helpname=summary')"><b>(?)</b></a></B><BR> ! <INPUT TYPE="TEXT" NAME="summary" SIZE="45" VALUE="Script to change file extensions" MAXLENGTH="60"> ! </TD> ! </TR> ! <TR><TD COLSPAN="2"> ! Script from phpMyAdmin to change file extenstions and <br> ! alll references to them. <br> ! <br> ! Useful for changing from .php3 to .php <br> ! <br> ! http://cvs.sourceforge.net/cgi- <br> ! bin/viewcvs.cgi/phpmyadmin/phpMyAdmin/scripts/extchg.sh <br> ! <br> ! extchg.sh <br> ! <br> ! </TD></TR> ! <TR><TD COLSPAN="2"> ! <B>Use Canned Response: <A href="javascript:help_window('/help/tracker.php?helpname=canned_response')"><b>(?)</b></a></B><BR> ! ! <SELECT NAME="canned_response"> ! <OPTION VALUE="100">None</OPTION> ! </SELECT> <A HREF="/tracker/admin/?group_id=10566&atid=310566&add_canned=1">(admin)</A> <P> ! <B>OR Attach A Comment: <A href="javascript:help_window('/help/tracker.php?helpname=comment')"><b>(?)</b></a></B><BR> ! <TEXTAREA NAME="details" ROWS="7" COLS="60" WRAP="HARD"></TEXTAREA> ! <P> ! <H3>Followups:</H3> ! <P> ! ! <H3>No Followups Have Been Posted</H3> </TD></TR> ! <TR><TD COLSPAN=2> ! <B>Check to Upload & Attach File:</B> <input type="checkbox" name="add_file" VALUE="1"> ! <A href="javascript:help_window('/help/tracker.php?helpname=attach_file')"><b>(?)</b></a><BR> ! <P> ! <input type="file" name="input_file" size="30"> ! <P> ! <B>File Description:</B><BR> ! <input type="text" name="file_description" size="40" maxlength="255"> ! <P> ! <H4>Existing Files:</H4> ! ! <TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="2"> ! <TR BGCOLOR="#D1D5D7"> ! <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Delete</B></FONT></TD> ! <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Name</B></FONT></TD> ! <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Description</B></FONT></TD> ! <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Download</B></FONT></TD></TR><TR><TD><INPUT TYPE="CHECKBOX" NAME="delete_file[]" VALUE="13716"> Delete</TD><TD>extchg.sh</TD> ! <TD>extchg.sh - extension change shell script</TD> ! <TD><A HREF="/tracker/download.php?group_id=10566&atid=310566&file_id=13716&aid=484890">Download</A></TD></TR> </TABLE> ! </TD><TR> - <TR><TD COLSPAN="2"> - <H4>Change Log:</H4> - - <TABLE WIDTH="100%" BORDER="0" CELLSPACING="1" CELLPADDING="2"> - <TR BGCOLOR="#D1D5D7"> - <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Field</B></FONT></TD> - <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Old Value</B></FONT></TD> - <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>Date</B></FONT></TD> - <TD ALIGN="MIDDLE"><FONT COLOR="#333333"><B>By</B></FONT></TD></TR> - <TR BGCOLOR="#FFFFFF"><TD>File Added</TD><TD>13716: extchg.sh</TD><TD>2001-11-23 10:46</TD><TD>joestewart</TD></TR> - </TABLE> </TD></TR> ! <TR><TD COLSPAN="2" ALIGN="MIDDLE"> ! <INPUT TYPE="SUBMIT" NAME="SUBMIT" VALUE="Submit Changes"> ! </FORM> ! </TD></TR> ! </TABLE> - <!-- end content --> - <p> </p> - </td> - <td width="9" bgcolor="#FFFFFF"> - </td> ! </tr> ! </table> ! </td> ! <td width="17" background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/rightbar1.png" align="right" valign="bottom"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/rightbar1.png" border=0 width=17 height=17></td> ! </tr> ! <tr> ! <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bbar1.png" height="17"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bleft1.png" border=0 width=17 height=17></td> ! <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bbar1.png" align="center" colspan="3"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bbar1.png" border=0 width=1 height=17></td> ! <td background="//a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bbar1.png" bgcolor="#7c8188"><IMG src="https://a248.e.akamai.net/7/248/1710/949111342/sourceforge.net//themes/forged/images/bright1.png" border=0 width=17 height=17></td> ! </tr> ! </table> ! </div> - <!-- themed page footer --> - <P><A HREF="/source.php?page_url=/tracker/index.php"><B><FONT COLOR="WHITE">Show Source</FONT></B></A><P><P class="footer"> - <font face="arial, helvetica" size="1" color="#cccccc"> - VA Linux Systems and SourceForge are trademarks of VA Linux Systems, Inc. - Linux is a registered trademark of Linus Torvalds. All other trademarks and - copyrights on this page are property of their respective owners. - For information about other site Content ownership and sitewide - terms of service, please see the - <a href="/docman/display_doc.php?docid=6048&group_id=1" class="legallink">SourceForge.net Terms of Service</a>. - For privacy - policy information, please see the <a href="/docman/display_doc.php?docid=6049&group_id=1 - " class="legallink" - >SourceForge.net Privacy Policy</a>. - Content owned by VA Linux Systems is copyright - 1999, 2000, 2001 VA Linux Systems, Inc. All rights reserved. - </font> - <BR> - </body> - </html> - \ No newline at end of file --- 1,43 ---- ! #!/bin/sh ! # $Id$ ! # original php3->phtml converter by Pavel Piankov <pa...@sp...> ! # modified by Tobias Ratschiller to allow any file extension ! # part of the phpMyAdmin distribution <http://phpwizard.net/phpMyAdmin> ! # 2001-07-07, le...@us...: ! # - supports sub-directories ! # - no more bak directory ! # 2002-01-25, joe...@us... ! # now changes all references to extensions in the directory also. ! if [ $# != 2 ] ! then ! echo "Usage: extchg.sh <extension to change from> <extension to change to>" ! echo "" ! echo "Example: extchg.sh php3 php" ! exit ! fi ! for i in `find . -name "*.$1"` ! do ! echo $i ! sed -e 's/\.'$1'/\.'$2'/g' $i > `ls $i|sed -e 's/'$1'/'$2'/g'` ! rm $i ! done; ! for i in `grep -rl $1 *`; do ! ! echo $i ! tmpfile=$i.tmp ! sed -e 's/\.'$1'/\.'$2'/g' $i > $tmpfile ! rm $i ! mv $tmpfile $i ! done; |
|
From: Joe S. <joe...@us...> - 2002-01-25 19:24:25
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv18259/phpslash-ft Modified Files: CHANGES Log Message: bugfix - extchg.sh changes ext refs in all files Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.378 retrieving revision 1.379 diff -C2 -d -r1.378 -r1.379 *** CHANGES 2002/01/24 13:27:09 1.378 --- CHANGES 2002/01/25 19:24:22 1.379 *************** *** 13,16 **** --- 13,19 ---- 9 - Removal of something (kill -9 :) + 2002-Jan-25 1:00PM CST Joe Stewart <jo...@be...> + [B] - extchg.sh - now changes references in template files also. + 2002-Jan-24 7:00AM CST Joe Stewart <jo...@be...> [B] - search.php3 - Searching comments wasn't working. |
|
From: Joe S. <joe...@us...> - 2002-01-24 13:27:14
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default
In directory usw-pr-cvs1:/tmp/cvs-serv21660/phpslash-ft/public_html/templates/en/default
Modified Files:
searchPage.tpl
Log Message:
search comments
Index: searchPage.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/searchPage.tpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** searchPage.tpl 2001/11/24 14:02:12 1.3
--- searchPage.tpl 2002/01/24 13:27:09 1.4
***************
*** 9,13 ****
<input type="text" name="query" size="50" value="{QUERY_STRING}"><br>
<input type="checkbox" name="use_comments">
! Search Comments as well as stories
</td>
<td>
--- 9,13 ----
<input type="text" name="query" size="50" value="{QUERY_STRING}"><br>
<input type="checkbox" name="use_comments">
! Search Comment text
</td>
<td>
|
|
From: Joe S. <joe...@us...> - 2002-01-24 13:27:14
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv21660/phpslash-ft Modified Files: CHANGES Log Message: search comments Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.377 retrieving revision 1.378 diff -C2 -d -r1.377 -r1.378 *** CHANGES 2002/01/23 20:17:46 1.377 --- CHANGES 2002/01/24 13:27:09 1.378 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2002-Jan-24 7:00AM CST Joe Stewart <jo...@be...> + [B] - search.php3 - Searching comments wasn't working. + [T] - searchPage.tpl - text change. + 2002-Jan-23 2:00PM CST Joe Stewart <jo...@be...> [W] - Block_render_rss.class - error message tweaks from Peter. |
|
From: Joe S. <joe...@us...> - 2002-01-24 13:27:13
|
Update of /cvsroot/phpslash/phpslash-ft/public_html
In directory usw-pr-cvs1:/tmp/cvs-serv21660/phpslash-ft/public_html
Modified Files:
search.php3
Log Message:
search comments
Index: search.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/search.php3,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** search.php3 2001/12/14 22:14:36 1.40
--- search.php3 2002/01/24 13:27:09 1.41
***************
*** 337,344 ****
/* Here is the comment search clause */
if ($search_comments) {
! $q .= " OR psl_comment.comment_text LIKE \"%$query%\"";
}
-
- $q .= ") ";
}
--- 337,345 ----
/* Here is the comment search clause */
if ($search_comments) {
! $q .= " OR psl_comment.comment_text LIKE \"%$query%\")";
! $q .= " AND story.story_id = psl_comment.story_id ";
! } else {
! $q .= ") ";
}
}
|
|
From: Joe S. <joe...@us...> - 2002-01-23 20:17:49
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv21081/phpslash-ft/class
Modified Files:
Block_render_rss.class
Log Message:
rss block error msg tweaks
Index: Block_render_rss.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_render_rss.class,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Block_render_rss.class 2002/01/23 17:26:37 1.2
--- Block_render_rss.class 2002/01/23 20:17:46 1.3
***************
*** 167,171 ****
xml_set_character_data_handler($this->xml, "character_data");
! $fpread = fopen($url, "r");
if ( !($fpread) ) {
// error in opening url
--- 167,171 ----
xml_set_character_data_handler($this->xml, "character_data");
! $fpread = @fopen($url, "r");
if ( !($fpread) ) {
// error in opening url
***************
*** 305,310 ****
} else {
! debug("Block_render_rss::parse", "Error: $this->rdf->error_str");
! $this->output = $this->rdf->error_str;
return false;
--- 305,311 ----
} else {
! debug("Block_render_rss::parse error", $this->rdf->error_str);
! $this->output = "Error in source file:".$this->rdf->error_str;
! // $this->output = "";
return false;
|
|
From: Joe S. <joe...@us...> - 2002-01-23 20:17:49
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv21081/phpslash-ft Modified Files: CHANGES Log Message: rss block error msg tweaks Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.376 retrieving revision 1.377 diff -C2 -d -r1.376 -r1.377 *** CHANGES 2002/01/23 17:26:37 1.376 --- CHANGES 2002/01/23 20:17:46 1.377 *************** *** 13,16 **** --- 13,19 ---- 9 - Removal of something (kill -9 :) + 2002-Jan-23 2:00PM CST Joe Stewart <jo...@be...> + [W] - Block_render_rss.class - error message tweaks from Peter. + 2002-Jan-23 11:00AM CST Joe Stewart <jo...@be...> [T] - Patch [ #506128 ] - Peter Cruikshank wrote a rss block parser that |
|
From: Joe S. <joe...@us...> - 2002-01-23 18:08:24
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default
In directory usw-pr-cvs1:/tmp/cvs-serv16027
Modified Files:
rssblock.tpl
Log Message:
Patch [ #506128 ] Rewrite of RSS parser to use templates
Index: rssblock.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/rssblock.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** rssblock.tpl 2002/01/23 17:26:37 1.1
--- rssblock.tpl 2002/01/23 18:08:21 1.2
***************
*** 13,16 ****
--- 13,17 ----
<!-- END each_query -->
<!-- BEGIN each_description -->
+ <br><i>{DESCRIPTION}</i>
<!-- END each_description -->
<!-- rssblock.tpl end-->
|
|
From: Joe S. <joe...@us...> - 2002-01-23 17:26:42
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default
In directory usw-pr-cvs1:/tmp/cvs-serv1307/phpslash-ft/public_html/templates/en/default
Added Files:
rssblock.tpl
Log Message:
Patch [ #506128 ] Rewrite of RSS parser to use templates
--- NEW FILE: rssblock.tpl ---
<!-- rssblock.tpl begin-->
<!-- BEGIN channel_title -->
<b><a class="Link3" href="{CHANNEL_LINK}" target="{TARGET}">{CHANNEL_TITLE}</a></b><br>
<!-- END channel_title -->
<!-- BEGIN channel_image -->
<a class="Link3" href="{IMAGE_LINK}" target="{TARGET}"><img src="{IMAGE_URL}" title="{IMAGE_TITLE}" alt="{IMAGE_TITLE}" border="0"></a>
<!-- END channel_image -->
<!-- BEGIN channel_description -->
<i>{CHANNEL_DESCRIPTION}</i><br>
<!-- END channel_description -->
<!-- BEGIN each_query -->
<li><a class="Link3" target="{TARGET}" href="{LINK}">{TITLE}</a>
<!-- END each_query -->
<!-- BEGIN each_description -->
<!-- END each_description -->
<!-- rssblock.tpl end-->
|
|
From: Joe S. <joe...@us...> - 2002-01-23 17:26:41
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv1307/phpslash-ft/class
Modified Files:
Block_render_rss.class
Log Message:
Patch [ #506128 ] Rewrite of RSS parser to use templates
Index: Block_render_rss.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_render_rss.class,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Block_render_rss.class 2001/05/15 22:36:15 1.1
--- Block_render_rss.class 2002/01/23 17:26:37 1.2
***************
*** 1,221 ****
! <?php
!
! /* Block_render_rss.class -> Methods for parsing RSS 0.91 data */
! /* Id:$ */
!
! class rdfparser {
! var $xml;
! var $current;
! var $count;
! var $initem = false;
! var $error_str = ""; /* if you got an error reading a file
! this will store an error */
!
! var $item_element;
! var $title_element;
! var $link_element;
!
! var $titlelist;
! var $linklist;
!
! /***************************************
! ** Constructor function. Creates the xml
! ** parser.
! ***************************************/
! function rdfparser() {
! // standard rdf setup
! $this->item_element = "item";
! $this->title_element = "title";
! $this->link_element = "link";
!
! $this->count = 0;
!
! $this->titlelist = array();
! $this->linklist = array();
!
! }
!
! /***************************************
! ** Accessor function for $data
! ***************************************/
! function get_data() {
! debug("rdf::get_data", $this_data);
! return $this->data;
! }
!
! /***************************************
! ** Start element function.
! ***************************************/
! function start_element($xml, $element, $attributes) {
!
! if (!strcasecmp($element, $this->item_element)) {
! $this->initem = true;
! } elseif (!strcasecmp($element, $this->title_element)) {
! $this->current="title";
! } elseif (!strcasecmp($element, $this->link_element)) {
! $this->current="link";
! }
! }
!
! /***************************************
! ** End element function.
! ***************************************/
! function end_element($xml, $element) {
!
! if (!strcasecmp($element, $this->item_element)) {
! $this->count++;
! $this->initem = false;
! } elseif (!strcasecmp($element, $this->title_element)) {
! $this->current="";
! } elseif (!strcasecmp($element, $this->link_element)) {
! $this->current="";
! }
! }
!
! function character_data($xml, $data) {
! if ($this->initem) {
! if ($this->current == "title") {
! $this->titlelist[$this->count] .= $data;
! }
! elseif ($this->current == "link") {
! $this->linklist[$this->count] .= $data;
! }
! }
! }
!
! function get_titles() {
! return $this->titlelist;
! }
!
! function get_links() {
! return $this->linklist;
! }
!
! function parse_setup($story, $title, $url) {
! debug("rdfparser::parse_setup", "init and object reset");
!
! $this->item_element = $story;
! $this->title_element = $title;
! $this->link_element = $url;
!
! $this->xml = xml_parser_create();
! xml_set_object($this->xml, &$this);
!
! $this->error_str = "";
! $this->titlelist = array();
! $this->linklist = array();
! $this->count = 0;
! $initem = false;
! }
!
! function parse_file($url) {
! debug("rdfparser::parse_file", "Now parsing $url");
!
! xml_parser_set_option($this->xml, XML_OPTION_CASE_FOLDING, true);
! xml_set_element_handler($this->xml, "start_element", "end_element");
! xml_set_character_data_handler($this->xml, "character_data");
!
! $fpread = fopen($url, "r");
! if ( !($fpread) ) {
! // error in opening url
! $this->error_str = "rdfparser::parse_file could not open $url";
! debug("rdfparser::parse_file", $this->error_str);
!
! // Where does $err* come from?
! debug("rdfparser::parse_file", "$errstr $errno");
!
! } else {
! while (($this->error_str == "") && ($data = fread($fpread, 4096))) {
! if (!xml_parse($this->xml, $data, feof($fpread))) {
! // error
! $this->error_str = xml_error_string(xml_get_error_code($this->xml)) .
! " at line " . xml_get_current_line_number($this->xml);
! debug("rdfparser::parse_file", $this->error_str);
! }
! }
! fclose($fpread);
! if ($this->error_str == "")
! debug("rdfparser::parse_file", "Data parsed successfully!");
! }
! }
! }
!
! class Block_render_rss {
!
! var $type;
! var $output;
! var $rdf;
!
! /* constructor */
! function Block_render_rss() {
!
! $this->type = "rss"; /* set the 'type' */
! $this->output = ""; /* clear the output */
! $this->rdf = new rdfparser;
! }
!
! /* returns the TYPE of this class */
! function getType() {
! return $this->type;
! }
!
! function parse($block_info) {
! debug("Block_render_rss::parse", "Starting RDF Block parsing");
!
! $this->output = "";
!
! $link_prefix = " <font size=\"-1\">";
! $link_postfix = "</font><br>\n";
! $max_items = 10;
! $target = "_top";
!
! $item_element = "item";
! $title_element = "title";
! $link_element = "link";
!
! // End of customizations
! if (is_array($block_info[block_options])) {
! if (is_string($block_info["block_options"]["item_element"]))
! $item_element = $block_info["block_options"]["item_element"];
! if (is_string($block_info["block_options"]["title_element"]))
! $title_element = $block_info["block_options"]["title_element"];
! if (is_string($block_info["block_options"]["link_element"]))
! $link_element = $block_info["block_options"]["link_element"];
! if (is_string($block_info["block_options"]["max_items"]))
! $max_items = $block_info["block_options"]["max_items"];
! if (is_string($block_info["block_options"]["link_prefix"]))
! $link_prefix = $block_info["block_options"]["link_prefix"];
! if (is_string($block_info["block_options"]["link_postfix"]))
! $link_postfix = $block_info["block_options"]["link_postfix"];
!
! }
! $items = 0;
!
! debug("Block_render_rss::parse", "setting parser with $item_element, $title_element, $link_element");
! $this->rdf->parse_setup($item_element, $title_element, $link_element);
!
! $this->rdf->parse_file($block_info['source_url']);
!
! if ($this->rdf->error_str == "") {
! debug("Block_render_rss::parse", "xml has no errors, making block");
!
! $titles = $this->rdf->get_titles();
! $links = $this->rdf->get_links();
!
! while ($items < $max_items && $items < $this->rdf->count) {
! $this->output .= "$link_prefix<A HREF=\"" . trim($links[$items]) . "\" TARGET=\"$target\">" . trim($titles[$items]) . "</A>$link_postfix";
! ++$items;
! }
! } else {
! debug("Block_render_rss::parse", "Error: $rdf->error_str");
! $this->output = $this->rdf->error_str;
! }
! }
!
!
! function getFinal() {
! return $this->output;
! }
!
! }
! ?>
--- 1,326 ----
! <?php
!
! /* Block_render_rss.class -> Methods for parsing RSS 0.91 data */
! /* CHANGES: 4Jan02 - RSS title stored */
! /* $Id$ */
! /*
! * VARAIBLES USED
! * target = [_blank],_self etc
! * max = 10
! * tpl = alternate template ( no .tpl extension) [rssblock.tpl]
! *
! * NOTES
! * - image width and height are not used since most sites seem not to give this info anyway
! * - rdfparser ignores max_items - it pulls everything it can from the RDF file
! */
! class rdfparser {
!
! // Settings
! var $max_items;
! var $tags; // tags to process (all others are ignored)
!
! // Output information
! var $channel;
! var $image;
! var $items;
!
! var $error_str = ""; /* if you got an error reading a file this will store an error */
!
! // Private
! var $xml;
! var $node;
! var $current;
! var $count;
!
! /***************************************
! ** Constructor function. See parse_setup
! ***************************************/
! function rdfparser() {
! }
!
! /***************************************
! ** Start element function.
! ***************************************/
! function start_element($xml, $element, $attributes) {
!
! $this->current = $element;
!
! switch ($element) {
! case $this->tags["item"]:
! case $this->tags["image"]:
! case $this->tags["channel"]:
! $this->node = $element; // Should be a stack really, but nesting is only one deep
! // debug("rdf:start element+node","$element+".$this->node);
! break;
!
! default:
! }
!
! }
!
! /***************************************
! ** End element function.
! ***************************************/
! function end_element($xml, $element) {
! $this->current = "";
!
! switch ($element) {
! case $this->tags["item"]:
! $this->node = "";
! $this->count++;
! break;
! case $this->tags["channel"]:
! case $this->tags["image"]:
! $this->node = "";
! break;
! }
! }
!
! function character_data($xml, $data) {
!
! switch ($this->node) {
!
! case $this->tags["item"]:
! switch ($this->current) {
! case $this->tags["title"]:
! $this->items[$this->count]["title"] .= $data;
! break;
! case $this->tags["link"]:
! $this->items[$this->count]["link"] .= $data;
! break;
! case $this->tags["description"]:
! $this->items[$this->count]["description"] .= $data;
! break;
! default:
! }
! break;
!
! case $this->tags["image"]:
! switch ($this->current) {
! case $this->tags["title"]:
! $this->image["title"] .= $data;
! break;
! case $this->tags["link"]:
! $this->image["link"] .= $data;
! break;
! case $this->tags["url"]:
! $this->image["url"] .= $data;
! break;
! default:
! }
! break;
!
! case $this->tags["channel"]:
! switch ($this->current) {
! case $this->tags["title"]:
! $this->channel["title"] .= $data;
! break;
! case $this->tags["link"]:
! $this->channel["link"] .= $data;
! break;
! case $this->tags["description"]:
! $this->channel["description"] .= $data;
! break;
! default:
! }
! break;
!
! default:
! }
! }
!
! function parse_setup($tags="",$max_items="") {
!
! if (is_array($tags)) {
! $this->tags = $tags;
! } else {
! // standard rdf setup - must be upper case (assuming case-folding is on which is PHP's default)
! $this->tags = array("channel" => "CHANNEL",
! "image" => "IMAGE",
! "item" => "ITEM",
! "title" => "TITLE",
! "link" => "LINK",
! "url" => "URL",
! "description" => "DESCRIPTION" );
! }
!
! // Internal initialisation
! $this->count = 0;
! $this->node = ""; // can be "" (ie channel), "item" or "image"
! $this->current = array(); // element stack
!
! $this->error_str = "";
!
! $this->channel = array("title"=>"", "link"=>"", "description" => "");
! $this->image = array("title"=>"", "link"=>"");
! $this->items = array();
!
! $this->xml = xml_parser_create();
! xml_set_object($this->xml, &$this);
! }
!
! function parse_file($url) {
! // debug("rdfparser::parse_file", "Now parsing $url");
!
! xml_parser_set_option($this->xml, XML_OPTION_CASE_FOLDING, true);
! xml_set_element_handler($this->xml, "start_element", "end_element");
! xml_set_character_data_handler($this->xml, "character_data");
!
! $fpread = fopen($url, "r");
! if ( !($fpread) ) {
! // error in opening url
! $this->error_str = "rdfparser::parse_file could not open $url";
! // debug("rdfparser::parse_file", $this->error_str);
!
! // Where does $err* come from?
! // debug("rdfparser::parse_file", "$errstr $errno");
! } else {
! while (($this->error_str == "") && ($data = fread($fpread, 4096))) {
! if (!xml_parse($this->xml, $data, feof($fpread))) {
! // error
! $this->error_str = xml_error_string(xml_get_error_code($this->xml)) . " at line " . xml_get_current_line_number($this->xml);
! debug("rdfparser::parse_file", $this->error_str);
! }
! }
! fclose($fpread);
! if ($this->error_str == "") {
! // debug("rdfparser::parse_file", "Data parsed successfully!");
! }
! }
! }
! }
!
! class Block_render_rss {
! var $type;
! var $output;
! var $rdf;
!
! /* constructor */
! function Block_render_rss() {
! global $_PSL;
!
! $this->type = "rss"; /* set the 'type' */
! $this->output = ""; /* clear the output */
! $this->rdf = new rdfparser;
! $this->psl = $_PSL;
! }
!
! /* returns the TYPE of this class */
! function getType() {
! return $this->type;
! }
!
! function parse($block_info) {
! global $_PSL;
! // debug("Block_render_rss::parse", "Starting RDF Block parsing");
!
! $default_tpl = "rssblock.tpl";
!
! $target = "_self";
! $max_items = 10;
! $tpl = $default_tpl;
!
! if (is_array($block_info[block_options])) {
! if (is_string($block_info["block_options"]["max_items"])) {
! $max_items = $block_info["block_options"]["max_items"];
! }
! if (is_string($block_info["block_options"]["target"])) {
! $target = $block_info["block_options"]["target"];
! }
! if (is_string($block_info["block_options"]["tpl"])) {
! if (@file_exists($this->psl[templatedir] . "/" . basename($block_info[block_options][tpl]) . ".tpl") ) {
! // should be secure as path directives are discarded and extension added
! $tpl = basename($block_info["block_options"]["tpl"]) . ".tpl";
! }
! }
! }
!
! // debug("Block_render_rss::parse", "setting parser with $item_element, $title_element, $link_element");
! $this->rdf->parse_setup(); //$item_element, $title_element, $link_element);
! $this->rdf->parse_file($block_info['source_url']);
!
! if (empty($this->rdf->error_str)) {
! // debug("Block_render_rss::parse", "xml has no errors, making block");
! // debug("rss::parse::channel",$this->rdf->channel);
! // debug("rss::parse::image",$this->rdf->image);
! // debug("rss::parse::items", $this->rdf->items);
!
! $template = new Template($this->psl["templatedir"]);
! $template->set_file ("block", $tpl);
!
! $template->set_block ("block", "channel_title","title_block");
! $template->set_block ("block", "channel_image","image_block");
! $template->set_block ("block", "channel_description","channeldescription_block");
! $template->set_block ("block", "each_query", "query_block");
! $template->set_block ("block", "each_description", "description_block");
!
! // <title> and <image> tags seem to hold identical description and link info in most sites
! // ... so use an image if possible, else show title
! if (empty($this->rdf->image["url"])) {
! if ( !empty( $this->rdf->channel["title"]) ) {
! $template->set_var("CHANNEL_TITLE", $this->rdf->channel["title"]);
! $template->set_var("CHANNEL_LINK", empty($this->rdf->channel["link"])?"#":$this->rdf->channel["link"]);
! $template->parse("title_block","channel_title");
! }
! } else {
! $template->set_var(array(
! "IMAGE_URL" => $this->rdf->image["url"],
! "IMAGE_TITLE" => $this->rdf->image["title"],
! "IMAGE_LINK" => $this->rdf->image["link"],
! ));
! $template->parse("image_block","channel_image");
! }
!
! if ( !empty( $this->rdf->channel["description"]) ) {
! $template->set_var("CHANNEL_DESCRIPTION", $this->rdf->channel["description"]);
! $template->parse("channeldescription_block","channel_description",true);
! }
!
! $numitems = min($max_items, $this->rdf->count);
! // debug("rss::numitems",$numitems);
! for ($items = 0; $items < $numitems; $items++ ) {
! $template->set_var(array(
! "TITLE" => $this->rdf->items[$items]["title"],
! "LINK" => $this->rdf->items[$items]["link"]
! ));
! $template->parse ("query_block", "each_query", true);
!
! if (!empty($this->rdf->items[$items]["description"] )) {
! $template->set_var("DESCRIPTION",$this->rdf->items[$items]["description"] );
! $template->parse ("query_block", "each_description", true);
! }
! }
!
! $template->set_var(array(
! "TARGET" => $target,
! "ROOTDIR" => $this->psl["rooturl"],
! "IMAGEDIR" => $this->psl["imageurl"]
! ));
! $this->output = $template->parse(OUT,"block");
! $this->title = $this->rdf->channel["title"];
! // debug("rss::parse::title", $this->title);
!
! return true;
!
! } else {
!
! debug("Block_render_rss::parse", "Error: $this->rdf->error_str");
! $this->output = $this->rdf->error_str;
!
! return false;
! }
!
! }
!
! function getFinal() {
! return $this->output;
! }
!
! function getTitle() {
! // $this->title = "RSS Channel";
! // debug("rss::parse::getTitle", $this->title);
! return $this->title;
! }
! }
!
! ?>
|
|
From: Joe S. <joe...@us...> - 2002-01-23 17:26:41
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv1307/phpslash-ft Modified Files: CHANGES Log Message: Patch [ #506128 ] Rewrite of RSS parser to use templates Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.375 retrieving revision 1.376 diff -C2 -d -r1.375 -r1.376 *** CHANGES 2002/01/23 00:15:21 1.375 --- CHANGES 2002/01/23 17:26:37 1.376 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2002-Jan-23 11:00AM CST Joe Stewart <jo...@be...> + [T] - Patch [ #506128 ] - Peter Cruikshank wrote a rss block parser that + uses templates. Files affected: Block_render_rss.class and + rssblock.tpl. + 2002-Jan-22 6:00PM CST Joe Stewart <jo...@be...> [T] - Patched in Aaron Seth's changes to store passwords in obfuscated md5. |
|
From: Joe S. <joe...@us...> - 2002-01-23 00:23:34
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv6110/phpslash-ft/class
Modified Files:
slashAuth.class
Log Message:
store password as md5
Index: slashAuth.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/slashAuth.class,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** slashAuth.class 2001/10/17 17:11:27 1.2
--- slashAuth.class 2002/01/23 00:23:29 1.3
***************
*** 87,94 ****
$uid = false;
$q = "SELECT *
FROM psl_author
WHERE author_name = '$username'
! AND password = '$password'";
$this->db->query($q);
--- 87,95 ----
$uid = false;
+ $md5_pw_net = md5("$username:$password");
$q = "SELECT *
FROM psl_author
WHERE author_name = '$username'
! AND password = '$md5_pw_net'";
$this->db->query($q);
|
|
From: Joe S. <joe...@us...> - 2002-01-23 00:15:24
|
Update of /cvsroot/phpslash/phpslash-ft/tables/0.65 In directory usw-pr-cvs1:/tmp/cvs-serv3993/phpslash-ft/tables/0.65 Modified Files: slash-all.sql 6_to_65.sql Log Message: store password as md5 Index: slash-all.sql =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.65/slash-all.sql,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** slash-all.sql 2002/01/09 17:05:34 1.6 --- slash-all.sql 2002/01/23 00:15:22 1.7 *************** *** 161,165 **** # ! INSERT INTO psl_author (author_id, author_name, author_realname, url, email, quote, password, seclev, perms) VALUES ( '1', 'god', '', 'http://www.god.com', 'go...@he...', 'God doesn't need a 'quote'!', 'password', '1000000', 'root,nobody,user,topic,story,section,submission,block,poll,author,variable,glossary,mailinglist,logging'); # -------------------------------------------------------- --- 161,165 ---- # ! INSERT INTO psl_author (author_id, author_name, author_realname, url, email, quote, password, seclev, perms) VALUES ( '1', 'god', '', 'http://www.god.com', 'go...@he...', 'God doesn't need a 'quote'!', MD5('god:password'), '1000000', 'root,nobody,user,topic,story,section,submission,block,poll,author,variable,glossary,mailinglist,logging'); # -------------------------------------------------------- Index: 6_to_65.sql =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.65/6_to_65.sql,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** 6_to_65.sql 2002/01/15 16:32:13 1.5 --- 6_to_65.sql 2002/01/23 00:15:22 1.6 *************** *** 12,13 **** --- 12,15 ---- update psl_author set perms='root,nobody,user,topic,story,section,submission,block,poll,author,variable,glossary,mailinglist,logging,comment' where seclev > '999999'; + + UPDATE psl_author SET password = MD5(CONCAT(author_name,":",password)); |
|
From: Joe S. <joe...@us...> - 2002-01-23 00:15:24
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default
In directory usw-pr-cvs1:/tmp/cvs-serv3993/phpslash-ft/public_html/templates/en/default
Modified Files:
loginformCR.tpl
Log Message:
store password as md5
Index: loginformCR.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/loginformCR.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** loginformCR.tpl 2001/10/08 16:46:31 1.1
--- loginformCR.tpl 2002/01/23 00:15:22 1.2
***************
*** 3,8 ****
<!--
function doChallengeResponse() {
! str = document.login.username.value + ":" +
! MD5(document.login.password.value) + ":" +
document.login.challenge.value;
document.login.response.value = MD5(str);
--- 3,8 ----
<!--
function doChallengeResponse() {
! str = MD5(document.login.username.value + ":" +
! document.login.password.value) + ":" +
document.login.challenge.value;
document.login.response.value = MD5(str);
|
|
From: Joe S. <joe...@us...> - 2002-01-23 00:15:24
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv3993/phpslash-ft Modified Files: CHANGES Log Message: store password as md5 Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.374 retrieving revision 1.375 diff -C2 -d -r1.374 -r1.375 *** CHANGES 2002/01/22 05:37:16 1.374 --- CHANGES 2002/01/23 00:15:21 1.375 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2002-Jan-22 6:00PM CST Joe Stewart <jo...@be...> + [T] - Patched in Aaron Seth's changes to store passwords in obfuscated md5. + Files affected: Author.class, slashAuthCR.class, slashAuth.class, + loginformCR.tpl, 6_to_65.sql, slash-all.sql. + 2002-Jan-21 11:30PM CST Joe Stewart <jo...@be...> [W] - Block_i.class - getBlocks now calls extractStories only once |
|
From: Joe S. <joe...@us...> - 2002-01-23 00:15:24
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv3993/phpslash-ft/class
Modified Files:
Author.class slashAuthCR.class
Log Message:
store password as md5
Index: Author.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Author.class,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Author.class 2001/12/17 22:42:37 1.14
--- Author.class 2002/01/23 00:15:22 1.15
***************
*** 109,116 ****
return false;
}
- if ($ary[password] == "") {
- error("There is no password in Author.class::saveAuthor");
- return false;
- }
if (!is_array($ary[permission]) or (count($ary[permission]) < 1)) {
error("You need to select some permissions in Author.class::saveAuthor");
--- 109,112 ----
***************
*** 134,138 ****
$joined_perms = join(',',$ary[permission]);
if ($this->db->next_record()) {
! $q = "UPDATE psl_author
SET author_name = '$ary[author_name]',
author_realname = '$ary[author_realname]',
--- 130,144 ----
$joined_perms = join(',',$ary[permission]);
if ($this->db->next_record()) {
! if ($ary[password] == "") {
! $q = "UPDATE psl_author
! SET author_name = '$ary[author_name]',
! author_realname = '$ary[author_realname]',
! url = '$ary[url]',
! email = '$ary[email]',
! quote = '$ary[quote]',
! perms = '$joined_perms'
! WHERE author_id = '$ary[author_id]'";
! } else {
! $q = "UPDATE psl_author
SET author_name = '$ary[author_name]',
author_realname = '$ary[author_realname]',
***************
*** 140,147 ****
email = '$ary[email]',
quote = '$ary[quote]',
! password = '$ary[password]',
perms = '$joined_perms'
WHERE author_id = '$ary[author_id]'";
} else {
$ary[author_id] = generateID("psl_author_seq");
--- 146,160 ----
email = '$ary[email]',
quote = '$ary[quote]',
! password = MD5('$ary[author_name]:$ary[password]'),
perms = '$joined_perms'
WHERE author_id = '$ary[author_id]'";
+ }
} else {
+
+ if ($ary[password] == "") {
+ error("There is no password in Author.class::saveAuthor");
+ return false;
+ }
+
$ary[author_id] = generateID("psl_author_seq");
***************
*** 162,166 ****
'$ary[email]',
'$ary[quote]',
! '$ary[password]',
'$ary[seclev]',
'$joined_perms')";
--- 175,179 ----
'$ary[email]',
'$ary[quote]',
! MD5('$ary[author_name]:$ary[password]'),
'$ary[seclev]',
'$joined_perms')";
***************
*** 313,317 ****
URL => $this->db->f("url"),
QUOTE => $this->db->f("quote"),
! PASSWORD => $this->db->f("password"),
SECLEV => $this->db->f("seclev"),
COUNT => $count,
--- 326,330 ----
URL => $this->db->f("url"),
QUOTE => $this->db->f("quote"),
! // PASSWORD => $this->db->f("password"),
SECLEV => $this->db->f("seclev"),
COUNT => $count,
Index: slashAuthCR.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/slashAuthCR.class,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** slashAuthCR.class 2001/10/08 16:47:09 1.1
--- slashAuthCR.class 2002/01/23 00:15:22 1.2
***************
*** 92,110 ****
$this->auth["uid"] = $this->db->Record["author_id"];
$this->auth["uname"] = $this->db->Record["author_name"];
! $md5_pw = md5($this->db->Record[password]);
! $expected_response = md5("$username:$md5_pw:$challenge");
## True when JS is disabled
if ($response == "") {
! if ($this->db->Record["password"] != $password) {
! $this->auth["error"] = "Your password is invalid.<br>Please try again.";
! return false;
! } else {
! $this->auth["perm"] = $this->db->Record["perms"];
! return $uid;
! }
}
!
! ## Response is set, JS is enabled
if ($expected_response != $response) {
$this->auth["error"] = "Either your username or password are invalid.<br>Please try again.";
--- 92,108 ----
$this->auth["uid"] = $this->db->Record["author_id"];
$this->auth["uname"] = $this->db->Record["author_name"];
! $md5_pw = $this->db->Record[password]; // this is the raw MD5ed user/pass combo
! $expected_response = md5("$md5_pw:$challenge");
## True when JS is disabled
if ($response == "") {
! $md5_pw_net = md5("$username:$password");
! $response = md5("$md5_pw_net:$challenge");
}
!
! ## drop password for safety
! $password='';
!
! ## Response is set, JS might be enabled...
if ($expected_response != $response) {
$this->auth["error"] = "Either your username or password are invalid.<br>Please try again.";
|
|
From: Joe S. <joe...@us...> - 2002-01-22 12:25:10
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv25271/phpslash-ft/class
Modified Files:
Block_i.class
Log Message:
optimized getBlocks typo
Index: Block_i.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_i.class,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** Block_i.class 2002/01/22 05:37:16 1.11
--- Block_i.class 2002/01/22 12:25:07 1.12
***************
*** 16,20 ****
class Block_i extends Block {
/* Decare properties for class Block_i*/
! var $psl, $templ, $debug, $arg_ary;
/*
--- 16,20 ----
class Block_i extends Block {
/* Decare properties for class Block_i*/
! var $psl, $templ, $debug, $argv_ary;
/*
|
|
From: Joe S. <joe...@us...> - 2002-01-22 05:37:19
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv4716/phpslash-ft Modified Files: CHANGES Log Message: optimized getBlocks Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.373 retrieving revision 1.374 diff -C2 -d -r1.373 -r1.374 *** CHANGES 2002/01/17 22:16:41 1.373 --- CHANGES 2002/01/22 05:37:16 1.374 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2002-Jan-21 11:30PM CST Joe Stewart <jo...@be...> + [W] - Block_i.class - getBlocks now calls extractStories only once + per page. If $ary is different getBlocks will generate a + new query. + 2002-Jan-17 4:00PM CST Joe Stewart <jo...@be...> [D] - phpslash.sgml - added references to new index templates. |
|
From: Joe S. <joe...@us...> - 2002-01-22 05:37:19
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv4716/phpslash-ft/class
Modified Files:
Block_i.class
Log Message:
optimized getBlocks
Index: Block_i.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Block_i.class,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Block_i.class 2002/01/08 21:38:23 1.10
--- Block_i.class 2002/01/22 05:37:16 1.11
***************
*** 16,20 ****
class Block_i extends Block {
/* Decare properties for class Block_i*/
! var $psl, $templ, $debug;
/*
--- 16,20 ----
class Block_i extends Block {
/* Decare properties for class Block_i*/
! var $psl, $templ, $debug, $arg_ary;
/*
***************
*** 37,40 ****
--- 37,42 ----
$this->psl = $_PSL;
+ $this->argv_ary = "";
+
/* Do we debug? [Boolean] */
$this->debug = 1;
***************
*** 323,333 ****
// debug("Block_i.class::getBlocks::ary", $ary);
!
! $block_ary = $this->extractBlocks( $ary);
!
$output = "";
! for ($i=0; $i < count($block_ary); $i++) {
! $output .= $this->parseBlock($block_ary[$i], $column);
}
--- 325,338 ----
// debug("Block_i.class::getBlocks::ary", $ary);
!
! if ( $this->argv_ary != $ary) {
! $this->argv_ary = $ary;
! $block_ary = $this->extractBlocks( $ary);
! }
!
$output = "";
! for ($i=0; $i < count($this->block_ary); $i++) {
! $output .= $this->parseBlock($this->block_ary[$i], $column);
}
|
|
From: Joe S. <joe...@us...> - 2002-01-17 22:16:45
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html
In directory usw-pr-cvs1:/tmp/cvs-serv12364/phpslash-ft/doc/html
Modified Files:
phpslash.sgml
Log Message:
updated docs list of templates
Index: phpslash.sgml
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/doc/html/phpslash.sgml,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** phpslash.sgml 2001/12/28 21:55:01 1.10
--- phpslash.sgml 2002/01/17 22:16:41 1.11
***************
*** 636,640 ****
fancybox.tpl
glossarySearch.tpl
! index.tpl
index3col.tpl
loginform.tpl
--- 636,642 ----
fancybox.tpl
glossarySearch.tpl
! index1col.tpl
! index2colleft.tpl
! index2colright.tpl
index3col.tpl
loginform.tpl
***************
*** 675,678 ****
--- 677,682 ----
again. That will do it.
+ <item> Some blocks or entire columns of blocks may be missing. Go to the block Admin screen and for the affected blocks assign the block option variable name of column with a variable value of left, right, or center as needed.
+
<item> All of the variables in the database have been phased out.
All the variables that are related to presentation (bgcolor,font color,
***************
*** 1115,1119 ****
admin.tpl - deprecated
article-pf.tpl - printer friendly article page
! article.tpl - article page
articleEmailBody.tpl - email article to a friend form
articleEmailForm.tpl
--- 1119,1123 ----
admin.tpl - deprecated
article-pf.tpl - printer friendly article page
! article.tpl - deprecated
articleEmailBody.tpl - email article to a friend form
articleEmailForm.tpl
***************
*** 1152,1156 ****
glossarySearch.tpl - glossary display
header.tpl - unused
! index.tpl - index page
index3col.tpl - three column example index page
infolog.tpl - infolog management in infologAdmin
--- 1156,1163 ----
glossarySearch.tpl - glossary display
header.tpl - unused
! index.tpl - deprecated
! index1col.tpl - one column index and article page
! index2colleft.tpl - two column index and article page w/left hand blocks
! index2colright.tpl - two column index and article page w/right hand blocks
index3col.tpl - three column example index page
infolog.tpl - infolog management in infologAdmin
|