You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
(48) |
Apr
(45) |
May
(11) |
Jun
(7) |
Jul
|
Aug
(11) |
Sep
(75) |
Oct
(38) |
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(17) |
Feb
|
Mar
(22) |
Apr
|
May
(1) |
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
(5) |
Feb
(29) |
Mar
(22) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Don S. <ri...@us...> - 2004-03-18 04:13:05
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24018/docs Modified Files: ChangeLog Log Message: Giving credit Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.83 retrieving revision 1.84 diff -C2 -d -r1.83 -r1.84 *** ChangeLog 18 Mar 2004 04:02:15 -0000 1.83 --- ChangeLog 18 Mar 2004 04:03:31 -0000 1.84 *************** *** 3,7 **** 17 Mar 2004; Don Seiler <do...@NO...> ! RFE #870690 Added icons. Happy St. Patrick's Day. 15 Mar 2004; Don Seiler <do...@NO...> --- 3,7 ---- 17 Mar 2004; Don Seiler <do...@NO...> ! RFE #870690 Added icons. http://svgicons.sourceforge.net/ 15 Mar 2004; Don Seiler <do...@NO...> |
From: Don S. <ri...@us...> - 2004-03-18 04:11:55
|
Update of /cvsroot/phpwsbb/phpwsbb/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23816/templates Modified Files: view.tpl view_thread.tpl Log Message: RFE 870690: Added a boatload of icons and what-not Index: view.tpl =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/templates/view.tpl,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** view.tpl 16 Mar 2004 04:04:05 -0000 1.9 --- view.tpl 18 Mar 2004 04:02:15 -0000 1.10 *************** *** 24,36 **** <br /><div class="smalltext"><i>{EDITED}</i></div> <!-- END EDITED --> <!-- BEGIN NOTE --> ! <div class="smalltext">{NOTE}</div> <!-- END NOTE --> <!-- BEGIN REPORT --> ! <div class="smalltext">{REPORT}</div> <!-- END REPORT --> - <div class="smalltext" align="right"> <!-- BEGIN EDIT --> ! {EDIT} <!-- END EDIT --> --- 24,36 ---- <br /><div class="smalltext"><i>{EDITED}</i></div> <!-- END EDITED --> + <div class="smalltext" align="right"> <!-- BEGIN NOTE --> ! {NOTE} <!-- END NOTE --> <!-- BEGIN REPORT --> ! | {REPORT} <!-- END REPORT --> <!-- BEGIN EDIT --> ! | {EDIT} <!-- END EDIT --> Index: view_thread.tpl =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/templates/view_thread.tpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** view_thread.tpl 16 Mar 2004 04:04:05 -0000 1.8 --- view_thread.tpl 18 Mar 2004 04:02:15 -0000 1.9 *************** *** 16,19 **** <!-- END STICKY --> <!-- BEGIN THREAD_MOVE --> ! <span class="smalltext">{START_FORM}{THREAD_FID} {THREAD_MOVE}{END_FORM}</span> <!-- END THREAD_MOVE --> --- 16,19 ---- <!-- END STICKY --> <!-- BEGIN THREAD_MOVE --> ! <span class="smalltext">{START_FORM}{THREAD_MOVE} {THREAD_FID}{END_FORM}</span> <!-- END THREAD_MOVE --> |
From: Don S. <ri...@us...> - 2004-03-18 04:11:55
|
Update of /cvsroot/phpwsbb/phpwsbb/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23816/img Added Files: ban.png delete.png edit.png fork.png hideshow.png locked.png monitor.png new_message.png new_messages.png new_note.png no_new_messages.png ok.png reply_message.png report.png sticky.png unlocked.png unmonitor.png Log Message: RFE 870690: Added a boatload of icons and what-not --- NEW FILE: edit.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sticky.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: new_message.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ok.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hideshow.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fork.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: reply_message.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: new_messages.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: locked.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: report.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: delete.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: monitor.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ban.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unlocked.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: new_note.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: unmonitor.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: no_new_messages.png --- (This appears to be a binary file; contents omitted.) |
From: Don S. <ri...@us...> - 2004-03-18 04:11:55
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23816/class Modified Files: Forum.php Message.php Runtime.php Thread.php Log Message: RFE 870690: Added a boatload of icons and what-not Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** Thread.php 16 Mar 2004 02:35:16 -0000 1.38 --- Thread.php 18 Mar 2004 04:02:15 -0000 1.39 *************** *** 164,173 **** if(!$ro) { ! $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 Topic") . "</a>"; else ! $tags["LOCK"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=lock&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Lock Topic") . "</a>"; } --- 164,173 ---- if(!$ro) { ! $tags["REPLY"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=reply&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/reply_message.png\" border=\"0\">" . $_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() . "\"><img src=\"./mod/phpwsbb/img/unlocked.png\" border=\"0\">" . $_SESSION["translate"]->it("Unlock Topic") . "</a>"; else ! $tags["LOCK"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=lock&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/locked.png\" border=\"0\">" . $_SESSION["translate"]->it("Lock Topic") . "</a>"; } *************** *** 186,190 **** $form->setTab("Thread_fid",1); ! $form->add("Thread_move", "submit", $_SESSION["translate"]->it("Move")); $form->setTab("Thread_move",2); --- 186,190 ---- $form->setTab("Thread_fid",1); ! $form->add("Thread_move", "submit", $_SESSION["translate"]->it("Move to Forum")); $form->setTab("Thread_move",2); *************** *** 196,226 **** 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 Topic") . "</a>"; if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "hide_threads")) { if($this->isHidden()) ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showthread&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Show Topic") . "</a>"; else ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hidethread&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Hide Topic") . "</a>"; } if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "sticky_threads")) { if($this->_sticky) ! $tags["STICKY"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unstick&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Unstick Topic") . "</a>"; else ! $tags["STICKY"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=stick&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Stick Topic") . "</a>"; } } if($this->monitored) ! $tags["MONITOR"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unmonitor&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Stop Monitor") . "</a>"; else ! $tags["MONITOR"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=monitor&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Monitor") . "</a>"; ! ! if($this->_locked) ! $tags["LOCKED_NOTICE"] = $_SESSION["translate"]->it("This topic has been locked."); ! ! if($this->_sticky) ! $tags["STICKY_NOTICE"] = $_SESSION["translate"]->it("STICKY"); $content = PHPWS_Template::processTemplate($tags, "phpwsbb", "view_thread.tpl"); --- 196,220 ---- 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() . "\"><img src=\"./mod/phpwsbb/img/delete.png\" border=\"0\">" . $_SESSION["translate"]->it("Delete Topic") . "</a>"; if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "hide_threads")) { if($this->isHidden()) ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showthread&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/hideshow.png\" border=\"0\">" . $_SESSION["translate"]->it("Show Topic") . "</a>"; else ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hidethread&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/hideshow.png\" border=\"0\">" . $_SESSION["translate"]->it("Hide Topic") . "</a>"; } if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "sticky_threads")) { if($this->_sticky) ! $tags["STICKY"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unstick&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/sticky.png\" border=\"0\">" . $_SESSION["translate"]->it("Unstick Topic") . "</a>"; else ! $tags["STICKY"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=stick&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/sticky.png\" border=\"0\">" . $_SESSION["translate"]->it("Stick Topic") . "</a>"; } } if($this->monitored) ! $tags["MONITOR"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unmonitor&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/unmonitor.png\" border=\"0\">" . $_SESSION["translate"]->it("Stop Monitor") . "</a>"; else ! $tags["MONITOR"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=monitor&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/monitor.png\" border=\"0\">" . $_SESSION["translate"]->it("Monitor") . "</a>"; $content = PHPWS_Template::processTemplate($tags, "phpwsbb", "view_thread.tpl"); *************** *** 230,234 **** foreach($this->messages as $mid) { $message = new PHPWSBB_Message($mid); ! $content .= "<br />" . $message->_view(); } --- 224,228 ---- foreach($this->messages as $mid) { $message = new PHPWSBB_Message($mid); ! $content .= $message->_view() . "<br />"; } *************** *** 562,571 **** $lab = parent::getLabel(); if($prefix) { - if($this->_sticky) - $lab = "[" . $_SESSION["translate"]->it("STICKY") . "] " . $lab; - if($this->_locked) - $lab = "[" . $_SESSION["translate"]->it("LOCKED") . "] " . $lab; if($this->isHidden()) ! $lab = "[" . $_SESSION["translate"]->it("HIDDEN") . "] " . $lab; } --- 556,565 ---- $lab = parent::getLabel(); if($prefix) { if($this->isHidden()) ! $lab = "<img src=\"./mod/phpwsbb/img/hideshow.png\" border=\"0\"> " . $lab; ! if($this->_locked) ! $lab = "<img src=\"./mod/phpwsbb/img/locked.png\" border=\"0\"> " . $lab; ! if($this->_sticky) ! $lab = "<img src=\"./mod/phpwsbb/img/sticky.png\" border=\"0\"> " . $lab; } Index: Message.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Message.php,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** Message.php 8 Mar 2004 03:09:08 -0000 1.43 --- Message.php 18 Mar 2004 04:02:15 -0000 1.44 *************** *** 97,101 **** $tags["GUESTEMAIL"] = PHPWS_Text::parseOutput($this->_guestemail); $tags["TID"] = $this->_tid; ! $tags["REPORT"] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=report&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Report Message to Admin") . "</a>"; $poster = $this->getOwner(); --- 97,101 ---- $tags["GUESTEMAIL"] = PHPWS_Text::parseOutput($this->_guestemail); $tags["TID"] = $this->_tid; ! $tags["REPORT"] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=report&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/report.png\" border=\"0\">" . $_SESSION["translate"]->it("Report") . "</a>"; $poster = $this->getOwner(); *************** *** 108,112 **** $notesinfo = PHPWS_Boost::getVersionInfo("notes"); if ($notesinfo["version"] >= "1.6.0") ! $tags["NOTE"] = "<a href=\"index.php?module=notes&NOTE_op=new_note&NOTE_toUser=" . $this->getOwner() . "\">" . $_SESSION["translate"]->it("Send Note to [var1]",$this->getOwner()) . "</a>"; } } --- 108,112 ---- $notesinfo = PHPWS_Boost::getVersionInfo("notes"); if ($notesinfo["version"] >= "1.6.0") ! $tags["NOTE"] = "<a href=\"index.php?module=notes&NOTE_op=new_note&NOTE_toUser=" . $this->getOwner() . "\"><img src=\"./mod/phpwsbb/img/new_note.png\" border=\"0\">" . $_SESSION["translate"]->it("Note to [var1]",$this->getOwner()) . "</a>"; } } *************** *** 128,146 **** 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>"; if ($_SESSION["OBJ_user"]->allow_access("phpwsbb", "hide_messages")) { if ($this->isHidden()) ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showmessage&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Show Message") . "</a>"; else ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hidemessage&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Hide Message") . "</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>"; if ($_SESSION["OBJ_user"]->allow_access("phpwsbb", "view_ips")) { --- 128,146 ---- 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() . "\"><img src=\"./mod/phpwsbb/img/edit.png\" border=\"0\">" . $_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() . "\"><img src=\"./mod/phpwsbb/img/delete.png\" border=\"0\">" . $_SESSION["translate"]->it("Delete") . "</a>"; if ($_SESSION["OBJ_user"]->allow_access("phpwsbb", "hide_messages")) { if ($this->isHidden()) ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showmessage&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/hideshow.png\" border=\"0\">" . $_SESSION["translate"]->it("Show Message") . "</a>"; else ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hidemessage&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/hideshow.png\" border=\"0\">" . $_SESSION["translate"]->it("Hide Message") . "</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() . "\"><img src=\"./mod/phpwsbb/img/fork.png\" border=\"0\">" . $_SESSION["translate"]->it("Fork") . "</a>"; if ($_SESSION["OBJ_user"]->allow_access("phpwsbb", "view_ips")) { *************** *** 163,177 **** if ($ib) ! $tags["BAN_IP"] = " <a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unbanip&PHPWS_MAN_ITEMS[]=" . $this->getIp() . "\">" . $_SESSION["translate"]->it("Allow [var1] (Banned)", $this->getIp()) . "</a>"; else ! $tags["BAN_IP"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banip&PHPWS_MAN_ITEMS[]=" . $this->getIp() . "\">" . $_SESSION["translate"]->it("Ban [var1]", $this->getIp()) . "</a>"; if ($ub) ! $tags["BAN_USERNAME"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unbanusername&PHPWS_MAN_ITEMS[]=" . $this->getOwner() . "\">" . $_SESSION["translate"]->it("Allow [var1] (Banned)", $this->getOwner()) . "</a>"; else ! $tags["BAN_USERNAME"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banusername&PHPWS_MAN_ITEMS[]=" . $this->getOwner() . "\">" . $_SESSION["translate"]->it("Ban [var1]", $this->getOwner()) . "</a>"; } else { ! $tags["BAN_IP"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banip&PHPWS_MAN_ITEMS[]=" . $this->getIp() . "\">" . $_SESSION["translate"]->it("Ban [var1]", $this->getIp()) . "</a>"; ! $tags["BAN_USERNAME"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banusername&PHPWS_MAN_ITEMS[]=" . $this->getOwner() . "\">" . $_SESSION["translate"]->it("Ban [var1]", $this->getOwner()) . "</a>"; } } --- 163,177 ---- if ($ib) ! $tags["BAN_IP"] = " <a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unbanip&PHPWS_MAN_ITEMS[]=" . $this->getIp() . "\"><img src=\"./mod/phpwsbb/img/ok.png\" border=\"0\">" . $_SESSION["translate"]->it("Allow [var1] (Banned)", $this->getIp()) . "</a>"; else ! $tags["BAN_IP"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banip&PHPWS_MAN_ITEMS[]=" . $this->getIp() . "\"><img src=\"./mod/phpwsbb/img/ban.png\" border=\"0\">" . $_SESSION["translate"]->it("Ban [var1]", $this->getIp()) . "</a>"; if ($ub) ! $tags["BAN_USERNAME"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unbanusername&PHPWS_MAN_ITEMS[]=" . $this->getOwner() . "\"><img src=\"./mod/phpwsbb/img/ok.png\" border=\"0\">" . $_SESSION["translate"]->it("Allow [var1] (Banned)", $this->getOwner()) . "</a>"; else ! $tags["BAN_USERNAME"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banusername&PHPWS_MAN_ITEMS[]=" . $this->getOwner() . "\"><img src=\"./mod/phpwsbb/img/ban.png\" border=\"0\">" . $_SESSION["translate"]->it("Ban [var1]", $this->getOwner()) . "</a>"; } else { ! $tags["BAN_IP"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banip&PHPWS_MAN_ITEMS[]=" . $this->getIp() . "\"><img src=\"./mod/phpwsbb/img/ban.png\" border=\"0\">" . $_SESSION["translate"]->it("Ban [var1]", $this->getIp()) . "</a>"; ! $tags["BAN_USERNAME"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banusername&PHPWS_MAN_ITEMS[]=" . $this->getOwner() . "\"><img src=\"./mod/phpwsbb/img/ban.png\" border=\"0\">" . $_SESSION["translate"]->it("Ban [var1]", $this->getOwner()) . "</a>"; } } *************** *** 661,665 **** if ($prefix) { if ($this->isHidden()) ! $lab = "[" . $_SESSION["translate"]->it("HIDDEN") . "] " . $lab; } return $lab; --- 661,665 ---- if ($prefix) { if ($this->isHidden()) ! $lab = "<img src=\"./mod/phpwsbb/img/hideshow.png\" border=\"0\"> " . $lab; } return $lab; Index: Forum.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Forum.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Forum.php 16 Mar 2004 04:04:04 -0000 1.14 --- Forum.php 18 Mar 2004 04:02:15 -0000 1.15 *************** *** 108,124 **** if(!$ro) { ! $tags["NEW"] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=new&fid=" . $this->getId() . "\">" . $_SESSION["translate"]->it("New Topic") . "</a>"; if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_forums")) ! $tags["EDIT"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=editforum&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Edit Forum") . "</a>"; if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "delete_forums")) ! $tags["DELETE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deleteforum&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Delete Forum") . "</a>"; if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "hide_threads")) { if($this->isHidden()) ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showforum&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Show Forum") . "</a>"; else ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hideforum&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Hide Forum") . "</a>"; } } --- 108,124 ---- if(!$ro) { ! $tags["NEW"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=new&fid=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/new_message.png\" border=\"0\">" . $_SESSION["translate"]->it("New Topic") . "</a>"; if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_forums")) ! $tags["EDIT"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=editforum&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/edit.png\" border=\"0\">" . $_SESSION["translate"]->it("Edit Forum") . "</a>"; if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "delete_forums")) ! $tags["DELETE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deleteforum&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/delete.png\" border=\"0\">" . $_SESSION["translate"]->it("Delete Forum") . "</a>"; if($_SESSION["OBJ_user"]->allow_access("phpwsbb", "hide_threads")) { if($this->isHidden()) ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showforum&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/hideshow.png\" border=\"0\">" . $_SESSION["translate"]->it("Show Forum") . "</a>"; else ! $tags["HIDE"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hideforum&PHPWS_MAN_ITEMS[]=" . $this->getId() . "\"><img src=\"./mod/phpwsbb/img/hideshow.png\" border=\"0\">" . $_SESSION["translate"]->it("Hide Forum") . "</a>"; } } Index: Runtime.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Runtime.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Runtime.php 16 Mar 2004 03:52:03 -0000 1.7 --- Runtime.php 18 Mar 2004 04:02:15 -0000 1.8 *************** *** 40,44 **** $block = NULL; ! $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_forums", NULL, NULL, "sortorder"); if($result) { foreach($result as $row) { --- 40,44 ---- $block = NULL; ! $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_forums", "hidden", 0, "sortorder"); if($result) { foreach($result as $row) { *************** *** 79,83 **** $c=0; $block = NULL; ! $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_threads", NULL, NULL, "lastpost DESC"); if($result) { foreach($result as $row) { --- 79,83 ---- $c=0; $block = NULL; ! $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_threads", "hidden", 0, "lastpost DESC"); if($result) { foreach($result as $row) { |
From: Don S. <ri...@us...> - 2004-03-18 04:11:55
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23816/docs Modified Files: ChangeLog Log Message: RFE 870690: Added a boatload of icons and what-not Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.82 retrieving revision 1.83 diff -C2 -d -r1.82 -r1.83 *** ChangeLog 16 Mar 2004 04:04:04 -0000 1.82 --- ChangeLog 18 Mar 2004 04:02:15 -0000 1.83 *************** *** 2,5 **** --- 2,8 ---- # $Id$ + 17 Mar 2004; Don Seiler <do...@NO...> + RFE #870690 Added icons. Happy St. Patrick's Day. + 15 Mar 2004; Don Seiler <do...@NO...> RFE #862965 Changed default behavior to NOT monitor posts. |
From: Don S. <ri...@us...> - 2004-03-16 04:13:18
|
Update of /cvsroot/phpwsbb/phpwsbb/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21269/templates Modified Files: view.tpl view_forum.tpl view_thread.tpl Log Message: RFE #870690 cleaning up interface Index: view_forum.tpl =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/templates/view_forum.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** view_forum.tpl 17 Dec 2003 21:07:59 -0000 1.3 --- view_forum.tpl 16 Mar 2004 04:04:05 -0000 1.4 *************** *** 1,16 **** <!-- BEGIN NEW --> ! <b>[{NEW}]</b> <!-- END NEW --> <!-- BEGIN EDIT --> ! <b>[{EDIT}]</b> <!-- END EDIT --> <!-- BEGIN DELETE --> ! <b>[{DELETE}]</b> <!-- END DELETE --> <!-- BEGIN HIDE --> ! <b>[{HIDE}]</b> <!-- END HIDE --> <!-- BEGIN CATEGORY --> ! {CATEGORY_TEXT}: {CATEGORY} <!-- END CATEGORY --> --- 1,16 ---- <!-- BEGIN NEW --> ! <span class="smalltext">{NEW}</span> <!-- END NEW --> <!-- BEGIN EDIT --> ! <span class="smalltext"> | {EDIT}</span> <!-- END EDIT --> <!-- BEGIN DELETE --> ! <span class="smalltext"> | {DELETE}</span> <!-- END DELETE --> <!-- BEGIN HIDE --> ! <span class="smalltext"> | {HIDE}</span> <!-- END HIDE --> <!-- BEGIN CATEGORY --> ! <span class="smalltext"> | {CATEGORY_TEXT}: {CATEGORY}</span> <!-- END CATEGORY --> Index: view.tpl =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/templates/view.tpl,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** view.tpl 30 Dec 2003 03:47:54 -0000 1.8 --- view.tpl 16 Mar 2004 04:04:05 -0000 1.9 *************** *** 11,20 **** <!-- BEGIN BAN_IP --> <span class="smalltext"> ! [{BAN_IP}] </span> <!-- END BAN_IP --> <!-- BEGIN BAN_USERNAME --> <span class="smalltext"> ! [{BAN_USERNAME}] </span> <!-- END BAN_USERNAME --> --- 11,20 ---- <!-- BEGIN BAN_IP --> <span class="smalltext"> ! {BAN_IP} </span> <!-- END BAN_IP --> <!-- BEGIN BAN_USERNAME --> <span class="smalltext"> ! | {BAN_USERNAME} </span> <!-- END BAN_USERNAME --> *************** *** 28,48 **** <!-- END NOTE --> <!-- BEGIN REPORT --> ! <div class="smalltext">[{REPORT}]</div> <!-- END REPORT --> <div class="smalltext" align="right"> <!-- BEGIN EDIT --> ! [{EDIT}] <!-- END EDIT --> <!-- BEGIN FORK --> ! [{FORK}] <!-- END FORK --> <!-- BEGIN DELETE --> ! [{DELETE}] <!-- END DELETE --> <!-- BEGIN HIDE --> ! [{HIDE}] <!-- END HIDE --> --- 28,48 ---- <!-- END NOTE --> <!-- BEGIN REPORT --> ! <div class="smalltext">{REPORT}</div> <!-- END REPORT --> <div class="smalltext" align="right"> <!-- BEGIN EDIT --> ! {EDIT} <!-- END EDIT --> <!-- BEGIN FORK --> ! | {FORK} <!-- END FORK --> <!-- BEGIN DELETE --> ! | {DELETE} <!-- END DELETE --> <!-- BEGIN HIDE --> ! | {HIDE} <!-- END HIDE --> Index: view_thread.tpl =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/templates/view_thread.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** view_thread.tpl 2 Nov 2003 20:54:58 -0000 1.7 --- view_thread.tpl 16 Mar 2004 04:04:05 -0000 1.8 *************** *** 1,19 **** <!-- BEGIN REPLY --> ! <b>[{REPLY}]</b> <!-- END REPLY --> ! <b>[{MONITOR}]</b> <!-- BEGIN LOCK --> ! <b>[{LOCK}]</b> <!-- END LOCK --> <!-- BEGIN DELETE --> ! <b>[{DELETE}]</b> <!-- END DELETE --> <!-- BEGIN HIDE --> ! <b>[{HIDE}]</b> <!-- END HIDE --> <!-- BEGIN STICKY --> ! <b>[{STICKY}]</b> <!-- END STICKY --> <!-- BEGIN THREAD_MOVE --> ! {START_FORM}{THREAD_FID} {THREAD_MOVE}{END_FORM} <!-- END THREAD_MOVE --> --- 1,19 ---- <!-- BEGIN REPLY --> ! <span class="smalltext">{REPLY}</span> <!-- END REPLY --> ! <span class="smalltext"> | {MONITOR}</span> <!-- BEGIN LOCK --> ! <span class="smalltext"> | {LOCK}</span> <!-- END LOCK --> <!-- BEGIN DELETE --> ! <span class="smalltext"> | {DELETE}</span> <!-- END DELETE --> <!-- BEGIN HIDE --> ! <span class="smalltext"> | {HIDE}</span> <!-- END HIDE --> <!-- BEGIN STICKY --> ! <span class="smalltext"> | {STICKY}</span> <!-- END STICKY --> <!-- BEGIN THREAD_MOVE --> ! <span class="smalltext">{START_FORM}{THREAD_FID} {THREAD_MOVE}{END_FORM}</span> <!-- END THREAD_MOVE --> |
From: Don S. <ri...@us...> - 2004-03-16 04:13:17
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21269/docs Modified Files: ChangeLog Log Message: RFE #870690 cleaning up interface Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** ChangeLog 16 Mar 2004 03:52:04 -0000 1.81 --- ChangeLog 16 Mar 2004 04:04:04 -0000 1.82 *************** *** 5,8 **** --- 5,9 ---- RFE #862965 Changed default behavior to NOT monitor posts. RFE #906879 Added "Offline" mode. + RFE #870690 Cleaning up interface. *phpwsbb-0.8.1 (15 Mar 2003) |
From: Don S. <ri...@us...> - 2004-03-16 04:13:17
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21269/class Modified Files: Forum.php Log Message: RFE #870690 cleaning up interface Index: Forum.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Forum.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Forum.php 8 Mar 2004 03:05:14 -0000 1.13 --- Forum.php 16 Mar 2004 04:04:04 -0000 1.14 *************** *** 128,132 **** $content .= $_SESSION["PHPWSBB_Manager"]->_listThreads($this->getId()); ! $content .= PHPWS_Template::processTemplate($tags, "phpwsbb", "view_forum.tpl"); return $content; --- 128,132 ---- $content .= $_SESSION["PHPWSBB_Manager"]->_listThreads($this->getId()); ! //$content .= PHPWS_Template::processTemplate($tags, "phpwsbb", "view_forum.tpl"); return $content; |
From: Don S. <ri...@us...> - 2004-03-16 04:01:19
|
Update of /cvsroot/phpwsbb/phpwsbb/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19406/conf Modified Files: boost.php help.php Log Message: RFE #906879: Added offline mode Index: boost.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/boost.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** boost.php 2 Mar 2004 02:40:48 -0000 1.25 --- boost.php 16 Mar 2004 03:52:04 -0000 1.26 *************** *** 19,23 **** $admin_mod = 1; $active = "on"; ! $version = "0.8.1"; $admin_op = "&PHPWSBB_MAN_OP=list"; $mod_class_files = array("Manager.php"); --- 19,23 ---- $admin_mod = 1; $active = "on"; ! $version = "0.9.0"; $admin_op = "&PHPWSBB_MAN_OP=list"; $mod_class_files = array("Manager.php"); Index: help.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/help.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** help.php 2 Mar 2004 02:40:48 -0000 1.6 --- help.php 16 Mar 2004 03:52:04 -0000 1.7 *************** *** 23,25 **** --- 23,27 ---- $sortorder_content = "This value sets the order in which the forums are listed on the Forums page. Must be an integer value."; + $bboffline = "Take Bulletin Board Offline"; + $bboffline_content = "Checking this will prevent non-deity users from accessing the bulletin board. They will be presented with a message indicating the bulletin board is offline for maintenance. This can be used when doing upgrades or maintenance like cleaning/moving messages and threads."; ?> |
From: Don S. <ri...@us...> - 2004-03-16 04:01:19
|
Update of /cvsroot/phpwsbb/phpwsbb/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19406/templates Modified Files: edit_settings.tpl Log Message: RFE #906879: Added offline mode Index: edit_settings.tpl =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/templates/edit_settings.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** edit_settings.tpl 1 Feb 2004 03:59:53 -0000 1.4 --- edit_settings.tpl 16 Mar 2004 03:52:04 -0000 1.5 *************** *** 10,13 **** --- 10,14 ---- {LATESTTHREADSBLOCKTITLE_TEXT}: {SETTINGS_LATESTTHREADSBLOCKTITLE}<br /> {SETTINGS_MAXLATESTTHREADS} {MAXLATESTTHREADS_TEXT}<br /> + {SETTINGS_BBOFFLINE} {BBOFFLINE_TEXT} {BBOFFLINE_HELP}<br /> {SETTINGS_SAVE} {END_FORM} |
From: Don S. <ri...@us...> - 2004-03-16 04:01:18
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19406/class Modified Files: Manager.php Runtime.php Log Message: RFE #906879: Added offline mode Index: Manager.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Manager.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** Manager.php 8 Mar 2004 03:05:15 -0000 1.27 --- Manager.php 16 Mar 2004 03:52:03 -0000 1.28 *************** *** 107,110 **** --- 107,118 ---- var $_maxlatestthreads; + /** + * Flag to take phpwsbb offline + * + * @var int + * @access private + */ + var $_bboffline; + /** *************** *** 151,154 **** --- 159,163 ---- $this->_forumsblocktitle = $result[0]["forumsblocktitle"]; $this->_maxlatestthreads = $result[0]["maxlatestthreads"]; + $this->_bboffline = $result[0]["bboffline"]; }// END FUNC PHPWSBB_Manager *************** *** 520,523 **** --- 529,537 ---- $tabs++; + $form->add("SETTINGS_bboffline", "checkbox"); + $form->setMatch("SETTINGS_bboffline", $this->_bboffline); + $form->setTab("SETTINGS_bboffline", $tabs); + $tabs++; + $form->add("SETTINGS_save", "submit", $_SESSION["translate"]->it("Save")); $form->setTab("SETTINGS_save", $tabs); *************** *** 532,539 **** --- 546,555 ---- $tags["ADMIN_EMAIL_TEXT"] = $_SESSION["translate"]->it("Bulletin Board Admin Email"); $tags["MONITOR_POSTS_TEXT"] = $_SESSION["translate"]->it("Monitor Posts"); + $tags["BBOFFLINE_TEXT"] = $_SESSION["translate"]->it("Take Bulletin Board Offline"); $tags["EMAIL_TEXT_TEXT"] = $_SESSION["translate"]->it("Email Notification Text"); $tags["ADMIN_EMAIL_HELP"] = CLS_help::show_link("phpwsbb", "admin_email"); $tags["EMAIL_TEXT_HELP"] = CLS_help::show_link("phpwsbb", "email_text"); $tags["MONITOR_POSTS_HELP"] = CLS_help::show_link("phpwsbb", "monitor_posts"); + $tags["BBOFFLINE_HELP"] = CLS_help::show_link("phpwsbb", "bboffline"); $tags["SHOWFORUMSBLOCK_TEXT"] = $_SESSION["translate"]->it("Show Forums Block"); $tags["FORUMSBLOCKTITLE_TEXT"] = $_SESSION["translate"]->it("Forums Block Title"); *************** *** 572,575 **** --- 588,596 ---- $this->_monitor_posts = 0; + if(isset($_REQUEST["SETTINGS_bboffline"])) + $this->_bboffline = 1; + else + $this->_bboffline = 0; + if(isset($_REQUEST["SETTINGS_showforumsblock"])) $this->_showforumsblock = 1; *************** *** 594,597 **** --- 615,619 ---- $data["email_text"] = $this->_email_text; $data["monitor_posts"] = $this->_monitor_posts; + $data["bboffline"] = $this->_bboffline; $data["showforumsblock"] = $this->_showforumsblock; $data["showlatestthreadsblock"] = $this->_showlatestthreadsblock; *************** *** 613,616 **** --- 635,646 ---- }// END FUNC _saveSettings + + function offline() { + if($this->_bboffline) + return TRUE; + else + return FALSE; + }// END FUNC offline + function action() { Index: Runtime.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Runtime.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Runtime.php 2 Mar 2004 02:40:48 -0000 1.6 --- Runtime.php 16 Mar 2004 03:52:03 -0000 1.7 *************** *** 28,49 **** $blocktitle = $result[0]["forumsblocktitle"]; $allow_anon_view = $result[0]["allow_anon_view"]; ! if(!$showforumsblock) ! return; ! ! if(!$allow_anon_view && !$_SESSION["OBJ_user"]->username) return; ! ! $block = NULL; ! $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_forums", NULL, NULL, "sortorder"); ! if($result) { ! foreach($result as $row) { ! $forum = new PHPWSBB_Forum($row); ! $block .= "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS[]=" . $forum->getId() . "\">" . $forum->getLabel() . "</a><br />"; } } - - $GLOBALS["CNT_phpwsbb_forumsblock"]["title"] = $blocktitle; - $GLOBALS["CNT_phpwsbb_forumsblock"]["content"] = $block; }// END FUNC showForumsBlock --- 28,54 ---- $blocktitle = $result[0]["forumsblocktitle"]; $allow_anon_view = $result[0]["allow_anon_view"]; + $bboffline = $result[0]["bboffline"]; ! if ($bboffline && !$_SESSION["OBJ_user"]->isDeity()) { return; ! } else { ! if(!$showforumsblock) ! return; ! ! if(!$allow_anon_view && !$_SESSION["OBJ_user"]->username) ! return; ! ! $block = NULL; ! $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_forums", NULL, NULL, "sortorder"); ! if($result) { ! foreach($result as $row) { ! $forum = new PHPWSBB_Forum($row); ! $block .= "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS[]=" . $forum->getId() . "\">" . $forum->getLabel() . "</a><br />"; ! } } + + $GLOBALS["CNT_phpwsbb_forumsblock"]["title"] = $blocktitle; + $GLOBALS["CNT_phpwsbb_forumsblock"]["content"] = $block; } }// END FUNC showForumsBlock *************** *** 61,91 **** $maxlatestthreads = $result[0]["maxlatestthreads"]; $allow_anon_view = $result[0]["allow_anon_view"]; ! if(!$showlatestthreadsblock) ! return; ! ! if(!$allow_anon_view && !$_SESSION["OBJ_user"]->username) return; ! ! $c=0; ! $block = NULL; ! $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_threads", NULL, NULL, "lastpost DESC"); ! if($result) { ! foreach($result as $row) { ! if($c > $maxlatestthreads) ! break; ! $thread = new PHPWSBB_Forum($row); ! $block .= "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]=" . $thread->getId() . "\">"; ! if(strlen($thread->getLabel()) > 15) ! $block .= substr($thread->getLabel(),0,15) . " ..."; ! else ! $block .= $thread->getLabel(); ! $block .= "</a><br />"; ! $c++; } } - - $GLOBALS["CNT_phpwsbb_latestthreadsblock"]["title"] = $latestthreadsblocktitle; - $GLOBALS["CNT_phpwsbb_latestthreadsblock"]["content"] = $block; }// END FUNC showLatestThreadsBlock --- 66,101 ---- $maxlatestthreads = $result[0]["maxlatestthreads"]; $allow_anon_view = $result[0]["allow_anon_view"]; + $bboffline = $result[0]["bboffline"]; ! if ($bboffline && !$_SESSION["OBJ_user"]->isDeity()) { return; ! } else { ! if(!$showlatestthreadsblock) ! return; ! ! if(!$allow_anon_view && !$_SESSION["OBJ_user"]->username) ! return; ! ! $c=0; ! $block = NULL; ! $result = $GLOBALS["core"]->sqlSelect("mod_phpwsbb_threads", NULL, NULL, "lastpost DESC"); ! if($result) { ! foreach($result as $row) { ! if($c > $maxlatestthreads) ! break; ! $thread = new PHPWSBB_Forum($row); ! $block .= "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]=" . $thread->getId() . "\">"; ! if(strlen($thread->getLabel()) > 15) ! $block .= substr($thread->getLabel(),0,15) . " ..."; ! else ! $block .= $thread->getLabel(); ! $block .= "</a><br />"; ! $c++; ! } } + + $GLOBALS["CNT_phpwsbb_latestthreadsblock"]["title"] = $latestthreadsblocktitle; + $GLOBALS["CNT_phpwsbb_latestthreadsblock"]["content"] = $block; } }// END FUNC showLatestThreadsBlock |
From: Don S. <ri...@us...> - 2004-03-16 04:01:18
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19406/docs Modified Files: ChangeLog Log Message: RFE #906879: Added offline mode Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.80 retrieving revision 1.81 diff -C2 -d -r1.80 -r1.81 *** ChangeLog 16 Mar 2004 02:35:17 -0000 1.80 --- ChangeLog 16 Mar 2004 03:52:04 -0000 1.81 *************** *** 4,7 **** --- 4,8 ---- 15 Mar 2004; Don Seiler <do...@NO...> RFE #862965 Changed default behavior to NOT monitor posts. + RFE #906879 Added "Offline" mode. *phpwsbb-0.8.1 (15 Mar 2003) |
From: Don S. <ri...@us...> - 2004-03-16 04:01:17
|
Update of /cvsroot/phpwsbb/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19406/boost Modified Files: install.sql update.php Log Message: RFE #906879: Added offline mode Index: install.sql =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/install.sql,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** install.sql 1 Feb 2004 03:59:52 -0000 1.12 --- install.sql 16 Mar 2004 03:52:03 -0000 1.13 *************** *** 81,85 **** showlatestthreadsblock smallint NOT NULL default '0', latestthreadsblocktitle varchar(80) NULL, ! maxlatestthreads int NOT NULL default '0' ); ! INSERT INTO mod_phpwsbb_settings VALUES (1, 1, NULL, 'The thread [name] has been updated. Go to [url] to view it.', 0, 1, 'Forums', 1, 'Latest Forum Posts', 5); --- 81,86 ---- showlatestthreadsblock smallint NOT NULL default '0', latestthreadsblocktitle varchar(80) NULL, ! maxlatestthreads int NOT NULL default '0', ! bboffline smallint NOT NULL default '0' ); ! INSERT INTO mod_phpwsbb_settings VALUES (1, 1, NULL, 'The thread [name] has been updated. Go to [url] to view it.', 0, 1, 'Forums', 1, 'Latest Forum Posts', 5, 0); Index: update.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/update.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** update.php 2 Mar 2004 02:40:48 -0000 1.26 --- update.php 16 Mar 2004 03:52:03 -0000 1.27 *************** *** 198,200 **** --- 198,208 ---- } + if($currentVersion < "0.9.0") { + if($status = $GLOBALS["core"]->query("ALTER TABLE mod_phpwsbb_settings ADD bboffline smallint NOT NULL default '0'", TRUE)) { + $content .= "phpwsBB settings table successfully updated.<br />"; + } else { + $content .= "There was a problem updating the phpwsBB settings.<br />"; + } + } + ?> |
From: Don S. <ri...@us...> - 2004-03-16 04:01:17
|
Update of /cvsroot/phpwsbb/phpwsbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19406 Modified Files: index.php Log Message: RFE #906879: Added offline mode Index: index.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/index.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.php 2 Mar 2004 02:40:48 -0000 1.7 --- index.php 16 Mar 2004 03:52:03 -0000 1.8 *************** *** 13,31 **** $CNT_phpwsbb["content"] = NULL; ! if(!isset($_SESSION["PHPWSBB_Manager"])) $_SESSION["PHPWSBB_Manager"] = new PHPWSBB_Manager; ! if(isset($_REQUEST["PHPWSBB_MAN_OP"])) { ! $_SESSION["PHPWSBB_Manager"]->action(); ! } ! ! if(isset($_REQUEST["PHPWSBB_FORUM_OP"]) && isset($_SESSION["PHPWSBB_Manager"]->forum)) ! $_SESSION["PHPWSBB_Manager"]->forum->action(); ! if(isset($_REQUEST["PHPWSBB_THREAD_OP"]) && isset($_SESSION["PHPWSBB_Manager"]->thread)) ! $_SESSION["PHPWSBB_Manager"]->thread->action(); ! if(isset($_REQUEST["PHPWSBB_MESSAGE_OP"]) && isset($_SESSION["PHPWSBB_Manager"]->message)) ! $_SESSION["PHPWSBB_Manager"]->message->action(); ?> --- 13,35 ---- $CNT_phpwsbb["content"] = NULL; ! if (!isset($_SESSION["PHPWSBB_Manager"])) $_SESSION["PHPWSBB_Manager"] = new PHPWSBB_Manager; ! if ($_SESSION["PHPWSBB_Manager"]->offline() && !$_SESSION["OBJ_user"]->isDeity()) { ! $CNT_phpwsbb["title"] = $_SESSION["translate"]->it("Bulletin Board Offline"); ! $CNT_phpwsbb["content"] = $_SESSION["translate"]->it("Sorry, the bulletin board is currently down for maintenance."); ! } else { ! if (isset($_REQUEST["PHPWSBB_MAN_OP"])) { ! $_SESSION["PHPWSBB_Manager"]->action(); ! } ! if (isset($_REQUEST["PHPWSBB_FORUM_OP"]) && isset($_SESSION["PHPWSBB_Manager"]->forum)) ! $_SESSION["PHPWSBB_Manager"]->forum->action(); ! if (isset($_REQUEST["PHPWSBB_THREAD_OP"]) && isset($_SESSION["PHPWSBB_Manager"]->thread)) ! $_SESSION["PHPWSBB_Manager"]->thread->action(); + if (isset($_REQUEST["PHPWSBB_MESSAGE_OP"]) && isset($_SESSION["PHPWSBB_Manager"]->message)) + $_SESSION["PHPWSBB_Manager"]->message->action(); + } ?> |
From: Don S. <ri...@us...> - 2004-03-16 02:44:30
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7024/docs Modified Files: ChangeLog Log Message: RFE #862965 Changed default behavior to NOT monitor posts. Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** ChangeLog 16 Mar 2004 01:58:43 -0000 1.79 --- ChangeLog 16 Mar 2004 02:35:17 -0000 1.80 *************** *** 2,5 **** --- 2,8 ---- # $Id$ + 15 Mar 2004; Don Seiler <do...@NO...> + RFE #862965 Changed default behavior to NOT monitor posts. + *phpwsbb-0.8.1 (15 Mar 2003) |
From: Don S. <ri...@us...> - 2004-03-16 02:44:29
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7024/class Modified Files: Thread.php Log Message: RFE #862965 Changed default behavior to NOT monitor posts. Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** Thread.php 8 Mar 2004 03:05:15 -0000 1.37 --- Thread.php 16 Mar 2004 02:35:16 -0000 1.38 *************** *** 309,314 **** } ! if(!$this->monitored && !empty($_SESSION["OBJ_user"]->user_id)) ! $this->_monitor(); } --- 309,315 ---- } ! /* Removed for RFE 862965 */ ! //if(!$this->monitored && !empty($_SESSION["OBJ_user"]->user_id)) ! //$this->_monitor(); } |
From: Don S. <ri...@us...> - 2004-03-16 02:07:55
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1289/docs Modified Files: ChangeLog Log Message: Releasing 0.8.1 Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** ChangeLog 8 Mar 2004 03:05:15 -0000 1.78 --- ChangeLog 16 Mar 2004 01:58:43 -0000 1.79 *************** *** 2,5 **** --- 2,7 ---- # $Id$ + *phpwsbb-0.8.1 (15 Mar 2003) + 07 Mar 2004; Don Seiler <do...@NO...> BUG #906905 Moved navigation into content area. |