root/dev/templates/admin_options_edit.tpl @ 181

Revision 181, 296 bytes (checked in by exi, 14 years ago)

Changed admin/options to show the actual page as page title.
admin_menu.php now also loads settings from mods.
Added event manager and the first 2 events (comment/killmail added).
Changed config to be in a separate file and modified it to be called static with config::get().
http_request now stores the socket status in $this->status.
Changed MapView? to store pictures based on KB_SITE so it doesnt show a map with wrong colors for the current killboard on a multi-site installation.
Changed options to handle element options (like 'edit:size:40').
Changed options to use the static calls to config.
Changed Page to use the static calls to config.
Changed Session to use session_name() to determine if it should start a session.
index.php now loads module-init-scripts.
Changed post.php to use config and it should now also use the mailserver configuration directive to send emails.
Added a mail_forward-mod to show how easy it can be to develop mods once there are enough events listed.
Fixed 2 typos in battle_overview.tpl.

Line 
1{strip}
2<tr><td width="120"><b>{$opt.descr}:</b></td><td>
3<input type="edit" id="option[{$opt.name}]" name="option[{$opt.name}]"
4value="{$config->getConfig($opt.name)}" size="{$options.size}" maxlength="{$options.maxlength}">
5{if $opt.hint}
6&nbsp;({$opt.hint})
7{/if}
8</td></tr>
9{/strip}
Note: See TracBrowser for help on using the browser.