Changeset 1268 in ExiteCMS
- Timestamp:
- 02/12/08 00:28:01 (4 years ago)
- Location:
- modules/common/wiki/php-files/modules/wiki
- Files:
-
- 2 edited
-
templates/modules.wiki.wiki_admin.tpl (modified) (1 diff)
-
wiki_admin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modules/common/wiki/php-files/modules/wiki/templates/modules.wiki.wiki_admin.tpl
r1161 r1268 145 145 </tr> 146 146 <tr> 147 <td width='50%' class='tbl'> 148 Generate wiki links in forum posts 149 </td> 150 <td width='50%' class='tbl'> 151 <select name='forum_links' class='textbox'> 152 <option value='0'{if $settings2.wiki_forum_links == "0"} selected="selected"{/if}>{$locale.414}</option> 153 <option value='1'{if $settings2.wiki_forum_links == "1"} selected="selected"{/if}>{$locale.413}</option> 154 </select> 155 <span class='small'>Only for known keywords. You can use the [wiki] bbcode to manually make a link</span> 156 </td> 157 </tr> 158 <tr> 147 159 <td align='center' colspan='2' class='tbl'> 148 160 <br /> -
modules/common/wiki/php-files/modules/wiki/wiki_admin.php
r1223 r1268 39 39 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".stripinput($_POST['default_comment_acl'])."' WHERE cfg_name = 'wiki_default_comment_acl'"); 40 40 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".stripinput($_POST['admin_group'])."' WHERE cfg_name = 'wiki_admin_group'"); 41 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".stripinput($_POST['forum_links'])."' WHERE cfg_name = 'wiki_forum_links'"); 41 42 // if the name of the homepage has changed, update the wiki record 42 43 if ($settings['wiki_root_page'] != stripinput($_POST['root_page'])) {
Note: See TracChangeset
for help on using the changeset viewer.
