From: <ada...@us...> - 2003-07-31 22:47:51
|
Update of /cvsroot/phpwebsite-comm/modules/article/inc In directory sc8-pr-cvs1:/tmp/cvs-serv27395/inc Modified Files: editconfig.php saveconfig.php Log Message: Restricted Viewing isn't available right now, so I took out the configuration option Index: editconfig.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/inc/editconfig.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** editconfig.php 19 Jul 2003 18:05:19 -0000 1.3 --- editconfig.php 31 Jul 2003 22:30:55 -0000 1.4 *************** *** 171,178 **** /* restricted_viewing */ ! $tags['RESTRICTED_VIEWING'] = $GLOBALS['core']->formCheckBox('CONFIG_restricted_viewing',1 ! ,$this->val['restricted_viewing'],NULL ! ,$_SESSION['translate']->it('Users can only see articles that belong to a group that they are members of')) ! . $_SESSION['OBJ_help']->show_link('configmanager', 'restricted_viewing'); /* lock_expiration_time */ --- 171,178 ---- /* restricted_viewing */ ! //$tags['RESTRICTED_VIEWING'] = $GLOBALS['core']->formCheckBox('CONFIG_restricted_viewing',1 ! // ,$this->val['restricted_viewing'],NULL ! // ,$_SESSION['translate']->it('Users can only see articles that belong to a group that they are members of')) ! // . $_SESSION['OBJ_help']->show_link('configmanager', 'restricted_viewing'); /* lock_expiration_time */ Index: saveconfig.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/article/inc/saveconfig.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** saveconfig.php 19 Jul 2003 18:05:19 -0000 1.2 --- saveconfig.php 31 Jul 2003 22:30:55 -0000 1.3 *************** *** 40,44 **** ?$_POST['CONFIG_max_image_width'] :$this->val['max_image_width']; ! $query_data['restricted_viewing'] = ($_POST['CONFIG_restricted_viewing'])?1:0; $query_data['lock_expiration_time'] = $_POST['CONFIG_lock_expiration_time']; $query_data['make_metatags'] = ($_POST['CONFIG_make_metatags'])?1:0; --- 40,44 ---- ?$_POST['CONFIG_max_image_width'] :$this->val['max_image_width']; ! //$query_data['restricted_viewing'] = ($_POST['CONFIG_restricted_viewing'])?1:0; $query_data['lock_expiration_time'] = $_POST['CONFIG_lock_expiration_time']; $query_data['make_metatags'] = ($_POST['CONFIG_make_metatags'])?1:0; |