From: Eloi G. <ada...@us...> - 2009-02-26 23:47:36
|
Update of /cvsroot/phpwebsite-comm/modules/article In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv16965 Modified Files: index_admin.php Log Message: Fixed Bug Report [ 2631456 ] - AM 4.21 permission bug Index: index_admin.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/index_admin.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** index_admin.php 23 Nov 2008 06:06:13 -0000 1.27 --- index_admin.php 26 Feb 2009 23:45:52 -0000 1.28 *************** *** 1,405 **** ! <?php ! /** ! * This is the index admin-only file for the article module. ! * ! * @version $Id$ ! * ! * @author Eloi George <el...@NO...> ! * @module Article Manager ! */ ! if (!defined('PHPWS_SOURCE_DIR') || !Current_User::allow('article')) { [...1457 lines suppressed...] ! $message .= "<br /><br />\n". dgettext('article', 'The following Reviewer\'s note is attatched to this version:') ! . '<br />' . PHPWS_Text::parseOutput($status['msg']); ! return $article; } function log_event($message, $type = 'Notice') { *************** *** 756,760 **** $event = sprintf('%s@%s -- %s', $username, $ip, $message); PHPWS_Core::log(escapeshellcmd($event), 'event.log', $type); ! } ! ! ?> \ No newline at end of file --- 755,759 ---- $event = sprintf('%s@%s -- %s', $username, $ip, $message); PHPWS_Core::log(escapeshellcmd($event), 'event.log', $type); ! } ! ! ?> |