Changeset 530
- Timestamp:
- Sep 20, 2004, 11:10:17 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_modify.php
r403 r530 93 93 $query.= ' WHERE cat_id = '.$_GET['cat_id']; 94 94 mysql_query( $query ); 95 // resynchronize all users96 synchronize_all_users();97 95 } 98 96 … … 115 113 $query.= ';'; 116 114 $category = mysql_fetch_array( mysql_query( $query ) ); 115 // nullable fields 116 foreach (array('comment','dir') as $nullable) 117 { 118 if (!isset($category[$nullable])) 119 { 120 $category[$nullable] = ''; 121 } 122 } 117 123 118 124 // Navigation path … … 128 134 129 135 //----------------------------------------------------- template initialization 130 131 136 $template->assign_vars(array( 132 137 'CATEGORIES_NAV'=>$navigation, … … 143 148 'L_STORAGE'=>$lang['storage'], 144 149 'L_EDIT_COMMENT'=>$lang['comment'], 145 'L_EDIT_STATUS'=>$lang['conf_ general_access'],150 'L_EDIT_STATUS'=>$lang['conf_access'], 146 151 'L_EDIT_STATUS_INFO'=>$lang['cat_access_info'], 147 'L_ACCESS_FREE'=>$lang[' conf_general_access_1'],148 'L_ACCESS_RESTRICTED'=>$lang[' conf_general_access_2'],152 'L_ACCESS_FREE'=>$lang['free'], 153 'L_ACCESS_RESTRICTED'=>$lang['restricted'], 149 154 'L_EDIT_LOCK'=>$lang['cat_lock'], 150 155 'L_EDIT_LOCK_INFO'=>$lang['cat_lock_info'],
Note: See TracChangeset
for help on using the changeset viewer.