phpslash-commit Mailing List for phpSlash (Page 76)
Brought to you by:
joestewart,
nhruby
You can subscribe to this list here.
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-10-11 19:32:06
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/basic In directory usw-pr-cvs1:/tmp/cvs-serv18283/basic Modified Files: storyNew.tpl storyList.tpl Log Message: story order Index: storyNew.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/basic/storyNew.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** storyNew.tpl 13 Jun 2002 20:07:27 -0000 1.6 --- storyNew.tpl 11 Oct 2002 19:32:02 -0000 1.7 *************** *** 90,93 **** --- 90,99 ---- </tr> <tr> + <td class="descr">Order</td> + <td colspan="3"> + <input type="text" name="order_no" value="{ORDER_NO}" size="4"> + </td> + </tr> + <tr> <td class="descr">Intro Text</td> <td colspan="3"><textarea name="intro_text" wrap="physical" cols="75" rows="10">{INTROTEXT}</textarea></td> Index: storyList.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/basic/storyList.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** storyList.tpl 9 Apr 2002 16:57:06 -0000 1.2 --- storyList.tpl 11 Oct 2002 19:32:02 -0000 1.3 *************** *** 1,59 **** ! <!-- start storyList.tpl --> ! <div id="storyList"> ! <form action="{ACTION_URL}" method="post"> ! <input type="submit" name="submit" value="new" /><br /> ! <select name="author_id"> ! <!-- BEGIN each_author --> ! <option value="{AUTHOR_ID}" {SELECTED}>{AUTHOR_NAME}</option> ! <!-- END each_author --> ! </select> ! ! <select name="topic_id"> ! <!-- BEGIN each_topic --> ! <option value="{TOPIC_ID}" {SELECTED}>{TOPIC_NAME}</option> ! <!-- END each_topic --> ! </select> ! ! <select name="section_id"> ! <!-- BEGIN each_section --> ! <option value="{SECTION_ID}" {SELECTED}>{SECTION_NAME}</option> ! <!-- END each_section --> ! </select> ! ! <input type="submit" name="submit" value="modify" /> ! ! <table cellpadding="2" cellspacing="2" border="0"> ! <tr> ! <th>CNT</th> ! <th>Title</th> ! <th>Author</th> ! <th>Hits / Comments</th> ! <th>Date</th> ! <th>Admin</th> ! </tr> ! ! <!-- BEGIN row --> ! <tr class="firstRow"> ! <td class="descr">{COUNT}</td> ! <td>{TITLE}</td> ! <td>by <span class="author">{AUTHOR}</span></td> ! <td class="descr">{HITS} / {COMMENTCOUNT}</td> ! <td class="date">{DATE}</td> ! <td><a href="{MODIFYURL}">Modify</a> || <a href="{VIEWURL}">View</a> || <a href="{DELETEURL}">Delete</a></td> ! </tr> ! <!-- END row --> ! <!-- BEGIN row2 --> ! <tr class="secondRow"> ! <td class="descr">{COUNT}</td> ! <td>{TITLE}</td> ! <td>by <span class="author">{AUTHOR}</span></td> ! <td class="descr">{HITS} / {COMMENTCOUNT}</td> ! <td class="date">{DATE}</td> ! <td><a href="{MODIFYURL}">Modify</a> || <a href="{VIEWURL}">View</a> || <a href="{DELETEURL}">Delete</a></td> ! </tr> ! <!-- END row2 --> ! </table> ! <p class="more">{MORE_LINK}</p> ! </form> ! </div> <!-- id="storyList" --> ! <!-- End storyList.tpl --> --- 1,62 ---- ! <!-- start storyList.tpl --> ! <div id="storyList"> ! <form action="{ACTION_URL}" method="post"> ! <input type="submit" name="submit" value="new" /><br /> ! <select name="author_id"> ! <!-- BEGIN each_author --> ! <option value="{AUTHOR_ID}" {SELECTED}>{AUTHOR_NAME}</option> ! <!-- END each_author --> ! </select> ! ! <select name="topic_id"> ! <!-- BEGIN each_topic --> ! <option value="{TOPIC_ID}" {SELECTED}>{TOPIC_NAME}</option> ! <!-- END each_topic --> ! </select> ! ! <select name="section_id"> ! <!-- BEGIN each_section --> ! <option value="{SECTION_ID}" {SELECTED}>{SECTION_NAME}</option> ! <!-- END each_section --> ! </select> ! ! <input type="submit" name="submit" value="modify" /> ! ! <table cellpadding="2" cellspacing="2" border="0"> ! <tr> ! <th>CNT</th> ! <th>Order</th> ! <th>Title</th> ! <th>Author</th> ! <th>Hits / Comments</th> ! <th>Date</th> ! <th>Admin</th> ! </tr> ! ! <!-- BEGIN row --> ! <tr class="firstRow"> ! <td class="descr">{COUNT}</td> ! <td class="descr">{ORDER_NO}</td> ! <td>{TITLE}</td> ! <td>by <span class="author">{AUTHOR}</span></td> ! <td class="descr">{HITS} / {COMMENTCOUNT}</td> ! <td class="date">{DATE}</td> ! <td><a href="{MODIFYURL}">Modify</a> || <a href="{VIEWURL}">View</a> || <a href="{DELETEURL}">Delete</a></td> ! </tr> ! <!-- END row --> ! <!-- BEGIN row2 --> ! <tr class="secondRow"> ! <td class="descr">{COUNT}</td> ! <td class="descr">{ORDER_NO}</td> ! <td>{TITLE}</td> ! <td>by <span class="author">{AUTHOR}</span></td> ! <td class="descr">{HITS} / {COMMENTCOUNT}</td> ! <td class="date">{DATE}</td> ! <td><a href="{MODIFYURL}">Modify</a> || <a href="{VIEWURL}">View</a> || <a href="{DELETEURL}">Delete</a></td> ! </tr> ! <!-- END row2 --> ! </table> ! <p class="more">{MORE_LINK}</p> ! </form> ! </div> <!-- id="storyList" --> ! <!-- End storyList.tpl --> |
From: Joe S. <joe...@us...> - 2002-10-11 19:31:28
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv18104/phpslash-ft/class Modified Files: Story.class Story_base.class Story_admin.class Log Message: story order Index: Story.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Story.class,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** Story.class 31 Aug 2002 13:00:38 -0000 1.40 --- Story.class 11 Oct 2002 19:31:24 -0000 1.41 *************** *** 341,351 **** $this->template->set_var(array( ! 'SKIN' => $this->psl['skin'], 'STORY_ID' => $story_id, ! 'TITLEBAR' => $titlebar, 'TITLE' => $ary['title'], 'INTRO_TEXT' => $ary['intro_text'], 'BODY_TEXT' => $ary['body_text'], ! 'HITS' => $ary['hits'], 'DEPT' => $ary['dept'], 'URL' => str_html($ary['url']), --- 341,352 ---- $this->template->set_var(array( ! 'SKIN' => $this->psl['skin'], 'STORY_ID' => $story_id, ! 'TITLEBAR' => $titlebar, 'TITLE' => $ary['title'], 'INTRO_TEXT' => $ary['intro_text'], 'BODY_TEXT' => $ary['body_text'], ! 'ORDER_NO' => $ary['order_no'], ! 'HITS' => $ary['hits'], 'DEPT' => $ary['dept'], 'URL' => str_html($ary['url']), *************** *** 503,506 **** --- 504,508 ---- 'INTRO_TEXT' => $stories_ary[$i]['intro_text'], 'BODY_TEXT' => $body_text, + 'ORDER_NO' => $stories_ary[$i]['order_no'], 'DEPT' => $stories_ary[$i]['dept'], 'URL' => str_html($stories_ary[$i]['url']), *************** *** 625,628 **** --- 627,631 ---- $vars['datef'] = $this->story_ary['datef']; $vars['dept'] = $this->story_ary['dept']; + $vars['order_no'] = $this->story_ary['order_no']; $ary['tpl'] = "emailStory"; Index: Story_base.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Story_base.class,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Story_base.class 3 Sep 2002 15:04:35 -0000 1.15 --- Story_base.class 11 Oct 2002 19:31:24 -0000 1.16 *************** *** 56,59 **** --- 56,60 ---- $q = "SELECT story.story_id, story.title, + story.order_no, story.dept, story.user_id, *************** *** 93,96 **** --- 94,98 ---- if ($this->db->next_record()) { $title = stripslashes($this->db->Record["title"]); + $order_no = stripslashes($this->db->Record["order_no"]); $dept = stripslashes($this->db->Record["dept"]); $intro_text = stripslashes($this->db->Record["intro_text"]); *************** *** 108,117 **** $this->story_ary['intro_text'] = $intro_text; $this->story_ary['body_text'] = $body_text; ! $this->story_ary['hits'] = $this->db->Record["hits"]; $this->story_ary['dept'] = $dept; $this->story_ary['user_id'] = $this->db->Record["user_id"]; $this->story_ary['topic_cache']= $this->db->Record["topic_cache"]; $this->story_ary['story_options']= unserialize($this->db->Record["story_options"]); ! $this->story_ary['url'] = $this->db->Record["url"]; $this->story_ary['name'] = $this->db->Record["name"]; $this->story_ary['realname'] = $this->db->Record["realname"]; --- 110,120 ---- $this->story_ary['intro_text'] = $intro_text; $this->story_ary['body_text'] = $body_text; ! $this->story_ary['order_no'] = $order_no; ! $this->story_ary['hits'] = $this->db->Record["hits"]; $this->story_ary['dept'] = $dept; $this->story_ary['user_id'] = $this->db->Record["user_id"]; $this->story_ary['topic_cache']= $this->db->Record["topic_cache"]; $this->story_ary['story_options']= unserialize($this->db->Record["story_options"]); ! $this->story_ary['url'] = $this->db->Record["url"]; $this->story_ary['name'] = $this->db->Record["name"]; $this->story_ary['realname'] = $this->db->Record["realname"]; *************** *** 183,186 **** --- 186,190 ---- psl_story.intro_text, psl_story.body_text, + psl_story.order_no, psl_story.dept, psl_story.hits, *************** *** 336,340 **** $q1 = $q; ! $q1 .= "ORDER BY $argv_ary[order] $argv_ary[asc] LIMIT $start, $argv_ary[chunk]"; // debug("Story::extractStories.argv_ary", $argv_ary); --- 340,344 ---- $q1 = $q; ! $q1 .= "ORDER BY psl_story.order_no DESC, $argv_ary[order] $argv_ary[asc] LIMIT $start, $argv_ary[chunk]"; // debug("Story::extractStories.argv_ary", $argv_ary); *************** *** 376,379 **** --- 380,384 ---- $stories_ary[$i]['intro_text'] = stripslashes($this->db->Record["intro_text"]); $stories_ary[$i]['body_text'] = stripslashes($this->db->Record["body_text"]); + $stories_ary[$i]['order_no'] = stripslashes($this->db->Record["order_no"]); $stories_ary[$i]['dept'] = stripslashes($this->db->Record["dept"]); $stories_ary[$i]['url'] = $this->db->Record["url"]; *************** *** 490,493 **** --- 495,499 ---- $ary['title'] = eregi_replace("\"",""",addslashes($ary['title'])); $ary['dept'] = eregi_replace(' ','-',addslashes($ary['dept'])); + $ary['order_no'] = eregi_replace(' ','-',addslashes($ary['order_no'])); $ary['intro_text'] = addslashes($ary['intro_text']); $ary['body_text'] = addslashes($ary['body_text']); *************** *** 516,521 **** SET user_id = '$ary[author_id]', title = '$ary[title]', ! time = '$ary[datetime]', ! dept = '$ary[dept]', intro_text = '$ary[intro_text]', body_text = '$ary[body_text]', --- 522,528 ---- SET user_id = '$ary[author_id]', title = '$ary[title]', ! time = '$ary[datetime]', ! order_no = '$ary[order_no]', ! dept = '$ary[dept]', intro_text = '$ary[intro_text]', body_text = '$ary[body_text]', *************** *** 563,566 **** --- 570,574 ---- user_id, title, + order_no, dept, intro_text, *************** *** 573,576 **** --- 581,585 ---- '$ary[author_id]', '$ary[title]', + '$ary[order_no]', '$ary[dept]', '$ary[intro_text]', Index: Story_admin.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Story_admin.class,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Story_admin.class 3 Sep 2002 15:04:35 -0000 1.3 --- Story_admin.class 11 Oct 2002 19:31:24 -0000 1.4 *************** *** 201,204 **** --- 201,205 ---- 'INTRO_TEXT' => stripslashes($ary['intro_text']), 'BODY_TEXT' => stripslashes($ary['body_text']), + 'ORDER_NO' => $ary['order_no'], 'DEPT' => $ary['dept'], 'URL' => $ary['url'], *************** *** 268,271 **** --- 269,273 ---- story.story_id, story.title, + story.order_no, author.author_name, commentcount.count AS commentcount, *************** *** 301,305 **** $q .= "AND '$section_id' = psl_section_lut.section_id "; } ! $q .= "ORDER BY timestamp DESC"; $this->db->query($q); --- 303,307 ---- $q .= "AND '$section_id' = psl_section_lut.section_id "; } ! $q .= "ORDER BY order_no DESC, time DESC"; $this->db->query($q); *************** *** 401,404 **** --- 403,407 ---- $this->template->set_var(array( + 'ORDER_NO' => $this->db->Record["order_no"], 'COUNT' => $count, 'VIEWURL' => $view_url, *************** *** 478,481 **** --- 481,485 ---- // clean() is supposed to handle arrays, but the topic/section arrays // always got mangled after the clean function. so we're doing one by one. + $ary['order_no'] = clean($ary['order_no']); $ary['dept'] = clean($ary['dept']); $ary['intro_text'] = clean($ary['intro_text']); *************** *** 488,491 **** --- 492,496 ---- } $this->template->set_var(array( + 'ORDER_NO' => $ary['order_no'], 'DEPT' => $ary['dept'], 'INTROTEXT' => $ary['intro_text'], *************** *** 644,647 **** --- 649,653 ---- $this->template->set_var(array( + 'ORDER_NO' => stripslashes($this->db->Record['order_no']), 'DEPT' => stripslashes($this->db->Record['dept']), 'INTROTEXT' => htmlspecialchars(stripslashes($this->db->Record['intro_text'])), |
From: Joe S. <joe...@us...> - 2002-10-11 19:31:28
|
Update of /cvsroot/phpslash/phpslash-ft/tables/0.7 In directory usw-pr-cvs1:/tmp/cvs-serv18104/phpslash-ft/tables/0.7 Modified Files: slash-all.sql 65_to_7.sql Log Message: story order Index: slash-all.sql =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.7/slash-all.sql,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** slash-all.sql 11 Oct 2002 15:48:40 -0000 1.15 --- slash-all.sql 11 Oct 2002 19:31:25 -0000 1.16 *************** *** 1058,1061 **** --- 1058,1062 ---- story_id int(11) unsigned DEFAULT '0' NOT NULL, user_id int(11) unsigned DEFAULT '0' NOT NULL, + order_no int(10) unsigned NOT NULL default '0', title varchar(80), dept varchar(80), Index: 65_to_7.sql =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.7/65_to_7.sql,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** 65_to_7.sql 24 Sep 2002 16:23:39 -0000 1.8 --- 65_to_7.sql 11 Oct 2002 19:31:25 -0000 1.9 *************** *** 3,6 **** --- 3,7 ---- ALTER TABLE psl_author ADD author_options TEXT; ALTER TABLE psl_block CHANGE `title` `title` VARCHAR(255) NOT NULL; + ALTER TABLE psl_story ADD order_no int(10) unsigned NOT NULL default '0'; INSERT INTO db_sequence VALUES ('psl_permission_seq',81); |
From: Joe S. <joe...@us...> - 2002-10-11 19:31:28
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv18104/phpslash-ft Modified Files: CHANGES Log Message: story order Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.574 retrieving revision 1.575 diff -C2 -d -r1.574 -r1.575 *** CHANGES 11 Oct 2002 16:57:58 -0000 1.574 --- CHANGES 11 Oct 2002 19:31:24 -0000 1.575 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2002-October-11 2:00PM CDT Joe Stewart <joe...@us...> + [F] - Sam Wiliams patch to order stories in addition to date. Affected files - + Story_base.class, Story.class, Story_admin.class, storyList.tpl, + storyNew.tpl, slash-all.sql, 65_to_7.sql, phpslash.sgml. + 2002-October-11 10:00AM PST Ajay Sharma <aja...@us...> [B] - fixed a bug in storyAdmin.php3 where $ary wasn't being initialized |
From: Ajay S. <aja...@us...> - 2002-10-11 16:58:05
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv32741 Modified Files: CHANGES Log Message: fixed a bug with storyAdmin where the $ary wasn't being initialized. Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.573 retrieving revision 1.574 diff -C2 -d -r1.573 -r1.574 *** CHANGES 11 Oct 2002 15:48:39 -0000 1.573 --- CHANGES 11 Oct 2002 16:57:58 -0000 1.574 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2002-October-11 10:00AM PST Ajay Sharma <aja...@us...> + [B] - fixed a bug in storyAdmin.php3 where $ary wasn't being initialized + on a POST + 2002-October-11 10:00AM CDT Joe Stewart <joe...@us...> [W] - config-dist.php3 - initialize _PSL array. |
From: Ajay S. <aja...@us...> - 2002-10-11 16:58:02
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin In directory usw-pr-cvs1:/tmp/cvs-serv32741/public_html/admin Modified Files: storyAdmin.php3 Log Message: fixed a bug with storyAdmin where the $ary wasn't being initialized. Index: storyAdmin.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/storyAdmin.php3,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** storyAdmin.php3 10 Sep 2002 21:09:50 -0000 1.12 --- storyAdmin.php3 11 Oct 2002 16:57:58 -0000 1.13 *************** *** 16,24 **** if(!empty($HTTP_POST_VARS['submit'])) { $submit = $HTTP_POST_VARS['submit']; } elseif (!empty($HTTP_GET_VARS['submit'])) { $submit = $HTTP_GET_VARS['submit']; $story_id = $HTTP_GET_VARS['story_id']; ! $next =$HTTP_GET_VARS['next']; ! $ary = $HTTP_GET_VARS; } else { $submit = ''; --- 16,25 ---- if(!empty($HTTP_POST_VARS['submit'])) { $submit = $HTTP_POST_VARS['submit']; + $ary = clean($HTTP_POST_VARS); } elseif (!empty($HTTP_GET_VARS['submit'])) { $submit = $HTTP_GET_VARS['submit']; $story_id = $HTTP_GET_VARS['story_id']; ! $next = $HTTP_GET_VARS['next']; ! $ary = clean($HTTP_GET_VARS); } else { $submit = ''; |
From: Joe S. <joe...@us...> - 2002-10-11 15:48:43
|
Update of /cvsroot/phpslash/phpslash-ft/tables/0.7 In directory usw-pr-cvs1:/tmp/cvs-serv6054/phpslash-ft/tables/0.7 Modified Files: slash-all.sql Log Message: initialize _PSL Index: slash-all.sql =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.7/slash-all.sql,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** slash-all.sql 4 Oct 2002 21:27:05 -0000 1.14 --- slash-all.sql 11 Oct 2002 15:48:40 -0000 1.15 *************** *** 165,169 **** # ! INSERT INTO psl_author (author_id, author_name, author_realname, url, email, quote, password, seclev, perms, author_options) VALUES ( '1', 'god', '', 'http://www.god.com', 'go...@he...', 'God doesn't need a 'quote'!', MD5('god:password'), '1000000', 'root,nobody,user,topic,comment,story,storyeditor,section,submission,block,poll,author,variable,glossary,mailinglist,logging',''); INSERT INTO psl_author VALUES (20,'nobody','Anonymous','','','','7dae6bd6d92a6c64367c27ea48169e4e',0,'','N;'); --- 165,169 ---- # ! INSERT INTO psl_author (author_id, author_name, author_realname, url, email, quote, password, seclev, perms, author_options) VALUES ( '1', 'god', 'god', 'http://www.god.com', 'go...@he...', 'God doesn't need a 'quote'!', MD5('god:password'), '1000000', 'root,nobody,user,topic,comment,story,storyeditor,section,submission,block,poll,author,variable,glossary,mailinglist,logging',''); INSERT INTO psl_author VALUES (20,'nobody','Anonymous','','','','7dae6bd6d92a6c64367c27ea48169e4e',0,'','N;'); |
From: Joe S. <joe...@us...> - 2002-10-11 15:48:43
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv6054/phpslash-ft/public_html Modified Files: config-dist.php3 Log Message: initialize _PSL Index: config-dist.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config-dist.php3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** config-dist.php3 10 Oct 2002 16:10:51 -0000 1.4 --- config-dist.php3 11 Oct 2002 15:48:40 -0000 1.5 *************** *** 15,18 **** --- 15,19 ---- like this, but you need to be sure to close it like so: */ + $_PSL = array(); // parse the ini configuration file into the $_PSL array |
From: Joe S. <joe...@us...> - 2002-10-11 15:48:43
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv6054/phpslash-ft Modified Files: CHANGES Log Message: initialize _PSL Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.572 retrieving revision 1.573 diff -C2 -d -r1.572 -r1.573 *** CHANGES 10 Oct 2002 16:39:07 -0000 1.572 --- CHANGES 11 Oct 2002 15:48:39 -0000 1.573 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2002-October-11 10:00AM CDT Joe Stewart <joe...@us...> + [W] - config-dist.php3 - initialize _PSL array. + slash-all.sql - god username. + 2002-October-10 11:00PM CDT Joe Stewart <joe...@us...> [W] - slashPerm.class - reformat source to remove tabs only. |
From: Joe S. <joe...@us...> - 2002-10-10 16:40:28
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv26150/phpslash-ft/class Modified Files: slashPerm.class Log Message: remove tabs Index: slashPerm.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/slashPerm.class,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** slashPerm.class 10 Oct 2002 16:39:08 -0000 1.7 --- slashPerm.class 10 Oct 2002 16:40:25 -0000 1.8 *************** *** 103,107 **** } $k = trim($p_ary[$i]); ! if( $ary[$k]) { $i = $max; } --- 103,107 ---- } $k = trim($p_ary[$i]); ! if( !$ary[$k]) { $i = $max; } |
From: Joe S. <joe...@us...> - 2002-10-10 16:39:11
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv25483/phpslash-ft/class Modified Files: slashPerm.class Log Message: remove tabs Index: slashPerm.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/slashPerm.class,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** slashPerm.class 9 Aug 2002 18:21:30 -0000 1.6 --- slashPerm.class 10 Oct 2002 16:39:08 -0000 1.7 *************** *** 100,110 **** while( $i < $max) { if( is_array($ary)) { ! reset($ary); } ! $k = trim($p_ary[$i]); ! if( !$ary[$k]) { ! $i = $max; ! } ! $i++; } if($i == $max) { --- 100,110 ---- while( $i < $max) { if( is_array($ary)) { ! reset($ary); } ! $k = trim($p_ary[$i]); ! if( $ary[$k]) { ! $i = $max; ! } ! $i++; } if($i == $max) { *************** *** 115,123 **** if($this->have_perm($p, $v)) { return true; ! } ! } ! } } ! $j++; } return false; --- 115,123 ---- if($this->have_perm($p, $v)) { return true; ! } ! } ! } } ! $j++; } return false; |
From: Joe S. <joe...@us...> - 2002-10-10 16:39:11
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv25483/phpslash-ft Modified Files: CHANGES Log Message: remove tabs Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.571 retrieving revision 1.572 diff -C2 -d -r1.571 -r1.572 *** CHANGES 10 Oct 2002 16:10:41 -0000 1.571 --- CHANGES 10 Oct 2002 16:39:07 -0000 1.572 *************** *** 14,17 **** --- 14,20 ---- 2002-October-10 11:00PM CDT Joe Stewart <joe...@us...> + [W] - slashPerm.class - reformat source to remove tabs only. + + 2002-October-10 11:00PM CDT Joe Stewart <joe...@us...> [B] - config.php3, config-dist.php3 - added missing Glossary.class. login.php3 - simplified GET vars into ary. |
From: Joe S. <joe...@us...> - 2002-10-10 16:12:30
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv14614/phpslash-ft/public_html Modified Files: login.php3 Log Message: typo Index: login.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/login.php3,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** login.php3 11 Sep 2002 17:14:24 -0000 1.21 --- login.php3 10 Oct 2002 16:12:23 -0000 1.22 *************** *** 41,47 **** /* parse cmd line variables into array */ ! while ( list($key, $val) = each($HTTP_GET_VARS )) { ! $ary[$key] = $val; ! } if ((!$ary['section']) AND (!$ary['section_id'])) { --- 41,45 ---- /* parse cmd line variables into array */ ! $ary = $HTTP_GET_VARS; if ((!$ary['section']) AND (!$ary['section_id'])) { |
From: Joe S. <joe...@us...> - 2002-10-10 16:11:22
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv13880/phpslash-ft/class Modified Files: slashAuthCR.class Log Message: typo Index: slashAuthCR.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/slashAuthCR.class,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** slashAuthCR.class 8 Oct 2002 19:58:08 -0000 1.21 --- slashAuthCR.class 10 Oct 2002 16:10:46 -0000 1.22 *************** *** 15,19 **** var $classname = "slashAuth"; // For object health ! var $lifetime = 1; var $database_class = "slashDB"; var $database_table = "auth_user"; --- 15,19 ---- var $classname = "slashAuth"; // For object health ! var $lifetime = 15; var $database_class = "slashDB"; var $database_table = "auth_user"; |
From: Joe S. <joe...@us...> - 2002-10-10 16:11:20
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv13880/phpslash-ft Modified Files: CHANGES Log Message: typo Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.570 retrieving revision 1.571 diff -C2 -d -r1.570 -r1.571 *** CHANGES 8 Oct 2002 19:58:07 -0000 1.570 --- CHANGES 10 Oct 2002 16:10:41 -0000 1.571 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2002-October-10 11:00PM CDT Joe Stewart <joe...@us...> + [B] - config.php3, config-dist.php3 - added missing Glossary.class. + login.php3 - simplified GET vars into ary. + slashAuthCR.class - returned lifetime to 15 minutes. + 2002-October-8 2:00PM CDT Joe Stewart <joe...@us...> [W] - slashAuthCR.class - session register challenge word for validation. |
From: Joe S. <joe...@us...> - 2002-10-10 16:10:56
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv13880/phpslash-ft/public_html Modified Files: config.php3 config-dist.php3 Log Message: typo Index: config.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config.php3,v retrieving revision 1.153 retrieving revision 1.154 diff -C2 -d -r1.153 -r1.154 *** config.php3 4 Oct 2002 21:27:05 -0000 1.153 --- config.php3 10 Oct 2002 16:10:48 -0000 1.154 *************** *** 536,539 **** --- 536,544 ---- require($_PSL['classdir'] . "/Comment.class"); break; + + case 'Glossary': + + require($_PSL['classdir'] . "/Glossary.class"); + break; case 'Group': Index: config-dist.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config-dist.php3,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** config-dist.php3 4 Oct 2002 21:27:04 -0000 1.3 --- config-dist.php3 10 Oct 2002 16:10:51 -0000 1.4 *************** *** 347,350 **** --- 347,355 ---- break; + case 'Glossary': + + require($_PSL['classdir'] . "/Glossary.class"); + break; + case 'Group': |
From: Joe S. <joe...@us...> - 2002-10-08 19:58:13
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv21260/phpslash-ft/class Modified Files: slashAuthCR.class Log Message: session register challenge word for validation Index: slashAuthCR.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/slashAuthCR.class,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** slashAuthCR.class 3 Oct 2002 21:20:25 -0000 1.20 --- slashAuthCR.class 8 Oct 2002 19:58:08 -0000 1.21 *************** *** 15,19 **** var $classname = "slashAuth"; // For object health ! var $lifetime = 15; var $database_class = "slashDB"; var $database_table = "auth_user"; --- 15,19 ---- var $classname = "slashAuth"; // For object health ! var $lifetime = 1; var $database_class = "slashDB"; var $database_table = "auth_user"; *************** *** 52,55 **** --- 52,56 ---- $challenge = md5(uniqid($this->magic)); + $sess->register("challenge"); $templ = new Template($_PSL[templatedir]); *************** *** 144,156 **** function auth_validatelogin() { ! global $HTTP_POST_VARS, $HTTP_GET_VARS, $saved_get, $saved_post; // TODO: Change there so they aren't undefined indexes :) $username = $HTTP_POST_VARS['username']; $password = $HTTP_POST_VARS['password']; ! $challenge = $HTTP_POST_VARS['challenge']; $response = $HTTP_POST_VARS['response']; $setcookie = $HTTP_POST_VARS['setcookie']; $lostpw = $HTTP_POST_VARS['lostpw']; # the login form will save the username if(isset($username)) { --- 145,161 ---- function auth_validatelogin() { ! global $HTTP_POST_VARS, $HTTP_GET_VARS, $saved_get, $saved_post, $challenge; // TODO: Change there so they aren't undefined indexes :) $username = $HTTP_POST_VARS['username']; $password = $HTTP_POST_VARS['password']; ! // $challenge = $HTTP_POST_VARS['challenge']; // use session variable $response = $HTTP_POST_VARS['response']; $setcookie = $HTTP_POST_VARS['setcookie']; $lostpw = $HTTP_POST_VARS['lostpw']; + if($challenge != $HTTP_POST_VARS['challenge']) { + return false; + } + # the login form will save the username if(isset($username)) { *************** *** 233,236 **** --- 238,243 ---- $HTTP_GET_VARS = $saved_get; $HTTP_POST_VARS = $saved_post; + + $challenge = ''; return $uid; |
From: Joe S. <joe...@us...> - 2002-10-08 19:58:11
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv21260/phpslash-ft Modified Files: CHANGES Log Message: session register challenge word for validation Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.569 retrieving revision 1.570 diff -C2 -d -r1.569 -r1.570 *** CHANGES 4 Oct 2002 21:27:04 -0000 1.569 --- CHANGES 8 Oct 2002 19:58:07 -0000 1.570 *************** *** 13,16 **** --- 13,19 ---- 9 - Removal of something (kill -9 :) + 2002-October-8 2:00PM CDT Joe Stewart <joe...@us...> + [W] - slashAuthCR.class - session register challenge word for validation. + 2002-October-4 4:00PM CDT Joe Stewart <joe...@us...> [W] - NavBar.class, config-dist.php3, config-dist.ini.php3, config.php3 - |
From: Joe S. <joe...@us...> - 2002-10-04 21:27:07
|
Update of /cvsroot/phpslash/phpslash-ft/tables/0.7 In directory usw-pr-cvs1:/tmp/cvs-serv4416/phpslash-ft/tables/0.7 Modified Files: slash-all.sql Log Message: back out move of login-logout Index: slash-all.sql =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.7/slash-all.sql,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** slash-all.sql 3 Oct 2002 21:20:26 -0000 1.13 --- slash-all.sql 4 Oct 2002 21:27:05 -0000 1.14 *************** *** 131,135 **** INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_section_submission_lut_seq', '13'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_variable_seq', '63'); ! INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_section_seq', '8'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_block_seq', '149'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_author_seq', '20'); --- 131,135 ---- INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_section_submission_lut_seq', '13'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_variable_seq', '63'); ! INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_section_seq', '9'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_block_seq', '149'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_author_seq', '20'); |
From: Joe S. <joe...@us...> - 2002-10-04 21:27:07
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv4416/phpslash-ft/class Modified Files: NavBar.class Log Message: back out move of login-logout Index: NavBar.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/NavBar.class,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NavBar.class 2 Oct 2002 18:40:17 -0000 1.12 --- NavBar.class 4 Oct 2002 21:27:05 -0000 1.13 *************** *** 85,89 **** if($this->psl['show_admin_on_navbar']) { ! if ($perm->have_perm('user')) { $this->parse("Logout " . $auth->auth["uname"], "".$this->psl['rooturl']."/login.php3?logout=yes"); } else { --- 85,89 ---- if($this->psl['show_admin_on_navbar']) { ! if ($auth->is_authenticated() and $auth->auth["uid"] != "nobody" and is_object($perm)) { $this->parse("Logout " . $auth->auth["uname"], "".$this->psl['rooturl']."/login.php3?logout=yes"); } else { *************** *** 96,110 **** if($menu_ary[$i]['perm'] == "nobody") { $this->parse($menu_ary[$i]['name'],$menu_ary[$i]['link'] ); ! } elseif (is_object($perm)) { ! if($perm->have_perm('user') ) { ! if ($perm->have_perm($menu_ary[$i]['perm'])) { ! $this->parse($menu_ary[$i]['name'],$menu_ary[$i]['link'] ); ! } elseif ($menu_ary[$i]['perm'] == "") { ! $this->parse($menu_ary[$i]['name'],$menu_ary[$i]['link'] ); ! } ! } ! } elseif ($menu_ary[$i]['perm'] == "") { ! $this->parse($menu_ary[$i]['name'],$menu_ary[$i]['link'] ); ! } } } --- 96,104 ---- if($menu_ary[$i]['perm'] == "nobody") { $this->parse($menu_ary[$i]['name'],$menu_ary[$i]['link'] ); ! } elseif ($auth->is_authenticated() and is_object($perm) ) { ! if ($perm->have_perm($menu_ary[$i]['perm'])) { ! $this->parse($menu_ary[$i]['name'],$menu_ary[$i]['link'] ); ! } ! } } } |
From: Joe S. <joe...@us...> - 2002-10-04 21:27:07
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv4416/phpslash-ft/public_html Modified Files: config-dist.ini.php3 config-dist.php3 config.php3 Log Message: back out move of login-logout Index: config-dist.ini.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config-dist.ini.php3,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** config-dist.ini.php3 2 Oct 2002 18:30:45 -0000 1.4 --- config-dist.ini.php3 4 Oct 2002 21:27:04 -0000 1.5 *************** *** 63,68 **** ;; turns the Admin link on in the navbar ! ;; Just edit the menu entries as needed ! show_admin_on_navbar = false ;;; --- 63,67 ---- ;; turns the Admin link on in the navbar ! show_admin_on_navbar = true ;;; Index: config-dist.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config-dist.php3,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** config-dist.php3 2 Oct 2002 18:30:45 -0000 1.2 --- config-dist.php3 4 Oct 2002 21:27:04 -0000 1.3 *************** *** 161,178 **** $menuitem[] = array( - 'name' => "Login", - 'link' => $_PSL['rooturl'] . "/login.php3", - 'perm' => "", - 'module' => "" - - ); - $menuitem[] = array( - 'name' => "Logout", - 'link' => $_PSL['rooturl'] . "/login.php3?logout=yes", - 'perm' => "user", - 'module' => "" - - ); - $menuitem[] = array( 'name' => "Home", 'link' => $_PSL['rooturl'] . "/", --- 161,164 ---- Index: config.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config.php3,v retrieving revision 1.152 retrieving revision 1.153 diff -C2 -d -r1.152 -r1.153 *** config.php3 2 Oct 2002 18:30:45 -0000 1.152 --- config.php3 4 Oct 2002 21:27:05 -0000 1.153 *************** *** 322,339 **** $menuitem[] = array( - 'name' => "Login", - 'link' => $_PSL['rooturl'] . "/login.php3", - 'perm' => "", - 'module' => "" - - ); - $menuitem[] = array( - 'name' => "Logout", - 'link' => $_PSL['rooturl'] . "/login.php3?logout=yes", - 'perm' => "user", - 'module' => "" - - ); - $menuitem[] = array( 'name' => "Home", 'link' => $_PSL['rooturl'] . "/", --- 322,325 ---- |
From: Joe S. <joe...@us...> - 2002-10-04 21:27:07
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv4416/phpslash-ft Modified Files: CHANGES Log Message: back out move of login-logout Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.568 retrieving revision 1.569 diff -C2 -d -r1.568 -r1.569 *** CHANGES 3 Oct 2002 21:20:23 -0000 1.568 --- CHANGES 4 Oct 2002 21:27:04 -0000 1.569 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2002-October-4 4:00PM CDT Joe Stewart <joe...@us...> + [W] - NavBar.class, config-dist.php3, config-dist.ini.php3, config.php3 - + back out previous changes moving login/logout. + slash-all.sql - updated section sequence. + 2002-October-3 4:00PM CDT Joe Stewart <joe...@us...> [W] - slashAuthCR.class - POST variables in auth_doregister and session4 |
From: Joe S. <joe...@us...> - 2002-10-03 21:20:30
|
Update of /cvsroot/phpslash/phpslash-ft/tables/0.7 In directory usw-pr-cvs1:/tmp/cvs-serv26742a/phpslash-ft/tables/0.7 Modified Files: slash-all.sql Log Message: register_globals off and session4 tweaks Index: slash-all.sql =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/tables/0.7/slash-all.sql,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** slash-all.sql 24 Sep 2002 16:23:39 -0000 1.12 --- slash-all.sql 3 Oct 2002 21:20:26 -0000 1.13 *************** *** 132,137 **** INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_variable_seq', '63'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_section_seq', '8'); ! INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_block_seq', '148'); ! INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_author_seq', '19'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_infolog', '88'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_mailinglist_seq', '2'); --- 132,137 ---- INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_variable_seq', '63'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_section_seq', '8'); ! INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_block_seq', '149'); ! INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_author_seq', '20'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_infolog', '88'); INSERT INTO db_sequence (seq_name, nextid) VALUES ( 'psl_mailinglist_seq', '2'); |
From: Joe S. <joe...@us...> - 2002-10-03 21:20:29
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv26742a/phpslash-ft/class Modified Files: slashAuthCR.class Log Message: register_globals off and session4 tweaks Index: slashAuthCR.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/slashAuthCR.class,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** slashAuthCR.class 24 Sep 2002 21:17:50 -0000 1.19 --- slashAuthCR.class 3 Oct 2002 21:20:25 -0000 1.20 *************** *** 24,28 **** var $psl; ! function slashAuth() { global $_PSL, $HTTP_GET_VARS; --- 24,28 ---- var $psl; ! function start() { global $_PSL, $HTTP_GET_VARS; *************** *** 32,43 **** if( !empty($_PSL['authmode'])) { $this->mode = $_PSL['authmode']; ! } else { ! $this->mode='reg'; ! } } else { $this->mode='log'; } ! } --- 32,43 ---- if( !empty($_PSL['authmode'])) { $this->mode = $_PSL['authmode']; ! } else { ! $this->mode='reg'; ! } } else { $this->mode='log'; } ! Auth::start(); } *************** *** 130,134 **** } } ! } else if ($this->nobody) { $uid = $this->auth["uid"] = "nobody"; $aid = Author::getId($uid); --- 130,134 ---- } } ! /* } else if ($this->nobody) { $uid = $this->auth["uid"] = "nobody"; $aid = Author::getId($uid); *************** *** 137,141 **** $this->auth["email"] = ''; return $uid; ! } } --- 137,141 ---- $this->auth["email"] = ''; return $uid; ! */ } } *************** *** 158,164 **** } else if ($this->nobody) { ## provides for "default login cancel" $uid = $this->auth["uid"] = "nobody"; ! $aid = Author::getId($uid); $this->auth["perm"] = $this->get_userperms($aid); ! return $uid; } --- 158,164 ---- } else if ($this->nobody) { ## provides for "default login cancel" $uid = $this->auth["uid"] = "nobody"; ! /* $aid = Author::getId($uid); $this->auth["perm"] = $this->get_userperms($aid); ! */ return $uid; } *************** *** 298,312 **** function auth_doregister() { ! global $username,$pass1, $pass2, $realname, $email, $mode; ! global $password, $url, $quote, $seclev, $HTTP_POST_VARS; # the login form will save the username ! $this->auth["uname"] = $username; ! $this->auth["realname"] = $realname; ! $this->auth["email"] = $email; ! $this->auth["url"] = $url; ! $this->auth["quote"] = $quote; ! $this->auth["seclev"] = $seclev; if ($username == "" || $pass1 == ""){ --- 298,313 ---- function auth_doregister() { ! global $HTTP_POST_VARS; # the login form will save the username ! $this->auth["uname"] = $username = $HTTP_POST_VARS['username']; ! $this->auth["realname"] = $realname = $HTTP_POST_VARS['realname']; ! $this->auth["email"] = $email = $HTTP_POST_VARS['email']; ! $this->auth["url"] = $url = $HTTP_POST_VARS['url']; ! $this->auth["quote"] = $quote = $HTTP_POST_VARS['quote']; ! $this->auth["seclev"] = $seclev = $HTTP_POST_VARS['seclev']; + $pass1 = $HTTP_POST_VARS['pass1']; + $pass2 = $HTTP_POST_VARS['pass2']; if ($username == "" || $pass1 == ""){ |
From: Joe S. <joe...@us...> - 2002-10-03 21:20:29
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv26742a/phpslash-ft Modified Files: CHANGES Log Message: register_globals off and session4 tweaks Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.567 retrieving revision 1.568 diff -C2 -d -r1.567 -r1.568 *** CHANGES 2 Oct 2002 18:30:44 -0000 1.567 --- CHANGES 3 Oct 2002 21:20:23 -0000 1.568 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2002-October-3 4:00PM CDT Joe Stewart <joe...@us...> + [W] - slashAuthCR.class - POST variables in auth_doregister and session4 + compatibility. + slash-all.sql - incremented psl_block and psl_author sequences. + 2002-October-2 1:00PM CDT Joe Stewart <joe...@us...> [W] - NavBar.class, config-dist.php3, config-dist.ini.php3, config.php3 - |