[Phpslash-commit] CVS: phpslash-ft/public_html/admin storyAdmin.php3,1.8,1.9
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-03-14 20:38:26
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin In directory usw-pr-cvs1:/tmp/cvs-serv13876/phpslash-ft/public_html/admin Modified Files: storyAdmin.php3 Log Message: no echoes in Story_base.class Index: storyAdmin.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/storyAdmin.php3,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** storyAdmin.php3 13 Mar 2002 20:05:18 -0000 1.8 --- storyAdmin.php3 14 Mar 2002 20:38:18 -0000 1.9 *************** *** 34,37 **** --- 34,38 ---- $success = $story->saveStory($HTTP_POST_VARS); if( $success == false) { + error($story->message); $story->newStory($HTTP_POST_VARS, "array"); } *************** *** 69,73 **** } else { titlebar("100%", "Error! Invalid Privileges"); ! echo "Sorry. You do not have the necessary privilege to view this page."; } --- 70,74 ---- } else { titlebar("100%", "Error! Invalid Privileges"); ! error(pslgetText("Sorry. You do not have the necessary privilege to view this page.")); } |