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: <dts...@us...> - 2003-05-23 20:46:46
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/conf In directory sc8-pr-cvs1:/tmp/cvs-serv19913/conf Added Files: controlpanel.php Log Message: Adding controlpanel file --- NEW FILE: controlpanel.php --- <?php /** * @version $Id: controlpanel.php,v 1.1 2003/05/23 20:45:12 dtseiler Exp $ */ $image["name"] = "phpwsbb.png"; $image["alt"] = "Author: Don Seiler"; $link[] = array ("label"=>"Bulletin Board", "module"=>"phpwsbb", "url"=>"index.php?module=phpwsbb&PHPWSBB_MAN_OP=list", "image"=>$image, "description"=>"Blah blah blah", "tab"=>"content"); ?> |
From: <mh...@us...> - 2003-05-23 18:48:09
|
Update of /cvsroot/phpwebsite-comm/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv13855 Modified Files: README Log Message: word wrapped to 72 char Index: README =================================================================== RCS file: /cvsroot/phpwebsite-comm/scripts/README,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** README 23 May 2003 18:23:50 -0000 1.1.1.1 --- README 23 May 2003 18:30:08 -0000 1.2 *************** *** 1,3 **** ! conversion - contains scripts for CMS database, module, theme, etc. conversion to phpWebSite. Preferred script language is PHP. proj-admin - scripts for maintaining project shell.sf.net shell space. --- 1,4 ---- ! conversion - contains scripts for CMS database, module, theme, etc. ! conversion to phpWebSite. Preferred script language is PHP. proj-admin - scripts for maintaining project shell.sf.net shell space. |
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv24698 Modified Files: 1.1_cvs_repository.html 1.2_documents.html 1.3_file_release_system.html 1.4_trackers_tasks.html 1.5_mailing_lists_forums.html 1.6_shell_space_website.html Log Message: corrected SR link Index: 1.1_cvs_repository.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.1_cvs_repository.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 1.1_cvs_repository.html 23 May 2003 15:27:26 -0000 1.1 --- 1.1_cvs_repository.html 23 May 2003 15:48:01 -0000 1.2 *************** *** 14,18 **** <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit ! a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- 14,17 ---- <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=81360&atid=563509">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> Index: 1.2_documents.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.2_documents.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 1.2_documents.html 23 May 2003 15:27:27 -0000 1.1 --- 1.2_documents.html 23 May 2003 15:48:01 -0000 1.2 *************** *** 14,18 **** <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit ! a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- 14,17 ---- <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=81360&atid=563509">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> Index: 1.3_file_release_system.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.3_file_release_system.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 1.3_file_release_system.html 23 May 2003 15:27:27 -0000 1.1 --- 1.3_file_release_system.html 23 May 2003 15:48:01 -0000 1.2 *************** *** 14,18 **** <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit ! a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- 14,17 ---- <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=81360&atid=563509">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> Index: 1.4_trackers_tasks.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.4_trackers_tasks.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 1.4_trackers_tasks.html 23 May 2003 15:27:27 -0000 1.1 --- 1.4_trackers_tasks.html 23 May 2003 15:48:01 -0000 1.2 *************** *** 14,18 **** <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit ! a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- 14,17 ---- <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=81360&atid=563509">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> Index: 1.5_mailing_lists_forums.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.5_mailing_lists_forums.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 1.5_mailing_lists_forums.html 23 May 2003 15:27:27 -0000 1.1 --- 1.5_mailing_lists_forums.html 23 May 2003 15:48:01 -0000 1.2 *************** *** 14,18 **** <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit ! a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- 14,17 ---- <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=81360&atid=563509">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> Index: 1.6_shell_space_website.html =================================================================== RCS file: /cvsroot/phpwebsite-comm/documents/docmanager/en/1.6_shell_space_website.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** 1.6_shell_space_website.html 23 May 2003 15:27:27 -0000 1.1 --- 1.6_shell_space_website.html 23 May 2003 15:48:01 -0000 1.2 *************** *** 14,18 **** <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit ! a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- 14,17 ---- <!-- end document body --> <hr /> ! <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=81360&atid=563509">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> |
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv13068 Added Files: 1.1_cvs_repository.html 1.2_documents.html 1.3_file_release_system.html 1.4_trackers_tasks.html 1.5_mailing_lists_forums.html 1.6_shell_space_website.html Log Message: added project policy files --- NEW FILE: 1.1_cvs_repository.html --- <div style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> <!-- Title: CVS Repository --> <!-- Short description: structure, write access, and other policies --> <!-- Last modified: $Id: 1.1_cvs_repository.html,v 1.1 2003/05/23 15:27:26 mhnoyes Exp $ --> <!-- DocManager ID: 17109 --> <h3 style="font: small-caps bold 14pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif">CVS Repository</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 --> <!-- end document body --> <hr /> <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- NEW FILE: 1.2_documents.html --- <div style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> <!-- Title: Documents --> <!-- Short description: DocManager, HOWTO, Guide information --> <!-- Last modified: $Id: 1.2_documents.html,v 1.1 2003/05/23 15:27:27 mhnoyes Exp $ --> <!-- DocManager ID: 17110 --> <h3 style="font: small-caps bold 14pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif">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 --> <!-- end document body --> <hr /> <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- NEW FILE: 1.3_file_release_system.html --- <div style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> <!-- Title: File Release System (FRS) --> <!-- Short description: stub --> <!-- Last modified: $Id: 1.3_file_release_system.html,v 1.1 2003/05/23 15:27:27 mhnoyes Exp $ --> <!-- DocManager ID: 17111 --> <h3 style="font: small-caps bold 14pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif">File Release System (FRS)</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 --> <!-- end document body --> <hr /> <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- NEW FILE: 1.4_trackers_tasks.html --- <div style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> <!-- Title: Trackers and Tasks --> <!-- Short description: stub --> <!-- Last modified: $Id: 1.4_trackers_tasks.html,v 1.1 2003/05/23 15:27:27 mhnoyes Exp $ --> <!-- DocManager ID: 17112 --> <h3 style="font: small-caps bold 14pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif">Trackers and Tasks</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 --> <!-- end document body --> <hr /> <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- NEW FILE: 1.5_mailing_lists_forums.html --- <div style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> <!-- Title: Mailing Lists and Forums --> <!-- Short description: stub --> <!-- Last modified: $Id: 1.5_mailing_lists_forums.html,v 1.1 2003/05/23 15:27:27 mhnoyes Exp $ --> <!-- DocManager ID: 17113 --> <h3 style="font: small-caps bold 14pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif">Mailing Lists and Forums</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 --> <!-- end document body --> <hr /> <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> --- NEW FILE: 1.6_shell_space_website.html --- <div style="font: 12pt 'Vera Serif',Thorndale,'Times New Roman',Times,serif"> <!-- Title: Shell Space and Website --> <!-- Short description: stub --> <!-- Last modified: $Id: 1.6_shell_space_website.html,v 1.1 2003/05/23 15:27:27 mhnoyes Exp $ --> <!-- DocManager ID: 17114 --> <h3 style="font: small-caps bold 14pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif">Shell Space and Website</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 --> <!-- end document body --> <hr /> <p style="font: 10pt 'Vera Sans',Albany,Arial,Helvetica,sans-serif; margin-top: 0cm">If you still have questions or concern regarding this document, please feel free to <a href="/tracker/?func=add&group_id=13751&atid=213751">submit a support request</a>. A member of the phpWebSite Community project will be glad to assist you further.</p> </div> |
From: <dts...@us...> - 2003-05-23 04:09:31
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/manager In directory sc8-pr-cvs1:/tmp/cvs-serv19373/templates/manager Modified Files: list.tpl row.tpl Log Message: Updates Index: list.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/manager/list.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** list.tpl 22 May 2003 02:53:35 -0000 1.2 --- list.tpl 23 May 2003 04:09:28 -0000 1.3 *************** *** 4,7 **** --- 4,8 ---- <td width="100%" class="smalltext">{LABEL_LABEL}</td> <td align="center" valign="middle" class="smalltext">{OWNER_LABEL}</td> + <td align="center" valign="middle" class="smalltext">{REPLIES_LABEL}</td> <td align="center" valign="middle" nowrap="nowrap" class="smalltext">{CREATED_LABEL}</td> </tr> Index: row.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/manager/row.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** row.tpl 22 May 2003 02:53:35 -0000 1.1 --- row.tpl 23 May 2003 04:09:28 -0000 1.2 *************** *** 1,5 **** <tr{ROW_CLASS}> ! <td class="smalltext">{LABEL}</td> <td class="smalltext">{OWNER}</td> <td class="smalltext">{CREATED}</td> </tr> --- 1,7 ---- <tr{ROW_CLASS}> ! <td class="smalltext"> ! <a href="./index.php?module=phpwsbb&PHPWSBB_OP=view&PHPWSBB_id={ID}">{LABEL}</a></td> <td class="smalltext">{OWNER}</td> + <td class="smalltext">{REPLIES}</td> <td class="smalltext">{CREATED}</td> </tr> |
From: <dts...@us...> - 2003-05-23 04:09:31
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv19373/class Modified Files: Manager.php Message.php Log Message: Updates Index: Manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Manager.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Manager.php 22 May 2003 02:53:34 -0000 1.4 --- Manager.php 23 May 2003 04:09:28 -0000 1.5 *************** *** 17,20 **** --- 17,30 ---- + function _menu() { + $links = array(); + $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=list\">" . $_SESSION["translate"]->it("List Messages") . "</a>"; + $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=new\">" . $_SESSION["translate"]->it("Add New Message") . "</a>"; + + $menu = "<div align=\"right\">" . implode(" | ", $links) . "</div><br />"; + return $menu; + } + + function _list() { $GLOBALS["CNT_phpwsbb"]["title"] = $_SESSION["translate"]->it("Bulletin Board Messages"); *************** *** 24,28 **** $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=new\">" . $_SESSION["translate"]->it("Add New Message") . "</a>"; ! $GLOBALS["CNT_phpwsbb"]["content"] .= "<div align=\"right\">" . implode(" | ", $links) . "</div><br />"; $GLOBALS["CNT_phpwsbb"]["content"] .= $this->getList("messages", $_SESSION["translate"]->it("Bulletin Board Messages"), FALSE); --- 34,38 ---- $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=new\">" . $_SESSION["translate"]->it("Add New Message") . "</a>"; ! $GLOBALS["CNT_phpwsbb"]["content"] .= $this->_menu(); $GLOBALS["CNT_phpwsbb"]["content"] .= $this->getList("messages", $_SESSION["translate"]->it("Bulletin Board Messages"), FALSE); *************** *** 53,61 **** function action() { switch($_REQUEST["PHPWSBB_MAN_OP"]) { - /* - case "list": - $content = $this->_list(); - break; - */ case "new": $content = $this->_new(); --- 63,66 ---- Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Message.php 22 May 2003 02:53:34 -0000 1.5 --- Message.php 23 May 2003 04:09:28 -0000 1.6 *************** *** 7,19 **** class PHPWSBB_Message extends PHPWS_Item { ! var $_pid = 0; ! var $_guestname = NULL; ! var $_guestemail = NULL; ! var $_body = NULL; ! var $_sticky = 0; function PHPWSBB_Message($MESSAGE_ID = NULL) { /* These variable are excluded when calling commit() */ ! $exclude[] = ""; $this->addExclude($exclude); --- 7,85 ---- class PHPWSBB_Message extends PHPWS_Item { ! /** ! * The parent id of this message ! * ! * @var integer ! * @access private ! */ ! var $_pid = 0; ! ! /** ! * The name used by guest poster ! * ! * @var string ! * @access private ! */ ! var $_guestname = NULL; ! ! /** ! * The email address used by guest poster ! * ! * @var string ! * @access private ! */ ! var $_guestemail = NULL; ! ! /** ! * The body of the message ! * ! * @var string ! * @access private ! */ ! var $_body = NULL; ! ! /** ! * Sticky flag ! * ! * @var bit ! * @access private ! */ ! var $_sticky = 0; ! ! /** ! * Locked flag ! * ! * @var bit ! * @access private ! */ ! var $_locked = 0; ! ! /** ! * Number of replies to this message ! * ! * @var integer ! * @access private ! */ ! var $_replies = 0; ! ! /** ! * Timestamp of last post ! * ! * @var string ! * @access private ! */ ! var $_lastpost = NULL; ! ! /** ! * The ids of all the messages under this one ! * ! * @var array ! * @access private ! */ ! var $children = array(); function PHPWSBB_Message($MESSAGE_ID = NULL) { /* These variable are excluded when calling commit() */ ! $exclude = array("children","_replies","_lastpost"); $this->addExclude($exclude); *************** *** 25,29 **** --- 91,98 ---- $this->setId($MESSAGE_ID); $this->init(); + $sql = "SELECT id FROM " . $GLOBALS["core"]->tbl_prefix . "mod_phpwsbb_messages WHERE pid=" . $this->getId() . " ORDER BY created;"; + $this->children = $GLOBALS["core"]->getCol($sql); } + }// END FUNC PHPWSBB_Message *************** *** 43,46 **** --- 112,119 ---- $tags["GUESTEMAIL"] = $this->_guestemail; $tags["PID"] = $this->_pid; + $tags["STICKY"] = $this->_sticky; + $tags["LOCKED"] = $this->_locked; + $tags["REPLIES"] = $this->_replies; + $tags["LASTPOST"] = $this->_lastpost; $poster = $this->getOwner(); *************** *** 52,56 **** $tags["POSTED"] = $_SESSION["translate"]->it("Posted by [var1] on [var2]", $poster, $this->getCreated()); ! $tags["REPLY"] = $_SESSION["translate"]->it("Reply to Message"); // Need to cycle through all children still --- 125,129 ---- $tags["POSTED"] = $_SESSION["translate"]->it("Posted by [var1] on [var2]", $poster, $this->getCreated()); ! $tags["REPLY"] = "<a href=\"./index.php?module=phpwsbb&PHPWSBB_OP=reply&PHPWSBB_pid=" . $this->getId() . "\">" . $_SESSION["translate"]->it("Reply to Message") . "</a>"; // Need to cycle through all children still *************** *** 177,181 **** else $title = $_SESSION["translate"]->it("New Message"); ! $content = $this->_edit(); break; case "save": --- 250,255 ---- else $title = $_SESSION["translate"]->it("New Message"); ! $content = $_SESSION["PHPWSBB_Manager"]->_menu(); ! $content .= $this->_edit(); break; case "save": *************** *** 183,188 **** break; case "view": ! $content = $this->_view(); break; case "fork": case "lock": --- 257,264 ---- break; case "view": ! $content = $_SESSION["PHPWSBB_Manager"]->_menu(); ! $content .= $this->_view(); break; + case "delete": case "fork": case "lock": |
From: <dts...@us...> - 2003-05-23 04:09:31
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv19373/templates Modified Files: view.tpl Log Message: Updates Index: view.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/view.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** view.tpl 21 May 2003 21:56:24 -0000 1.1 --- view.tpl 23 May 2003 04:09:28 -0000 1.2 *************** *** 1,2 **** --- 1,3 ---- + {REPLY} <table border="0" cellpadding="1" cellspacing="0" width="100%"> <tr class="bg_medium"><td><h3>{SUBJECT}</h3></td></tr> |
From: <dts...@us...> - 2003-05-23 04:09:31
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/conf In directory sc8-pr-cvs1:/tmp/cvs-serv19373/conf Modified Files: manager.php Log Message: Updates Index: manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/conf/manager.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** manager.php 22 May 2003 02:53:35 -0000 1.3 --- manager.php 23 May 2003 04:09:28 -0000 1.4 *************** *** 14,21 **** $messagesColumns = array( "label"=>$_SESSION["translate"]->it("Subject"), "owner"=>$_SESSION["translate"]->it("Poster"), ! "created"=>$_SESSION["translate"]->it("Posted On") ! ); /* The actions to show in the defined "saved" list and their labels */ $messagesActions = array( "view"=>"View", "edit"=>"Edit", --- 14,25 ---- $messagesColumns = array( "label"=>$_SESSION["translate"]->it("Subject"), "owner"=>$_SESSION["translate"]->it("Poster"), ! "updated"=>$_SESSION["translate"]->it("Last Post"), ! //"replies"=>$_SESSION["translate"]->it("Replies"), ! "id"=>NULL, ! "locked"=>NULL, ! "sticky"=>NULL ); /* The actions to show in the defined "saved" list and their labels */ + /* $messagesActions = array( "view"=>"View", "edit"=>"Edit", *************** *** 24,29 **** --- 28,36 ---- "lock"=>"Lock" ); + */ + $messagesActions = array(); /* The permissions associated with the defined actions above */ + /* $messagesPermissions = array( "view"=>NULL, "edit"=>"edit_messages", *************** *** 32,35 **** --- 39,44 ---- "lock"=>"lock_threads" ); + */ + $messagesPermissions = array(); /* The paging parameters for the list */ |
From: <dts...@us...> - 2003-05-23 04:09:30
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/boost In directory sc8-pr-cvs1:/tmp/cvs-serv19373/boost Modified Files: install.sql Log Message: Updates Index: install.sql =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/boost/install.sql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** install.sql 22 May 2003 02:53:34 -0000 1.2 --- install.sql 23 May 2003 04:09:28 -0000 1.3 *************** *** 17,20 **** --- 17,21 ---- body text, sticky smallint, + locked smallint, PRIMARY KEY (id) ); |
From: <mh...@us...> - 2003-05-22 23:24:49
|
Update of /cvsroot/phpwebsite-comm/documents/docmanager/en In directory sc8-pr-cvs1:/tmp/cvs-serv19549/en Log Message: Directory /cvsroot/phpwebsite-comm/documents/docmanager/en added to the repository |
From: <dts...@us...> - 2003-05-22 03:01:57
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/manager In directory sc8-pr-cvs1:/tmp/cvs-serv13892/templates/manager Modified Files: list.tpl Added Files: row.tpl Log Message: Getting lists working --- NEW FILE: row.tpl --- <tr{ROW_CLASS}> <td class="smalltext">{LABEL}</td> <td class="smalltext">{OWNER}</td> <td class="smalltext">{CREATED}</td> </tr> Index: list.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/manager/list.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** list.tpl 20 May 2003 21:59:16 -0000 1.1 --- list.tpl 22 May 2003 02:53:35 -0000 1.2 *************** *** 1,9 **** <table border="0" width="100%" cellspacing="1" cellpadding="4"> <tr> ! <td class="bg_medium" width="100%"><a href="{THREAD_LINK}">{SUBJECT}</a></td> ! <td class="bg_medium" align="center" valign="middle">{REPLIES}</td> ! <td class="bg_medium" align="center" valign="middle">{AUTHOR}</td> ! <td class="bg_medium" align="center" valign="middle">{VIEWS}</td> ! <td class="bg_medium" align="center" valign="middle" nowrap="nowrap">{LASTPOSTTIME}<br />{LASTPOSTLINK}</td> </tr> </table> --- 1,15 ---- <table border="0" width="100%" cellspacing="1" cellpadding="4"> + <tr><td class="smalltext" colspan="3"><b>{TITLE}</b> {NAV_INFO}</td></tr> <tr> ! <td width="100%" class="smalltext">{LABEL_LABEL}</td> ! <td align="center" valign="middle" class="smalltext">{OWNER_LABEL}</td> ! <td align="center" valign="middle" nowrap="nowrap" class="smalltext">{CREATED_LABEL}</td> ! </tr> ! {LIST_ITEMS} ! ! <!-- BEGIN ACTION_STUFF --> ! <tr class="bg_medium"> ! <td colspan="3">{NAV_LIMITS}    {NAV_BACKWARD} {NAV_SECTIONS} {NAV_FORWARD}</td> </tr> + <!-- END ACTION_STUFF --> </table> |
From: <dts...@us...> - 2003-05-22 03:01:57
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/conf In directory sc8-pr-cvs1:/tmp/cvs-serv13892/conf Modified Files: manager.php Added Files: menuman.php Log Message: Getting lists working --- NEW FILE: menuman.php --- <?php /** * @version $Id: menuman.php,v 1.1 2003/05/22 02:53:35 dtseiler Exp $ * @author Don Seiler <do...@NO...> */ $link[$_SESSION['translate']->it("Bulletin Board")] = "index.php?module=phpwsbb&PHPWSBB_MAN_op=list"; ?> Index: manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/conf/manager.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** manager.php 20 May 2003 21:59:16 -0000 1.2 --- manager.php 22 May 2003 02:53:35 -0000 1.3 *************** *** 12,17 **** /* The columns to list for my defined "saved" list and their labels */ ! $messagesColumns = array( "id"=>$_SESSION["translate"]->it("ID"), ! "label"=>$_SESSION["translate"]->it("Label"), "owner"=>$_SESSION["translate"]->it("Poster"), "created"=>$_SESSION["translate"]->it("Posted On") --- 12,16 ---- /* The columns to list for my defined "saved" list and their labels */ ! $messagesColumns = array( "label"=>$_SESSION["translate"]->it("Subject"), "owner"=>$_SESSION["translate"]->it("Poster"), "created"=>$_SESSION["translate"]->it("Posted On") |
From: <dts...@us...> - 2003-05-22 03:01:14
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv13892/class Modified Files: Manager.php Message.php Log Message: Getting lists working Index: Manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Manager.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Manager.php 21 May 2003 15:54:12 -0000 1.3 --- Manager.php 22 May 2003 02:53:34 -0000 1.4 *************** *** 26,30 **** $GLOBALS["CNT_phpwsbb"]["content"] .= "<div align=\"right\">" . implode(" | ", $links) . "</div><br />"; ! $GLOBALS["CNT_phpwsbb"]["content"] .= $this->getList("messages", $_SESSION["translate"]->it("Bulletin Board Messages")); }// END FUNC _list --- 26,30 ---- $GLOBALS["CNT_phpwsbb"]["content"] .= "<div align=\"right\">" . implode(" | ", $links) . "</div><br />"; ! $GLOBALS["CNT_phpwsbb"]["content"] .= $this->getList("messages", $_SESSION["translate"]->it("Bulletin Board Messages"), FALSE); }// END FUNC _list *************** *** 53,56 **** --- 53,61 ---- function action() { switch($_REQUEST["PHPWSBB_MAN_OP"]) { + /* + case "list": + $content = $this->_list(); + break; + */ case "new": $content = $this->_new(); Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Message.php 21 May 2003 21:56:23 -0000 1.4 --- Message.php 22 May 2003 02:53:34 -0000 1.5 *************** *** 11,14 **** --- 11,15 ---- var $_guestemail = NULL; var $_body = NULL; + var $_sticky = 0; function PHPWSBB_Message($MESSAGE_ID = NULL) { |
From: <dts...@us...> - 2003-05-22 03:01:14
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/boost In directory sc8-pr-cvs1:/tmp/cvs-serv13892/boost Modified Files: install.sql Log Message: Getting lists working Index: install.sql =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/boost/install.sql,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** install.sql 20 May 2003 19:29:38 -0000 1.1 --- install.sql 22 May 2003 02:53:34 -0000 1.2 *************** *** 2,19 **** CREATE TABLE mod_phpwsbb_messages ( ! id int(10) NOT NULL default '0', ! owner varchar(20) binary default '', ! editor varchar(20) binary default '', ip text, label text NOT NULL, ! groups mediumtext, ! created int(11) NOT NULL default '0', ! updated int(11) NOT NULL default '0', ! hidden int(1) NOT NULL default '1', ! approved int(1) NOT NULL default '0', ! pid int(10) NOT NULL default '0', guestname varchar(50), guestemail varchar(80), body text, PRIMARY KEY (id) ); --- 2,20 ---- CREATE TABLE mod_phpwsbb_messages ( ! id int NOT NULL default '0', ! owner varchar(20) default '', ! editor varchar(20) default '', ip text, label text NOT NULL, ! groups text, ! created int NOT NULL default '0', ! updated int NOT NULL default '0', ! hidden smallint NOT NULL default '1', ! approved smallint NOT NULL default '0', ! pid int NOT NULL default '0', guestname varchar(50), guestemail varchar(80), body text, + sticky smallint, PRIMARY KEY (id) ); |
From: <gbr...@us...> - 2003-05-21 23:19:57
|
Update of /cvsroot/phpwebsite-comm/modules/jobman/docs In directory sc8-pr-cvs1:/tmp/cvs-serv30860 Removed Files: .DS_Store Log Message: removed inadvertantly imported file --- .DS_Store DELETED --- |
From: <gbr...@us...> - 2003-05-21 23:18:26
|
Update of /cvsroot/phpwebsite-comm/modules/jobman In directory sc8-pr-cvs1:/tmp/cvs-serv30110 Removed Files: .DS_Store Log Message: removed inadvertantly imported file --- .DS_Store DELETED --- |
From: <dts...@us...> - 2003-05-21 21:56:28
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv11998/class Modified Files: Message.php Log Message: Adding basic view capabilities Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Message.php 21 May 2003 15:54:13 -0000 1.3 --- Message.php 21 May 2003 21:56:23 -0000 1.4 *************** *** 10,14 **** var $_guestname = NULL; var $_guestemail = NULL; - var $_subject = NULL; var $_body = NULL; --- 10,13 ---- *************** *** 29,32 **** --- 28,63 ---- + function _view() { + $tags = array(); + + $tags["ID"] = $this->getId(); + $tags["OWNER"] = $this->getOwner(); + $tags["EDITOR"] = $this->getEditor(); + $tags["IP"] = $this->getIp(); + $tags["CREATED"] = $this->getCreated(); + $tags["UPDATED"] = $this->getUpdated(); + $tags["SUBJECT"] = $this->getLabel(); + $tags["BODY"] = $this->_body; + $tags["GUESTNAME"] = $this->_guestname; + $tags["GUESTEMAIL"] = $this->_guestemail; + $tags["PID"] = $this->_pid; + + $poster = $this->getOwner(); + if(empty($poster)) { + $poster = $this->guestname; + $posteremail = $this->guestemail; + } + + $tags["POSTED"] = $_SESSION["translate"]->it("Posted by [var1] on [var2]", $poster, $this->getCreated()); + + $tags["REPLY"] = $_SESSION["translate"]->it("Reply to Message"); + + // Need to cycle through all children still + + return $GLOBALS["core"]->processTemplate($tags, "phpwsbb", "view.tpl"); + + }// END FUNC _view + + function _edit() { if(!empty($this->_id) && !$_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_messages")) { *************** *** 81,85 **** /* Module Information */ $form->add("module", "hidden", "phpwsbb"); ! $form->add("PHPWSBB_op", "hidden", "save"); $form->add("Message_pid", "hidden", $_REQUEST["Message_pid"]); --- 112,116 ---- /* Module Information */ $form->add("module", "hidden", "phpwsbb"); ! $form->add("PHPWSBB_OP", "hidden", "save"); $form->add("Message_pid", "hidden", $_REQUEST["Message_pid"]); *************** *** 100,105 **** function _save() { if(!empty($this->_id) && !$_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_messages")) { - //$_REQUEST["PHPWSBB_MAN_OP"] = "access_denied"; - //$_SESSION["PHPWSBB_Manager"]->action(); $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); --- 131,134 ---- *************** *** 112,119 **** if(isset($_REQUEST["Message_body"])) ! $this->_body($_REQUEST["Message_body"]); if(isset($_REQUEST["Message_pid"])) ! $this->_pid($_REQUEST["Message_pid"]); $error = $this->commit(); --- 141,154 ---- if(isset($_REQUEST["Message_body"])) ! $this->_body = $_REQUEST["Message_body"]; if(isset($_REQUEST["Message_pid"])) ! $this->_pid = $_REQUEST["Message_pid"]; ! ! if(isset($_REQUEST["Message_guestname"])) ! $this->_guestname = $_REQUEST["Message_guestname"]; ! ! if(isset($_REQUEST["Message_guestemail"])) ! $this->_guestemail = $_REQUEST["Message_guestemail"]; $error = $this->commit(); *************** *** 145,149 **** --- 180,187 ---- case "save": $this->_save(); + break; case "view": + $content = $this->_view(); + break; case "fork": case "lock": |
From: <dts...@us...> - 2003-05-21 21:56:28
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv11998/templates Added Files: view.tpl Log Message: Adding basic view capabilities --- NEW FILE: view.tpl --- <table border="0" cellpadding="1" cellspacing="0" width="100%"> <tr class="bg_medium"><td><h3>{SUBJECT}</h3></td></tr> <tr valign="top"><td> <span class="smalltext">{POSTED}</span><br /> <hr size="1" width="100%" noshade /><br /> {BODY} </td></tr> </table> |
From: <dts...@us...> - 2003-05-21 15:54:16
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates In directory sc8-pr-cvs1:/tmp/cvs-serv26782/templates Added Files: edit.tpl Log Message: Got an edit screen! --- NEW FILE: edit.tpl --- {BACK} {START_FORM} <!-- BEGIN GUESTNAME --> {GUESTNAME_TEXT}:<br /> {MESSAGE_GUESTNAME}<br /><br /> <!-- END GUESTNAME --> <!-- BEGIN GUESTEMAIL --> {GUESTEMAIL_TEXT}:<br /> {MESSAGE_GUESTEMAIL}<br /><br /> <!-- END GUESTEMAIL --> <!-- BEGIN LABEL --> {LABEL_TEXT}:<br /> {MESSAGE_LABEL}<br /><br /> <!-- END LABEL --> <!-- BEGIN BODY --> {BODY_TEXT}:<br /> {MESSAGE_BODY}<br /><br /> <!-- END BODY --> {MESSAGE_SAVE} {END_FORM} |
From: <dts...@us...> - 2003-05-21 15:54:16
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv26782/class Modified Files: Manager.php Message.php Log Message: Got an edit screen! Index: Manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Manager.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Manager.php 20 May 2003 21:59:16 -0000 1.2 --- Manager.php 21 May 2003 15:54:12 -0000 1.3 *************** *** 45,48 **** --- 45,49 ---- function _accessDenied() { $message = $_SESSION["translate"]->it("Access was denied due to lack of proper permissions."); + $error = new PHPWS_Error("phpwsbb", "PHPWSBB_Manager::_accessDenied()", $message, "exit", 1); $error->message(); *************** *** 54,57 **** --- 55,59 ---- case "new": $content = $this->_new(); + break; case "access_denied": $this->_accessDenied(); Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Message.php 20 May 2003 21:59:16 -0000 1.2 --- Message.php 21 May 2003 15:54:13 -0000 1.3 *************** *** 30,37 **** function _edit() { ! if(!$_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_message")) { ! $_REQUEST["PHPWSBB_MAN_OP"] = "access_denied"; ! $_SESSION["PHPWSBB_Manager"]->action(); return FALSE; } --- 30,41 ---- function _edit() { ! if(!empty($this->_id) && !$_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_messages")) { ! //$_REQUEST["PHPWSBB_MAN_OP"] = "access_denied"; ! //$_SESSION["PHPWSBB_Manager"]->action(); ! $message = $_SESSION["translate"]->it("Access to edit message $this->_id was denied due to lack of proper permissions."); ! $error = new PHPWS_Error("phpwsbb", "PHPWSBB_Message::_edit()", $message, "exit", 1); ! $error->message(); return FALSE; + } *************** *** 44,47 **** --- 48,52 ---- /* Guest information, if not registered user */ if(empty($_SESSION["OBJ_user"]->user_id)) { + $tags["GUESTNAME_TEXT"] = $_SESSION["translate"]->it("Guest Name"); $form->add("Message_guestname", "text", $this->_guestname); $form->setSize("Message_guestname", 33); *************** *** 50,53 **** --- 55,59 ---- $tabs++; + $tags["GUESTEMAIL_TEXT"] = $_SESSION["translate"]->it("Guest Email"); $form->add("Message_guestemail", "text", $this->_guestemail); $form->setSize("Message_guestemail", 33); *************** *** 87,91 **** $tags["MESSAGE_BODY"] = $GLOBALS["core"]->js_insert("wysiwyg", "PHPWSBB_Message_edit", "Message_body") . $tags["MESSAGE_BODY"]; ! return $GLOBALS["core"]->processTemplate($tags, "phpwsbb", "editMessage.tpl"); }// END FUNC _edit --- 93,97 ---- $tags["MESSAGE_BODY"] = $GLOBALS["core"]->js_insert("wysiwyg", "PHPWSBB_Message_edit", "Message_body") . $tags["MESSAGE_BODY"]; ! return $GLOBALS["core"]->processTemplate($tags, "phpwsbb", "edit.tpl"); }// END FUNC _edit *************** *** 93,99 **** function _save() { ! if(!$_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_message")) { ! $_REQUEST["PHPWSBB_MAN_OP"] = "access_denied"; ! $_SESSION["PHPWSBB_Manager"]->action(); return FALSE; } --- 99,108 ---- function _save() { ! if(!empty($this->_id) && !$_SESSION["OBJ_user"]->allow_access("phpwsbb", "edit_messages")) { ! //$_REQUEST["PHPWSBB_MAN_OP"] = "access_denied"; ! //$_SESSION["PHPWSBB_Manager"]->action(); ! $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; } |
From: <mh...@us...> - 2003-05-21 14:17:31
|
Update of /cvsroot/phpwebsite-comm In directory sc8-pr-cvs1:/tmp/cvs-serv11905 Modified Files: README Log Message: made change to new member policy |
From: <dts...@us...> - 2003-05-20 22:19:04
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/conf In directory sc8-pr-cvs1:/tmp/cvs-serv6229/conf Modified Files: boost.php manager.php Log Message: Progress Index: boost.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/conf/boost.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** boost.php 20 May 2003 19:29:38 -0000 1.1 --- boost.php 20 May 2003 21:59:16 -0000 1.2 *************** *** 9,13 **** $mod_directory = "phpwsbb"; $mod_filename = "index.php"; - $admin_op = "&PHPWSBB_MAN_OP=Main"; $allow_view = "all"; $mod_icon = "phpwsbb.png"; --- 9,12 ---- *************** *** 16,19 **** --- 15,19 ---- $active = "on"; $version = "0.1.0"; + $admin_op = "&PHPWSBB_MAN_OP=list"; $mod_class_files = array("Message.php", "Manager.php"); Index: manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/conf/manager.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** manager.php 20 May 2003 19:29:38 -0000 1.1 --- manager.php 20 May 2003 21:59:16 -0000 1.2 *************** *** 6,10 **** /* The name of my lists and their corresponding database constraints */ ! $lists = array("messages"=>"WHERE approved=1"); /* The directory where my templates are located */ --- 6,10 ---- /* The name of my lists and their corresponding database constraints */ ! $lists = array("messages"=>"pid=0"); /* The directory where my templates are located */ *************** *** 35,39 **** /* The paging parameters for the list */ ! $messagesPaging = array( "op"=>"PHPWSBB_MAN_OP=Main", "limit"=>50, "secion"=>1, --- 35,39 ---- /* The paging parameters for the list */ ! $messagesPaging = array( "op"=>"PHPWSBB_MAN_OP=list", "limit"=>50, "secion"=>1, |
From: <dts...@us...> - 2003-05-20 22:18:56
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1:/tmp/cvs-serv6229/class Modified Files: Manager.php Message.php Log Message: Progress Index: Manager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Manager.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Manager.php 20 May 2003 19:29:38 -0000 1.1 --- Manager.php 20 May 2003 21:59:16 -0000 1.2 *************** *** 17,20 **** --- 17,46 ---- + function _list() { + $GLOBALS["CNT_phpwsbb"]["title"] = $_SESSION["translate"]->it("Bulletin Board Messages"); + + $links = array(); + $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=list\">" . $_SESSION["translate"]->it("List Messages") . "</a>"; + $links[] = "<a href=\"index.php?module=phpwsbb&PHPWSBB_MAN_OP=new\">" . $_SESSION["translate"]->it("Add New Message") . "</a>"; + + $GLOBALS["CNT_phpwsbb"]["content"] .= "<div align=\"right\">" . implode(" | ", $links) . "</div><br />"; + + $GLOBALS["CNT_phpwsbb"]["content"] .= $this->getList("messages", $_SESSION["translate"]->it("Bulletin Board Messages")); + }// END FUNC _list + + + function _view($id) { + $this->message = new PHPWSBB_Message($id[0]); + $_REQUEST["PHPWSBB_OP"] = "view"; + }// END FUNC _view + + + function _new() { + // Will pid be passed along so I don't need separate reply() function? + $this->message = new PHPWSBB_Message; + $_REQUEST["PHPWSBB_OP"] = "edit"; + }// END FUNC _new + + function _accessDenied() { $message = $_SESSION["translate"]->it("Access was denied due to lack of proper permissions."); *************** *** 26,35 **** function action() { switch($_REQUEST["PHPWSBB_MAN_OP"]) { ! case "main": ! $content = $this->_list(); case "access_denied": $this->_accessDenied(); break; } }// END FUNC action } --- 52,62 ---- function action() { switch($_REQUEST["PHPWSBB_MAN_OP"]) { ! case "new": ! $content = $this->_new(); case "access_denied": $this->_accessDenied(); break; } + }// END FUNC action } Index: Message.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Message.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Message.php 20 May 2003 19:29:38 -0000 1.1 --- Message.php 20 May 2003 21:59:16 -0000 1.2 *************** *** 103,107 **** if(isset($_REQUEST["Message_body"])) ! $this->setLabel($_REQUEST["Message_body"]); $error = $this->commit(); --- 103,110 ---- if(isset($_REQUEST["Message_body"])) ! $this->_body($_REQUEST["Message_body"]); ! ! if(isset($_REQUEST["Message_pid"])) ! $this->_pid($_REQUEST["Message_pid"]); $error = $this->commit(); |
From: <dts...@us...> - 2003-05-20 22:18:36
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/manager In directory sc8-pr-cvs1:/tmp/cvs-serv6229/templates/manager Added Files: list.tpl Log Message: Progress --- NEW FILE: list.tpl --- <table border="0" width="100%" cellspacing="1" cellpadding="4"> <tr> <td class="bg_medium" width="100%"><a href="{THREAD_LINK}">{SUBJECT}</a></td> <td class="bg_medium" align="center" valign="middle">{REPLIES}</td> <td class="bg_medium" align="center" valign="middle">{AUTHOR}</td> <td class="bg_medium" align="center" valign="middle">{VIEWS}</td> <td class="bg_medium" align="center" valign="middle" nowrap="nowrap">{LASTPOSTTIME}<br />{LASTPOSTLINK}</td> </tr> </table> |
From: <dts...@us...> - 2003-05-20 21:43:38
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/boost In directory sc8-pr-cvs1:/tmp/cvs-serv31747/boost Modified Files: uninstall.php Log Message: Need to set status otherwise it assumes failure Index: uninstall.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/boost/uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** uninstall.php 20 May 2003 19:29:38 -0000 1.1 --- uninstall.php 20 May 2003 21:43:35 -0000 1.2 *************** *** 10,21 **** } ! if($GLOBALS["core"]->sqlImport(PHPWS_SOURCE_DIR . "mod/phpwsbb/boost/uninstall.sql", 1, 1)) { $content .= "All Bulletin Board tables successfully removed!<br />"; if(isset($_SESSION["OBJ_search"])) ! $GLOBALS["core"]->sqlDelete("mod_search_register", "module", "phpwsbb"); } else { ! $content .= "There wa a problem writing to the database.<br />"; $status = 0; } --- 10,21 ---- } ! if($status = $GLOBALS["core"]->sqlImport(PHPWS_SOURCE_DIR . "mod/phpwsbb/boost/uninstall.sql", 1, 1)) { $content .= "All Bulletin Board tables successfully removed!<br />"; if(isset($_SESSION["OBJ_search"])) ! $status = $GLOBALS["core"]->sqlDelete("mod_search_register", "module", "phpwsbb"); } else { ! $content .= "There was a problem writing to the database.<br />"; $status = 0; } |