Project

General

Profile

« Previous | Next » 

Revision 95

Added by stefan about 19 years ago

Moved settings from config.php into database.
NOT FULLY WORKING!!!

View differences:

template.html
87 87
<tr>
88 88
	<td class="setting_name">{TEXT_WEBSITE_TITLE}:</td>
89 89
	<td class="setting_value" colspan="2">
90
		<input type="text" name="title" value="{TITLE}" />
90
		<input type="text" name="website_title" value="{WEBSITE_TITLE}" />
91 91
	</td>
92 92
	<script language="javascript" type="text/javascript">
93 93
	document.settings.title.focus();
......
96 96
<tr>
97 97
	<td class="setting_name">{TEXT_WEBSITE_DESCRIPTION}:</td>
98 98
	<td class="setting_value" colspan="2">
99
		<textarea name="description">{DESCRIPTION}</textarea>
99
		<textarea name="website_description">{WEBSITE_DESCRIPTION}</textarea>
100 100
	</td>
101 101
</tr>
102 102
<tr>
103 103
	<td class="setting_name">{TEXT_WEBSITE_KEYWORDS}:</td>
104 104
	<td class="setting_value" colspan="2">
105
		<textarea name="keywords">{KEYWORDS}</textarea>
105
		<textarea name="website_keywords">{WEBSITE_KEYWORDS}</textarea>
106 106
	</td>
107 107
</tr>
108 108
<tr class="advanced">
109 109
	<td class="setting_name">{TEXT_WEBSITE_HEADER}:</td>
110 110
	<td class="setting_value" colspan="2">
111
		<textarea name="header">{HEADER}</textarea>
111
		<textarea name="website_header">{WEBSITE_HEADER}</textarea>
112 112
	</td>
113 113
</tr>
114 114
<tr>
115 115
	<td class="setting_name">{TEXT_WEBSITE_FOOTER}:</td>
116 116
	<td class="setting_value" colspan="2">
117
		<textarea name="footer">{FOOTER}</textarea>
117
		<textarea name="website_footer">{WEBSITE_FOOTER}</textarea>
118 118
	</td>
119 119
</tr>
120 120
<tr>
......
281 281
<tr>
282 282
	<td class="setting_name">{TEXT_LANGUAGE}:</td>
283 283
	<td class="setting_value" colspan="2">
284
		<select name="language">
284
		<select name="default_language">
285 285
			<!-- BEGIN language_list_block -->
286 286
			<option value="{CODE}"{SELECTED}>{NAME} ({CODE})</option>
287 287
			<!-- END language_list_block -->
......
291 291
<tr>
292 292
	<td class="setting_name">{TEXT_TIMEZONE}:</td>
293 293
	<td class="setting_value" colspan="2">
294
		<select name="timezone">
294
		<select name="default_timezone">
295 295
			<option value="0">{TEXT_PLEASE_SELECT}...</option>
296 296
			<!-- BEGIN timezone_list_block -->
297 297
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
......
302 302
<tr>
303 303
	<td class="setting_name">{TEXT_DATE_FORMAT}:</td>
304 304
	<td class="setting_value" colspan="2">
305
		<select name="date_format">
305
		<select name="default_date_format">
306 306
			<option value="M d Y">{TEXT_PLEASE_SELECT}...</option>
307 307
			<!-- BEGIN date_format_list_block -->
308 308
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
......
313 313
<tr>
314 314
	<td class="setting_name">{TEXT_TIME_FORMAT}:</td>
315 315
	<td class="setting_value" colspan="2">
316
		<select name="time_format">
316
		<select name="default_time_format">
317 317
			<option value="g:i A">{TEXT_PLEASE_SELECT}...</option>
318 318
			<!-- BEGIN time_format_list_block -->
319 319
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
......
324 324
<tr>
325 325
	<td class="setting_name">{TEXT_TEMPLATE}:</td>
326 326
	<td class="setting_value" colspan="2">
327
		<select name="template">
327
		<select name="default_template">
328 328
		<!-- BEGIN template_list_block -->
329 329
			<option value="{FILE}"{SELECTED}>{NAME}</option>
330 330
		<!-- END template_list_block -->

Also available in: Unified diff