You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(120) |
Jun
(74) |
Jul
(97) |
Aug
(35) |
Sep
(35) |
Oct
(34) |
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(18) |
Feb
(8) |
Mar
(7) |
Apr
(23) |
May
(28) |
Jun
(31) |
Jul
(27) |
Aug
(34) |
Sep
(48) |
Oct
(511) |
Nov
(197) |
Dec
(333) |
2005 |
Jan
(212) |
Feb
(33) |
Mar
(94) |
Apr
(51) |
May
(16) |
Jun
|
Jul
(200) |
Aug
(43) |
Sep
(88) |
Oct
(60) |
Nov
(62) |
Dec
(41) |
2006 |
Jan
(94) |
Feb
(49) |
Mar
(54) |
Apr
|
May
(39) |
Jun
(39) |
Jul
(61) |
Aug
(36) |
Sep
(23) |
Oct
(76) |
Nov
(73) |
Dec
(32) |
2007 |
Jan
|
Feb
(87) |
Mar
|
Apr
(8) |
May
(36) |
Jun
(49) |
Jul
(54) |
Aug
(8) |
Sep
(50) |
Oct
(36) |
Nov
|
Dec
(3) |
2008 |
Jan
(133) |
Feb
(54) |
Mar
(39) |
Apr
(2) |
May
(6) |
Jun
(74) |
Jul
(97) |
Aug
(70) |
Sep
(12) |
Oct
(20) |
Nov
(64) |
Dec
(24) |
2009 |
Jan
(25) |
Feb
(49) |
Mar
(18) |
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
(10) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(7) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <mh...@us...> - 2003-06-05 15:51:44
|
Update of /cvsroot/phpwebsite-comm/CVSROOT In directory sc8-pr-cvs1:/tmp/cvs-serv4919 Modified Files: cvswrappers Log Message: added wrappers for raster images Index: cvswrappers =================================================================== RCS file: /cvsroot/phpwebsite-comm/CVSROOT/cvswrappers,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cvswrappers 20 May 2003 17:11:44 -0000 1.1 --- cvswrappers 5 Jun 2003 15:51:37 -0000 1.2 *************** *** 22,23 **** --- 22,27 ---- # For example: #*.gif -k 'b' + *.jpg -k 'b' + *.jpeg -k 'b' + *.png -k 'b' + |
From: <mh...@us...> - 2003-06-05 15:35:43
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv29003 Modified Files: 1.1_cvs_repository.html Log Message: removed gif Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** 1.1_cvs_repository.html 5 Jun 2003 15:04:33 -0000 1.10 --- 1.1_cvs_repository.html 5 Jun 2003 15:35:29 -0000 1.11 *************** *** 116,121 **** for details on the use of SVG.</p> <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> ! You may <code>import</code> raster images (png/jpg/gif) to our ! repository, but you wont be able to modify them after they're imported. WARNING: Abuse of this feature will be dealt with in an appropriate manner.</p></div> --- 116,121 ---- for details on the use of SVG.</p> <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> ! You may <code>import</code> binary raster images (e.g. png, jpg) to ! our repository, but you wont be able to modify them after they're imported. WARNING: Abuse of this feature will be dealt with in an appropriate manner.</p></div> |
From: <mh...@us...> - 2003-06-05 15:04:45
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv12260 Modified Files: 1.1_cvs_repository.html Log Message: changed binary image policy Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** 1.1_cvs_repository.html 4 Jun 2003 15:30:19 -0000 1.9 --- 1.1_cvs_repository.html 5 Jun 2003 15:04:33 -0000 1.10 *************** *** 35,39 **** <a href="/docman/display_doc.php?docid=766&group_id=1">F4. CVS client installation: WinCvs with PuTTY on 32-bit Microsoft Windows ! platforms</a><br />Alternate Windows Instructions: <a href="http://www.devguy.com/fp/cfgmgmt/cvs/cvs_ssh.htm">Accessing CVS via SSH on Windows</a></li> <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> <a href="/docman/display_doc.php?docid=2973&group_id=1">F8. CVS --- 35,42 ---- <a href="/docman/display_doc.php?docid=766&group_id=1">F4. CVS client installation: WinCvs with PuTTY on 32-bit Microsoft Windows ! platforms</a><br /> ! Alternate Windows Instructions: ! <a href="http://www.devguy.com/fp/cfgmgmt/cvs/cvs_ssh.htm">Accessing ! CVS via SSH on Windows</a></li> <li style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> <a href="/docman/display_doc.php?docid=2973&group_id=1">F8. CVS *************** *** 107,118 **** them, so a complete copy is stored for every file revision contained in the repository. Due to this CVS limitation, the use of ! binary files is strongly discouraged. If you believe you must use a ! binary file, please ! <a href="/tracker/?func=add&group_id=81360&atid=563509">submit ! a support request</a> requesting an exemption.</p> <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> The preferred format for graphics stored in our repository is Scalable Vector Graphics (SVG). See the <a href="">SVG HOWTO</a> ! for details on the use of SVG.</p></div> <!-- end document body --> <hr /> --- 110,123 ---- them, so a complete copy is stored for every file revision contained in the repository. Due to this CVS limitation, the use of ! binary files is strongly discouraged.</p> <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> The preferred format for graphics stored in our repository is Scalable Vector Graphics (SVG). See the <a href="">SVG HOWTO</a> ! for details on the use of SVG.</p> ! <p style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> ! You may <code>import</code> raster images (png/jpg/gif) to our ! repository, but you wont be able to modify them after they're ! imported. WARNING: Abuse of this feature will be dealt with in an ! appropriate manner.</p></div> <!-- end document body --> <hr /> |
From: <dts...@us...> - 2003-06-05 14:13:14
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv31394/class Modified Files: Message.php Log Message: Fixed bug that would let anonymous users edit/delete any anonymous post Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Message.php 4 Jun 2003 21:53:38 -0000 1.18 --- Message.php 5 Jun 2003 14:03:24 -0000 1.19 *************** *** 79,86 **** $tags["POSTED"] = $_SESSION["translate"]->it("Posted by [var1] on [var2]", $poster, $this->getCreated()); ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_messages") || ($_SESSION["OBJ_user"]->username == $this->getOwner())) $tags["EDIT"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=edit&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Edit") . "</a>"; ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "delete_messages") || ($_SESSION["OBJ_user"]->username == $this->getOwner())) $tags["DELETE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deletemessage&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Delete") . "</a>"; --- 79,87 ---- $tags["POSTED"] = $_SESSION["translate"]->it("Posted by [var1] on [var2]", $poster, $this->getCreated()); ! ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_messages") || ($this->getOwner() && ($_SESSION["OBJ_user"]->username == $this->getOwner()))) $tags["EDIT"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=edit&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Edit") . "</a>"; ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "delete_messages") || ($this->getOwner() && ($_SESSION["OBJ_user"]->username == $this->getOwner()))) $tags["DELETE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deletemessage&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Delete") . "</a>"; |
From: <dts...@us...> - 2003-06-04 22:04:54
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/docs In directory sc8-pr-cvs1:/tmp/cvs-serv21317/docs Modified Files: INSTALL.txt Log Message: Updates Index: INSTALL.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/docs/INSTALL.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** INSTALL.txt 4 Jun 2003 19:13:32 -0000 1.2 --- INSTALL.txt 4 Jun 2003 22:01:06 -0000 1.3 *************** *** 36,40 **** module. ! You are golden. If you are having trouble with these procedures please file a Support --- 36,50 ---- module. ! You are golden. The bulletin board is now installed. You can get there ! by going to "Control Panel" and click on "Site Content". However this ! means anonymous users won't be able to post. So you'll need to make a ! menu link. ! ! 6. Assuming you have Menu Manager installed, go to the Menu Manager control ! panel. Either edit an existing menu or create a new one. Once that is ! done go to edit the menu and click on "Add Module Default". From the ! drop down find the Bulletin Board link and click "Add Menu Item". The ! link is now added to the menu. It is up to you when and where that ! menu is displayed. If you are having trouble with these procedures please file a Support |
From: <dts...@us...> - 2003-06-04 21:53:48
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv17172/class Modified Files: Message.php Log Message: Default reply topic to "Re: <thread topic>" Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Message.php 4 Jun 2003 21:39:42 -0000 1.17 --- Message.php 4 Jun 2003 21:53:38 -0000 1.18 *************** *** 111,114 **** --- 111,120 ---- $GLOBALS["CNT_phpwsbb"]["content"] .= $message; return; + } else { + // Default topic to re: current topic + if(is_null($this->getLabel())) { + $label = "Re: " . $thread->getLabel(); + $this->setLabel($label); + } } } |
From: <dts...@us...> - 2003-06-04 21:50:22
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv12512/templates Modified Files: view.tpl view_thread.tpl Log Message: Putting square brackets around links because it makes me feel fuzzy. Index: view.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/view.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** view.tpl 4 Jun 2003 15:45:14 -0000 1.6 --- view.tpl 4 Jun 2003 21:45:08 -0000 1.7 *************** *** 5,9 **** <hr size="1" width="100%" noshade /><br /> {BODY}<br /> ! <div class="smalltext" align="right">{EDIT} {FORK} {DELETE}</div> </td></tr> </table> --- 5,19 ---- <hr size="1" width="100%" noshade /><br /> {BODY}<br /> ! <div class="smalltext" align="right"> ! <!-- BEGIN EDIT --> ! [{EDIT}] ! <!-- END EDIT --> ! <!-- BEGIN FORK --> ! [{FORK}] ! <!-- END FORK --> ! <!-- BEGIN DELETE --> ! [{DELETE}] ! <!-- END FORK --> ! </div> </td></tr> </table> Index: view_thread.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/view_thread.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** view_thread.tpl 4 Jun 2003 21:39:49 -0000 1.1 --- view_thread.tpl 4 Jun 2003 21:45:08 -0000 1.2 *************** *** 1,7 **** ! <b>{REPLY}</b> <!-- BEGIN LOCK --> ! | <b>{LOCK}</b> <!-- END LOCK --> <!-- BEGIN DELETE --> ! | <b>{DELETE}</b> <!-- END DELETE --> --- 1,7 ---- ! <b>[{REPLY}]</b> <!-- BEGIN LOCK --> ! <b>[{LOCK}]</b> <!-- END LOCK --> <!-- BEGIN DELETE --> ! <b>[{DELETE}]</b> <!-- END DELETE --> |
From: <dts...@us...> - 2003-06-04 21:39:59
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv8976/class Modified Files: Manager.php Message.php Thread.php Log Message: Changing the interface Index: Manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Manager.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Manager.php 4 Jun 2003 15:38:03 -0000 1.15 --- Manager.php 4 Jun 2003 21:39:41 -0000 1.16 *************** *** 33,41 **** ! function _menu($tid = NULL) { $links = array(); $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=new\">" . $_SESSION["translate"]->it("New Topic") . "</a>"; - if($tid) - $links[] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=reply&PHPWS_MAN_ITEMS[]=" . $tid . "\">" . $_SESSION["translate"]->it("Post Reply") . "</a>"; $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=list\">" . $_SESSION["translate"]->it("List Topics") . "</a>"; --- 33,39 ---- ! function _menu() { $links = array(); $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=new\">" . $_SESSION["translate"]->it("New Topic") . "</a>"; $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=list\">" . $_SESSION["translate"]->it("List Topics") . "</a>"; *************** *** 52,56 **** $this->setTable("mod_phpwsbb_threads"); $this->setOrder("updated DESC"); ! $GLOBALS["CNT_phpwsbb"]["content"] .= $this->getList("threads", $_SESSION["translate"]->it("Bulletin Board Topics")); }// END FUNC _list --- 50,54 ---- $this->setTable("mod_phpwsbb_threads"); $this->setOrder("updated DESC"); ! $GLOBALS["CNT_phpwsbb"]["content"] .= $this->getList("threads", $_SESSION["translate"]->it("Bulletin Board Topics"), FALSE); }// END FUNC _list *************** *** 68,71 **** --- 66,75 ---- + function _unlock() { + $this->thread = new PHPWSBB_Thread($_REQUEST["PHPWS_MAN_ITEMS"][0]); + $_REQUEST["PHPWSBB_THREAD_OP"] = "unlock"; + }// END FUNC _lock + + function _delete() { $this->thread = new PHPWSBB_Thread($_REQUEST["PHPWS_MAN_ITEMS"][0]); *************** *** 145,148 **** --- 149,156 ---- case "lock": $this->_lock(); + break; + + case "unlock": + $this->_unlock(); break; Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Message.php 4 Jun 2003 15:45:12 -0000 1.16 --- Message.php 4 Jun 2003 21:39:42 -0000 1.17 *************** *** 327,331 **** else $title = $_SESSION["translate"]->it("New Message"); ! $content = $_SESSION["PHPWSBB_Manager"]->_menu($this->_tid); $content .= $this->_edit(); break; --- 327,331 ---- else $title = $_SESSION["translate"]->it("New Message"); ! $content = $_SESSION["PHPWSBB_Manager"]->_menu(); $content .= $this->_edit(); break; *************** *** 334,338 **** break; case "view": ! $content = $_SESSION["PHPWSBB_Manager"]->_menu($this->_tid); $content .= $this->_view(); break; --- 334,338 ---- break; case "view": ! $content = $_SESSION["PHPWSBB_Manager"]->_menu(); $content .= $this->_view(); break; Index: Thread.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Thread.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Thread.php 4 Jun 2003 18:43:47 -0000 1.7 --- Thread.php 4 Jun 2003 21:39:42 -0000 1.8 *************** *** 72,79 **** $tags["REPLIES"] = $this->_replies; ! //$tags["REPLY"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=reply&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Reply to Message") . "</a>"; // Need to cycle through all messages and view ! //$content = $GLOBALS["core"]->processTemplate($tags, "phpwsbb", "view_thread.tpl"); if($this->_locked) --- 72,88 ---- $tags["REPLIES"] = $this->_replies; ! $tags["REPLY"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=reply&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Post Reply") . "</a>"; ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "lock_threads")) { ! if($this->_locked) ! $tags["LOCK"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unlock&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Unlock Thread") . "</a>"; ! else ! $tags["LOCK"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=lock&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Lock Thread") . "</a>"; ! } ! ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "delete_threads")) ! $tags["DELETE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=delete&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Delete Thread") . "</a>"; // Need to cycle through all messages and view ! $content = $GLOBALS["core"]->processTemplate($tags, "phpwsbb", "view_thread.tpl"); if($this->_locked) *************** *** 161,165 **** ! function _lock() { if(!$_SESSION["OBJ_user"]->allow_access("phpwsbb", "lock_threads")) { $message = $_SESSION["translate"]->it("Access to lock this thread was denied due to lack of proper permissions."); --- 170,174 ---- ! function _lock($unlock = FALSE) { if(!$_SESSION["OBJ_user"]->allow_access("phpwsbb", "lock_threads")) { $message = $_SESSION["translate"]->it("Access to lock this thread was denied due to lack of proper permissions."); *************** *** 170,180 **** $lockstr = "[" . $_SESSION["translate"]->it("LOCKED") . "] "; ! if($this->_locked) { $strlen = strlen($lockstr); $this->_label = substr_replace($this->_label, NULL, 0, $strlen); $this->_locked = 0; ! } else { $this->_label = $lockstr . $this->getLabel(); $this->_locked = 1; } --- 179,198 ---- $lockstr = "[" . $_SESSION["translate"]->it("LOCKED") . "] "; ! if($unlock && $this->_locked) { $strlen = strlen($lockstr); $this->_label = substr_replace($this->_label, NULL, 0, $strlen); $this->_locked = 0; ! } elseif(!$unlock && !$this->_locked) { $this->_label = $lockstr . $this->getLabel(); $this->_locked = 1; + } else { + if($this->_locked) + $GLOBALS["CNT_phpwsbb"]["content"] .= "<div class=\"errortext\">" . $_SESSION["translate"]->it("This thread is already locked.") . "</div><br />\n"; + else + $GLOBALS["CNT_phpwsbb"]["content"] .= "<div class=\"errortext\">" . $_SESSION["translate"]->it("This thread is already unlocked.") . "</div><br />\n"; + + $_REQUEST["PHPWSBB_THREAD_OP"] = "view"; + $this->action(); + return; } *************** *** 189,193 **** return; } else { ! $GLOBALS["CNT_phpwsbb"]["content"] .= $_SESSION["translate"]->it("The thread was successfully locked.") . "<br />\n"; $_REQUEST["PHPWSBB_THREAD_OP"] = "view"; --- 207,211 ---- return; } else { ! $GLOBALS["CNT_phpwsbb"]["content"] .= $_SESSION["translate"]->it("The thread was successfully saved.") . "<br />\n"; $_REQUEST["PHPWSBB_THREAD_OP"] = "view"; *************** *** 213,216 **** --- 231,238 ---- case "lock": $this->_lock(); + break; + + case "unlock": + $this->_lock(TRUE); break; |
From: <dts...@us...> - 2003-06-04 21:39:58
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv8976/templates Added Files: view_thread.tpl Log Message: Changing the interface --- NEW FILE: view_thread.tpl --- <b>{REPLY}</b> <!-- BEGIN LOCK --> | <b>{LOCK}</b> <!-- END LOCK --> <!-- BEGIN DELETE --> | <b>{DELETE}</b> <!-- END DELETE --> |
From: <dts...@us...> - 2003-06-04 21:39:57
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/conf In directory sc8-pr-cvs1:/tmp/cvs-serv8976/conf Modified Files: manager.php Log Message: Changing the interface Index: manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/conf/manager.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** manager.php 3 Jun 2003 20:07:11 -0000 1.6 --- manager.php 4 Jun 2003 21:39:49 -0000 1.7 *************** *** 23,27 **** $threadsActions = array( "view"=>"View", "delete"=>"Delete", ! "lock"=>"Lock" ); --- 23,28 ---- $threadsActions = array( "view"=>"View", "delete"=>"Delete", ! "lock"=>"Lock", ! "unlock"=>"Unlock" ); *************** *** 29,33 **** $threadsPermissions = array( "view"=>NULL, "delete"=>"delete_threads", ! "lock"=>"lock_threads" ); --- 30,35 ---- $threadsPermissions = array( "view"=>NULL, "delete"=>"delete_threads", ! "lock"=>"lock_threads", ! "unlock"=>"lock_threads" ); |
From: <dts...@us...> - 2003-06-04 19:14:11
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/docs In directory sc8-pr-cvs1:/tmp/cvs-serv26856/docs Modified Files: INSTALL.txt Log Message: Grabbed some stuff from new default list template Index: INSTALL.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/docs/INSTALL.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** INSTALL.txt 4 Jun 2003 18:13:46 -0000 1.1 --- INSTALL.txt 4 Jun 2003 19:13:32 -0000 1.2 *************** *** 4,9 **** INSTALL steps for phpwsbb ! IMPORTANT: phpwsbb is a module for phpWebSite 0.9.1 or higher. You have to ! install phpWebSite >= 0.9.0 first, phpwsbb will not work with earlier versions of phpWebSite. If you don't have phpWebSite installed, first get the latest code here: --- 4,9 ---- INSTALL steps for phpwsbb ! IMPORTANT: phpwsbb is a module for phpWebSite 0.9.2 or higher. You have to ! install phpWebSite >= 0.9.2 first, phpwsbb will not work with earlier versions of phpWebSite. If you don't have phpWebSite installed, first get the latest code here: |
From: <dts...@us...> - 2003-06-04 19:13:44
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/manager In directory sc8-pr-cvs1:/tmp/cvs-serv26856/templates/manager Modified Files: list.tpl Log Message: Grabbed some stuff from new default list template Index: list.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/manager/list.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** list.tpl 3 Jun 2003 20:07:12 -0000 1.6 --- list.tpl 4 Jun 2003 19:13:38 -0000 1.7 *************** *** 1,2 **** --- 1,8 ---- + <!-- BEGIN ANCHOR --> + {ANCHOR} + <!-- END ANCHOR --> + <!-- BEGIN TITLE --> + {TITLE} + <!-- END TITLE --> <table border="0" width="100%" cellspacing="1" cellpadding="4"> <tr class="bg_medium"> *************** *** 10,18 **** </tr> {LIST_ITEMS} ! <!-- BEGIN navigation --> ! <tr class="bg_medium"> ! <td colspan="2">{NAV_LIMITS}    {NAV_BACKWARD} {NAV_SECTIONS} {NAV_FORWARD}</td> ! <td align="right" colspan="3">{ACTION_SELECT} {ACTION_BUTTON}</td> </tr> - <!-- END navigation --> </table> --- 16,29 ---- </tr> {LIST_ITEMS} ! </table> ! <!-- BEGIN ACTION_STUFF --> ! <br /> ! <table border="0" width="100%"> ! <tr> ! <td width="33%">{NAV_INFO}</td> ! <td width="33%" align="center">{NAV_BACKWARD} {NAV_SECTIONS} {NAV_FORWARD}<br /> ! {NAV_LIMITS}</td> ! <td width="33%" align="right">{ACTION_SELECT} {ACTION_BUTTON}</td> </tr> </table> + <!-- END ACTION_STUFF --> |
From: <dts...@us...> - 2003-06-04 18:47:35
|
Update of /cvsroot/phpwebsite-comm/scripts/proj-admin In directory sc8-pr-cvs1:/tmp/cvs-serv7133 Modified Files: cvsrelease Log Message: Bug fixes Index: cvsrelease =================================================================== RCS file: /cvsroot/phpwebsite-comm/scripts/proj-admin/cvsrelease,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cvsrelease 4 Jun 2003 18:15:07 -0000 1.1 --- cvsrelease 4 Jun 2003 18:47:31 -0000 1.2 *************** *** 124,134 **** branch=HEAD fi ! cvs -d:ext:dts...@cv...:/cvsroot/phpwebsite-comm co -r $branch ${type}s || \ error_exit "error checking out from CVS" ! cd phpwebsite-comm/${type}s cvs tag $releasetag || \ error_exit "error setting tag '$releasetag'" ! cd ../../ ! rm -rf phpwebsite-comm fi --- 124,134 ---- branch=HEAD fi ! cvs -d:ext:dts...@cv...:/cvsroot/phpwebsite-comm co -r $branch ${type}s/$module || \ error_exit "error checking out from CVS" ! cd ${type}s cvs tag $releasetag || \ error_exit "error setting tag '$releasetag'" ! cd ../ ! rm -rf ${type}s fi *************** *** 138,142 **** ## Export the files to package message "exporting from CVS" ! cvs -d:pserver:ano...@cv...:/cvsroot/phpwebsite-comm export -r$releasetag -d $releasedir ${type}s/$module || \ error_exit "error exporting code from CVS" --- 138,142 ---- ## Export the files to package message "exporting from CVS" ! cvs -d:ext:dts...@cv...:/cvsroot/phpwebsite-comm export -r$releasetag -d $releasedir ${type}s/$module || \ error_exit "error exporting code from CVS" |
From: <dts...@us...> - 2003-06-04 18:43:54
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv4372/class Modified Files: Thread.php Log Message: SR #749086: Fixed bug in root message label change Index: Thread.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Thread.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Thread.php 4 Jun 2003 15:38:03 -0000 1.6 --- Thread.php 4 Jun 2003 18:43:47 -0000 1.7 *************** *** 102,105 **** --- 102,109 ---- $this->kill(); return; + } else { + // Update thread label with label of root message + $message = new PHPWSBB_Message($this->messages[0]); + $this->setLabel($message->getLabel()); } } else { |
From: <dts...@us...> - 2003-06-04 18:15:11
|
Update of /cvsroot/phpwebsite-comm/scripts/proj-admin In directory sc8-pr-cvs1:/tmp/cvs-serv22172 Added Files: cvsrelease Log Message: Initial add --- NEW FILE: cvsrelease --- #!/bin/sh # cvsrelease script for phpwebsite-comm project # Bastardized from cvsutils' cvsrelease script # $Id: cvsrelease,v 1.1 2003/06/04 18:15:07 dtseiler Exp $ # # Automates the process of tagging, exporting and packaging a release from CVS. # Steve Purcell <stephen_purcell at yahoo dot com> # AUTHOR='Steve Purcell <stephen_purcell at yahoo dot com>' VERSION=`echo '$Revision: 1.1 $'|cut -d' ' -f2` PROJECT='Visit http://cvsutils.sourceforge.net/ for updates and information' progname=`basename $0` function usage() { cat <<EOF 1>&2 Creates appropriately named .tar.gz and .zip files containing the files in the current \$CVSROOT for release 'release-tag' of the CVS module 'cvsmodule'. usage: $progname [options] -t release-tag -r release-number type cvsmodule options: -t The CVS tag name -r The release number, e.g. 1.2 -b branch Make the release in the branch with the given name (not allowed unless -T is also set) -z Make a '.zip'. release file as well as the usual '.tar.gz' file -T Also create the CVS tag (use with caution) -f flavour Name the release files cvsmodule-flavour-releasenum.tar.gz etc. -x script Execute script inside exported module directory before Packaging -h Show this help page -V Show version information The following example would create a CVS tag '0-3' for the module 'test', and package that module into both a 'tar.gz' archive and a 'zip' archive containing a top-level directory 'test-0.3'. % $progname -Tz -t 0-3 -r 0.3 module test If you are releasing a theme, use "theme" instead of "module", followed by your theme name as it is in the phpwebsite-comm cvs. If a script is specified using the '-x' option, it will be executed in the root directory of the exported module before the release file is created. This option can be used to remove unwanted portions of a release, or to pre-compile binaries for inclusion in the release file. The release tag and number are exported to the script as \$RELEASETAG and \$RELEASENUM respectively. Often that script will be used in conjunction with the '-f' option. EOF } function showversion() { echo "$progname version $VERSION, by $AUTHOR" echo "$PROJECT" } function message() { echo "$progname: $1" 1>&2 } function error_exit() { message "error: $1" 1>&2 tidyup exit 1 } function tidyup() { if [ -n "$tempdir" -a -d "$tempdir" ]; then rm -r $tempdir fi } ## Begin option parsing while getopts t:r:zThx:f:Vb: opt; do case "$opt" in t) releasetag="$OPTARG" ;; r) releasenum="$OPTARG" ;; b) frombranch="$OPTARG" ;; z) makezip=1 ;; T) maketag=1 ;; f) flavour="$OPTARG" ;; x) releasescript="$OPTARG" ;; V) showversion; exit 0 ;; h) usage; exit 0 ;; *) usage; exit 2 ;; esac done shift $(($OPTIND - 1)) ## Check values of options type=$1 module=$2 if [ -z "$type" -o -z "$module" -o -z "$releasetag" -o -z "$releasenum" ]; then message "mandatory option(s) missing" usage exit 2 fi if [ -n "$frombranch" -a -z "$maketag" ]; then message "option -b cannot be used without -T" usage exit 2 fi ## Prepare a directory in which to work orig_dir=$PWD tempdir=/tmp/$progname.$$ mkdir $tempdir || error_exit "couldn't create $tempdir" cd $tempdir #message "CVS root is $CVSROOT" ## Create the CVS tag if it was requested if [ "$maketag" ]; then if [ -n "$frombranch" ]; then branch=$frombranch else branch=HEAD fi cvs -d:ext:dts...@cv...:/cvsroot/phpwebsite-comm co -r $branch ${type}s || \ error_exit "error checking out from CVS" cd phpwebsite-comm/${type}s cvs tag $releasetag || \ error_exit "error setting tag '$releasetag'" cd ../../ rm -rf phpwebsite-comm fi ## Choose a name for the top level directory releasedir=$type-$module-$releasenum ## Export the files to package message "exporting from CVS" cvs -d:pserver:ano...@cv...:/cvsroot/phpwebsite-comm export -r$releasetag -d $releasedir ${type}s/$module || \ error_exit "error exporting code from CVS" ## Choose a name for the generated archive files if [ -n "$flavour" ]; then archive_base=$orig_dir/$type-$module-$flavour-$releasenum else archive_base=$orig_dir/$type-$module-$releasenum fi if [ -n "$releasescript" ]; then message "running release script '$releasescript' in $releasedir" (cd $releasedir && \ RELEASETAG=$releasetag RELEASENUM=$releasenum $releasescript) || \ error_exit "error running release script; aborting." fi ## Add version to VERSION file #echo $releasenum > $releasedir/php/lib/VERSION ## Create a '.tar.gz' tarball=$archive_base.tar.gz message "creating release tarball: $tarball" tar cfz $tarball $type-$module-$releasenum || \ error_exit "couldn't create $tarball" ## Upload to sourceforge ncftpput -u anonymous -p do...@se... upload.sourceforge.net /incoming $tarball ## And a '.zip' too if it was requested if [ "$makezip" ]; then zipfile=$archive_base.zip message "creating release zipfile: $zipfile" zip -qr $zipfile $type-$module-$releasenum || \ error_exit "couldn't create $zipfile" ## Upload to sourceforge ncftpput -u anonymous -p do...@se... upload.sourceforge.net /incoming $zipfile fi ## finish up cd $orig_dir tidyup message "done" exit 0 |
From: <dts...@us...> - 2003-06-04 18:13:49
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/docs In directory sc8-pr-cvs1:/tmp/cvs-serv21344/docs Added Files: INSTALL.txt Log Message: Adding install instructions --- NEW FILE: INSTALL.txt --- # INSTALL for phpwsbb # $Id: INSTALL.txt,v 1.1 2003/06/04 18:13:46 dtseiler Exp $ INSTALL steps for phpwsbb IMPORTANT: phpwsbb is a module for phpWebSite 0.9.1 or higher. You have to install phpWebSite >= 0.9.0 first, phpwsbb will not work with earlier versions of phpWebSite. If you don't have phpWebSite installed, first get the latest code here: https://sourceforge.net/project/showfiles.php?group_id=15539 Then follow the install instructions found in the INSTALL.txt included in the docs directory of that download. One this is done then you can start installing phpwsListings: 1. Download the .tar.gz from a sourceforge mirror. 2. Unpack the tarball with: tar -xvzf module-phpwsbb-*.tar.gz This will create a directory named "module-phpwsbb-<version>". 3. Move the directory into your phpwebsite mod directory and rename it to "phpwsbb". Example: If you are installing phpwsbb 0.1.0 and your Apache doc root is /home/httpd/htdocs, you would run mv module-phpwsbb-0.1.0 /home/httpd/htdocs/mod/phpwsbb 4. BACKUP YOUR DATABASE. If you use mysql, mysqldump is recommended. 5. Go to your phpWS website and install "Bulletin Board" from the Boost module. You are golden. If you are having trouble with these procedures please file a Support Request at our sourceforge.net project site: https://sourceforge.net/tracker/?func=add&group_id=81360&atid=563509 |
From: <mh...@us...> - 2003-06-04 18:13:29
|
Update of /cvsroot/phpwebsite-comm/CVSROOT In directory sc8-pr-cvs1:/tmp/cvs-serv21031 Modified Files: avail Log Message: gave dtseiler write access to scripts/proj-admin Index: avail =================================================================== RCS file: /cvsroot/phpwebsite-comm/CVSROOT/avail,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** avail 3 Jun 2003 23:37:00 -0000 1.7 --- avail 4 Jun 2003 18:13:24 -0000 1.8 *************** *** 6,9 **** --- 6,10 ---- avail|gbrackett|modules/jobman avail|rylas|modules/wiki + avail|dtseiler|scripts/proj-admin # Global access for all project members |
From: <dts...@us...> - 2003-06-04 16:42:58
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/img In directory sc8-pr-cvs1:/tmp/cvs-serv8746 Removed Files: phpwsbb.svg Log Message: BE GONE EVIL SVG! --- phpwsbb.svg DELETED --- |
From: <dts...@us...> - 2003-06-04 16:40:34
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv15796/class Modified Files: Message.php Log Message: Message forking is done Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Message.php 4 Jun 2003 15:38:03 -0000 1.15 --- Message.php 4 Jun 2003 15:45:12 -0000 1.16 *************** *** 79,86 **** $tags["POSTED"] = $_SESSION["translate"]->it("Posted by [var1] on [var2]", $poster, $this->getCreated()); ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_messages") || ($_SESSION["OBJ_user"]->username == $this->getOwner())) { $tags["EDIT"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=edit&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Edit") . "</a>"; $tags["DELETE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deletemessage&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Delete") . "</a>"; ! } return $GLOBALS["core"]->processTemplate($tags, "phpwsbb", "view.tpl"); --- 79,90 ---- $tags["POSTED"] = $_SESSION["translate"]->it("Posted by [var1] on [var2]", $poster, $this->getCreated()); ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_messages") || ($_SESSION["OBJ_user"]->username == $this->getOwner())) $tags["EDIT"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=edit&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Edit") . "</a>"; + + if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "delete_messages") || ($_SESSION["OBJ_user"]->username == $this->getOwner())) $tags["DELETE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deletemessage&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Delete") . "</a>"; ! ! if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "fork_messages")) ! $tags["FORK"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=fork&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Fork") . "</a>"; return $GLOBALS["core"]->processTemplate($tags, "phpwsbb", "view.tpl"); *************** *** 225,228 **** --- 229,272 ---- + function _fork() { + if(!empty($this->_id) && !$_SESSION["OBJ_user"]->allow_access("phpwsbb", "fork_messages")) { + $message = $_SESSION["translate"]->it("Access to save message $this->_id was denied due to lack of proper permissions."); + $error = new PHPWS_Error("phpwsbb", "PHPWSBB_Manager::_accessDenied()", $message, "exit", 1); + $error->message(); + return FALSE; + } + + + // Need to create thread + $oldtid = $this->_tid; + $thread = new PHPWSBB_Thread; + $thread->setLabel($this->getLabel()); + $thread->commit(); + $this->_tid = $thread->getId(); + + $error = $this->commit(); + if(PHPWS_Error::isError($error)) { + $message = $_SESSION["translate"]->it("The message could not be saved to the database."); + $error = new PHPWS_Error("phpwsbb", $message, "continue", 0); + $error->message("CNT_phpwsbb"); + + $_REQUEST["PHPWSBB_MESSAGE_OP"] = "edit"; + $this->action(); + return; + } else { + $GLOBALS["CNT_phpwsbb"]["content"] .= $_SESSION["translate"]->it("Your message was successfully saved.") . "<br />\n"; + + // Update old and new thread objects with new statistics + $thread = new PHPWSBB_Thread($oldtid); + $thread->updateThread(); + $thread = new PHPWSBB_Thread($this->_tid); + $thread->updateThread(); + + $_REQUEST["PHPWSBB_THREAD_OP"] = "view"; + $thread->action(); + } + }// END FUNC _fork + + function _delete() { if(!$_SESSION["OBJ_user"]->allow_access("phpwsbb", "delete_messages") && ($_SESSION["OBJ_user"]->username != $this->getOwner())) { *************** *** 287,291 **** break; case "save": ! $this->_save($this->_tid); break; case "view": --- 331,335 ---- break; case "save": ! $this->_save(); break; case "view": *************** *** 294,300 **** break; case "delete": ! $this->_delete($this->_tid); break; case "fork": default: $title = "NO OP"; --- 338,346 ---- break; case "delete": ! $this->_delete(); break; case "fork": + $this->_fork(); + break; default: $title = "NO OP"; |
From: <dts...@us...> - 2003-06-04 16:06:24
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv15796/templates Modified Files: view.tpl Log Message: Message forking is done Index: view.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/view.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** view.tpl 3 Jun 2003 22:16:12 -0000 1.5 --- view.tpl 4 Jun 2003 15:45:14 -0000 1.6 *************** *** 5,9 **** <hr size="1" width="100%" noshade /><br /> {BODY}<br /> ! <div class="smalltext" align="right">{EDIT} {DELETE}</div> </td></tr> </table> --- 5,9 ---- <hr size="1" width="100%" noshade /><br /> {BODY}<br /> ! <div class="smalltext" align="right">{EDIT} {FORK} {DELETE}</div> </td></tr> </table> |
From: <mh...@us...> - 2003-06-04 15:40:41
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv13573 Modified Files: 1.2_documents.html Log Message: added keywords Index: 1.2_documents.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.2_documents.html,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** 1.2_documents.html 1 Jun 2003 16:07:12 -0000 1.3 --- 1.2_documents.html 4 Jun 2003 15:40:38 -0000 1.4 *************** *** 7,13 **** Documents</h3> <p style="font: oblique 8pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> ! Authors:  Mike Noyes<br /> ! Revision:  0.1<br /> ! Date:  2003-05-23</p> <hr /> <!-- begin document body --> --- 7,13 ---- Documents</h3> <p style="font: oblique 8pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> ! $Author$<br /> ! $Revision$<br /> ! $Date$</p> <hr /> <!-- begin document body --> |
From: <dts...@us...> - 2003-06-04 15:38:08
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv12007/class Modified Files: Manager.php Message.php Thread.php Log Message: Cleanup and thread locking complete Index: Manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Manager.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Manager.php 3 Jun 2003 22:21:03 -0000 1.14 --- Manager.php 4 Jun 2003 15:38:03 -0000 1.15 *************** *** 132,135 **** --- 132,137 ---- $this->notice->display(); + $this->managerAction(); + switch($_REQUEST["PHPWSBB_MAN_OP"]) { case "new": Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Message.php 3 Jun 2003 22:18:31 -0000 1.14 --- Message.php 4 Jun 2003 15:38:03 -0000 1.15 *************** *** 99,102 **** --- 99,113 ---- } + + if($this->_tid) { + // Need to see if thread is locked + $thread = new PHPWSBB_Thread($this->_tid); + if($thread->_locked) { + $message = "<div class=\"errortext\">" . $_SESSION["translate"]->it("This thread has been locked.") . "</div>"; + $GLOBALS["CNT_phpwsbb"]["content"] .= $message; + return; + } + } + /* Variable to set tab order */ *************** *** 234,238 **** $_REQUEST["PHPWSBB_MAN_OP"] = "list"; $_SESSION["PHPWSBB_Manager"]->action(); - $_SESSION["PHPWSBB_Manager"]->managerAction(); } elseif(isset($_REQUEST["Message_no"])) { --- 245,248 ---- *************** *** 242,246 **** $_REQUEST["PHPWSBB_MAN_OP"] = "list"; $_SESSION["PHPWSBB_Manager"]->action(); - $_SESSION["PHPWSBB_Manager"]->managerAction(); } else { --- 252,255 ---- Index: Thread.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Thread.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Thread.php 3 Jun 2003 22:18:31 -0000 1.5 --- Thread.php 4 Jun 2003 15:38:03 -0000 1.6 *************** *** 77,80 **** --- 77,83 ---- //$content = $GLOBALS["core"]->processTemplate($tags, "phpwsbb", "view_thread.tpl"); + if($this->_locked) + $content .= "<div class=\"errortext\">" . $_SESSION["translate"]->it("This thread has been locked.") . "</div>"; + foreach($this->messages as $mid) { $message = new PHPWSBB_Message($mid); *************** *** 125,129 **** $_REQUEST["PHPWSBB_MAN_OP"] = "list"; $_SESSION["PHPWSBB_Manager"]->action(); - $_SESSION["PHPWSBB_Manager"]->managerAction(); } elseif(isset($_REQUEST["Thread_no"])) { --- 128,131 ---- *************** *** 132,136 **** $_REQUEST["PHPWSBB_MAN_OP"] = "list"; $_SESSION["PHPWSBB_Manager"]->action(); - $_SESSION["PHPWSBB_Manager"]->managerAction(); } else { --- 134,137 ---- *************** *** 156,159 **** --- 157,198 ---- + function _lock() { + if(!$_SESSION["OBJ_user"]->allow_access("phpwsbb", "lock_threads")) { + $message = $_SESSION["translate"]->it("Access to lock this thread was denied due to lack of proper permissions."); + $error = new PHWPS_Error("phpwsbb", "PHPWSBB_Thread::_lock()", $message, "exit", 1); + $error->message(); + return FALSE; + } + + $lockstr = "[" . $_SESSION["translate"]->it("LOCKED") . "] "; + if($this->_locked) { + $strlen = strlen($lockstr); + $this->_label = substr_replace($this->_label, NULL, 0, $strlen); + $this->_locked = 0; + } else { + $this->_label = $lockstr . $this->getLabel(); + $this->_locked = 1; + } + + $error = $this->commit(); + if(PHPWS_Error::isError($error)) { + $message = $_SESSION["translate"]->it("The thread could not be saved to the database."); + $error = new PHPWS_Error("phpwsbb", $message, "continue", 0); + $error->message("CNT_phpwsbb"); + + $_REQUEST["PHPWSBB_THREAD_OP"] = "view"; + $this->action(); + return; + } else { + $GLOBALS["CNT_phpwsbb"]["content"] .= $_SESSION["translate"]->it("The thread was successfully locked.") . "<br />\n"; + + $_REQUEST["PHPWSBB_THREAD_OP"] = "view"; + $this->action(); + } + + }// END FUNC _lock + + + function action() { switch($_REQUEST["PHPWSBB_THREAD_OP"]) { *************** *** 169,172 **** --- 208,215 ---- case "lock": + $this->_lock(); + break; + + case "stick": default: $title = "NO OP"; |
From: <dts...@us...> - 2003-06-04 15:38:07
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb In directory sc8-pr-cvs1:/tmp/cvs-serv12007 Modified Files: index.php Log Message: Cleanup and thread locking complete Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 3 Jun 2003 20:06:57 -0000 1.3 --- index.php 4 Jun 2003 15:38:02 -0000 1.4 *************** *** 11,15 **** if(isset($_REQUEST["PHPWSBB_MAN_OP"])) { - $_SESSION["PHPWSBB_Manager"]->managerAction(); $_SESSION["PHPWSBB_Manager"]->action(); } --- 11,14 ---- |
From: <mh...@us...> - 2003-06-04 15:30:23
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv8240 Modified Files: 1.1_cvs_repository.html Log Message: added author keyword Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** 1.1_cvs_repository.html 4 Jun 2003 15:26:55 -0000 1.8 --- 1.1_cvs_repository.html 4 Jun 2003 15:30:19 -0000 1.9 *************** *** 7,13 **** CVS Repository</h3> <p style="font: oblique 8pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> ! Authors:  Mike Noyes<br /> ! Revision:  $Revision$<br /> ! Date:  $Date$</p> <hr /> <!-- begin document body --> --- 7,13 ---- CVS Repository</h3> <p style="font: oblique 8pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> ! $Author$<br /> ! $Revision$<br /> ! $Date$</p> <hr /> <!-- begin document body --> |
From: <mh...@us...> - 2003-06-04 15:27:03
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv6138 Modified Files: 1.1_cvs_repository.html Log Message: trying keywords for date and revision Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** 1.1_cvs_repository.html 4 Jun 2003 15:09:19 -0000 1.7 --- 1.1_cvs_repository.html 4 Jun 2003 15:26:55 -0000 1.8 *************** *** 8,13 **** <p style="font: oblique 8pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> Authors:  Mike Noyes<br /> ! Revision:  0.1<br /> ! Date:  2003-05-23</p> <hr /> <!-- begin document body --> --- 8,13 ---- <p style="font: oblique 8pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif"> Authors:  Mike Noyes<br /> ! Revision:  $Revision$<br /> ! Date:  $Date$</p> <hr /> <!-- begin document body --> |