[Phpslash-commit] CVS: phpslash-dev/include/modules/author admin.php,1.1.1.1,1.2 index.php,1.2,1.3
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-05-15 18:20:28
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/author In directory sc8-pr-cvs1:/tmp/cvs-serv13348/phpslash-dev/include/modules/author Modified Files: admin.php index.php Log Message: module sections Index: admin.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/author/admin.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** admin.php 12 Mar 2003 16:12:56 -0000 1.1.1.1 --- admin.php 15 May 2003 18:19:53 -0000 1.2 *************** *** 3,6 **** --- 3,8 ---- /* $Id$ */ + global $_PSL, $HTTP_POST_VARS, $HTTP_GET_VARS, $auth, $perm; + AddClassRequirement("author",$_PSL['moduledir'] ."/". $_PSL['module']['module.current'] ."/Author.class"); *************** *** 62,67 **** } } ! if ($perm->have_perm("authorNew")) { ! $content .= $author->newAuthor(); } if ($perm->have_perm("authorList")) { --- 64,69 ---- } } ! if ($perm->have_perm("authorNew")) { ! $content .= $author->newAuthor(); } if ($perm->have_perm("authorList")) { Index: index.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/author/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 25 Apr 2003 20:00:21 -0000 1.2 --- index.php 15 May 2003 18:19:53 -0000 1.3 *************** *** 5,8 **** --- 5,10 ---- global $_PSL, $auth, $perm, $HTTP_GET_VARS, $HTTP_POST_VARS; + global $_PSL, $auth, $perm, $HTTP_GET_VARS, $HTTP_POST_VARS; + AddClassRequirement("author",$_PSL['moduledir'] ."/". $_PSL['module']['module.current'] ."/Author.class"); |