Changeset 2073 in ExiteCMS for modules/common/wiki/php-files/modules/wiki/wiki_admin.php
- Timestamp:
- 11/26/08 22:20:46 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/common/wiki/php-files/modules/wiki/wiki_admin.php
r2043 r2073 45 45 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".stripinput($_POST['forum_links'])."' WHERE cfg_name = 'wiki_forum_links'"); 46 46 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".stripinput($_POST['page_template'])."' WHERE cfg_name = 'wiki_page_template'"); 47 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".stripinput($_POST['report_uploads'])."' WHERE cfg_name = 'wiki_report_uploads'"); 47 48 // if the name of the homepage has changed, update the wiki record 48 49 if ($settings['wiki_root_page'] != stripinput($_POST['root_page'])) { … … 65 66 $groups = getusergroups(); 66 67 $variables['usergroups'] = array(); 68 $variables['wikigroups'] = array(); 67 69 foreach ($groups as $group) { 68 $group[0] = "G".$group[0];69 70 $variables['usergroups'][] = $group; 71 $group[0] = "G" . $group[0]; 72 $variables['wikigroups'][] = $group; 70 73 } 71 74
Note: See TracChangeset
for help on using the changeset viewer.
