Ignore:
Timestamp:
11/26/08 22:20:46 (3 years ago)
Author:
root
Message:

implemented a new file upload module for the wiki, with upload notification via PM for additional security

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/common/wiki/php-files/modules/wiki/wiki_admin.php

    r2043 r2073  
    4545    $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".stripinput($_POST['forum_links'])."' WHERE cfg_name = 'wiki_forum_links'"); 
    4646    $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'"); 
    4748    // if the name of the homepage has changed, update the wiki record 
    4849    if ($settings['wiki_root_page'] != stripinput($_POST['root_page'])) { 
     
    6566$groups = getusergroups(); 
    6667$variables['usergroups'] = array(); 
     68$variables['wikigroups'] = array(); 
    6769foreach ($groups as $group) { 
    68     $group[0] = "G".$group[0]; 
    6970    $variables['usergroups'][] = $group; 
     71    $group[0] = "G" . $group[0]; 
     72    $variables['wikigroups'][] = $group; 
    7073} 
    7174 
Note: See TracChangeset for help on using the changeset viewer.