Update of /cvsroot/phpwsbb/phpwsbb/class
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22072
Modified Files:
Forum.php
Log Message:
Removing popbox
Index: Forum.php
===================================================================
RCS file: /cvsroot/phpwsbb/phpwsbb/class/Forum.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** Forum.php 1 Mar 2006 14:52:10 -0000 1.44
--- Forum.php 1 Mar 2006 18:13:07 -0000 1.45
***************
*** 395,401 ****
$_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 />";
! $GLOBALS['CNT_phpwsbb']['content'] .= '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=list">' . $_SESSION['translate']->it('Back to Forums') . '</a>';
!
}
--- 395,401 ----
$_SESSION['OBJ_fatcat']->saveSelect($this->getLabel(), 'index.php?module=phpwsbb&PHPWSBB_MAN_OP=viewforum&PHPWS_MAN_ITEMS=' . $this->getId(), $this->getId());
! $content = '<p>' . $_SESSION['translate']->it('Your forum was successfully saved.') . '</p>';
! $content .= '<a href="./index.php?module=phpwsbb&PHPWSBB_MAN_OP=list">' . $_SESSION['translate']->it('Back to Forums') . '</a>';
! return $content;
}
***************
*** 462,467 ****
} else {
- $title = $_SESSION['translate']->it('Delete Forum Confirmation');
-
$form = new EZform('PHPWSBB_Forum_delete');
$form->add('module', 'hidden', 'phpwsbb');
--- 462,465 ----
***************
*** 475,480 ****
$tags['MESSAGE'] = $_SESSION['translate']->it('Are you sure you want to delete this forum and all its threads and messages?');
! $content = PHPWS_Template::processTemplate($tags, 'phpwsbb', 'delete.tpl');
! $_SESSION['OBJ_layout']->popbox($title, $content, NULL, 'CNT_phpwsbb');
}
--- 473,478 ----
$tags['MESSAGE'] = $_SESSION['translate']->it('Are you sure you want to delete this forum and all its threads and messages?');
! $GLOBALS['CNT_phpwsbb']['title'] = $_SESSION['translate']->it('Delete Forum Confirmation');
! $GLOBALS['CNT_phpwsbb']['content'] = PHPWS_Template::processTemplate($tags, 'phpwsbb', 'delete.tpl');
}
***************
*** 501,505 ****
case 'save':
! $this->_save();
break;
--- 499,505 ----
case 'save':
! $title = $_SESSION['translate']->it('Saving Forum');
! $content = $_SESSION['PHPWSBB_Manager']->_menu($this);
! $content .= $this->_save();
break;
|