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: Greg M. <bli...@us...> - 2008-09-17 02:42:59
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/locale/en_US/LC_MESSAGES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22324/locale/en_US/LC_MESSAGES Modified Files: mailinglists.po Log Message: Added more error checks when sending emails to help the debugging of future issues. Index: mailinglists.po =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/locale/en_US/LC_MESSAGES/mailinglists.po,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mailinglists.po 2 Jan 2008 21:59:32 -0000 1.1 --- mailinglists.po 17 Sep 2008 02:43:08 -0000 1.2 *************** *** 22,31 **** "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" ! "POT-Creation-Date: 2008-01-02 11:16-0600\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" ! "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" --- 22,31 ---- "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" ! "POT-Creation-Date: 2008-09-16 21:39-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" "MIME-Version: 1.0\n" ! "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" *************** *** 189,192 **** --- 189,198 ---- msgstr "" + msgid "Failed to set from address." + msgstr "" + + msgid "Failed to set to address." + msgstr "" + msgid "Footer Message (HTML)" msgstr "" |
|
From: Greg M. <bli...@us...> - 2008-09-17 02:42:57
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22324/inc Modified Files: errorDefines.php Log Message: Added more error checks when sending emails to help the debugging of future issues. Index: errorDefines.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/inc/errorDefines.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** errorDefines.php 2 Jan 2008 21:59:30 -0000 1.1 --- errorDefines.php 17 Sep 2008 02:43:06 -0000 1.2 *************** *** 24,28 **** */ ! define('MAILINGLISTS_OBJ_INCOMPLETE', -1); ?> \ No newline at end of file --- 24,30 ---- */ ! define('MAILINGLISTS_OBJ_INCOMPLETE', -1); ! define('MAILINGLISTS_MAIL_SET_FROM_FAILED', -2); ! define('MAILINGLISTS_MAIL_SEND_TO_FAILED', -3); ?> \ No newline at end of file |
|
From: Greg M. <bli...@us...> - 2008-09-16 04:02:18
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3765/docs Modified Files: changelog.txt Log Message: Fixed issue sending emails with apostrophe in from or subject. Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/changelog.txt,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** changelog.txt 23 Aug 2008 21:38:25 -0000 1.54 --- changelog.txt 16 Sep 2008 04:02:27 -0000 1.55 *************** *** 7,10 **** --- 7,14 ---- + *cvs + + - BUG #2109418: Fixed issue sending emails with an apostrophe in "from" or "subject". + *mailinglists-1.2.0 (23 Aug 2008) |
|
From: Greg M. <bli...@us...> - 2008-09-16 04:02:17
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3765/class Modified Files: Email.php List.php Log Message: Fixed issue sending emails with apostrophe in from or subject. Index: List.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/class/List.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** List.php 2 Jan 2008 21:59:25 -0000 1.1 --- List.php 16 Sep 2008 04:02:23 -0000 1.2 *************** *** 219,225 **** function getFromName($format=true) { ! if ($format) { ! return PHPWS_Text::parseOutput($this->from_name); } --- 219,226 ---- function getFromName($format=true) { ! /* Do not call parseOutput here! Breaks the sending of emails. */ ! if (($format) && !defined(ALLOW_PROFANITY)) { ! return PHPWS_Text::profanityFilter(PHPWS_Text::decodeText($this->from_name)); } *************** *** 248,254 **** function getSubjectPrefix($format=true) { ! if ($format) { ! return PHPWS_Text::parseOutput($this->subject_prefix); } --- 249,256 ---- function getSubjectPrefix($format=true) { ! /* Do not call parseOutput here! Breaks the sending of emails. */ ! if (($format) && !defined(ALLOW_PROFANITY)) { ! return PHPWS_Text::profanityFilter(PHPWS_Text::decodeText($this->subject_prefix)); } Index: Email.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/class/Email.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Email.php 23 Aug 2008 17:03:16 -0000 1.5 --- Email.php 16 Sep 2008 04:02:23 -0000 1.6 *************** *** 304,313 **** $mail = new PHPWS_Mail; $mail->addSendTo($send_to); ! $mail->setFrom($list->getFromName() . ' <' . $list->getFromEmail() . '>'); /* If the email is a list_id of 0, it means this is not a mass mailing, rather a module email. */ if ($this->getListId() == 0) { ! $mail->setSubject($this->getSubject()); $mail->setMessageBody($this->getMsgText()); } --- 304,313 ---- $mail = new PHPWS_Mail; $mail->addSendTo($send_to); ! $mail->setFrom('"' . $list->getFromName() . '" <' . $list->getFromEmail() . '>'); /* If the email is a list_id of 0, it means this is not a mass mailing, rather a module email. */ if ($this->getListId() == 0) { ! $mail->setSubject($this->getSubject(false)); $mail->setMessageBody($this->getMsgText()); } *************** *** 317,325 **** if (PHPWS_Settings::get('mailinglists', 'subject_prefix')) { ! $mail->setSubject($list->getSubjectPrefix() . ' ' . $this->getSubject()); } else { ! $mail->setSubject($this->getSubject()); } --- 317,325 ---- if (PHPWS_Settings::get('mailinglists', 'subject_prefix')) { ! $mail->setSubject($list->getSubjectPrefix() . ' ' . $this->getSubject(false)); } else { ! $mail->setSubject($this->getSubject(false)); } |
|
From: Eloi G. <ada...@us...> - 2008-09-12 07:12:31
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7644/class Modified Files: Forum.php BB_Lists.php Topic.php Log Message: I think the initial commit was of an older version... This fixes stuff. Index: BB_Lists.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/BB_Lists.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BB_Lists.php 23 Aug 2008 04:19:14 -0000 1.1 --- BB_Lists.php 12 Sep 2008 07:12:03 -0000 1.2 *************** *** 247,251 **** $tpl['VIEWS_LBL'] = dgettext('phpwsbb', 'Views'); $tpl['TOTAL_VIEWS'] = $data['times_viewed']; ! //test($tpl); return $tpl; } --- 247,251 ---- $tpl['VIEWS_LBL'] = dgettext('phpwsbb', 'Views'); $tpl['TOTAL_VIEWS'] = $data['times_viewed']; ! return $tpl; } Index: Topic.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Topic.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Topic.php 23 Aug 2008 04:19:14 -0000 1.1 --- Topic.php 12 Sep 2008 07:12:03 -0000 1.2 *************** *** 306,311 **** /* Construct editform tags */ ! $form = new PHPWS_Form; ! $form->addHidden('module', 'phpwsbb'); if ($this->id) $form->addHidden('topic', $this->id); --- 306,311 ---- /* Construct editform tags */ ! $form = new PHPWS_Form; ! $form->setAction('index.php?module=phpwsbb'); if ($this->id) $form->addHidden('topic', $this->id); Index: Forum.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Forum.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Forum.php 23 Aug 2008 04:19:14 -0000 1.1 --- Forum.php 12 Sep 2008 07:12:03 -0000 1.2 *************** *** 262,266 **** $pager->setLink($link); ! $pager->addPageTags($this->getStatusTags()); $content = $pager->get(); if (PHPWS_Error::logIfError($content)) --- 262,266 ---- $pager->setLink($link); ! $pager->addPageTags($this->_get_tags() + $this->getStatusTags()); $content = $pager->get(); if (PHPWS_Error::logIfError($content)) |
|
From: Eloi G. <ada...@us...> - 2008-09-12 07:12:04
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7644/boost Modified Files: uninstall.php controlpanel.php Log Message: I think the initial commit was of an older version... This fixes stuff. 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 23 Aug 2008 04:19:20 -0000 1.1 --- uninstall.php 12 Sep 2008 07:12:12 -0000 1.2 *************** *** 10,14 **** PHPWS_DB::dropTable('phpwsbb_forums'); PHPWS_DB::dropTable('phpwsbb_topics'); ! PHPWS_DB::dropTable('phpwsbb_users'); $content[] = dgettext('phpwsbb', 'Bulletin Board tables removed.'); return TRUE; --- 10,15 ---- PHPWS_DB::dropTable('phpwsbb_forums'); PHPWS_DB::dropTable('phpwsbb_topics'); ! PHPWS_DB::dropTable('phpwsbb_users'); ! PHPWS_DB::dropTable('phpwsbb_moderators'); $content[] = dgettext('phpwsbb', 'Bulletin Board tables removed.'); return TRUE; Index: controlpanel.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/boost/controlpanel.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** controlpanel.php 23 Aug 2008 04:19:20 -0000 1.1 --- controlpanel.php 12 Sep 2008 07:12:12 -0000 1.2 *************** *** 9,13 **** $link[] = array ('label' => dgettext('phpwsbb', 'phpWs Bulletin Board'), 'restricted' => TRUE, ! 'url' => 'index.php?module=phpwsbb&op=settings', 'description' => 'A bulletin board module.', 'image' => 'phpwsbb.png', --- 9,13 ---- $link[] = array ('label' => dgettext('phpwsbb', 'phpWs Bulletin Board'), 'restricted' => TRUE, ! 'url' => 'index.php?module=phpwsbb&op=config', 'description' => 'A bulletin board module.', 'image' => 'phpwsbb.png', |
|
From: Eloi G. <ada...@us...> - 2008-09-12 07:12:02
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7644/templates Modified Files: forum.tpl Log Message: I think the initial commit was of an older version... This fixes stuff. Index: forum.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/templates/forum.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** forum.tpl 23 Aug 2008 04:19:18 -0000 1.1 --- forum.tpl 12 Sep 2008 07:12:11 -0000 1.2 *************** *** 13,17 **** --- 13,19 ---- <p>{CATEGORY_TEXT}: {CATEGORY_LINKS}</p> <!-- END CAT --> + <!-- BEGIN MODRTRS --> <p>{FORUM_MODERATORS_LBL}: {FORUM_MODERATORS}</p> + <!-- END MODRTRS --> {FORUM_ADD_TOPIC_BTN} |
|
From: Greg M. <bli...@us...> - 2008-08-23 21:38:19
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24358/docs Modified Files: changelog.txt Log Message: Releasing 1.2.0 Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/changelog.txt,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** changelog.txt 23 Aug 2008 19:47:04 -0000 1.53 --- changelog.txt 23 Aug 2008 21:38:25 -0000 1.54 *************** *** 7,11 **** ! *cvs - RFE #1274746: Purge subscribers who haven't activated in over 2 days. --- 7,11 ---- ! *mailinglists-1.2.0 (23 Aug 2008) - RFE #1274746: Purge subscribers who haven't activated in over 2 days. |
|
From: Greg M. <bli...@us...> - 2008-08-23 19:47:25
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12069/class Modified Files: Runtime.php Log Message: Purge subscribers who haven't activated in over 2 days. Index: Runtime.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/class/Runtime.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Runtime.php 2 Jan 2008 21:59:25 -0000 1.1 --- Runtime.php 23 Aug 2008 19:47:00 -0000 1.2 *************** *** 236,239 **** --- 236,250 ---- $db->unlockTables(); } + + function cleanup() + { + /* Purge subscribers who haven't activated in over 2 days. */ + $clean_time = (mktime() - (86400*2)); + + $db = new PHPWS_DB('mailinglists_subscribers'); + $db->addWhere('subscribed', $clean_time, '<'); + $db->addWhere('active', 0); + PHPWS_Error::logIfError($db->delete()); + } } |
|
From: Greg M. <bli...@us...> - 2008-08-23 19:47:23
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12069/boost Modified Files: update.php Log Message: Purge subscribers who haven't activated in over 2 days. Index: update.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/update.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** update.php 23 Aug 2008 18:08:25 -0000 1.22 --- update.php 23 Aug 2008 19:46:57 -0000 1.23 *************** *** 49,52 **** --- 49,53 ---- mailinglists_update_files($files, $content); + $content[] = '- Purge subscribers who haven\'t activated in over 2 days.'; $content[] = '- File Cabinet added to email forms for HTML messages.'; $content[] = '- Emails are now templated.'; |
|
From: Greg M. <bli...@us...> - 2008-08-23 19:46:58
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12069/inc Modified Files: close.php Log Message: Purge subscribers who haven't activated in over 2 days. Index: close.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/inc/close.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** close.php 2 Jan 2008 21:59:30 -0000 1.1 --- close.php 23 Aug 2008 19:47:06 -0000 1.2 *************** *** 26,29 **** --- 26,30 ---- MailingLists_Runtime::showBlock(); MailingLists_Runtime::sendEmail(); + MailingLists_Runtime::cleanup(); ?> \ No newline at end of file |
|
From: Greg M. <bli...@us...> - 2008-08-23 19:46:58
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12069/docs Modified Files: changelog.txt Log Message: Purge subscribers who haven't activated in over 2 days. Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/changelog.txt,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** changelog.txt 23 Aug 2008 17:03:18 -0000 1.52 --- changelog.txt 23 Aug 2008 19:47:04 -0000 1.53 *************** *** 9,12 **** --- 9,13 ---- *cvs + - RFE #1274746: Purge subscribers who haven't activated in over 2 days. - File Cabinet added to email forms for HTML messages. - Emails are now templated (email/send_html.tpl and email/send_text.tpl). |
|
From: Greg M. <bli...@us...> - 2008-08-23 19:01:10
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26362/class Modified Files: MyPage.php Log Message: File Cabinet added to email forms for HTML messages. Index: MyPage.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/class/MyPage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MyPage.php 22 Aug 2008 03:15:46 -0000 1.3 --- MyPage.php 23 Aug 2008 19:01:13 -0000 1.4 *************** *** 236,239 **** --- 236,241 ---- } + PHPWS_Core::initModClass('filecabinet', 'Cabinet.php'); + $form = new PHPWS_Form; $form->addHidden('module', 'users'); *************** *** 250,264 **** $form->setRows('msg_html', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_html', '80%'); - $form->setLabel('msg_html', dgettext('mailinglists', 'Message (HTML)')); $form->useEditor('msg_html'); $form->addTextArea('msg_text', $email->getMsgText(false)); $form->setRows('msg_text', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_text', '80%'); - $form->setLabel('msg_text', dgettext('mailinglists', 'Message (Plain Text)')); $form->addSubmit('submit', dgettext('mailinglists', 'Send Email (Do Not Click Twice)')); $template = $form->getTemplate(); if (isset($errors['subject'])) { --- 252,270 ---- $form->setRows('msg_html', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_html', '80%'); $form->useEditor('msg_html'); + $manager = Cabinet::fileManager('file_id', $email->getFileId()); + $form->addTplTag('FILE_MANAGER', $manager->get()); + $form->addTextArea('msg_text', $email->getMsgText(false)); $form->setRows('msg_text', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_text', '80%'); $form->addSubmit('submit', dgettext('mailinglists', 'Send Email (Do Not Click Twice)')); $template = $form->getTemplate(); + $template['HTML_EMAIL_LEGEND'] = dgettext('mailinglists', 'Message (HTML)'); + $template['TEXT_EMAIL_LEGEND'] = dgettext('mailinglists', 'Message (Plain Text)'); + if (isset($errors['subject'])) { *************** *** 279,283 **** $errors['subject'] = dgettext('mailinglists', 'You must have a subject.'); } ! if (empty($_POST['msg_text']) && empty($_POST['msg_html'])) { $errors['body'] = dgettext('mailinglists', 'You must have a message body.'); --- 285,289 ---- $errors['subject'] = dgettext('mailinglists', 'You must have a subject.'); } ! if (empty($_POST['msg_text']) && (strlen($_POST['msg_html']) < 15)) { $errors['body'] = dgettext('mailinglists', 'You must have a message body.'); *************** *** 287,290 **** --- 293,297 ---- $email->setMsgText($_POST['msg_text']); $email->setMsgHtml($_POST['msg_html']); + $email->setFileId($_POST['file_id']); $email->setUserId(Current_User::getId()); $email->setListId($list->getId()); *************** *** 459,463 **** $email->setMsgHtml(NULL); $email->setUserId(0); ! $email->setListId(0); // Settings the true ID would cause this email to appear in archive $email->setApproved(1); $email->setSubject(sprintf(dgettext('mailinglists', 'Confirmation Email: %s'), $list->getName())); --- 466,470 ---- $email->setMsgHtml(NULL); $email->setUserId(0); ! $email->setListId(0); // Setting the true ID would cause this email to appear in archive $email->setApproved(1); $email->setSubject(sprintf(dgettext('mailinglists', 'Confirmation Email: %s'), $list->getName())); |
|
From: Greg M. <bli...@us...> - 2008-08-23 18:08:18
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4712/boost Modified Files: boost.php dependency.xml update.php Log Message: Preparing for 1.2.0 Index: dependency.xml =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/dependency.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** dependency.xml 22 Aug 2008 03:15:44 -0000 1.3 --- dependency.xml 23 Aug 2008 18:08:25 -0000 1.4 *************** *** 13,15 **** --- 13,21 ---- <url>http://phpwebsite.appstate.edu/downloads/modules/users/</url> </module> + <module> + <title>filecabinet</title> + <properName>File Cabinet</properName> + <version>2.0.0</version> + <url>http://phpwebsite.appstate.edu/downloads/modules/filecabinet/</url> + </module> </dependency> Index: boost.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/boost.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** boost.php 11 Jun 2008 02:53:28 -0000 1.2 --- boost.php 23 Aug 2008 18:08:25 -0000 1.3 *************** *** 25,29 **** $proper_name = 'Mailing Lists'; ! $version = '1.1.0'; $register = FALSE; $unregister = FALSE; --- 25,29 ---- $proper_name = 'Mailing Lists'; ! $version = '1.2.0'; $register = FALSE; $unregister = FALSE; Index: update.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/update.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** update.php 11 Jun 2008 02:53:28 -0000 1.21 --- update.php 23 Aug 2008 18:08:25 -0000 1.22 *************** *** 30,33 **** --- 30,57 ---- case version_compare($currentVersion, '1.1.0', '<'): $content[] = '- Purge deleted site users.'; + + case version_compare($currentVersion, '1.2.0', '<'): + $db = new PHPWS_DB('mailinglists_emails'); + + /* Add new column to email table */ + if (PHPWS_Error::logIfError($db->addTableColumn('file_id', 'INT NOT NULL', 'msg_html'))) + { + $content[] = '- Unable to create table column file_id in mailinglists_emails table.'; + return false; + } + + /* Update the templates */ + $files = array('templates/email/edit.tpl', + 'templates/email/send_html.tpl', + 'templates/email/send_text.tpl', + 'templates/email/view.tpl', + 'templates/list/edit.tpl'); + mailinglists_update_files($files, $content); + + $content[] = '- File Cabinet added to email forms for HTML messages.'; + $content[] = '- Emails are now templated.'; + $content[] = '- Added workaround for issue where emails could be sent with relative URLs.'; + $content[] = '- Now call cacheQueries on all DBPagers to retain pager settings.'; + $content[] = '- Support Smart Tags in HTML emails.'; } *************** *** 35,37 **** --- 59,78 ---- } + function mailinglists_update_files($files, &$content) + { + if (PHPWS_Boost::updateFiles($files, 'mailinglists')) + { + $content[] = '- Updated the following files:'; + } + else + { + $content[] = '- Unable to update the following files:'; + } + + foreach ($files as $file) + { + $content[] = '--- ' . $file; + } + } + ?> \ No newline at end of file |
|
From: Greg M. <bli...@us...> - 2008-08-23 17:03:39
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11197/docs Modified Files: changelog.txt Log Message: File Cabinet added to email forms for HTML messages. Index: changelog.txt =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/docs/changelog.txt,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** changelog.txt 23 Aug 2008 02:55:13 -0000 1.51 --- changelog.txt 23 Aug 2008 17:03:18 -0000 1.52 *************** *** 9,12 **** --- 9,13 ---- *cvs + - File Cabinet added to email forms for HTML messages. - Emails are now templated (email/send_html.tpl and email/send_text.tpl). - Added workaround for issue where emails could be sent with relative URLs. |
|
From: Greg M. <bli...@us...> - 2008-08-23 17:03:38
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11197/class Modified Files: Email.php MailingListsManager.php Log Message: File Cabinet added to email forms for HTML messages. Index: MailingListsManager.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/class/MailingListsManager.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MailingListsManager.php 22 Aug 2008 03:15:45 -0000 1.2 --- MailingListsManager.php 23 Aug 2008 17:03:16 -0000 1.3 *************** *** 493,496 **** --- 493,498 ---- } + PHPWS_Core::initModClass('filecabinet', 'Cabinet.php'); + $form = new PHPWS_Form; $form->addHidden('module', 'mailinglists'); *************** *** 505,519 **** $form->setRows('msg_html', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_html', '80%'); - $form->setLabel('msg_html', dgettext('mailinglists', 'Message (HTML)')); $form->useEditor('msg_html'); $form->addTextArea('msg_text', $email->getMsgText(false)); $form->setRows('msg_text', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_text', '80%'); - $form->setLabel('msg_text', dgettext('mailinglists', 'Message (Plain Text)')); $form->addSubmit('submit', dgettext('mailinglists', 'Send Email (Do Not Click Twice)')); $template = $form->getTemplate(); if (isset($errors['subject'])) { --- 507,525 ---- $form->setRows('msg_html', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_html', '80%'); $form->useEditor('msg_html'); + $manager = Cabinet::fileManager('file_id', $email->getFileId()); + $form->addTplTag('FILE_MANAGER', $manager->get()); + $form->addTextArea('msg_text', $email->getMsgText(false)); $form->setRows('msg_text', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_text', '80%'); $form->addSubmit('submit', dgettext('mailinglists', 'Send Email (Do Not Click Twice)')); $template = $form->getTemplate(); + $template['HTML_EMAIL_LEGEND'] = dgettext('mailinglists', 'Message (HTML)'); + $template['TEXT_EMAIL_LEGEND'] = dgettext('mailinglists', 'Message (Plain Text)'); + if (isset($errors['subject'])) { *************** *** 542,546 **** $errors['subject'] = dgettext('mailinglists', 'You must have a subject.'); } ! if (empty($_POST['msg_text']) && empty($_POST['msg_html'])) { $errors['body'] = dgettext('mailinglists', 'You must have a message body.'); --- 548,552 ---- $errors['subject'] = dgettext('mailinglists', 'You must have a subject.'); } ! if (empty($_POST['msg_text']) && (strlen($_POST['msg_html']) < 15)) { $errors['body'] = dgettext('mailinglists', 'You must have a message body.'); *************** *** 550,553 **** --- 556,560 ---- $email->setMsgText($_POST['msg_text']); $email->setMsgHtml($_POST['msg_html']); + $email->setFileId($_POST['file_id']); $email->setUserId(Current_User::getId()); $email->setListId($list->getId()); *************** *** 843,846 **** --- 850,855 ---- } + PHPWS_Core::initModClass('filecabinet', 'Cabinet.php'); + $form = new PHPWS_Form; $form->addHidden('module', 'mailinglists'); *************** *** 854,864 **** $form->setRows('msg_html', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_html', '80%'); - $form->setLabel('msg_html', dgettext('mailinglists', 'Message (HTML)')); $form->useEditor('msg_html'); $form->addTextArea('msg_text', $email->getMsgText(false)); $form->setRows('msg_text', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_text', '80%'); - $form->setLabel('msg_text', dgettext('mailinglists', 'Message (Plain Text)')); if (empty($email->id)) --- 863,874 ---- $form->setRows('msg_html', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_html', '80%'); $form->useEditor('msg_html'); + $manager = Cabinet::fileManager('file_id', $email->getFileId()); + $form->addTplTag('FILE_MANAGER', $manager->get()); + $form->addTextArea('msg_text', $email->getMsgText(false)); $form->setRows('msg_text', MAILINGLISTS_TEXTAREA_ROWS); $form->setWidth('msg_text', '80%'); if (empty($email->id)) *************** *** 873,876 **** --- 883,889 ---- $template = $form->getTemplate(); + $template['HTML_EMAIL_LEGEND'] = dgettext('mailinglists', 'Message (HTML)'); + $template['TEXT_EMAIL_LEGEND'] = dgettext('mailinglists', 'Message (Plain Text)'); + if (isset($errors['subject'])) { *************** *** 891,894 **** --- 904,908 ---- $email->setMsgText($_POST['msg_text']); $email->setMsgHtml($_POST['msg_html']); + $email->setFileId($_POST['file_id']); $email->setUserId(Current_User::getId()); $email->setApproved(0); *************** *** 975,978 **** --- 989,993 ---- $email->setSubject($blog->title); + $email->setFileId($blog->image_id); /* Not calling the setMsgHtml function because the summary is already parsed and encoded. */ Index: Email.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/class/Email.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Email.php 23 Aug 2008 02:55:12 -0000 1.4 --- Email.php 23 Aug 2008 17:03:16 -0000 1.5 *************** *** 31,34 **** --- 31,35 ---- var $msg_text = NULL; var $msg_html = NULL; + var $file_id = 0; var $created = 0; var $user_id = 0; *************** *** 115,120 **** if ($format) { - $address = PHPWS_Core::getHomeHttp(); - /* Support Smart Tags */ $text = PHPWS_Text::parseTag($this->msg_html); --- 116,119 ---- *************** *** 122,131 **** /* Need to add full URL since the text is going into emails. */ ! $src[] = '@(src|href)="\./@'; ! $rpl[] = "\\1=\"$address"; ! $src[] = '@(src|href)="(images|index.php)@'; ! $rpl[] = "\\1=\"$address\\2"; ! ! return preg_replace($src, $rpl, $text); } --- 121,125 ---- /* Need to add full URL since the text is going into emails. */ ! return $this->makeAbsolute($text); } *************** *** 133,136 **** --- 127,140 ---- } + function setFileId($file_id) + { + $this->file_id = (int)$file_id; + } + + function getFileId() + { + return $this->file_id; + } + function setCreated() { *************** *** 166,169 **** --- 170,198 ---- } + function makeAbsolute($text) + { + $address = PHPWS_Core::getHomeHttp(); + + $src[] = '@(src|href)="\./@'; + $rpl[] = "\\1=\"$address"; + $src[] = '@(src|href)="(images|index.php|filecabinet)@'; + $rpl[] = "\\1=\"$address\\2"; + + return preg_replace($src, $rpl, $text); + } + + function getFile() + { + if ($this->getFileId()) + { + PHPWS_Core::initModClass('filecabinet', 'Cabinet.php'); + + $file = Cabinet::getFile($this->getFileId()); + return $this->makeAbsolute($file->getTag()); + } + + return NULL; + } + function save() { *************** *** 179,187 **** $db = new PHPWS_DB('mailinglists_emails'); ! $result = $db->saveObject($this); ! if (PEAR::isError($result)) ! { ! return $result; ! } } --- 208,212 ---- $db = new PHPWS_DB('mailinglists_emails'); ! return $db->saveObject($this); } *************** *** 269,272 **** --- 294,298 ---- $template['SUBJECT'] = $this->getSubject(); $template['MESSAGE'] = $this->getMsgHtml(); + $template['FILE'] = $this->getFile(); return PHPWS_Template::process($template, 'mailinglists', 'email/view.tpl'); } *************** *** 333,336 **** --- 359,364 ---- if ($subscriber->getHtml(false)) { + $tpl_html['FILE'] = $this->getFile(); + $mail->setHTMLBody(PHPWS_Template::process($tpl_html, 'mailinglists', 'email/send_html.tpl')); } |
|
From: Greg M. <bli...@us...> - 2008-08-23 17:03:37
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11197/boost Modified Files: install.sql Log Message: File Cabinet added to email forms for HTML messages. Index: install.sql =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/boost/install.sql,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** install.sql 2 Jan 2008 21:59:24 -0000 1.8 --- install.sql 23 Aug 2008 17:03:13 -0000 1.9 *************** *** 56,59 **** --- 56,60 ---- msg_text TEXT NOT NULL, msg_html TEXT NULL, + file_id INT NOT NULL, created INT NOT NULL DEFAULT '0', user_id INT NOT NULL DEFAULT '0', |
|
From: Greg M. <bli...@us...> - 2008-08-23 17:03:12
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/list In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11197/templates/list Modified Files: edit.tpl Log Message: File Cabinet added to email forms for HTML messages. Index: edit.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/templates/list/edit.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** edit.tpl 2 Jan 2008 21:59:38 -0000 1.1 --- edit.tpl 23 Aug 2008 17:03:20 -0000 1.2 *************** *** 3,16 **** <div class="padded"> {NAME_LABEL}<br />{NAME} ! <!-- BEGIN name-error --><div class="mailinglists-error">{NAME_ERROR}</div><!-- END name-error --> </div> <div class="padded">{DESCRIPTION_LABEL}<br />{DESCRIPTION}</div> <div class="padded"> {FROM_NAME_LABEL}<br />{FROM_NAME} ! <!-- BEGIN from-name-error --><div class="mailinglists-error">{FROM_NAME_ERROR}</div><!-- END from-name-error --> </div> <div class="padded"> {FROM_EMAIL_LABEL}<br />{FROM_EMAIL} ! <!-- BEGIN from-email-error --><div class="mailinglists-error">{FROM_EMAIL_ERROR}</div><!-- END from-email-error --> </div> <div class="padded"> --- 3,16 ---- <div class="padded"> {NAME_LABEL}<br />{NAME} ! <!-- BEGIN name-error --><div class="error">{NAME_ERROR}</div><!-- END name-error --> </div> <div class="padded">{DESCRIPTION_LABEL}<br />{DESCRIPTION}</div> <div class="padded"> {FROM_NAME_LABEL}<br />{FROM_NAME} ! <!-- BEGIN from-name-error --><div class="error">{FROM_NAME_ERROR}</div><!-- END from-name-error --> </div> <div class="padded"> {FROM_EMAIL_LABEL}<br />{FROM_EMAIL} ! <!-- BEGIN from-email-error --><div class="error">{FROM_EMAIL_ERROR}</div><!-- END from-email-error --> </div> <div class="padded"> |
|
From: Greg M. <bli...@us...> - 2008-08-23 17:03:12
|
Update of /cvsroot/phpwebsite-comm/modules/mailinglists/templates/email In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11197/templates/email Modified Files: edit.tpl send_html.tpl view.tpl Log Message: File Cabinet added to email forms for HTML messages. Index: view.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/templates/email/view.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** view.tpl 2 Jan 2008 21:59:35 -0000 1.1 --- view.tpl 23 Aug 2008 17:03:19 -0000 1.2 *************** *** 1,2 **** --- 1,4 ---- <h1>{SUBJECT}</h1> + + <!-- BEGIN file --><div style="float : right">{FILE}</div><!-- END file --> {MESSAGE} Index: edit.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/templates/email/edit.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** edit.tpl 2 Jan 2008 21:59:35 -0000 1.1 --- edit.tpl 23 Aug 2008 17:03:19 -0000 1.2 *************** *** 4,16 **** <div class="padded">{OPTIONS}</div> <!-- END email-options --> <div class="padded"> {SUBJECT_LABEL}<br />{SUBJECT} ! <!-- BEGIN subject-error --><div class="mailinglists-error">{SUBJECT_ERROR}</div><!-- END subject-error --> </div> ! <div class="padded">{MSG_HTML_LABEL}<br />{MSG_HTML}</div> <!-- BEGIN body-error --> ! <div class="padded"><div class="mailinglists-error">{BODY_ERROR}</div></div> <!-- END body-error --> ! <div class="padded">{MSG_TEXT_LABEL}<br />{MSG_TEXT}</div> <div class="padded">{SUBMIT}</div> </div> --- 4,26 ---- <div class="padded">{OPTIONS}</div> <!-- END email-options --> + <div class="padded"> {SUBJECT_LABEL}<br />{SUBJECT} ! <!-- BEGIN subject-error --><div class="error">{SUBJECT_ERROR}</div><!-- END subject-error --> </div> ! ! <fieldset><legend><strong>{HTML_EMAIL_LEGEND}</strong></legend> ! <div class="padded">{MSG_HTML}</div> ! <div class="padded">{FILE_MANAGER}</div> ! </fieldset> ! <!-- BEGIN body-error --> ! <div class="padded"><div class="error">{BODY_ERROR}</div></div> <!-- END body-error --> ! ! <fieldset><legend><strong>{TEXT_EMAIL_LEGEND}</strong></legend> ! <div class="padded">{MSG_TEXT}</div> ! </fieldset> ! <div class="padded">{SUBMIT}</div> </div> Index: send_html.tpl =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/mailinglists/templates/email/send_html.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** send_html.tpl 23 Aug 2008 02:55:15 -0000 1.1 --- send_html.tpl 23 Aug 2008 17:03:19 -0000 1.2 *************** *** 1,2 **** --- 1,6 ---- + <html> + <body> + <!-- BEGIN file --><div style="float : right">{FILE}</div><!-- END file --> + {MESSAGE} *************** *** 4,6 **** <hr /> {FOOTER} ! <!-- END footer --> \ No newline at end of file --- 8,13 ---- <hr /> {FOOTER} ! <!-- END footer --> ! ! </body> ! </html> \ No newline at end of file |
|
From: Eloi G. <ada...@us...> - 2008-08-23 04:19:20
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24462 Added Files: index_admin.php Log Message: Initial Version --- NEW FILE: index_admin.php --- <?php /** * This is the index file for the phpwsbb module. * * @version $Id: index_admin.php,v 1.1 2008/08/23 04:19:25 adarkling Exp $ * * @author Eloi George <el...@NO...> * @module Bulletin Board */ if (!defined('PHPWS_SOURCE_DIR')) { include '../../config/core/404.html'; exit(); } // Admin Forum Actions if (Current_User::authorized('phpwsbb')) switch ($_REQUEST['op']) { case 'create_forum': $forum = & new PHPWSBB_Forum(); $title = dgettext('phpwsbb', 'Create a New Forum'); $content = $forum->edit(); break; case 'edit_forum': if (empty($forum)) $forum = & new PHPWSBB_Forum(); $forum->update(); $forum->update_forum(); $forum->save(); if (isset($GLOBALS['BB_message'])) $message = $GLOBALS['BB_message']; $title = sprintf(dgettext('phpwsbb', 'Editing Forum "%s"'), $forum->get_title()); $content = $forum->edit(); break; case 'show_forum': $forum->active = 1; if ($forum->save()) $message = sprintf(dgettext('phpwsbb', 'Forum "%s" is now visible'), $forum->get_title()); $title = $forum->get_title(); $content = $forum->view(); break; case 'hide_forum': $forum->active = 0; if ($forum->save()) $message = sprintf(dgettext('phpwsbb', 'Forum "%s" is now hidden'), $forum->get_title()); $title = $forum->get_title(); $content = $forum->view(); break; case 'delete_forum': if(!Current_User::allow('phpwsbb', 'manage_forums')) break; if(isset($_REQUEST['yes'])) { // Call up a list of all topics in this forum. $db = new PHPWS_DB('phpwsbb_topics'); $db->addColumn('id'); $db->addWhere('fid', $_REQUEST['forum']); $ids = $db->select('col'); if (PHPWS_Error::logIfError($ids)) $message = PHPWS_Error::printError($id_list); // If there is a list... if (!empty($ids)) foreach ($ids AS $recid) { $obj = & new PHPWSBB_Topic($recid); $obj->delete(); } // Delete the Forum if (empty($message)) { // Delete the forum record & Key id $db = & new PHPWS_DB('phpwsbb_forums'); $db->addWhere('id', $_REQUEST['forum']); $result = $db->delete(); if (PHPWS_Error::logIfError($result)) $msg[] = PHPWS_Error::printError($result); $message = dgettext('phpwsbb', 'Forum %s and all attatched topics have been deleted'); } } elseif(isset($_REQUEST['no'])) { $title = $forum->get_title(); $content = $forum->view(); } else { $address = 'index.php?module=phpwsbb&op=delete_forum&forum='.$forum->id; $title = dgettext('phpwsbb', 'Delete Confirmation') .' -- '. $forum->get_title(); $question = dgettext('phpwsbb', 'This will delete the forum and all topics under it! Are you sure you want to delete this?'); PHPWS_Core::initModClass('phpwsbb', 'BB_Forms.php'); $content = PHPWSBB_Forms::show_dialog($address, $title, $question); } break; // Admin Thread Operations case 'stick_topic': $topic->sticky = 1; $message = $topic->set_thread('sticky_threads', dgettext('phpwsbb', 'The topic will now stick to the top of lists')); $title = $topic->get_title(); $content = $topic->view(); break; case 'unstick_topic': $topic->sticky = 0; $message = $topic->set_thread('sticky_threads', dgettext('phpwsbb', 'The topic is now unstuck from the top of lists')); $title = $topic->get_title(); $content = $topic->view(); break; case 'move_topic': if (!empty($forum) && !$forum->userCan('phpwsbb', 'move_threads')) { $message = $msg_noauth; break; } if (empty($topic)) { if (!empty($_REQUEST['key_id'])) { $key = new Key((int) $_REQUEST['key_id']); } else { $content = dgettext('phpwsbb', 'phpwsBB::assign_forum is missing some required parameters'); break; } } $is_popup = !empty($_REQUEST['popup']); // Show dialog if destination forum hasn't been picked yet if (!isset($_REQUEST['new_forum'])) { // Show the assignment form PHPWS_Core::initModClass('phpwsbb', 'BB_Forms.php'); if (!empty($topic)) $content = PHPWSBB_Forms::assign_forum($topic, $is_popup); else $content = PHPWSBB_Forms::assign_forum($key, $is_popup); if ($is_popup) Layout::nakedDisplay($content); break; } $newforum = new PHPWSBB_Forum((int) $_REQUEST['new_forum']); // If user doesn't have access to the receiving forum, exit if (!$newforum->id) { $message = dgettext('phpwsbb', "You can't move a topic to a forum that you don't have access to!"); } // If we're moving a topic... if (!empty($topic)) { $topic->fid = $newforum->id; $topic->commit(false); $message = sprintf(dgettext('phpwsbb', 'You have just moved the topic to forum "%s"'), $newforum->get_title()); } // otherwise, we're importing a key... else { // get thread's id# $db = & new PHPWS_DB('comments_threads'); $db->addColumn('id'); $db->addWhere('key_id', $key->id); $result = $db->select('one'); $db->reset(); if (!$result) $message = dgettext('phpwsbb', 'ERROR: Thread not found'); elseif (PHPWS_Error::logIfError($result)) $message = PHPWS_Error::printError($result); else { // insert the new topic $topic = & new PHPWSBB_Topic(); $topic->id = $result; $topic->fid = $newforum->id; $topic->key_id = $key->id; $topic->is_phpwsbb = 0; $topic->title = $key->title; $topic->update_topic(); if (!$topic->commit(true)) $message = $topic->_error; else $message = dgettext('phpwsbb', 'Import Complete'); unset($key); } } // Update the old forum's lastpost summaries if (!empty($forum)) $forum->update_forum(true); $forum = $newforum; unset($newforum); $title = $topic->get_title(); if ($is_popup) { $template['MESSAGE'] = $message; $url = 'index.php?module=phpwsbb&view=topic&id='.$topic->id; $template['CONTENT'] = sprintf('<input type="button" value="%s" onclick="opener.location.href=\'%s\'; window.close();" style="text-align: center" />', dgettext('categories', 'Close Window'), $url); Layout::nakedDisplay(PHPWS_Template::process($template, 'phpwsbb', 'main.tpl')); // auto-exit } $content = $topic->view(); $_SESSION['DBPager_Last_View']['comments_items'] = 'index.php?module=phpwsbb&view=topic&id='.$topic->id; break; case 'delete_topic': if (!$forum->userCan('phpwsbb', 'delete_threads')) { $message = $msg_noauth; break; } if(isset($_REQUEST['yes'])) { $result = $topic->delete(); if (PHPWS_Error::logIfError($result)) { $message = dgettext('phpwsbb', 'The topic could not be deleted.'); $title = $topic->get_title(); $content = $topic->view(); $_SESSION['DBPager_Last_View']['comments_items'] = 'index.php?module=phpwsbb&view=topic&id='.$topic->id; } else { unset($topic); $forum->update_forum(true); $title = $forum->get_title(); $message = dgettext('phpwsbb', 'The topic was sucessfully deleted.'); $content = $forum->view(); } } elseif(isset($_REQUEST['no'])) { $title = $topic->get_title(); $content = $topic->view(); } else { $address = 'index.php?module=phpwsbb&op=delete_topic&topic='.$topic->id; $title = dgettext('phpwsbb', 'Delete Confirmation') .' -- '. $topic->get_title(); $question = dgettext('phpwsbb', 'This will delete the topic and all messages under it! Are you sure you want to delete this?'); PHPWS_Core::initModClass('phpwsbb', 'BB_Forms.php'); $content = PHPWSBB_Forms::show_dialog($address, $title, $question); } break; case 'drop_topic': if (!$forum->userCan('phpwsbb', 'delete_threads')) { $message = $msg_noauth; break; } if (!$topic->drop()) { $message = dgettext('phpwsbb', 'The requested operation did not work'); $title = $topic->get_title(); $content = $topic->view(); $_SESSION['DBPager_Last_View']['comments_items'] = 'index.php?module=phpwsbb&view=topic&id='.$topic->id; break; } $forum->update_forum(true); $message = dgettext('phpwsbb', 'The topic has been dropped from this forum'); $title = $forum->get_title(); $content = $forum->view(); break; case 'show_topic': $topic->active = 1; $message = $topic->set_thread('hide_threads', sprintf(dgettext('phpwsbb', 'Topic "%s" is now visible'), $topic->title), true); $title = $topic->get_title(); $content = $topic->view(); break; case 'hide_topic': $topic->active = 0; $message = $topic->set_thread('hide_threads', sprintf(dgettext('phpwsbb', 'Topic "%s" is now hidden'), $topic->title), true); $title = $topic->get_title(); $content = $topic->view(); break; case 'split_topic': // Check for required variables if (empty($_REQUEST['topic']) || empty($_REQUEST['split_point'])) { $content = dgettext('phpwsbb', 'Some required information is missing.'); break; } // Get list of all affected comment ids $db = new PHPWS_DB('comments_items'); $db->addColumn('id'); $db->addWhere('thread_id', (int) $_REQUEST['topic']); $db->addWhere('create_time', (int) $_REQUEST['split_point'], '>='); $id_list = $db->select('col'); if (PHPWS_Error::logIfError($id_list)) break; // if is_phpwsbb & this would get rid of all comments, abort if (!empty($topic->id) && $topic->total_posts <= count($id_list)) { $message = dgettext('phpwsbb', 'You cannot erase all comments in this topic.'); $title = $topic->get_title(); $content = $topic->view(); } // otherwise, show PHPWSBB_Forms::split_comments() else { PHPWS_Core::initModClass('phpwsbb', 'BB_Forms.php'); $content = PHPWSBB_Forms::split_comments($id_list); } break; // Manager Operations case 'update_all_threads': if (!Current_User::allow('phpwsbb', 'manage_forums')) { $message = $msg_noauth; break; } // Call up update information on all threads. $sql = ' SELECT phpwsbb_topics.id AS topic_id, comments_items.id, comments_items.create_time, comments_items.author_id, comments_items.anon_name, comments_threads.total_comments, users.username FROM phpwsbb_topics LEFT JOIN comments_threads ON comments_threads.id = phpwsbb_topics.id LEFT JOIN comments_items ON comments_items.id = (SELECT MAX(id) FROM comments_items WHERE comments_items.thread_id = comments_threads.id) LEFT JOIN users ON users.id = comments_items.author_id GROUP BY phpwsbb_topics.id ORDER BY comments_items.create_time desc '; $db = & new PHPWS_DB('phpwsbb_topics'); $result = $db->select(null, $sql); if (PHPWS_Error::logIfError($result)) $message = PHPWS_Error::printError($result); elseif (empty($result)) $message = dgettext('phpwsbb', 'No threads were found!'); else { foreach ($result AS $row) { $db->reset(); $db->addValue('total_posts', $row['total_comments']); if ($row['total_comments'] > 0) { $db->addValue('lastpost_post_id', $row['id']); $db->addValue('lastpost_date', $row['create_time']); if ($row['author_id']) { $db->addValue('lastpost_author_id', $row['author_id']); $db->addValue('lastpost_author', $row['username']); } else { $db->addValue('lastpost_author_id', 0); $db->addValue('lastpost_author', $row['anon_name']); } } else { $db->addValue('lastpost_post_id', 0); $db->addValue('lastpost_date', 0); $db->addValue('lastpost_author_id', 0); $db->addValue('lastpost_author', ''); } $db->addWhere('id', $row['topic_id']); $db->update(); } $message = dgettext('phpwsbb', 'All threads have been updated'); } $title = dgettext('phpwsbb', 'Updating All Topics'); case 'update_all_forums': if (!Current_User::allow('phpwsbb', 'manage_forums')) { $message = $msg_noauth; break; } $db = & new PHPWS_DB('phpwsbb_topics'); $sql = 'SELECT fid,COUNT(total_posts) AS total_topics, SUM(total_posts) AS total_topic_posts FROM phpwsbb_topics GROUP BY fid'; $count_info = $db->select(null, $sql); if (PHPWS_Error::logIfError($count_info)) $message = PHPWS_Error::printError($count_info); elseif (empty($count_info)) $message = dgettext('phpwsbb', 'Not all thread summary information was found!'); else { foreach ($count_info AS $key=>$row) { $db->reset(); $db->setTable('phpwsbb_forums'); $db->addValue('topics', $row['total_topics']); $db->addValue('posts', $row['total_topic_posts']); $db->addWhere('id', $row['fid']); $db->update(); } $message = dgettext('phpwsbb', 'All forums have been updated'); } $title = dgettext('phpwsbb', 'Updating All Forums'); break; case 'config': if (!Current_User::allow('phpwsbb', 'manage_forums')) { $message = $msg_noauth; break; } PHPWS_Core::initModClass('phpwsbb', 'BB_Forms.php'); $template['TITLE'] = dgettext('phpwsbb', 'PHPWSBB Settings'); if (!empty($_REQUEST['reset'])) { include(PHPWS_SOURCE_DIR . 'mod/phpwsbb/inc/settings.php'); PHPWS_Settings::set('phpwsbb', $settings); PHPWS_Settings::save('phpwsbb'); $template['MESSAGE'] = dgettext('phpwsbb', 'Your settings have been reset to the factory defaults.'); } elseif (!empty($_REQUEST['save'])) { $settings = array(); $settings['allow_anon_posts'] = (bool) !empty($_POST['allow_anon_posts']); $settings['showforumsblock'] = (bool) !empty($_POST['showforumsblock']); $settings['showlatestpostsblock'] = (bool) !empty($_POST['showlatestpostsblock']); $settings['maxlatesttopics'] = (int) $_POST['maxlatesttopics']; $settings['use_views'] = (bool) !empty($_POST['use_views']); $settings['long_date_format'] = $_POST['long_date_format']; $settings['short_date_format'] = $_POST['short_date_format']; PHPWS_Settings::set('phpwsbb', $settings); PHPWS_Settings::save('phpwsbb'); $template['MESSAGE'] = dgettext('phpwsbb', 'Your settings have been saved.'); } $template['CONTENT'] = PHPWSBB_Forms::edit_configuration(); $content = PHPWS_ControlPanel::display(PHPWS_Template::process($template, 'phpwsbb', 'main.tpl'), 'admin'); $title = $message = ''; unset($template); return; break; case 'split_comments': // Check incoming vars if (empty($_REQUEST['new_forum']) || empty($_POST['cm_subject'])) { $content = dgettext('phpwsbb', 'split_comments: Some required information is missing.'); break; } $make_new_topic = true; case 'move_comments': // Check incoming vars & topic existence if (empty($_REQUEST['oldthread']) || empty($_REQUEST['comment_ids'])) { $content = dgettext('phpwsbb', 'move_comments: Some required information is missing.'); break; } // Check permission to move/split comments $oldthread = new Comment_Thread($_REQUEST['oldthread']); if (!$oldthread->userCan('delete_comments')) { $content = dgettext('phpwsbb', "You're not authorized to do this!"); break; } // If we have to create a new topic, do it now if (isset($make_new_topic)) { // Check receiving Forum permission $forum = new PHPWSBB_Forum((int) $_REQUEST['new_forum']); if (!$forum->can_post()) { $content = dgettext('phpwsbb', "You can't create a topic in a forum that you don't have access to!"); break; } // Create a new topic $topic = & new PHPWSBB_Topic(); $topic->is_phpwsbb = $oldthread->id; $topic->title = strip_tags(trim($_POST['cm_subject'])); $topic->summary = $oldthread->_key->summary; // If there's a problem, show the split_comments form if (!$topic->create($forum->id)) { $message = $topic->_error; PHPWS_Core::initModClass('phpwsbb', 'BB_Forms.php'); $content = PHPWSBB_Forms::split_comments($comments); break; } } // otherwise, make sure that a topic & forum were specified elseif (empty($topic) || empty($forum)) { $content = dgettext('phpwsbb', "You don't have permission to post to this topic!"); break; } // otherwise, check Comment Thread permission else { PHPWS_Core::initModClass('comments', 'Comments.php'); $thread = new Comment_Thread($topic->id); if (!$thread->canComment()) { $content = dgettext('phpwsbb', "You don't have permission to post to this topic!"); break; } unset($thread); } // Move comments $db = & new PHPWS_DB('comments_items'); $db->addValue('thread_id', $topic->id); $db->addWhere('id', explode(',', $_REQUEST['comment_ids'])); $db->addWhere('thread_id', $oldthread->id); if (PHPWS_Error::logIfError($db->update())) { $content = dgettext('phpwsbb', 'Could not move comments to the new topic'); break; } // Update the new thread's stats $db = & new PHPWS_DB('comments_threads'); $sql = 'UPDATE comments_threads SET total_comments = (SELECT COUNT(id) FROM comments_items WHERE thread_id = comments_threads.id) WHERE id = '.$topic->id; if (PHPWS_Error::logIfError($db->query($sql))) { $content = dgettext('phpwsbb', 'Could not update comment count in table "comments_threads"'); break; } $topic->update_topic(); $topic->commit(); $oldthread_id = (int) $_REQUEST['oldthread']; // If requested, create a notification comment in the old thread if (isset($_REQUEST['leave_notice'])) { $c_item = new Comment_Item; $c_item->setThreadId($oldthread_id); $c_item->setSubject('This thread has been modified'); $str = dgettext('phpwsbb', 'Some comments have been moved to a related topic. You can view it by <a href="./index.php?module=phpwsbb&view=topic&id='.$topic->id.'">clicking here.</a>'); $c_item->entry = PHPWS_Text::parseInput($str); $c_item->save(); } // Update the old thread's stats $sql = 'UPDATE comments_threads SET total_comments = (SELECT COUNT(id) FROM comments_items WHERE thread_id = comments_threads.id) WHERE id = '.$oldthread_id; if (PHPWS_Error::logIfError($db->query($sql))) { $content = dgettext('phpwsbb', 'Could not update comment count in table "comments_threads"'); break; } // If there's an old topic, update its stats $oldtopic = & new PHPWSBB_Topic($oldthread_id); if ($oldtopic->id) { $oldtopic->update_topic(); $oldtopic->commit(); } $_SESSION['DBPager_Last_View']['comments_items'] = 'index.php?module=phpwsbb&view=topic&id='.$topic->id; PHPWS_Core::reroute('index.php?module=phpwsbb&view=topic&id='.$topic->id); break; } ?> |
|
From: Eloi G. <ada...@us...> - 2008-08-23 04:19:18
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24462/conf Added Files: help.ini Log Message: Initial Version --- NEW FILE: help.ini --- [admin_email] title = 'Bulletin Board Administrator Email'; content = 'Enter in the email address of the bulletin board administrator, if he/she is different than the overall phpWebSite administrator. If this field is left blank, then phpwsBB will use the contact email address in the User control panel\'s Settings screen.'; [email_text] title = 'Notification Email Text'; content = 'This is the text sent to users who are monitoring threads when those threads are replied to. Enter in the text you would like to appear in the body of the email message. You can use variables [name] and [url] to represent the name of the thread and the url to view the thread, respectively.'; [monitor_posts] title = 'Monitor Posts'; content = 'Enabling this setting will have all posts emailed to the bulletin board administrator email (or the website admin if it is blank).'; [sortorder] title = 'Forum Sort Order'; content = 'This value sets the order in which the forums are listed on the Forums page. Must be an integer value.'; [bboffline] title = 'Take Bulletin Board Offline'; 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.'; [suspend_monitors] title = 'Suspend Monitors'; content = 'Checking this will suspend the sending of emails that would notify you when someone has replied to a thread that you are monitoring. This is useful if you are going on vacation, for example.'; [remove_all_monitors] title = 'Remove All Monitors'; content = 'This will clear all monitors so you will no longer be monitoring any threads.'; [views] title = 'Record and show number of times a thread is viewed'; content = 'With this option switched on, each time a thread is viewed a counter is updated. An extra column in the forum view will also be shown to all users.<br /><br />With this option switched off, no statistics are recorded.<br /><br />Please note that you will have to quit your browser session and restart it in order to see any change in the forum view.<br /><br />For better performance on busy systems we recommend you leave this option off. You may also toggle it off during busy periods for better performance but be aware that the view count will be suspended until you toggle it back on again.'; [views_lowpri] title = 'Use low priority stats updates (MySQL only)'; lowpri_content = 'This option relies on a feature of the MySQL database to use a less resource hungry method of updating statistics such as the view count. Updates will be delayed until there is nobody reading the forum.<br /><br />We recommend you switch this option on if you\'re using MySQL. If you\'re on another database, you must leave this option off.'; [date_format] title = 'Formatting Dates in phpwsbb'; content = 'I don`t know what to say yet....'; |
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24462/boost Added Files: about.html uninstall.php dependency.xml permission.php install.sql controlpanel.php boost.php Log Message: Initial Version --- NEW FILE: uninstall.php --- <?php /** * This is the phpWsBB uninstall file for Boost * * @version $Id: uninstall.php,v 1.1 2008/08/23 04:19:20 adarkling Exp $ * @author Eloi George <el...@NO...> */ function phpwsbb_uninstall(&$content) { PHPWS_DB::dropTable('phpwsbb_forums'); PHPWS_DB::dropTable('phpwsbb_topics'); PHPWS_DB::dropTable('phpwsbb_users'); $content[] = dgettext('phpwsbb', 'Bulletin Board tables removed.'); return TRUE; } ?> --- NEW FILE: dependency.xml --- <?xml version="1.0"?> <dependency> <module> <title>comments</title> <properName>Comments</properName> <version>0.6.3</version> <url>http://phpwebsite.appstate.edu/comments</url> </module> </dependency> --- NEW FILE: permission.php --- <?php $use_permissions = TRUE; $permissions['fork_messages'] = dgettext('phpwsbb', 'Fork Messages Into New Threads'); $permissions['delete_threads'] = dgettext('phpwsbb', 'Delete Threads'); $permissions['sticky_threads'] = dgettext('phpwsbb', 'Mark Threads Sticky'); $permissions['move_threads'] = dgettext('phpwsbb', 'Move Threads between Forums'); $permissions['hide_threads'] = dgettext('phpwsbb', 'Hide/Show Threads'); $permissions['manage_forums'] = dgettext('phpwsbb', 'Manage Forums (Super Moderator)'); $item_permissions = TRUE; ?> --- NEW FILE: boost.php --- <?php /** * This is the phpWsBB mod_info file for Boost * * @version $Id: boost.php,v 1.1 2008/08/23 04:19:20 adarkling Exp $ * * @author Eloi George <el...@NO...> * @module phpwsBB */ $proper_name = 'Bulletin Board'; $version = '2.0.0'; $register = FALSE; $unregister = FALSE; $import_sql = TRUE; $image_dir = FALSE; $file_dir = FALSE; $about = TRUE; $version_http = 'http://bygeorgeware.com/downloads/phpwsbb/check.xml'; $priority = 50; $dependency = TRUE; ?> --- NEW FILE: install.sql --- -- $Id: install.sql,v 1.1 2008/08/23 04:19:20 adarkling Exp $ CREATE TABLE phpwsbb_forums ( id int NOT NULL default '0', key_id int NOT NULL default '0', is_phpwsbb int NOT NULL default '1', title varchar(255) NOT NULL default '', description varchar(255) NOT NULL default '', topics int NOT NULL default '0', sortorder int NOT NULL default '', posts int NOT NULL default '0', moderators varchar(255) NOT NULL default '', allow_anon smallint NOT NULL default 0, default_approval smallint NOT NULL default 0, locked smallint NOT NULL default '0', PRIMARY KEY (id) ); CREATE TABLE phpwsbb_topics ( id int NOT NULL default '0', key_id int NOT NULL, is_phpwsbb smallint NOT NULL default '1', fid int NOT NULL default '0', sticky smallint NOT NULL default '0', locked smallint NOT NULL default '0', total_posts int NOT NULL default '0', views int NOT NULL default '0', lastpost_post_id int NOT NULL default '0', lastpost_date int NOT NULL default '0', lastpost_author_id int NOT NULL default '0', lastpost_author varchar(50), PRIMARY KEY (id) ); CREATE INDEX phpwsbb_topics_fid_idx ON phpwsbb_topics (fid); CREATE INDEX phpwsbb_topics_key_id_idx ON phpwsbb_topics (key_id); CREATE TABLE phpwsbb_users ( user_id int NOT NULL, last_on int NOT NULL default '0', last_activity int NOT NULL default '0', PRIMARY KEY (user_id) ); CREATE TABLE phpwsbb_moderators ( forum_id int(11) NOT NULL, user_id int(11) NOT NULL, username varchar(255) NOT NULL ); CREATE INDEX phpwsbb_moderators_forum_id_idx ON phpwsbb_moderators (forum_id); CREATE INDEX phpwsbb_moderators_user_id_idx ON phpwsbb_moderators (user_id); --- NEW FILE: controlpanel.php --- <?php $link[] = array ('label' => dgettext('phpwsbb', 'phpWs Bulletin Board'), 'restricted' => FALSE, 'url' => 'index.php?module=phpwsbb', 'description' => 'A bulletin board module.', 'image' => 'phpwsbb.png', 'tab' => 'content'); $link[] = array ('label' => dgettext('phpwsbb', 'phpWs Bulletin Board'), 'restricted' => TRUE, 'url' => 'index.php?module=phpwsbb&op=settings', 'description' => 'A bulletin board module.', 'image' => 'phpwsbb.png', 'tab' => 'admin'); ?> --- NEW FILE: about.html --- <html> <head> <title>Bulletin Board Module</title> <link rel="stylesheet" type="text/css" href="themes/default/style.css" /> <link rel="stylesheet" type="text/css" href="themes/default/default.css" /> </head> <body class="padded"> <h1>phpws Bulletin Board (phpwsbb)</h1> <h3>By Eloi George</h3> <p>phpwsbb is a <a href="http://en.wikipedia.org/wiki/Internet_forum" target="_blank">Internet Bulletin Board module</a> that allows users of your website to create and participate in discussions.</p> <p>phpwsbb builds on top of the Comments module to let content of any module that has attached comments to be included in any Bulletin Board Forum.</p> <p class="align-center padded"><input type="button" onclick="window.close()" value="Close" /></p> </body> </html> |
|
From: Eloi G. <ada...@us...> - 2008-08-23 04:19:18
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24462/docs Added Files: INSTALL COPYRIGHT COPYING ChangeLog AUTHORS Log Message: Initial Version --- NEW FILE: COPYING --- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. --- NEW FILE: AUTHORS --- # phpwsBB AUTHORS # $Id: AUTHORS,v 1.1 2008/08/23 04:19:22 adarkling Exp $ People who have made phpwsBB possible (in alphabetical order): Dan Abushanab <da...@NO...> - QA, Requirements Engineering Wendall Cada <wen...@NO...> - Developer Eloi George <el...@NO...> - Lead Developer Bobby Kennedy <bob...@NO...> - QA, Requirements Engineering Steven Levin <jyd...@NO...> - Part-time Developer, PHPWS Core Liason Greg Meiste <bli...@NO...> - QA Noah Miller <noa...@NO...> - QA Shaun Murray <sin...@NO...> - QA, Requirements Engineering Don Seiler <ri...@NO...> - Developer Mike Windsor <wi...@NO...> - QA, Requirements Engineering phpwsBB contains works from the following projects: PHPWebSite http://phpwebsite.appstate.edu SVG Icons http://svgicons.sourceforge.net --- NEW FILE: COPYRIGHT --- phpwsBB Copyright (C) 2003-2004 by the following: (If you have contributed code to phpwsBB, you should be on this list) Don Seiler <do...@NO...> Eloi George <el...@NO...> Wendall Cada <wen...@NO...> Shaun Murray <sin...@NO...> --- NEW FILE: INSTALL --- # INSTALL for phpwsbb # $Id: INSTALL,v 1.1 2008/08/23 04:19:21 adarkling Exp $ INSTALL steps for phpwsbb IMPORTANT: phpwsbb is a module for phpWebSite 1.3.0 or higher. You have to install phpWebSite >= 1.3.0 first, phpwsbb will not work with earlier versions of phpWebSite. If you don't have phpWebSite installed, first get the latest code here: https://sourceforge.net/project/showfiles.php?group_id=15539 Then follow the install instructions found in the INSTALL.txt included in the docs directory of that download. 1. Download the .tar.gz from a sourceforge mirror. 2. Unpack the tarball with: tar -xvzf phpwsbb-*.tar.gz This will create a directory named "phpwsbb-<version>". 3. Move the directory into your phpwebsite mod directory and rename it to "phpwsbb". Example: If you are installing phpwsbb 0.8.0 and your phpwebsite directory is /home/httpd/htdocs, you would run mv phpwsbb-0.8.0 /home/httpd/htdocs/mod/phpwsbb If you are upgrading an existing install, simply copy the contents of the phpwsbb-0.8.0 directory into /home/httpd/htdocs/mod/phpwsbb. cp -R phpwsbb-0.8.0/* /home/httpd/htdocs/mod/phpwsbb 4. BACKUP YOUR DATABASE. If you use mysql, mysqldump is recommended. 5. Go to your phpWS website and install or upgrade "Bulletin Board" from the Boost module. You are golden. The bulletin board is now installed. You can get there by going to "Control Panel" and click on "Site Content". However this means anonymous users won't be able to post. So you'll need to make a menu link. If you are having trouble with these procedures please file a Support Request at our sourceforge.net project site: http://sourceforge.net/tracker/?func=add&group_id=81260&atid=562403 --- NEW FILE: ChangeLog --- # ChangeLog for phpwsbb # $Id: ChangeLog,v 1.1 2008/08/23 04:19:22 adarkling Exp $ *phpwsbb-2.0.0 (sometime soon) Rewritten Version for phpWebsite 1.x *phpwsbb-1.0.4 (sometime soon) Bug Fixes: * Changes to 'save' messages and buttons to be in context * Allow 'Re:' to be translated * Stop double notices appearing * title on posting a message * Improved Avatars (uses core ImgLibrary) New Features: * Preview message before posting * View New Posts since last visit * Routing to login if using a feature that requires it * View Counts - how many times a thread has been read * Category View * Private Forums (restrict viewing to a group) * Halt install if images directory not writeable *phpwsbb-1.0.3 (23 Mar 2005) Bug Fixes: * Fixed well formed issue in Forum.php * Home page block doesn't appear now if there isn't content * #1166899 Change forum category changes last post date * Added language filters on quote and reply * User monitors now work * #1105249 Title in Monitor email wrong * #1100091 Error in changing Avatar *phpwsbb-1.0.2 (04 Mar 2005) Bug Fixes: * Don't allow forking on threads with a single post. * Changed & to & in 'Back to the topic' link * Added 'Back to the forum' link after posting * Change install to use session var for source directory instead of constant * Added height and width attributes to all images. New Features: * Added createLink() Function to Thread.php for creation of text and img links *phpwsbb-1.0.1 (05 Jan 2005) Bug Fixes: * #1083624 Changed uninstall to use version_compare * BUG #1086227 JavaScript error in threads forms when invoking Spell Check * Added checks for indexes set to get rid of warnings on Guest posts * BUG #1064611 Fixed language filtering. * Adding missing ?> to several class files. * Fixed well formed error for thread view. *phpwsbb-1.0.0 (27 Oct 2004) Bug Fixes: * Fixed upgrade bug causing last post for everything to get set as the admin doing the update * Fixed notice in Thread.php * Fixed anchors in Message and Thread * Switched to using single-quotes for faster parsing possibilities. New Features: * RFE #1029852: Using unordered list in blocks * PATCH #1002850: Patch from Eloi that changes everything. *phpwsbb-0.9.7 (10 Aug 2004) Bug Fixes: * BUG #977804: PHPWS_File::makeDir() only exists in core >= 0.9.3-4, * raised requirements and putting out a new release so users don't get * confused with 0.9.6. *phpwsbb-0.9.6 (21 Jun 2004) Bug Fixes: * Fixed XHTML b0rkage. * Forgot to have uninstall remove image dirs. *phpwsbb-0.9.5 (19 May 2004) Bug Fixes: * Fixed xhtml well-formed bug with HR noshade param. Thanks to Mike Noyes. *phpwsbb-0.9.4 (11 May 2004) Bug Fixes: * BUG #951537 Thread paging was seriously b0rked. * BUG #947328 All php files need to begin with "<?php" not "<?". *phpwsbb-0.9.3 (29 Apr 2004) Bug Fixes: * Reinstating the bottom Thread menu since I really miss it. I'll have to figure out how to make it template-based when I feel like being smart. *phpwsbb-0.9.2 (21 Apr 2004) Bug Fixes: * BUG #938818 Fix security hole that allowed search to show BB topic labels regardless of allow_anon_view settings. Thanks Stephan Adler. *phpwsbb-0.9.1 (09 Apr 2004) Bug Fixes: * Changed headers to be GPL compliant * BUG #930013 Don't need Ban User link for guest posts. * Changes docs pages to be more GPL standard * Need to poll database when checking if phpwsBB is still offline. * singletrack found a bunch of bugs in 0.9.0. Fixes are: * Copying images to images/phpwsbb to work with branches. * Making img tags XHTML compliant. * Removing bottom repeat of Thread menu. * Creating buffer page after saving to reduce reloading of save operation. *phpwsbb-0.9.0 (01 Apr 2004) New Features: * Wrote a script to regenerate lang files and did so. http://phpwsbb.sourceforge.net/createlang.php.txt * Monitor system won't notify you when you reply to thread you are monitoring. * Hiding Monitor link if you aren't logged in. * Added docs/CREDITS.txt to give props. * RFE #920696 Using poster name in Last Post field * If using phpwsContacts, contact first/last name are used in Posted By * RFE #862993 Pause/resume monitor user setting and added "remove all monitors" link. * Consolidated delete templates into one since it's all the same. * RFE #862965 Added user preference setting. CLOSED. * RFE #870690 Added icons. http://svgicons.sourceforge.net/ * RFE #862965 Added "Allow User Monitors" setting. * 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 2004) Bug Fixes: * BUG #906905 Moved navigation into content area. * BUG #907622 Fixed title on edit message screen. Thanks singletrack. * BUG #906900 Preventing Notes hookup when poster or viewer are anonymous. * Starting to go back and add phpdoc comments, especially class headers. *phpwsbb-0.8.0 (05 Feb 2004) Bug Fixes: * BUG #885684 Adding actual "lastpost" field New Features: * RFE #876260 Adding "latest threads" block * RFE #887667 Adding "forums" block *phpwsbb-0.7.3 (27 Jan 2004) Bug Fixes: * BUG #882461 Not allowing href in subject line anymore. Evil happens * Fixed REQUEST var ref bug where fid/Message_fid isn't always there. * Fixed bug where I forgot to reference right forum id REQUEST var. Thanks to Bobby Kennedy for pointing it out. *phpwsbb-0.7.2 (14 Jan 2004) Bug Fixes: * Fixed bug where deletion of last message in topic failed to call updateForum(). As a result forum topic counts were off. Thanks to Mike Windsor for spotting it. *phpwsbb-0.7.1 (12 Jan 2004) Bug Fixes: * Forgot to require class definitions in boost/update.php. *phpwsbb-0.7.0 (09 Jan 2004) New Features: * Only supporting phpWS 0.9.3-2 * RFE #843133 Report post interface to email admin * Added indexes on foreign keys to speed up queries for large databases. * RFE #861979 Adding editor/time to message * RFE #821589 Link up with Notes module. Requires Notes 1.6.0 * Now deleting monitor entries when thread is killed. Thanks danabu! * RFE #857698 Adding FatCat assignment at forum level *phpwsbb-0.6.2 (25 Nov 2003) Bug Fixes: * Manually including Help/Lang classes for install/update/uninstall *phpwsbb-0.6.1 (21 Nov 2003) Bug Fixes: * BUG #847043 Forum count not updated when topic deleted. New Features: * Updates for new search mechanism in 0.9.3-2. *phpwsbb-0.6.0 (06 Nov 2003) Bug Fixes: * Fixed a bug with Message getting an SQL error if no subject was supplied. * Added a line to the top of index to clean up some notices * Forgot to specify block title in search module. New Features: * Changed references of "threads" to "topics" * Standardizing titles. * Added some translations * RFE #750325 Forums * RFE #818108 Ban Username or IP * RFE #818106 Hide/Show messages and threads. * Made changes necessary for the phpwebsite core updates which included fixing core calls and requirement of classes. *phpwsbb-0.5.4 (24 Oct 2003) Bug Fixes: * BUG #807484 Monitor posts value wasn't being saved. * Cleaned up some sloppiness that had the FORK brackets showing when FORK tag wasn't set. * BUG #824089 Messages accidentally creating childless subjects if save page is reloaded. New Features: * RFE #817402 Viewing IP Addresses of posters. Thanks to singletrack. *phpwsbb-0.5.3 (03 Oct 2003) Bug Fixes: * BUG #807953 Cleaning out leftover STICKY and LOCKED things in messages. * BUG #815110 Only send emails and auto-monitor on new posts/replies. *phpwsbb-0.5.2 (15 Sep 2003) Bug Fixes: * BUG #806852 Changed display of STICKY and LOCKED status. * Update script will convert existing threads. * Changed core requirement to phpWebSite 0.9.3-1. *phpwsbb-0.5.1 (09 Sep 2003) Bug Fixes: * BUG #803127 Change so recipient list isn't emailed to everyone. * Added code to remove help module registration on uninstall. *phpwsbb-0.5.0 (03 Sep 2003) New Features: * RFE #798645 Admin monitoring of posts * RFE #797877 Adding link to go back to thread after monitor status change. * RFE #797878 Setting for bboard admin email. * RFE #797879 Setting for notification email text. Bug Fixes: * BUG #798018 Reporting error on non-existant threads. Thanks to singletrack. *phpwsbb-0.4.0 (29 Aug 2003) Bug Fixes: * Found and fixed a bug that was showing [0] in the screens for no reason. New Features: * RFE #797355 Enlarging body text area size * RFE #770957 Users can monitor posts * RFE #770242 Hook into phpwsContacts * RFE #751673 Disable anonymous posting/viewing of bulletin board. * Added update scripts for adding settings database objects. *phpwsbb-0.3.1 (23 Jul 2003) New Features: * Added code to manually set the Thread's owner field if guest user. Bug Fixes: * Fixed some typo bugs that never saw the light apparently. * Adding phpws core version check *phpwsbb-0.3.0 (07 Jul 2003) New Features: * RFE #761281 Adding parseOutput statements to catch profanityFilter *phpwsbb-0.2.1 (24 Jun 2003) Bug Fixes: * Forgot to increment version number again. I'm lame. *phpwsbb-0.2.0 (24 Jun 2003) New Features: * RFE #750327 Adding sticky thread support * RFE #759002 Adding language support *phpwsbb-0.1.3 (11 Jun 2003) Bug Fixes: * Forgot to increment version settings for 0.1.2, set them to 0.1.3 and releasing because I'm anal retentive. *phpwsbb-0.1.2 (09 Jun 2003) Bug Fixes: * BUG #750892 Follow up on bug for case-sensitivity * BUG #751692 wrong title being shown. New Features: * RFE #751676 Thread menu reprinted on bottom * Marking guest posts with "GUEST" in poster name * RFE #751663 showing thread in reply edit screen. *phpwsbb-0.1.1 (09 Jun 2003) Bug Fixes: * BUG #750892 Added check to see if guest is trying registered username * BUG #750894 Fixed carriage returns not printing, need core->parseOutput *phpwsbb-0.1.0 (05 Jun 2003) * Development done and cutting phpwsbb-0.1.0 |
|
From: Eloi G. <ada...@us...> - 2008-08-23 04:19:11
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24462/templates Added Files: edit_forum.tpl search_topics.tpl main.tpl config.tpl move_comments.tpl forum.tpl topic.tpl memberForm.tpl assign_forum.tpl split_comments.tpl forum_list.tpl style.css confirmation_dialog.tpl search_posts.tpl Log Message: Initial Version --- NEW FILE: split_comments.tpl --- <div class="box"> <div class="box-title"><h1>{MOD_TITLE}</h1></div> <div class="box-content"> {START_FORM} {NEW_FORUM_LABEL} : {NEW_FORUM} <br /> <br /> {CM_SUBJECT_LABEL}<br /> {CM_SUBJECT} <br /> <br /> {LEAVE_NOTICE} {LEAVE_NOTICE_LABEL} <br /> <br /> {SUBMIT} <br /> <br /> </div> {END_FORM} </div> --- NEW FILE: config.tpl --- {START_FORM} <fieldset> <legend>{ANON_HEADER}</legend> {ALLOW_ANON_POSTS} {ALLOW_ANON_POSTS_LABEL} </fieldset> <fieldset> <legend>{SPEED_HEADER}</legend> {USE_VIEWS} {USE_VIEWS_LABEL} {USE_VIEWS_HELP} </fieldset> <fieldset> <legend>{BLOCKS_HEADER}</legend> {SHOWFORUMSBLOCK} {SHOWFORUMSBLOCK_LABEL} <br /> {SHOWLATESTPOSTSBLOCK} {SHOWLATESTPOSTSBLOCK_LABEL} <br /> {MAXLATESTTOPICS} {MAXLATESTTOPICS_LABEL} </fieldset> <fieldset> <legend>{FORMAT_HEADER}</legend> <i>{FORMAT_NOTE}</i> <br /> <br /> {LONG_DATE_FORMAT_LABEL} {DATE_FORMAT_HELP} <br /> {LONG_DATE_FORMAT} <br /> {LONG_DATE_FORMAT_EXAMPLE} <br /> <br /> {SHORT_DATE_FORMAT_LABEL} {DATE_FORMAT_HELP} <br /> {SHORT_DATE_FORMAT} <br /> {SHORT_DATE_FORMAT_EXAMPLE} </fieldset> <br /> {SAVE} {RESET} {END_FORM} --- NEW FILE: search_topics.tpl --- {HOME_LINK} <br /> <table class="box phpwsbb" cellspacing="1" cellpadding="6"> <tr class="box-title"> <th scope="col"> {PHPWS_KEY_TITLE_SORT} <br /> {PHPWS_KEY_CREATOR_SORT} </th> <th valign="middle" style="text-align:center" scope="col">{TOTAL_POSTS_SORT}</th> <!-- BEGIN VIEWS_LABEL --> <th valign="middle" style="text-align:center" scope="col">{PHPWS_KEY_TIMES_VIEWED_SORT}</th> <!-- END VIEWS_LABEL --> <th valign="middle" style="text-align:center;white-space:nowrap" scope="col">{LASTPOST_DATE_SORT}</th> <th valign="middle" nowrap="nowrap" style="text-align:center" scope="col">{PHPWSBB_FORUMS_TITLE_SORT}</th> </tr> <!-- BEGIN message --> <tr> <td> {EMPTY_MESSAGE} </td> </tr> <!-- END message --> <!-- BEGIN listrows --> <tr{TOGGLE}> <td style="width:50%"> {THREAD_TITLE_LINK} <br /> <span class="smaller">{THREAD_AUTHOR}</span> </td> <td style="text-align:center">{THREAD_REPLIES}</td> <!-- BEGIN VIEWS --> <td style="text-align:center">{THREAD_VIEWS}</td> <!-- END VIEWS --> <td class="smaller" style="text-align:left; margin-right:2em; width:20%; white-space:nowrap">{THREAD_LASTPOST_INFO}</td> <td>{FORUM_TITLE_LINK}</td> </tr> <!-- END listrows --> </table> <!-- BEGIN navigate --> <hr /> <div class="align-center"> {TOTAL_ROWS}<br /> {PAGE_LABEL} {PAGES}<br /> {LIMIT_LABEL} {LIMITS}<br /><br /> </div> <!-- END navigate --> --- NEW FILE: forum_list.tpl --- <!-- BEGIN ANCHOR --> {ANCHOR} <!-- END ANCHOR --> <table class="box phpwsbb" cellspacing="1" cellpadding="4"> <tr class="box-title"> <th width="70%" scope="col" colspan="2">{FORUM_TITLE}</th> <th width="10%" valign="middle" style="text-align:center" scope="col">{TOPICS_TITLE}</th> <th width="5%" valign="middle" style="text-align:center" scope="col">{POSTS_TITLE}</th> <th width="20%" valign="middle" style="text-align:center;white-space:nowrap" scope="col">{LASTPOST_TITLE}</th> </tr> <!-- BEGIN cat_list --> <!-- BEGIN CAT_ROW --> <tr> <td colspan="5" class="phpwsbb_forum_category_header"> <!-- BEGIN CATEGORY_IMAGE --> <div style="float:left; padding-right:10px"> {CATEGORY_ICON} </div> <!-- END CATEGORY_IMAGE --> <h2> {SECTION_TITLE} : {CATEGORY_NAME} </h2> </td> </tr> <!-- END CAT_ROW --> <!-- BEGIN cat_forum_list --> <tr> <td style="vertical-align:middle">{FORUM_HAS_NEW}</td> <td style="vertical-align:middle"> <span style="float: right;"> {FORUM_LOCKED} </span> {FORUM_TITLE_LINK}<br /> <span class="smaller">{FORUM_DESCRIPTION}</span> </td> <td style="text-align:center;vertical-align:middle">{FORUM_TOPICS}</td> <td style="text-align:center;vertical-align:middle">{FORUM_POSTS}</td> <td class="smaller" style="text-align:left;vertical-align:middle;white-space:nowrap"> {FORUM_LASTPOST_POST_LINK} {FORUM_LASTPOST_DATE_SHORT}<br style="clear:left" /> {IN} {FORUM_LASTPOST_TOPIC_LINK}<br /> {BY} {FORUM_LASTPOST_AUTHOR} </td> </tr> <!-- END cat_forum_list --> <!-- END cat_list --> </table> --- NEW FILE: main.tpl --- <!-- BEGIN title --><div class="panel-title"><h1>{TITLE}</h1></div><!-- END title --> <!-- BEGIN message --><h2>{MESSAGE}</h2><br /><!-- END message --> {CONTENT} --- NEW FILE: topic.tpl --- {HOME_LINK} :: <!-- BEGIN CATEGORY --> {CATEGORY_LINKS} :: <!-- END CATEGORY --> {FORUM_TITLE_LINK} :: {THREAD_TITLE_LINK} <br /> <br /> <!-- BEGIN NONLOCAL --> {REFER_DESCRIPTION} <br /> <!-- BEGIN REFER --> {REFER_LINK} <br /> <br /> <!-- END REFER --> <!-- END NONLOCAL --> --- NEW FILE: assign_forum.tpl --- <div class="box"> <div class="box-title"><h1>{MOD_TITLE}</h1></div> <div class="box-content"> {START_FORM} <!-- BEGIN current_forum --> {CURRENT} : {CURRENT_NAME} <br /> <br /> <!-- END current_forum --> {NEW_FORUM_LABEL} : {NEW_FORUM} {ASSIGN} <br /> <br /> </div> <div class="padded align-center">{CLOSE_WINDOW}</div> {END_FORM} </div> --- NEW FILE: style.css --- .phpwsbb_add_topic_link, .phpwsbb_go_new_message_link, .phpwsbb_new_messages,.phpwsbb_no_new_messages, .phpwsbb_hot_topic, .phpwsbb_locked, .phpwsbb_sticky, .phpwsbb_subscribed, .phpwsbb_go_forum_new_message_link, .phpwsbb_forum_new_messages, .phpwsbb_forum_no_new_messages, .phpwsbb_forum_locked { display: block; background-repeat: no-repeat; background-position: 100%; } a.phpwsbb_add_topic_link { display:block; float:left; background-image: url(../../images/mod/phpwsbb/green-right.png); padding-right:8px; margin: 0 .5em; } a.phpwsbb_add_topic_link:hover span { color : yellow; text-decoration : none; } a.phpwsbb_add_topic_link span { display:block; padding:0 10px 0 18px; background:transparent url(../../images/mod/phpwsbb/green-left.png); line-height:30px; color : white; } a.phpwsbb_go_new_message_link { float :left; width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/new_message.png); margin-right: .5em; } a.phpwsbb_go_new_message_link:hover { /* background-color: #00ff00;*/ } a.phpwsbb_go_new_message_link span { display : none; } div.phpwsbb_new_messages { display: block; width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/new_messages.png); } div.phpwsbb_new_messages span { display : none; } div.phpwsbb_no_new_messages { width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/no_new_messages.png); } div.phpwsbb_no_new_messages span { display : none; } div.phpwsbb_hot_topic { float :left; width: 20px; height: 20px; background-image: url(../../images/mod/phpwsbb/hot.png); margin: 0 .5em; } div.phpwsbb_hot_topic span { display : none; } div.phpwsbb_locked { float :left; width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/locked.png); margin: 0 .5em; } div.phpwsbb_locked span { display : none; } div.phpwsbb_sticky { float :left; width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/sticky.png); margin: 0 1em; } div.phpwsbb_sticky span { display : none; } div.phpwsbb_subscribed { float :left; width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/subscribed.png); margin: 0 .5em; } div.phpwsbb_subscribed span { display : none; } a.phpwsbb_go_forum_new_message_link { float :left; width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/new_message.png); margin-right: .5em; } a.phpwsbb_go_forum_new_message_link:hover { /* background-color: #00ff00;*/ } a.phpwsbb_go_forum_new_message_link span { display : none; } div.phpwsbb_forum_new_messages { width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/new_messages.png); } div.phpwsbb_forum_new_messages span { display : none; } div.phpwsbb_forum_no_new_messages { width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/no_new_messages.png); } div.phpwsbb_forum_no_new_messages span { display : none; } div.phpwsbb_forum_locked { float :left; width: 16px; height: 16px; background-image: url(../../images/mod/phpwsbb/locked.png); margin: 0 .5em; } div.phpwsbb_forum_locked span { display : none; } table.phpwsbb { border-style: solid; border-width: 1.5px; width : 100%; } table.phpwsbb td { border-style: solid; border-width: 1px; border-color : grey; } --- NEW FILE: confirmation_dialog.tpl --- {START_FORM} {QUESTION} <br /> <br /> {YES} {NO} {END_FORM} --- NEW FILE: memberForm.tpl --- {START_FORM} <div class="align-right">{LINKS}</div> <strong>{SEARCH_MEMBER_LABEL}:</strong><br /> {SEARCH_MEMBER}{ADD_MEMBER}{SEARCH} <table border="0" width="100%"> <tr> <td width="50%" valign="top"> <h3>{MODERATORS_LBL}</h3> <!-- BEGIN moderator_list --> <div {STYLE} style="padding : 2px">{ACTION} {NAME}</div> <!-- END moderator_list --> </td> <td width="50%" valign="top"> <h3>{MESSAGE}</h3> <!-- BEGIN suggestion_list --> <div {STYLE} style="padding : 2px">{ACTION} {NAME}</div> <!-- END suggestion_list --> </td> </tr> </table> {END_FORM} --- NEW FILE: search_posts.tpl --- <!-- BEGIN message --> <div> {EMPTY_MESSAGE} </div> <!-- END message --> <!-- BEGIN listrows --> <div class="comments"> <table id="cm_{COMMENT_ID}" class="comment-table{TOGGLE}" style="width:100%"> <tr> <td colspan="2" class="comment-header bgcolor3" > <div style="float: right"> {FORUM_LBL}: {FORUM_LINK} </div> <div style="padding-top: .25em;"> {CREATE_TIME} </div> </td> <tr> <td class="comment-body" style="width:70%"> <h2>{VIEW_LINK}</h2> <div class="entry">{ENTRY}</div> </td> <td class="author-info bgcolor1" valign="top"> <h2>{POSTED_BY} {AUTHOR_NAME}</h2> <div class="smaller"> {CREATE_TIME}<br /> {FORUM_LBL}: {FORUM_LINK}<br /> {TOPIC_LBL}: {TOPIC_LINK}<br /> {REPLY_LBL}: {REPLIES}<br /> {VIEWS_LBL}: {TOTAL_VIEWS}<br /> </div> </td> </tr> </table> </div> <!-- END listrows --> <!-- BEGIN navigate --> <hr /> <div class="align-center"> {TOTAL_ROWS}<br /> {PAGE_LABEL} {PAGES}<br /> {LIMIT_LABEL} {LIMITS}<br /><br /> </div> <!-- END navigate --> --- NEW FILE: move_comments.tpl --- <div class="box"> <div class="box-title"><h1>{MOD_TITLE}</h1></div> <div class="box-content"> {START_FORM} {TOPIC_LABEL}: {TOPIC} <br /> <br /> {LEAVE_NOTICE} {LEAVE_NOTICE_LABEL} <br /> <br /> {SUBMIT} <br /> <br /> </div> {END_FORM} </div> --- NEW FILE: forum.tpl --- {HOME_LINK} :: <!-- BEGIN CATEGORY --> {CATEGORY_LINKS} :: <!-- END CATEGORY --> {FORUM_TITLE_LINK} <br /> <!-- BEGIN DESCRIPTION --> <p class="smaller">{FORUM_DESCRIPTION}</p> <!-- END DESCRIPTION --> <!-- BEGIN CAT --> <p>{CATEGORY_TEXT}: {CATEGORY_LINKS}</p> <!-- END CAT --> <p>{FORUM_MODERATORS_LBL}: {FORUM_MODERATORS}</p> {FORUM_ADD_TOPIC_BTN} <br /> <br /> <br /> <table class="box phpwsbb" cellspacing="1" cellpadding="6"> <tr class="box-title"> <th scope="col" colspan="2"> {PHPWS_KEY_TITLE_SORT} <br /> {PHPWS_KEY_CREATOR_SORT} </th> <th valign="middle" style="text-align:center" scope="col">{TOTAL_POSTS_SORT}</th> <!-- BEGIN VIEWS_LABEL --> <th valign="middle" style="text-align:center" scope="col">{PHPWS_KEY_TIMES_VIEWED_SORT}</th> <!-- END VIEWS_LABEL --> <th valign="middle" style="text-align:center;white-space:nowrap" scope="col">{LASTPOST_DATE_SORT}</th> </tr> <!-- BEGIN message --> <tr> <td> {EMPTY_MESSAGE} </td> </tr> <!-- END message --> <!-- BEGIN listrows --> <tr{TOGGLE}> <td style="vertical-align:middle">{TOPIC_HAS_NEW}</td> <td width="60%"> {THREAD_TITLE_LINK} <br /> <span style="float: right;"> {TOPIC_STICKY} {TOPIC_LOCKED} {TOPIC_IS_HOT} <!-- BEGIN PGLNKS --><span class="phpwsbb_pagelist smaller">({THREAD_PAGES})</span><!-- END PGLNKS --> </span> <span class="smaller">{THREAD_AUTHOR}</span> </td> <td style="text-align:center">{THREAD_REPLIES}</td> <!-- BEGIN VIEWS --> <td style="text-align:center">{THREAD_VIEWS}</td> <!-- END VIEWS --> <td class="smaller" style="text-align:left; margin-right:2em; width:25%; white-space:nowrap">{THREAD_LASTPOST_INFO}</td> </tr> <!-- END listrows --> </table> <!-- BEGIN navigate --> <div> <div class="align-center smaller" style="float: right;"> {TOTAL_ROWS}<br /> {PAGE_LABEL} {PAGES}<br /> {LIMIT_LABEL} {LIMITS}<br /> </div> <br /> {FORUM_ADD_TOPIC_BTN} </div> <!-- END navigate --> <br /> <br /> <br /> <br /> <!-- BEGIN statuslist --> {FORUM_LABEL} :: {HOME_LINK} :: {FORUM_TITLE_LINK}<br /> {FORUM_FLAGS}<br /> <!-- END statuslist --> {STATUS_FLAGS} --- NEW FILE: edit_forum.tpl --- <div class="box"> <div class="box-content"> <!-- BEGIN error --> <div class="error"> {ERROR} </div> <!-- END error --> {BACK_LINK} <br /> <br /> {START_FORM} {TITLE_LABEL}: <br /> {TITLE} <br /> <br /> {DESCRIPTION_LABEL}: <br /> {DESCRIPTION} <br /> <br /> {SORTORDER_LABEL}: {SORTORDER} {SORTORDER_HELP} <br /> <br /> {ALLOW_ANON} {ALLOW_ANON_LABEL} <br /> {DEFAULT_APPROVAL_LABEL} {DEFAULT_APPROVAL} <br /> <br /> {LOCK} {LOCK_LABEL} <br /> <br /> {CATEGORY_LABEL}: {CATEGORY} <br /> <br /> {SUBMIT} <br /> <br /> {SEARCH_MEMBER_LABEL}: <br /> {SEARCH_MEMBER}{ADD_MEMBER}{SEARCH} <br /> <br /> <table border="0" width="100%"> <tr> <td width="50%" valign="top"> <h3>{CURRENT_MODERATORS_LBL}</h3> <!-- BEGIN moderator_list --> <div {STYLE}>{ACTION} {NAME}</div> <!-- END moderator_list --> </td> <td width="50%" valign="top"> <!-- BEGIN MSG --> <h3>{SUGGESTION_MESSAGE}</h3> <!-- END MSG --> <!-- BEGIN suggestion_list --> <div {STYLE}>{ACTION} {NAME}</div> <!-- END suggestion_list --> </td> </tr> </table> <br /> <br /> {SUBMIT} {END_FORM} </div> </div> |
|
From: Eloi G. <ada...@us...> - 2008-08-23 04:19:05
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/img In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24462/img Added Files: no_new_messages.png sticky.png green-left.png new_messages.png back_to_top.png green-right.png subscribed.png locked.png new_message.png phpwsbb.png reply_message.png ok.png Log Message: Initial Version --- NEW FILE: green-right.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: subscribed.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: back_to_top.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: locked.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: phpwsbb.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: green-left.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.) |