|
From: Eloi G. <ada...@us...> - 2008-11-22 06:42:08
|
Update of /cvsroot/phpwebsite-comm/modules/article In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv28391 Modified Files: index_admin.php Log Message: Setting changes weren't getting saved. Fixed. Index: index_admin.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/index_admin.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** index_admin.php 21 Nov 2008 06:13:15 -0000 1.25 --- index_admin.php 22 Nov 2008 06:41:57 -0000 1.26 *************** *** 598,602 **** case 'reset': PHPWS_Settings::reset('article'); ! break; } $title = dgettext('article', 'Article Manager Configuration'); --- 598,604 ---- case 'reset': PHPWS_Settings::reset('article'); ! break; ! ! default: } $title = dgettext('article', 'Article Manager Configuration'); *************** *** 729,738 **** if($status['isDraft']) { $title = dgettext('article', 'Editing Rough Draft'); ! $message = dgettext('article', 'This is a rough draft of changes to this article.'); } /* otherwise its waiting for approval */ else { $title = dgettext('article', 'Editing Unapproved Article Version'); ! $message = dgettext('article', 'This is a newer version of this article that is awaiting approval.'); } $message .= "<br />\n". dgettext('article', "If you want to see the changes between this one and the one being displayed, select 'Version History'."); --- 731,740 ---- if($status['isDraft']) { $title = dgettext('article', 'Editing Rough Draft'); ! $message = dgettext('article', 'You are editing a rough draft of changes to this article.'); } /* otherwise its waiting for approval */ else { $title = dgettext('article', 'Editing Unapproved Article Version'); ! $message = dgettext('article', 'You are editing a newer version of this article that is awaiting approval.'); } $message .= "<br />\n". dgettext('article', "If you want to see the changes between this one and the one being displayed, select 'Version History'."); *************** *** 751,755 **** else $username = _('Unknown user'); - $ip = $_SERVER['REMOTE_ADDR']; $event = sprintf('%s@%s -- %s', $username, $ip, $message); --- 753,756 ---- |