You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
(48) |
Apr
(45) |
May
(11) |
Jun
(7) |
Jul
|
Aug
(11) |
Sep
(75) |
Oct
(38) |
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(17) |
Feb
|
Mar
(22) |
Apr
|
May
(1) |
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
(5) |
Feb
(29) |
Mar
(22) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Wendall C. <wen...@us...> - 2005-03-22 18:25:04
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5208/docs Modified Files: ChangeLog Log Message: monitor fixes Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.126 retrieving revision 1.127 diff -C2 -d -r1.126 -r1.127 *** ChangeLog 4 Mar 2005 18:19:44 -0000 1.126 --- ChangeLog 22 Mar 2005 18:24:49 -0000 1.127 *************** *** 2,5 **** --- 2,14 ---- # $Id$ + *phpwsbb-1.0.3 (21 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 + *phpwsbb-1.0.2 (04 Mar 2005) Bug Fixes: |
From: Wendall C. <wen...@us...> - 2005-03-22 00:49:55
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv439 Modified Files: Forum.php Log Message: removed lines not needed Index: Forum.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Forum.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** Forum.php 21 Mar 2005 20:37:18 -0000 1.39 --- Forum.php 22 Mar 2005 00:49:47 -0000 1.40 *************** *** 319,325 **** return FALSE; } - echo $this->getOwner(); - if(!empty($this->_id) && ($_SESSION['OBJ_user']->username != $this->getOwner())) - echo 'poop'; if(isset($_REQUEST['Forum_label'])) $error = $this->setLabel(PHPWS_Text::parseInput($_REQUEST['Forum_label'])); --- 319,322 ---- |
From: Shaun M. <sin...@us...> - 2005-03-22 00:31:10
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20497 Modified Files: Thread.php Log Message: Made 'Back to the topic / forum' consistent Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** Thread.php 21 Mar 2005 21:29:27 -0000 1.74 --- Thread.php 22 Mar 2005 00:30:58 -0000 1.75 *************** *** 544,548 **** $GLOBALS['CNT_phpwsbb']['content'] .= '<p>' . $this->createLink($_SESSION['translate']->it('Back to the topic.'), array('PHPWSBB_MAN_OP'=>'view','PHPWS_MAN_ITEMS[]'=>$this->getId())) . ' | '; ! $GLOBALS['CNT_phpwsbb']['content'] .= '<p>' . $this->createLink($_SESSION['translate']->it('Back to the forum.'), array('PHPWSBB_MAN_OP'=>'viewforum','PHPWS_MAN_ITEMS[]'=>$this->_fid)) . '</p>'; } --- 544,548 ---- $GLOBALS['CNT_phpwsbb']['content'] .= '<p>' . $this->createLink($_SESSION['translate']->it('Back to the topic.'), array('PHPWSBB_MAN_OP'=>'view','PHPWS_MAN_ITEMS[]'=>$this->getId())) . ' | '; ! $GLOBALS['CNT_phpwsbb']['content'] .= $this->createLink($_SESSION['translate']->it('Back to the forum.'), array('PHPWSBB_MAN_OP'=>'viewforum','PHPWS_MAN_ITEMS[]'=>$this->_fid)) . '</p>'; } *************** *** 565,572 **** $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem removing the monitor entry. Please try again or contact the system administrator.') . '</div>'; } ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br />' . $this->createLink($_SESSION['translate']->it('Back to the topic.'), ! array('PHPWSBB_MAN_OP'=>'view','PHPWS_MAN_ITEMS[]'=>$this->getId())) . '<br />'; ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br />' . $this->createLink($_SESSION['translate']->it('Back to the forum.'), ! array('PHPWSBB_MAN_OP'=>'viewforum','PHPWS_MAN_ITEMS[]'=>$this->_fid)) . '<br />'; } }// END FUNC _unmonitor --- 565,572 ---- $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem removing the monitor entry. Please try again or contact the system administrator.') . '</div>'; } ! $GLOBALS['CNT_phpwsbb']['content'] .= '<p>' . $this->createLink($_SESSION['translate']->it('Back to the topic.'), ! array('PHPWSBB_MAN_OP'=>'view','PHPWS_MAN_ITEMS[]'=>$this->getId())) . ' | '; ! $GLOBALS['CNT_phpwsbb']['content'] .= $this->createLink($_SESSION['translate']->it('Back to the forum.'), ! array('PHPWSBB_MAN_OP'=>'viewforum','PHPWS_MAN_ITEMS[]'=>$this->_fid)) . '</p>'; } }// END FUNC _unmonitor |
From: Wendall C. <wen...@us...> - 2005-03-21 21:29:38
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22754 Modified Files: Message.php Thread.php Log Message: added language filters on quote Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.73 retrieving revision 1.74 diff -C2 -d -r1.73 -r1.74 *** Thread.php 4 Mar 2005 18:19:43 -0000 1.73 --- Thread.php 21 Mar 2005 21:29:27 -0000 1.74 *************** *** 537,541 **** $data['user_id'] = $_SESSION['OBJ_user']->user_id; if ($GLOBALS['core']->sqlInsert($data, 'mod_phpwsbb_monitors', TRUE, FALSE, FALSE, FALSE)) { ! $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('You are now monitoring the topic "[var1]" and will be emailed when there is a new reply.', $this->getLabel()); $this->monitored = TRUE; } else { --- 537,541 ---- $data['user_id'] = $_SESSION['OBJ_user']->user_id; if ($GLOBALS['core']->sqlInsert($data, 'mod_phpwsbb_monitors', TRUE, FALSE, FALSE, FALSE)) { ! $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('You are now monitoring the topic "[var1]" and will be emailed when there is a new reply.', PHPWS_Text::parseOutput($this->getLabel())); $this->monitored = TRUE; } else { Index: Message.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Message.php,v retrieving revision 1.79 retrieving revision 1.80 diff -C2 -d -r1.79 -r1.80 *** Message.php 21 Mar 2005 20:37:19 -0000 1.79 --- Message.php 21 Mar 2005 21:29:26 -0000 1.80 *************** *** 265,269 **** if (is_null($this->getLabel())) { $label = 'Re: ' . $thread->getLabel(FALSE); ! $this->setLabel($label); } } --- 265,269 ---- if (is_null($this->getLabel())) { $label = 'Re: ' . $thread->getLabel(FALSE); ! $this->setLabel(PHPWS_Text::parseOutput($label)); } } *************** *** 305,309 **** if (is_null($poster)) $poster = $result['guestname'] . ' (' . $_SESSION['translate']->it('GUEST') . ')'; ! $this->_body = '[quote="'.$poster.'"]'.trim($result['body'])."\n[/quote]\n\n"; } $form->add('Message_body', 'textarea', $this->_body); --- 305,309 ---- if (is_null($poster)) $poster = $result['guestname'] . ' (' . $_SESSION['translate']->it('GUEST') . ')'; ! $this->_body = '[quote="'.$poster.'"]'.PHPWS_Text::parseOutput(trim($result['body']))."\n[/quote]\n\n"; } $form->add('Message_body', 'textarea', $this->_body); *************** *** 468,472 **** $from = '"' . $_SESSION['translate']->it('Bulletin Board Admin') . '" <'.$admin_email.'>'; ! $subject = $_SESSION['translate']->it('Bulletin Board Post: "[var1]"', $this->getLabel()); $message = $_SESSION['PHPWSBB_Manager']->_email_text; // Replace [name] and [url] in $message --- 468,472 ---- $from = '"' . $_SESSION['translate']->it('Bulletin Board Admin') . '" <'.$admin_email.'>'; ! $subject = $_SESSION['translate']->it('Bulletin Board Post: "[var1]"', PHPWS_Text::parseOutput($this->getLabel())); $message = $_SESSION['PHPWSBB_Manager']->_email_text; // Replace [name] and [url] in $message |
From: Wendall C. <wen...@us...> - 2005-03-21 20:37:30
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30056 Modified Files: Forum.php Message.php Log Message: Thread and Message edit/save fix Index: Message.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Message.php,v retrieving revision 1.78 retrieving revision 1.79 diff -C2 -d -r1.78 -r1.79 *** Message.php 4 Mar 2005 18:19:42 -0000 1.78 --- Message.php 21 Mar 2005 20:37:19 -0000 1.79 *************** *** 321,324 **** --- 321,325 ---- /* Module Information */ $form->add('module', 'hidden', 'phpwsbb'); + $form->add('PHPWSBB_ITEMS[]', 'hidden', $this->getId()); $form->add('PHPWSBB_MESSAGE_OP', 'hidden', 'save'); $form->add('Message_tid', 'hidden', $this->_tid); *************** *** 357,360 **** --- 358,364 ---- */ function _save() { + if (isset($_POST['PHPWSBB_ITEMS']) + && sizeof($_POST['PHPWSBB_ITEMS']) > 0 && is_array($_POST['PHPWSBB_ITEMS'])) + $this->PHPWSBB_Message($_POST['PHPWSBB_ITEMS'][0]); if (!empty($this->_id) && !$_SESSION['OBJ_user']->allow_access('phpwsbb', 'edit_messages') && !$this->isModerator && ($_SESSION['OBJ_user']->username != $this->getOwner())) { $message = $_SESSION['translate']->it('Access to save message [var1] was denied due to lack of proper permissions.', $this->_id); Index: Forum.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Forum.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** Forum.php 21 Mar 2005 17:23:10 -0000 1.38 --- Forum.php 21 Mar 2005 20:37:18 -0000 1.39 *************** *** 259,262 **** --- 259,263 ---- /* Module Information */ $form->add('module', 'hidden', 'phpwsbb'); + $form->add('PHPWSBB_ITEMS[]', 'hidden', $this->getId()); $form->add('PHPWSBB_FORUM_OP', 'hidden', 'save'); *************** *** 309,312 **** --- 310,316 ---- function _save() { + if (isset($_POST['PHPWSBB_ITEMS']) + && sizeof($_POST['PHPWSBB_ITEMS']) > 0 && is_array($_POST['PHPWSBB_ITEMS'])) + $this->PHPWSBB_Forum($_POST['PHPWSBB_ITEMS'][0]); if(!empty($this->_id) && !($_SESSION['OBJ_user']->allow_access('phpwsbb', 'edit_messages') && $this->isModerator) && ($_SESSION['OBJ_user']->username != $this->getOwner())) { $message = $_SESSION['translate']->it('Access to save message [var1] was denied due to lack of proper permissions.', $this->_id); *************** *** 315,319 **** return FALSE; } ! if(isset($_REQUEST['Forum_label'])) $error = $this->setLabel(PHPWS_Text::parseInput($_REQUEST['Forum_label'])); --- 319,325 ---- return FALSE; } ! echo $this->getOwner(); ! if(!empty($this->_id) && ($_SESSION['OBJ_user']->username != $this->getOwner())) ! echo 'poop'; if(isset($_REQUEST['Forum_label'])) $error = $this->setLabel(PHPWS_Text::parseInput($_REQUEST['Forum_label'])); |
From: Steven L. <jyd...@us...> - 2005-03-21 17:23:28
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2578/class Modified Files: Forum.php Runtime.php Log Message: + fixed xhmtl well formed issue + forum block only shows up with content Index: Forum.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Forum.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** Forum.php 4 Mar 2005 18:19:42 -0000 1.37 --- Forum.php 21 Mar 2005 17:23:10 -0000 1.38 *************** *** 364,368 **** if($_SESSION['OBJ_fatcat']) /* Got rid of the brackets so that the link isn't broken in email messages */ ! $_SESSION['OBJ_fatcat']->saveSelect($this->getLabel(), 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS=' . $this->getId(), $this->getId()); $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['PHPWSBB_Manager']->_menu($this) . $_SESSION['translate']->it('Your forum was successfully saved.') . "<br />"; --- 364,368 ---- if($_SESSION['OBJ_fatcat']) /* Got rid of the brackets so that the link isn't broken in email messages */ ! $_SESSION['OBJ_fatcat']->saveSelect($this->getLabel(), 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS=' . $this->getId(), $this->getId()); $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['PHPWSBB_Manager']->_menu($this) . $_SESSION['translate']->it('Your forum was successfully saved.') . "<br />"; Index: Runtime.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Runtime.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Runtime.php 4 Jan 2005 19:06:59 -0000 1.15 --- Runtime.php 21 Mar 2005 17:23:11 -0000 1.16 *************** *** 62,70 **** } $block .= '</ul>'; } ! ! $GLOBALS['CNT_phpwsbb_forumsblock']['title'] = $blocktitle; ! $GLOBALS['CNT_phpwsbb_forumsblock']['content'] = $block; ! } }// END FUNC showForumsBlock --- 62,69 ---- } $block .= '</ul>'; + $GLOBALS['CNT_phpwsbb_forumsblock']['title'] = $blocktitle; + $GLOBALS['CNT_phpwsbb_forumsblock']['content'] = $block; } ! } }// END FUNC showForumsBlock |
From: Wendall C. <wen...@us...> - 2005-03-04 18:20:21
|
Update of /cvsroot/phpwsbb/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32328/boost Modified Files: install.php update.php Log Message: image dimensions and version bump Index: install.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/install.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** install.php 1 Oct 2004 06:54:12 -0000 1.23 --- install.php 4 Mar 2005 18:19:41 -0000 1.24 *************** *** 49,53 **** /* Create image directory */ ! $phpwsbb_sourcedir = PHPWS_SOURCE_DIR . 'mod/phpwsbb/img/'; $phpwsbb_imagedir = $GLOBALS['core']->home_dir . 'images/phpwsbb/'; if(PHPWS_File::recursiveFileCopy($phpwsbb_sourcedir, $phpwsbb_imagedir)) --- 49,53 ---- /* Create image directory */ ! $phpwsbb_sourcedir = $GLOBALS['core']->source_dir . 'mod/phpwsbb/img/'; $phpwsbb_imagedir = $GLOBALS['core']->home_dir . 'images/phpwsbb/'; if(PHPWS_File::recursiveFileCopy($phpwsbb_sourcedir, $phpwsbb_imagedir)) Index: update.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/update.php,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** update.php 5 Jan 2005 22:02:24 -0000 1.47 --- update.php 4 Mar 2005 18:19:41 -0000 1.48 *************** *** 321,326 **** if(version_compare($currentVersion, '1.0.1') < 0) { $content .= 'Small bug fixes. Language filtering should now work.<br />'; ! $content .= 'You can now uninstall, even though we highly recommend not doing so. ;)'; } ! ?> --- 321,331 ---- if(version_compare($currentVersion, '1.0.1') < 0) { $content .= 'Small bug fixes. Language filtering should now work.<br />'; ! $content .= 'You can now uninstall, even though we highly recommend not doing so. ;)<br />'; ! } ! if(version_compare($currentVersion, '1.0.2') < 0) { ! $content .= 'No longer allow forking on threads with a single post.<br />'; ! $content .= 'Added "Back to the forum" link after posting.<br />'; ! $content .= 'Added height and width attributes to all images.<br />'; } ! ?> \ No newline at end of file |
From: Wendall C. <wen...@us...> - 2005-03-04 18:19:56
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32328/class Modified Files: Forum.php Manager.php Message.php Thread.php Log Message: image dimensions and version bump Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -d -r1.72 -r1.73 *** Thread.php 1 Mar 2005 02:06:01 -0000 1.72 --- Thread.php 4 Mar 2005 18:19:43 -0000 1.73 *************** *** 174,178 **** $content = '<div class="errortext">' . $_SESSION['translate']->it('This topic has no messages.') . '</div>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'delete_threads') && $this->isModerator) ! $content .= '<br /><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=delete&PHPWS_MAN_ITEMS[]=' . $this->getId() . '">' . $_SESSION['translate']->it('Delete Topic') . '</a>'; return $content; } --- 174,178 ---- $content = '<div class="errortext">' . $_SESSION['translate']->it('This topic has no messages.') . '</div>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'delete_threads') && $this->isModerator) ! $content .= '<br />' . $this->createLink($_SESSION['translate']->it('Delete Topic'), array('PHPWSBB_MAN_OP' => 'delete', 'PHPWS_MAN_ITEMS[]' => $this->getId())); return $content; } *************** *** 195,204 **** if (!$ro) { ! $tags['REPLY'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=reply&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/reply_message.png" border="0" alt="' . $_SESSION['translate']->it('Reply') . '" title="' . $_SESSION['translate']->it('Reply') . '" /> ' . $_SESSION['translate']->it('Reply') . '</a>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'lock_threads') && $this->isModerator) { ! if ($this->_locked) ! $tags['LOCK'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unlock&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/unlocked.png" border="0" alt="' . $_SESSION['translate']->it('Unlock Topic') . '" title="' . $_SESSION['translate']->it('Unlock Topic') . '" /> ' . $_SESSION['translate']->it('Unlock Topic') . '</a>'; ! else ! $tags['LOCK'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=lock&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/locked.png" border="0" alt="' . $_SESSION['translate']->it('Lock Topic') . '" title="' . $_SESSION['translate']->it('Lock Topic') . '" /> ' . $_SESSION['translate']->it('Lock Topic') . '</a>'; } --- 195,211 ---- if (!$ro) { ! $reply = $_SESSION['translate']->it('Reply'); ! $tags['REPLY'] = $this->createLink($reply, array('PHPWSBB_MAN_OP'=>'reply', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'reply_message.png', 16, 16); if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'lock_threads') && $this->isModerator) { ! if ($this->_locked) { ! $unlock = $_SESSION['translate']->it('Unlock Topic'); ! $tags['LOCK'] = $this->createLink($unlock, array('PHPWSBB_MAN_OP'=>'unlock', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'unlocked.png', 16, 16); ! } else { ! $lock = $_SESSION['translate']->it('Lock Topic'); ! $tags['LOCK'] = $this->createLink($lock, array('PHPWSBB_MAN_OP'=>'lock', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'locked.png', 16, 16); ! } } *************** *** 226,244 **** } ! if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'delete_threads') && $this->isModerator) ! $tags['DELETE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=delete&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/delete.png" border="0" alt="' . $_SESSION['translate']->it('Delete Topic') . '" title="' . $_SESSION['translate']->it('Delete Topic') . '" /> ' . $_SESSION['translate']->it('Delete Topic') . '</a>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'hide_threads') && $this->isModerator) { ! if ($this->isHidden()) ! $tags['HIDE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showthread&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/hideshow.png" border="0" alt="' . $_SESSION['translate']->it('Show Topic') . '" title="' . $_SESSION['translate']->it('Show Topic') . '" /> ' . $_SESSION['translate']->it('Show Topic') . '</a>'; ! else ! $tags['HIDE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hidethread&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/hideshow.png" border="0" alt="' . $_SESSION['translate']->it('Hide Topic') . '" title="' . $_SESSION['translate']->it('Hide Topic') . '" /> ' . $_SESSION['translate']->it('Hide Topic') . '</a>'; } if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'sticky_threads') && $this->isModerator) { ! if ($this->_sticky) ! $tags['STICKY'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unstick&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/sticky.png" border="0" alt="' . $_SESSION['translate']->it('Unstick Topic') . '" title="' . $_SESSION['translate']->it('Unstick Topic') . '" /> ' . $_SESSION['translate']->it('Unstick Topic') . '</a>'; ! else ! $tags['STICKY'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=stick&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/sticky.png" border="0" alt="' . $_SESSION['translate']->it('Stick Topic') . '" title="' . $_SESSION['translate']->it('Stick Topic') . '" /> ' . $_SESSION['translate']->it('Stick Topic') . '</a>'; } } --- 233,264 ---- } ! if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'delete_threads') && $this->isModerator) { ! $delete = $_SESSION['translate']->it('Delete Topic'); ! $tags['DELETE'] = $this->createLink($delete, array('PHPWSBB_MAN_OP'=>'delete', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'delete.png', 16, 16); ! } if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'hide_threads') && $this->isModerator) { ! if ($this->isHidden()) { ! $showthread = $_SESSION['translate']->it('Show Topic'); ! $tags['HIDE'] = $this->createLink($showthread, array('PHPWSBB_MAN_OP'=>'showthread', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'hideshow.png', 16, 14); ! } else { ! $hidethread = $_SESSION['translate']->it('Hide Topic'); ! $tags['HIDE'] = $this->createLink($hidethread, array('PHPWSBB_MAN_OP'=>'hidethread', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'hideshow.png', 16, 14); ! } } if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'sticky_threads') && $this->isModerator) { ! if ($this->_sticky) { ! $unstick = $_SESSION['translate']->it('Unstick Topic'); ! $tags['STICKY'] = $this->createLink($unstick, array('PHPWSBB_MAN_OP'=>'unstick', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'sticky.png', 16, 16); ! } else { ! $stick = $_SESSION['translate']->it('Stick Topic'); ! $tags['STICKY'] = $this->createLink($stick, array('PHPWSBB_MAN_OP'=>'stick', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'sticky.png', 16, 16); ! } } } *************** *** 246,253 **** if ($_SESSION['PHPWSBB_Manager']->_allow_user_monitors) { if (isset($_SESSION['OBJ_user']->username)) ! if ($this->monitored) ! $tags['MONITOR'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unmonitor&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/unmonitor.png" border="0" alt="' . $_SESSION['translate']->it('Stop Monitor') . '" title="' . $_SESSION['translate']->it('Stop Monitor') . '" /> ' . $_SESSION['translate']->it('Stop Monitor') . '</a>'; ! else ! $tags['MONITOR'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=monitor&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/monitor.png" border="0" alt="' . $_SESSION['translate']->it('Monitor') . '" title="' . $_SESSION['translate']->it('Monitor') . '" /> ' . $_SESSION['translate']->it('Monitor') . '</a>'; } --- 266,278 ---- if ($_SESSION['PHPWSBB_Manager']->_allow_user_monitors) { if (isset($_SESSION['OBJ_user']->username)) ! if ($this->monitored) { ! $unmonitor = $_SESSION['translate']->it('Stop Monitor'); ! $tags['MONITOR'] = $this->createLink($unmonitor, array('PHPWSBB_MAN_OP'=>'unmonitor', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'unmonitor.png', 16, 16); ! } else { ! $monitor = $_SESSION['translate']->it('Monitor'); ! $tags['MONITOR'] = $this->createLink($monitor, array('PHPWSBB_MAN_OP'=>'monitor', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'monitor.png', 16, 16); ! } } *************** *** 263,268 **** $tags['AUTHOR'] = $_SESSION['translate']->it('Author'); $tags['MESSAGE'] = $_SESSION['translate']->it('Message'); ! if($_SESSION['OBJ_user']->user_id) ! $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; return '<a name="bb-top" /></a>' --- 288,296 ---- $tags['AUTHOR'] = $_SESSION['translate']->it('Author'); $tags['MESSAGE'] = $_SESSION['translate']->it('Message'); ! if($_SESSION['OBJ_user']->user_id) { ! $mysettings = $_SESSION['translate']->it('Settings'); ! $tags['MYPROFILE'] = $this->createLink($mysettings, array('PHPWSBB_MAN_OP'=>'usersettings', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'mysettings.png', 16, 16); ! } return '<a name="bb-top" /></a>' *************** *** 514,520 **** $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem adding the monitor entry. Please try again or contact the system administrator.') . '</div>'; } ! $GLOBALS['CNT_phpwsbb']['content'] .= '<p><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a> | '; ! $GLOBALS['CNT_phpwsbb']['content'] .= '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS[]=' . $this->_fid . '">' . $_SESSION['translate']->it('Back to the forum.') . '</a></p>'; ! } --- 542,549 ---- $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem adding the monitor entry. Please try again or contact the system administrator.') . '</div>'; } ! $GLOBALS['CNT_phpwsbb']['content'] .= '<p>' . $this->createLink($_SESSION['translate']->it('Back to the topic.'), ! array('PHPWSBB_MAN_OP'=>'view','PHPWS_MAN_ITEMS[]'=>$this->getId())) . ' | '; ! $GLOBALS['CNT_phpwsbb']['content'] .= '<p>' . $this->createLink($_SESSION['translate']->it('Back to the forum.'), ! array('PHPWSBB_MAN_OP'=>'viewforum','PHPWS_MAN_ITEMS[]'=>$this->_fid)) . '</p>'; } *************** *** 536,541 **** $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem removing the monitor entry. Please try again or contact the system administrator.') . '</div>'; } ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a><br />'; ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS[]=' . $this->_fid . '">' . $_SESSION['translate']->it('Back to the forum.') . '</a><br />'; } }// END FUNC _unmonitor --- 565,572 ---- $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem removing the monitor entry. Please try again or contact the system administrator.') . '</div>'; } ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br />' . $this->createLink($_SESSION['translate']->it('Back to the topic.'), ! array('PHPWSBB_MAN_OP'=>'view','PHPWS_MAN_ITEMS[]'=>$this->getId())) . '<br />'; ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br />' . $this->createLink($_SESSION['translate']->it('Back to the forum.'), ! array('PHPWSBB_MAN_OP'=>'viewforum','PHPWS_MAN_ITEMS[]'=>$this->_fid)) . '<br />'; } }// END FUNC _unmonitor *************** *** 653,656 **** --- 684,738 ---- return $ret; } + /** + * Quick link function for phpwsBB + * Based on PHPWS_Text:imageLink by Matthew McNaney <ma...@NO...> + * @param string title String to appear as the 'click on' word(s) or image alt + * @param array getVars Associative array of GET variable to append to the link + * @param string image Name of image file will automatically add path info + * @param string height Height of image, requires $image + * @param string width Width of image, requres $image + * @param string link Change default link + * @param string target Window target + * @param class Stylesheet style + * @return string + */ + function createLink($title, $getVars=NULL, $image=NULL, $height=NULL, $width=NULL, $link=NULL, $target=NULL, $class=NULL) { + if(!is_null($link)) + $link = '<a href="' . $link; + else + $link = '<a href="./index.php?module=phpwsbb'; + + if (is_array($getVars)){ + foreach ($getVars as $var_name=>$value){ + $link .= '&'; + $link .= $var_name . '=' . $value; + $i = 1; + } + } + + if ($target == 'blank' || $target === TRUE) + $linkTarget = ' target="_blank" '; + elseif ($target == 'index') + $linkTarget = ' target="index" '; + else + $linkTarget = NULL; + + $link .= '"'; + + if(isset($class)) + $link .= ' class="' . $class . '"'; + if (!is_null($image) && !is_null($width) && !is_null($height)) { + $image = './images/phpwsbb/' . $image; + $img = '<img src="' . $image . '" width="' . $width . '" height="' . + $height . '" border="0" alt="' . $title . '" title="' . $title . + '" /> ' . $title; + if($link !== '-1') + return $link . $linkTarget . '>' . $img . '</a>'; + else + return $img; + } else { + return $link . $linkTarget . '>' . $title . '</a>'; + } + }// END FUNC bbLink() }// END CLASS PHPWSBB_Thread Index: Message.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Message.php,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** Message.php 1 Mar 2005 02:08:04 -0000 1.77 --- Message.php 4 Mar 2005 18:19:42 -0000 1.78 *************** *** 120,127 **** $tags = $_SESSION['PHPWSBB_Manager']->_load_user_settings($this->_owner_id); $tags['BG'] = $bg; ! $tags['QUOTE'] = '<img src="./images/phpwsbb/quote_message.png" border="0" alt="' . $_SESSION['translate']->it('Quote this message') . '" title="' . $_SESSION['translate']->it('Quote this message') . '" /> ' ! .PHPWS_Text::moduleLink($_SESSION['translate']->it('Quote'), 'phpwsbb', array('PHPWSBB_MAN_OP'=>'reply', 'PHPWS_MAN_ITEMS'=>$this->_tid, 'reply_to'=>$this->getId())); ! $tags['NAV'] = '<a href="#bb-top"><img src="./images/phpwsbb/back_to_top.png" border="0" alt="' .$_SESSION["translate"]->it('Back to top') . '" title="' . $_SESSION['translate']->it('Back to top') . '" /> ' ! .$_SESSION["translate"]->it('Back to top').'</a>'; $tags['ID'] = $this->getId(); $tags['OWNER'] = $this->getOwner(); --- 120,125 ---- $tags = $_SESSION['PHPWSBB_Manager']->_load_user_settings($this->_owner_id); $tags['BG'] = $bg; ! $tags['QUOTE'] = PHPWSBB_Thread::createLink($_SESSION['translate']->it('Quote'), array('PHPWSBB_MAN_OP'=>'reply', 'PHPWS_MAN_ITEMS'=>$this->_tid, 'reply_to'=>$this->getId()), 'quote_message.png', 16, 16); ! $tags['NAV'] = PHPWSBB_Thread::createLink($_SESSION["translate"]->it('Back to top'),NULL,'back_to_top.png',16,16,'#bb-top'); $tags['ID'] = $this->getId(); $tags['OWNER'] = $this->getOwner(); *************** *** 135,139 **** $tags['BODY'] = PHPWS_Text::parseOutput($this->_body); $tags['TID'] = $this->_tid; ! $tags['REPORT'] = '<a href="index.php?module=phpwsbb&PHPWSBB_MAN_OP=report&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/report.png" border="0" alt="' . $_SESSION['translate']->it('Report this post to administrator') . '" title="' . $_SESSION['translate']->it('Report this post to administrator') . '" /> ' . $_SESSION['translate']->it('Report') . '</a>'; $poster = $this->getOwner(); --- 133,138 ---- $tags['BODY'] = PHPWS_Text::parseOutput($this->_body); $tags['TID'] = $this->_tid; ! $tags['REPORT'] = PHPWSBB_Thread::createLink($_SESSION['translate']->it('Report this post to administrator'), ! array('PHPWSBB_MAN_OP'=>'report','PHPWS_MAN_ITEMS[]'=>$this->getId()),'report.png',16,16); $poster = $this->getOwner(); *************** *** 146,150 **** $notesinfo = PHPWS_Boost::getVersionInfo('notes'); if (version_compare($notesinfo['version'], '1.6.0') >= 0) ! $tags['NOTE'] = '<a href="index.php?module=notes&NOTE_op=new_note&NOTE_toUser=' . $this->getOwner() . '"><img src="./images/phpwsbb/new_note.png" border="0" alt="' . $_SESSION['translate']->it('Send note to poster') . '" title="' . $_SESSION['translate']->it('Send note to poster') . '" /> ' . $_SESSION['translate']->it('Note to [var1]',$this->getOwner()) . '</a>'; } } --- 145,149 ---- $notesinfo = PHPWS_Boost::getVersionInfo('notes'); if (version_compare($notesinfo['version'], '1.6.0') >= 0) ! $tags['NOTE'] = '<a href="index.php?module=notes&NOTE_op=new_note&NOTE_toUser=' . $this->getOwner() . '"><img src="./images/phpwsbb/new_note.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Send note to poster') . '" title="' . $_SESSION['translate']->it('Send note to poster') . '" /> ' . $_SESSION['translate']->it('Note to [var1]',$this->getOwner()) . '</a>'; } } *************** *** 171,189 **** if (($_SESSION['OBJ_user']->allow_access('phpwsbb', 'edit_messages') && $this->isModerator) || ($this->getOwner() && ($_SESSION['OBJ_user']->username == $this->getOwner()))) ! $tags['EDIT'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=edit&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/edit.png" border="0" alt="' . $_SESSION['translate']->it('Edit') . '" title="' . $_SESSION['translate']->it('Edit') . '" /> ' . $_SESSION['translate']->it('Edit') . '</a>'; if (($_SESSION['OBJ_user']->allow_access('phpwsbb', 'delete_messages') && $this->isModerator) || ($this->getOwner() && ($_SESSION['OBJ_user']->username == $this->getOwner()))) ! $tags['DELETE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deletemessage&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/delete.png" border="0" alt="' . $_SESSION['translate']->it('Delete') . '" title="' . $_SESSION['translate']->it('Delete') . '" /> ' . $_SESSION['translate']->it('Delete') . '</a>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'hide_messages') && $this->isModerator) { if ($this->isHidden()) ! $tags['HIDE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showmessage&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/hideshow.png" border="0" alt="' . $_SESSION['translate']->it('Show Message') . '" title="' . $_SESSION['translate']->it("Show Message") . '" /> ' . $_SESSION['translate']->it('Show Message') . '</a>'; else ! $tags['HIDE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hidemessage&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/hideshow.png" border="0" alt="' . $_SESSION['translate']->it('Hide Message') . '" title="' . $_SESSION['translate']->it('Hide Message') . '" /> ' . $_SESSION['translate']->it('Hide Message') . '</a>'; } $thread = new PHPWSBB_Thread($this->_tid); if (($_SESSION['OBJ_user']->allow_access('phpwsbb', 'fork_messages') && $this->isModerator) && ($thread->_replies > 0)) ! $tags['FORK'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=fork&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/fork.png" border="0" alt="' . $_SESSION['translate']->it('Fork') . '" title="' . $_SESSION['translate']->it('Fork') . '" /> ' . $_SESSION['translate']->it('Fork') . '</a>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'view_ips') && $this->isModerator) { --- 170,188 ---- if (($_SESSION['OBJ_user']->allow_access('phpwsbb', 'edit_messages') && $this->isModerator) || ($this->getOwner() && ($_SESSION['OBJ_user']->username == $this->getOwner()))) ! $tags['EDIT'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=edit&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/edit.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Edit') . '" title="' . $_SESSION['translate']->it('Edit') . '" /> ' . $_SESSION['translate']->it('Edit') . '</a>'; if (($_SESSION['OBJ_user']->allow_access('phpwsbb', 'delete_messages') && $this->isModerator) || ($this->getOwner() && ($_SESSION['OBJ_user']->username == $this->getOwner()))) ! $tags['DELETE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deletemessage&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/delete.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Delete') . '" title="' . $_SESSION['translate']->it('Delete') . '" /> ' . $_SESSION['translate']->it('Delete') . '</a>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'hide_messages') && $this->isModerator) { if ($this->isHidden()) ! $tags['HIDE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showmessage&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/hideshow.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Show Message') . '" title="' . $_SESSION['translate']->it("Show Message") . '" /> ' . $_SESSION['translate']->it('Show Message') . '</a>'; else ! $tags['HIDE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hidemessage&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/hideshow.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Hide Message') . '" title="' . $_SESSION['translate']->it('Hide Message') . '" /> ' . $_SESSION['translate']->it('Hide Message') . '</a>'; } $thread = new PHPWSBB_Thread($this->_tid); if (($_SESSION['OBJ_user']->allow_access('phpwsbb', 'fork_messages') && $this->isModerator) && ($thread->_replies > 0)) ! $tags['FORK'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=fork&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/fork.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Fork') . '" title="' . $_SESSION['translate']->it('Fork') . '" /> ' . $_SESSION['translate']->it('Fork') . '</a>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'view_ips') && $this->isModerator) { *************** *** 193,197 **** if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'edit_users') && ($this->getOwner())) ! $tags['EDIT_USER'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings&user=' . $this->_owner_id . '"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' . $_SESSION['translate']->it('Edit [var1]', $this->getOwner()) . '" title="' . $_SESSION['translate']->it('Edit [var1]', $this->getOwner()) . '" /> ' . $_SESSION['translate']->it('Edit [var1]', $this->getOwner()) . '</a>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'ban') && $this->isModerator) { --- 192,196 ---- if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'edit_users') && ($this->getOwner())) ! $tags['EDIT_USER'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings&user=' . $this->_owner_id . '"><img src="./images/phpwsbb/mysettings.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Edit [var1]', $this->getOwner()) . '" title="' . $_SESSION['translate']->it('Edit [var1]', $this->getOwner()) . '" /> ' . $_SESSION['translate']->it('Edit [var1]', $this->getOwner()) . '</a>'; if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'ban') && $this->isModerator) { *************** *** 209,225 **** if ($ib) ! $tags['BAN_IP'] = ' <a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unbanip&PHPWS_MAN_ITEMS[]=' . $this->getIp() . '"><img src="./images/phpwsbb/ok.png" border="0" alt="' . $_SESSION['translate']->it('Unban this IP') . '" title="' . $_SESSION['translate']->it('Unban this IP') . '" /> ' . $_SESSION['translate']->it('Unban this IP') . '</a>'; else ! $tags['BAN_IP'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banip&PHPWS_MAN_ITEMS[]=' . $this->getIp() . '"><img src="./images/phpwsbb/ban.png" border="0" alt="' . $_SESSION['translate']->it('Ban this IP') . '" title="' . $_SESSION['translate']->it('Ban this IP') . '" /> ' . $_SESSION['translate']->it('Ban this IP') . '</a>'; if ($this->getOwner()) if ($ub) ! $tags['BAN_USERNAME'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unbanusername&PHPWS_MAN_ITEMS[]=' . $this->getOwner() . '"><img src="./images/phpwsbb/ok.png" border="0" alt="' . $_SESSION['translate']->it('Unban this Poster') . '" title="' . $_SESSION['translate']->it('Unban this Poster') . '" /> ' . $_SESSION['translate']->it('Allow [var1] (Banned)', $this->getOwner()) . '</a>'; else ! $tags['BAN_USERNAME'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banusername&PHPWS_MAN_ITEMS[]=' . $this->getOwner() . '"><img src="./images/phpwsbb/ban.png" border="0" alt="' . $_SESSION['translate']->it('Ban this Poster') . '" title="' . $_SESSION['translate']->it('Ban this Poster') . '" /> ' . $_SESSION['translate']->it('Ban [var1]', $this->getOwner()) . '</a>'; } else { ! $tags['BAN_IP'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banip&PHPWS_MAN_ITEMS[]=' . $this->getIp() . '"><img src="./images/phpwsbb/ban.png" border="0" alt="' . $_SESSION['translate']->it('Ban this IP') . '" title="' . $_SESSION['translate']->it('Ban this IP') . '" /> ' . $_SESSION['translate']->it('Ban this IP') . '</a>'; if ($this->getOwner()) ! $tags['BAN_USERNAME'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banusername&PHPWS_MAN_ITEMS[]=' . $this->getOwner() . '"><img src="./images/phpwsbb/ban.png" border="0" alt="' . $_SESSION['translate']->it('Ban this Poster') . '" title="' . $_SESSION['translate']->it('Ban this Poster') . '" /> ' . $_SESSION['translate']->it('Ban [var1]', $this->getOwner()) . '</a>'; } } --- 208,224 ---- if ($ib) ! $tags['BAN_IP'] = ' <a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unbanip&PHPWS_MAN_ITEMS[]=' . $this->getIp() . '"><img src="./images/phpwsbb/ok.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Unban this IP') . '" title="' . $_SESSION['translate']->it('Unban this IP') . '" /> ' . $_SESSION['translate']->it('Unban this IP') . '</a>'; else ! $tags['BAN_IP'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banip&PHPWS_MAN_ITEMS[]=' . $this->getIp() . '"><img src="./images/phpwsbb/ban.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Ban this IP') . '" title="' . $_SESSION['translate']->it('Ban this IP') . '" /> ' . $_SESSION['translate']->it('Ban this IP') . '</a>'; if ($this->getOwner()) if ($ub) ! $tags['BAN_USERNAME'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=unbanusername&PHPWS_MAN_ITEMS[]=' . $this->getOwner() . '"><img src="./images/phpwsbb/ok.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Unban this Poster') . '" title="' . $_SESSION['translate']->it('Unban this Poster') . '" /> ' . $_SESSION['translate']->it('Allow [var1] (Banned)', $this->getOwner()) . '</a>'; else ! $tags['BAN_USERNAME'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banusername&PHPWS_MAN_ITEMS[]=' . $this->getOwner() . '"><img src="./images/phpwsbb/ban.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Ban this Poster') . '" title="' . $_SESSION['translate']->it('Ban this Poster') . '" /> ' . $_SESSION['translate']->it('Ban [var1]', $this->getOwner()) . '</a>'; } else { ! $tags['BAN_IP'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banip&PHPWS_MAN_ITEMS[]=' . $this->getIp() . '"><img src="./images/phpwsbb/ban.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Ban this IP') . '" title="' . $_SESSION['translate']->it('Ban this IP') . '" /> ' . $_SESSION['translate']->it('Ban this IP') . '</a>'; if ($this->getOwner()) ! $tags['BAN_USERNAME'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=banusername&PHPWS_MAN_ITEMS[]=' . $this->getOwner() . '"><img src="./images/phpwsbb/ban.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Ban this Poster') . '" title="' . $_SESSION['translate']->it('Ban this Poster') . '" /> ' . $_SESSION['translate']->it('Ban [var1]', $this->getOwner()) . '</a>'; } } *************** *** 740,744 **** if ($prefix) { if ($this->isHidden()) ! $lab = '<img src="./images/phpwsbb/hideshow.png" border="0" alt="' . $_SESSION['translate']->it('Hidden') . '" title="' . $_SESSION['translate']->it('Hidden') . '" /> ' . $lab; } return $lab; --- 739,743 ---- if ($prefix) { if ($this->isHidden()) ! $lab = '<img src="./images/phpwsbb/hideshow.png" border="0" height="16" width="16" alt="' . $_SESSION['translate']->it('Hidden') . '" title="' . $_SESSION['translate']->it('Hidden') . '" /> ' . $lab; } return $lab; Index: Forum.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Forum.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** Forum.php 5 Jan 2005 00:45:33 -0000 1.36 --- Forum.php 4 Mar 2005 18:19:42 -0000 1.37 *************** *** 172,177 **** $tags['THREADS'] = $this->_threads; $tags['DESCRIPTION']= PHPWS_Text::parseOutput($this->_description); ! if($_SESSION['OBJ_user']->user_id) ! $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; if(!empty($this->_moderators)) { if($tmp = $GLOBALS['core']->getCol('SELECT username FROM mod_users WHERE user_id IN ('.$this->_moderators.')', TRUE)) --- 172,180 ---- $tags['THREADS'] = $this->_threads; $tags['DESCRIPTION']= PHPWS_Text::parseOutput($this->_description); ! if($_SESSION['OBJ_user']->user_id) { ! $mysettings = $_SESSION['translate']->it('Settings'); ! $tags['MYPROFILE'] = PHPWSBB_Thread::createLink($mysettings, array('PHPWSBB_MAN_OP'=>'usersettings', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'mysettings.png', 16, 16); ! } if(!empty($this->_moderators)) { if($tmp = $GLOBALS['core']->getCol('SELECT username FROM mod_users WHERE user_id IN ('.$this->_moderators.')', TRUE)) *************** *** 183,199 **** if(!$ro) { ! $tags['NEW'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=new&fid=' . $this->getId() . '"><img src="./images/phpwsbb/new_message.png" border="0" alt="' . $_SESSION['translate']->it('New Topic') . '" title="' . $_SESSION['translate']->it('New Topic') . '" /> ' . $_SESSION['translate']->it('New Topic') . '</a>'; if($_SESSION['OBJ_user']->allow_access('phpwsbb', 'edit_forums')) ! $tags['EDIT'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=editforum&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/edit.png" border="0" alt="' . $_SESSION['translate']->it('Edit Forum') . '" title="' . $_SESSION['translate']->it('Edit Forum') . '" /> ' . $_SESSION['translate']->it('Edit Forum') . '</a>'; if($_SESSION['OBJ_user']->allow_access('phpwsbb', 'delete_forums')) ! $tags['DELETE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=deleteforum&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/delete.png" border="0" alt="' . $_SESSION['translate']->it('Delete Forum') . '" title="' . $_SESSION['translate']->it('Delete Forum') . '" /> ' . $_SESSION['translate']->it('Delete Forum') . '</a>'; if($_SESSION['OBJ_user']->allow_access('phpwsbb', 'hide_threads') && $this->isModerator) { ! if($this->isHidden()) ! $tags['HIDE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=showforum&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/hideshow.png" border="0" alt="' . $_SESSION['translate']->it('Show Forum') . '" title="' . $_SESSION['translate']->it('Show Forum') . '" /> ' . $_SESSION['translate']->it('Show Forum') . '</a>'; ! else ! $tags['HIDE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=hideforum&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/hideshow.png" border="0" alt="' . $_SESSION['translate']->it('Hide Forum') . '" title="' . $_SESSION['translate']->it('Hide Forum') . '" /> ' . $_SESSION['translate']->it('Hide Forum') . '</a>'; } } --- 186,212 ---- if(!$ro) { ! $tags['NEW'] = PHPWSBB_Thread::createLink($_SESSION['translate']->it('New Topic'), ! array('PHPWSBB_MAN_OP'=>'new','fid'=>$this->getId()),'new_message.png',16,16); if($_SESSION['OBJ_user']->allow_access('phpwsbb', 'edit_forums')) ! $tags['EDIT'] = PHPWSBB_Thread::createLink($_SESSION['translate']->it('Edit Forum'), ! array('PHPWSBB_MAN_OP'=>'editforum','PHPWS_MAN_ITEMS[]'=>$this->getId()), ! 'edit.png', 16,16); if($_SESSION['OBJ_user']->allow_access('phpwsbb', 'delete_forums')) ! $tags['DELETE'] = PHPWSBB_Thread::createLink($_SESSION['translate']->it('Delete Forum'), ! array('PHPWSBB_MAN_OP'=>'deleteforum','PHPWS_MAN_ITEMS[]'=>$this->getId()), ! 'delete.png',16,16); if($_SESSION['OBJ_user']->allow_access('phpwsbb', 'hide_threads') && $this->isModerator) { ! if ($this->isHidden()) { ! $showforum = $_SESSION['translate']->it('Show Forum'); ! $tags['HIDE'] = PHPWSBB_Thread::createLink($showforum, array('PHPWSBB_MAN_OP'=>'showforum', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'hideshow.png', 16, 16); ! } else { ! $hideforum = $_SESSION['translate']->it('Hide Forum'); ! $tags['HIDE'] = PHPWSBB_Thread::createLink($hideforum, array('PHPWSBB_MAN_OP'=>'hideforum', ! 'PHPWS_MAN_ITEMS[]'=>$this->getId()), 'hideshow.png', 16, 16); ! } } } Index: Manager.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Manager.php,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** Manager.php 5 Jan 2005 15:50:32 -0000 1.62 --- Manager.php 4 Mar 2005 18:19:42 -0000 1.63 *************** *** 308,313 **** /* "Edit Profile" button */ ! if($_SESSION['OBJ_user']->user_id) ! $GLOBALS['CNT_phpwsbb']['content'] .= '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; $this->setClass('PHPWSBB_Forum'); --- 308,315 ---- /* "Edit Profile" button */ ! if($_SESSION['OBJ_user']->user_id) { ! $mysettings = $_SESSION['translate']->it('Settings'); ! $tags['MYPROFILE'] = PHPWSBB_Thread::createLink($mysettings, array('PHPWSBB_MAN_OP'=>'usersettings'), 'mysettings.png', 16, 16); ! } $this->setClass('PHPWSBB_Forum'); |
From: Wendall C. <wen...@us...> - 2005-03-04 18:19:53
|
Update of /cvsroot/phpwsbb/phpwsbb/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32328/conf Modified Files: boost.php Log Message: image dimensions and version bump Index: boost.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/boost.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** boost.php 5 Jan 2005 22:02:25 -0000 1.39 --- boost.php 4 Mar 2005 18:19:43 -0000 1.40 *************** *** 32,36 **** $admin_mod = 1; $active = 'on'; ! $version = '1.0.1'; $admin_op = '&PHPWSBB_MAN_OP=list'; $mod_class_files = array('Manager.php'); --- 32,36 ---- $admin_mod = 1; $active = 'on'; ! $version = '1.0.2'; $admin_op = '&PHPWSBB_MAN_OP=list'; $mod_class_files = array('Manager.php'); |
From: Wendall C. <wen...@us...> - 2005-03-04 18:19:53
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32328/docs Modified Files: ChangeLog Log Message: image dimensions and version bump Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.125 retrieving revision 1.126 diff -C2 -d -r1.125 -r1.126 *** ChangeLog 2 Mar 2005 17:15:13 -0000 1.125 --- ChangeLog 4 Mar 2005 18:19:44 -0000 1.126 *************** *** 2,10 **** # $Id$ ! *phpwsbb-1.0.2-cvs 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 *phpwsbb-1.0.1 (05 Jan 2005) --- 2,16 ---- # $Id$ ! *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) |
From: Shaun M. <sin...@us...> - 2005-03-02 17:15:23
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27826 Modified Files: ChangeLog Log Message: Added 1.0.2-cvs changes from me Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.124 retrieving revision 1.125 diff -C2 -d -r1.124 -r1.125 *** ChangeLog 2 Mar 2005 17:02:51 -0000 1.124 --- ChangeLog 2 Mar 2005 17:15:13 -0000 1.125 *************** *** 4,7 **** --- 4,10 ---- *phpwsbb-1.0.2-cvs 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 *phpwsbb-1.0.1 (05 Jan 2005) |
From: Wendall C. <wen...@us...> - 2005-03-02 17:03:15
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23463/docs Modified Files: ChangeLog Log Message: changelog update Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.123 retrieving revision 1.124 diff -C2 -d -r1.123 -r1.124 *** ChangeLog 5 Jan 2005 22:02:25 -0000 1.123 --- ChangeLog 2 Mar 2005 17:02:51 -0000 1.124 *************** *** 2,5 **** --- 2,8 ---- # $Id$ + *phpwsbb-1.0.2-cvs + Bug Fixes: + *phpwsbb-1.0.1 (05 Jan 2005) |
From: Shaun M. <sin...@us...> - 2005-03-01 02:08:16
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4352 Modified Files: Message.php Log Message: Fixed XHTML issue. Added 'Back to the forum' Don't allow forking if a message has no replies Index: Message.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Message.php,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** Message.php 5 Jan 2005 16:39:07 -0000 1.76 --- Message.php 1 Mar 2005 02:08:04 -0000 1.77 *************** *** 183,188 **** } ! ! if ($_SESSION['OBJ_user']->allow_access('phpwsbb', 'fork_messages') && $this->isModerator) $tags['FORK'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=fork&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/fork.png" border="0" alt="' . $_SESSION['translate']->it('Fork') . '" title="' . $_SESSION['translate']->it('Fork') . '" /> ' . $_SESSION['translate']->it('Fork') . '</a>'; --- 183,188 ---- } ! $thread = new PHPWSBB_Thread($this->_tid); ! if (($_SESSION['OBJ_user']->allow_access('phpwsbb', 'fork_messages') && $this->isModerator) && ($thread->_replies > 0)) $tags['FORK'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=fork&PHPWS_MAN_ITEMS[]=' . $this->getId() . '"><img src="./images/phpwsbb/fork.png" border="0" alt="' . $_SESSION['translate']->it('Fork') . '" title="' . $_SESSION['translate']->it('Fork') . '" /> ' . $_SESSION['translate']->it('Fork') . '</a>'; *************** *** 480,484 **** } ! $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]=' . $thread->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a><br />'; } --- 480,485 ---- } ! $GLOBALS['CNT_phpwsbb']['content'] .= '<p><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS[]=' . $thread->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a> | '; ! $GLOBALS['CNT_phpwsbb']['content'] .= '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS[]=' . $thread->_fid . '">' . $_SESSION['translate']->it('Back to the forum.') . '</a></p>'; } *************** *** 498,505 **** } - // Need to create thread $oldtid = $this->_tid; $oldthread = new PHPWSBB_Thread($this->_tid); $thread = new PHPWSBB_Thread; $thread->setLabel($this->getLabel()); --- 499,513 ---- } // Need to create thread $oldtid = $this->_tid; $oldthread = new PHPWSBB_Thread($this->_tid); + + if (!$oldthread->_replies > 0) { + $message = $_SESSION['translate']->it('Can\'t fork message [var1] as it contains no replies.', $this->_tid); + $error = new PHPWS_Error('phpwsbb', 'PHPWSBB_Manager::_accessDenied()', $message, 'exit', 1); + $error->message(); + return FALSE; + } + $thread = new PHPWSBB_Thread; $thread->setLabel($this->getLabel()); |
From: Shaun M. <sin...@us...> - 2005-03-01 02:06:19
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3783 Modified Files: Thread.php Log Message: Fixed XHTML issue. Added 'Back to the forum' Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.71 retrieving revision 1.72 diff -C2 -d -r1.71 -r1.72 *** Thread.php 9 Jan 2005 21:37:46 -0000 1.71 --- Thread.php 1 Mar 2005 02:06:01 -0000 1.72 *************** *** 510,518 **** if ($GLOBALS['core']->sqlInsert($data, 'mod_phpwsbb_monitors', TRUE, FALSE, FALSE, FALSE)) { $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('You are now monitoring the topic "[var1]" and will be emailed when there is a new reply.', $this->getLabel()); - $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="http://' . PHPWS_HOME_HTTP . 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a>'; $this->monitored = TRUE; } else { $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem adding the monitor entry. Please try again or contact the system administrator.') . '</div>'; } } --- 510,520 ---- if ($GLOBALS['core']->sqlInsert($data, 'mod_phpwsbb_monitors', TRUE, FALSE, FALSE, FALSE)) { $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('You are now monitoring the topic "[var1]" and will be emailed when there is a new reply.', $this->getLabel()); $this->monitored = TRUE; } else { $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem adding the monitor entry. Please try again or contact the system administrator.') . '</div>'; } + $GLOBALS['CNT_phpwsbb']['content'] .= '<p><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a> | '; + $GLOBALS['CNT_phpwsbb']['content'] .= '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS[]=' . $this->_fid . '">' . $_SESSION['translate']->it('Back to the forum.') . '</a></p>'; + } *************** *** 530,538 **** if ($GLOBALS['core']->sqlDelete('mod_phpwsbb_monitors', $data)) { $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('Monitor successfully removed.'); - $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="http://' . PHPWS_HOME_HTTP . 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a>'; $this->monitored = FALSE; } else { $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem removing the monitor entry. Please try again or contact the system administrator.') . '</div>'; } } }// END FUNC _unmonitor --- 532,541 ---- if ($GLOBALS['core']->sqlDelete('mod_phpwsbb_monitors', $data)) { $GLOBALS['CNT_phpwsbb']['content'] .= $_SESSION['translate']->it('Monitor successfully removed.'); $this->monitored = FALSE; } else { $GLOBALS['CNT_phpwsbb']['content'] .= '<div class="errortext">' . $_SESSION['translate']->it('There was a problem removing the monitor entry. Please try again or contact the system administrator.') . '</div>'; } + $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=view&PHPWS_MAN_ITEMS=' . $this->getId() . '">' . $_SESSION['translate']->it('Back to the topic.') . '</a><br />'; + $GLOBALS['CNT_phpwsbb']['content'] .= '<br /><a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS[]=' . $this->_fid . '">' . $_SESSION['translate']->it('Back to the forum.') . '</a><br />'; } }// END FUNC _unmonitor |
From: Shaun M. <sin...@us...> - 2005-01-09 21:37:56
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16509 Modified Files: Thread.php Log Message: Changed anchor back to long version otherwise Safari treats whole thread as a hover area. Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** Thread.php 5 Jan 2005 19:04:00 -0000 1.70 --- Thread.php 9 Jan 2005 21:37:46 -0000 1.71 *************** *** 266,270 **** $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; ! return '<a name="bb-top" />' . PHPWS_Template::processTemplate($tags, 'phpwsbb', 'view_thread_top.tpl') . $content --- 266,270 ---- $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; ! return '<a name="bb-top" /></a>' . PHPWS_Template::processTemplate($tags, 'phpwsbb', 'view_thread_top.tpl') . $content |
From: Wendall C. <wen...@us...> - 2005-01-05 22:29:43
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13085/docs Modified Files: AUTHORS COPYRIGHT Log Message: final release changes for 1.0.1 Index: COPYRIGHT =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/COPYRIGHT,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** COPYRIGHT 9 Sep 2004 20:11:16 -0000 1.2 --- COPYRIGHT 5 Jan 2005 22:29:32 -0000 1.3 *************** *** 6,7 **** --- 6,9 ---- Don Seiler <do...@NO...> Eloi George <el...@NO...> + Wendall Cada <wen...@NO...> + Shaun Murray <sin...@NO...> \ No newline at end of file Index: AUTHORS =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/AUTHORS,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AUTHORS 10 Sep 2004 02:04:03 -0000 1.2 --- AUTHORS 5 Jan 2005 22:29:31 -0000 1.3 *************** *** 7,10 **** --- 7,13 ---- - QA, Requirements Engineering + Wendall Cada <wen...@NO...> + - Developer + Eloi George <el...@NO...> - Developer |
From: Wendall C. <wen...@us...> - 2005-01-05 22:29:41
|
Update of /cvsroot/phpwsbb/phpwsbb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13085 Modified Files: README Log Message: final release changes for 1.0.1 Index: README =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/README,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** README 21 Sep 2004 14:34:20 -0000 1.4 --- README 5 Jan 2005 22:29:30 -0000 1.5 *************** *** 1,5 **** phpwsBB - phpWebSite Bulletin Board http://phpwsbb.sourceforge.net ! Don Seiler <do...@NO...> BUGS --- 1,7 ---- phpwsBB - phpWebSite Bulletin Board http://phpwsbb.sourceforge.net ! ! phpwsBB is copyright (C) 2004 by those listed in the docs/AUTHORS and ! docs/COPYRIGHT BUGS *************** *** 18,22 **** See docs/INSTALL for installation instructions, as well as instructions on seeking support for phpwsBB. If you are installing this on phpwebsite < ! 0.9.3-5, you'll need to install the ImgLib classes, see the README in the imglib dir. --- 20,24 ---- See docs/INSTALL for installation instructions, as well as instructions on seeking support for phpwsBB. If you are installing this on phpwebsite < ! 0.10.0, you'll need to install the ImgLib classes, see the README in the imglib dir. |
From: Wendall C. <wen...@us...> - 2005-01-05 22:02:35
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5658/docs Modified Files: ChangeLog INSTALL Log Message: version change to 0.10.1 Index: INSTALL =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/INSTALL,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** INSTALL 13 Sep 2004 16:11:15 -0000 1.3 --- INSTALL 5 Jan 2005 22:02:26 -0000 1.4 *************** *** 4,9 **** INSTALL steps for phpwsbb ! IMPORTANT: phpwsbb is a module for phpWebSite 0.9.3-2 or higher. You have to ! install phpWebSite >= 0.9.3-2 first, phpwsbb will not work with earlier versions of phpWebSite. If you don't have phpWebSite installed, first get the latest code here: --- 4,9 ---- INSTALL steps for phpwsbb ! IMPORTANT: phpwsbb is a module for phpWebSite 0.9.3-4 or higher. You have to ! install phpWebSite >= 0.9.3-4 first, phpwsbb will not work with earlier versions of phpWebSite. If you don't have phpWebSite installed, first get the latest code here: *************** *** 14,27 **** docs directory of that download. - If you are using phpWebSite 0.9.3-2, you will need to download the fixed - version of core/Database.php, which you can get at: - - http://phpwsbb.sourceforge.net/Database0932.zip - - Extract Database.php from that archive and put it into the "core" directory of - your phpWebSite installation. - - One this is done then you can start installing phpwsBB: - 1. Download the .tar.gz from a sourceforge mirror. --- 14,17 ---- *************** *** 65,69 **** Layout Admin in control panel and "Reinitialize Default Theme". FYI. ! 8. If you are installing on phpwebsite < 0.9.3-5, you'll need to follow the instructions in the README in the imglib directory. --- 55,59 ---- Layout Admin in control panel and "Reinitialize Default Theme". FYI. ! 8. If you are installing on phpwebsite < 0.10.0, you'll need to follow the instructions in the README in the imglib directory. Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** ChangeLog 5 Jan 2005 19:06:27 -0000 1.122 --- ChangeLog 5 Jan 2005 22:02:25 -0000 1.123 *************** *** 2,6 **** # $Id$ ! *phpwsbb-1.0.1cvs Bug Fixes: --- 2,6 ---- # $Id$ ! *phpwsbb-1.0.1 (05 Jan 2005) Bug Fixes: |
From: Wendall C. <wen...@us...> - 2005-01-05 22:02:34
|
Update of /cvsroot/phpwsbb/phpwsbb/conf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5658/conf Modified Files: boost.php Log Message: version change to 0.10.1 Index: boost.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/conf/boost.php,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** boost.php 13 Sep 2004 21:41:55 -0000 1.38 --- boost.php 5 Jan 2005 22:02:25 -0000 1.39 *************** *** 32,36 **** $admin_mod = 1; $active = 'on'; ! $version = '1.0.0'; $admin_op = '&PHPWSBB_MAN_OP=list'; $mod_class_files = array('Manager.php'); --- 32,36 ---- $admin_mod = 1; $active = 'on'; ! $version = '1.0.1'; $admin_op = '&PHPWSBB_MAN_OP=list'; $mod_class_files = array('Manager.php'); |
From: Wendall C. <wen...@us...> - 2005-01-05 22:02:33
|
Update of /cvsroot/phpwsbb/phpwsbb/boost In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5658/boost Modified Files: update.php Log Message: version change to 0.10.1 Index: update.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/boost/update.php,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** update.php 25 Oct 2004 17:35:22 -0000 1.46 --- update.php 5 Jan 2005 22:02:24 -0000 1.47 *************** *** 319,322 **** --- 319,326 ---- $content .= 'There was a problem creating the phpwsBB User Information table.<br />'; } + if(version_compare($currentVersion, '1.0.1') < 0) { + $content .= 'Small bug fixes. Language filtering should now work.<br />'; + $content .= 'You can now uninstall, even though we highly recommend not doing so. ;)'; + } ?> |
From: Wendall C. <wen...@us...> - 2005-01-05 19:06:37
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26724/docs Modified Files: ChangeLog Log Message: added previous bug Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** ChangeLog 5 Jan 2005 16:39:08 -0000 1.121 --- ChangeLog 5 Jan 2005 19:06:27 -0000 1.122 *************** *** 5,8 **** --- 5,9 ---- 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 |
From: Wendall C. <wen...@us...> - 2005-01-05 19:04:21
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26172/class Modified Files: Thread.php Log Message: fixed top link Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.69 retrieving revision 1.70 diff -C2 -d -r1.69 -r1.70 *** Thread.php 5 Jan 2005 16:39:08 -0000 1.69 --- Thread.php 5 Jan 2005 19:04:00 -0000 1.70 *************** *** 266,270 **** $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; ! return '<div name="bb-top" />' . PHPWS_Template::processTemplate($tags, 'phpwsbb', 'view_thread_top.tpl') . $content --- 266,270 ---- $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; ! return '<a name="bb-top" />' . PHPWS_Template::processTemplate($tags, 'phpwsbb', 'view_thread_top.tpl') . $content |
From: Wendall C. <wen...@us...> - 2005-01-05 16:39:22
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22118/class Modified Files: Message.php Thread.php Log Message: small syntax fixes Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** Thread.php 5 Jan 2005 15:50:32 -0000 1.68 --- Thread.php 5 Jan 2005 16:39:08 -0000 1.69 *************** *** 254,257 **** --- 254,258 ---- // Need to cycle through all messages and view $content = ''; + $bg = NULL; foreach($this->messages as $mid) { $message = new PHPWSBB_Message($mid, $this->isModerator); *************** *** 336,339 **** --- 337,341 ---- $admin_email = $_SESSION['PHPWSBB_Manager']->_admin_email; if (empty($admin_email)) { + $user_contact = NULL; extract(PHPWS_User::getSettings()); $admin_email = $user_contact; Index: Message.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Message.php,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** Message.php 5 Jan 2005 00:45:46 -0000 1.75 --- Message.php 5 Jan 2005 16:39:07 -0000 1.76 *************** *** 459,462 **** --- 459,463 ---- $admin_email = $_SESSION['PHPWSBB_Manager']->_admin_email; if (empty($admin_email)) { + $user_contact = NULL; extract(PHPWS_User::getSettings()); $admin_email = $user_contact; *************** *** 597,600 **** --- 598,602 ---- $admin_email = $_SESSION['PHPWSBB_Manager']->_admin_email; if (empty($admin_email)) { + $user_contact = NULL; extract(PHPWS_User::getSettings()); $admin_email = $user_contact; |
From: Wendall C. <wen...@us...> - 2005-01-05 16:39:18
|
Update of /cvsroot/phpwsbb/phpwsbb/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22118/docs Modified Files: ChangeLog Log Message: small syntax fixes Index: ChangeLog =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/docs/ChangeLog,v retrieving revision 1.120 retrieving revision 1.121 diff -C2 -d -r1.120 -r1.121 *** ChangeLog 5 Jan 2005 15:12:09 -0000 1.120 --- ChangeLog 5 Jan 2005 16:39:08 -0000 1.121 *************** *** 9,12 **** --- 9,13 ---- * 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) |
From: Wendall C. <wen...@us...> - 2005-01-05 15:50:43
|
Update of /cvsroot/phpwsbb/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11451/class Modified Files: Manager.php Thread.php Log Message: small syntax fixes Index: Thread.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Thread.php,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -d -r1.67 -r1.68 *** Thread.php 5 Jan 2005 00:45:48 -0000 1.67 --- Thread.php 5 Jan 2005 15:50:32 -0000 1.68 *************** *** 209,213 **** if ($results) foreach($results as $rec) ! $forums[$rec['id']] = $rec['label']; $form = new EZform('PHPWSBB_thread_move'); --- 209,213 ---- if ($results) foreach($results as $rec) ! $forums[$rec['id']] = PHPWS_Text::parseOutput($rec['label']); $form = new EZform('PHPWSBB_thread_move'); *************** *** 265,269 **** $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; ! return '<a name="bb-top" /></a>' . PHPWS_Template::processTemplate($tags, 'phpwsbb', 'view_thread_top.tpl') . $content --- 265,269 ---- $tags['MYPROFILE'] = '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=usersettings"><img src="./images/phpwsbb/mysettings.png" border="0" alt="' .$_SESSION['translate']->it('Settings') . '" title="' .$_SESSION['translate']->it('Settings') . '" /> ' . $_SESSION['translate']->it('Settings') . '</a>'; ! return '<div name="bb-top" />' . PHPWS_Template::processTemplate($tags, 'phpwsbb', 'view_thread_top.tpl') . $content Index: Manager.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/class/Manager.php,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** Manager.php 5 Jan 2005 00:45:45 -0000 1.61 --- Manager.php 5 Jan 2005 15:50:32 -0000 1.62 *************** *** 481,485 **** $GLOBALS['CNT_phpwsbb']['content'] = $_SESSION['translate']->it('Anonymous viewing of this bulletin board has been disabled. You must log-in to view this bulletin board.'); } else { ! $sql = "SELECT tid, label FROM " . $GLOBALS["core"]->tbl_prefix . "mod_phpwsbb_messages $where"; $result = $GLOBALS['core']->query($sql); --- 481,485 ---- $GLOBALS['CNT_phpwsbb']['content'] = $_SESSION['translate']->it('Anonymous viewing of this bulletin board has been disabled. You must log-in to view this bulletin board.'); } else { ! $sql = 'SELECT tid, label FROM ' . $GLOBALS["core"]->tbl_prefix . 'mod_phpwsbb_messages '. $where; $result = $GLOBALS['core']->query($sql); |