Changeset 1423 in ExiteCMS
- Timestamp:
- 05/30/08 22:22:53 (4 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
-
administration/settings_forum.php (modified) (1 diff)
-
administration/upgrade/rev01420.php (added)
-
includes/templates/admin.settings_forum.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/administration/settings_forum.php
r1222 r1423 38 38 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".(isNum($_POST['thread_notify']) ? $_POST['thread_notify'] : "0")."' WHERE cfg_name = 'thread_notify'"); 39 39 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".(isNum($_POST['unread_threshold']) ? $_POST['unread_threshold'] : "0")."' WHERE cfg_name = 'unread_threshold'"); 40 $result = dbquery("UPDATE ".$db_prefix."configuration SET cfg_value = '".(isNum($_POST['forum_edit_timeout']) ? $_POST['forum_edit_timeout'] : "0")."' WHERE cfg_name = 'forum_edit_timeout'"); 40 41 } 41 42 -
trunk/includes/templates/admin.settings_forum.tpl
r1195 r1423 101 101 <tr> 102 102 <td width='60%' class='tbl'> 103 {$locale.534} 104 </td> 105 <td width='40%' class='tbl'> 106 <select name='forum_edit_timeout' class='textbox'> 107 <option value='0' {if $settings2.forum_edit_timeout}selected='selected'{/if}>{$locale.714}</option> 108 {section name=hours start=1 loop=25} 109 <option value='{$smarty.section.hours.index}' {if $settings2.forum_edit_timeout == $smarty.section.hours.index}selected='selected'{/if}>{$smarty.section.hours.index} {if $smarty.section.hours.index == 1}{$locale.535}{else}{$locale.536}{/if}</option> 110 {/section} 111 </select> 112 </td> 113 </tr> 114 <tr> 115 <td width='60%' class='tbl'> 103 116 {$locale.514} 104 117 <br />
Note: See TracChangeset
for help on using the changeset viewer.
