adding new options to plugin defines.
[squirrelmail.git] / plugins / administrator / defines.php
CommitLineData
fb579f0b 1<?php
4b4abf93 2
abd7a3f8 3/**
fb579f0b 4 * Administrator plugin - Option definitions
abd7a3f8 5 *
fb579f0b 6 * @author Philippe Mingo
47ccfad4 7 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
fb579f0b 8 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
4b4abf93 9 * @version $Id$
ea5f4b8e 10 * @package plugins
11 * @subpackage administrator
abd7a3f8 12 */
13
5ba5dc8e 14/** @ignore */
15if (!defined('SM_PATH')) define('SM_PATH','../../');
16
fd7ab795 17/**
18 * Load SquirrelMail SMPREF constants for default_unseen_notify and
19 * default_unseen_type variables.
20 */
b59d1a7d 21require_once( SM_PATH . 'functions/constants.php' );
abd7a3f8 22
23/* Define constants for the various option types. */
24define('SMOPT_TYPE_UNDEFINED', -1);
25define('SMOPT_TYPE_STRING', 0);
26define('SMOPT_TYPE_STRLIST', 1);
27define('SMOPT_TYPE_TEXTAREA', 2);
28define('SMOPT_TYPE_INTEGER', 3);
29define('SMOPT_TYPE_FLOAT', 4);
30define('SMOPT_TYPE_BOOLEAN', 5);
31define('SMOPT_TYPE_HIDDEN', 6);
32define('SMOPT_TYPE_COMMENT', 7);
dcd6f144 33define('SMOPT_TYPE_NUMLIST', 8);
edd4a552 34define('SMOPT_TYPE_TITLE', 9);
35define('SMOPT_TYPE_THEME', 10);
36define('SMOPT_TYPE_PLUGINS', 11);
65a5bae6 37define('SMOPT_TYPE_LDAP', 12);
439538dc 38define('SMOPT_TYPE_CUSTOM', 13);
88cb1b4d 39define('SMOPT_TYPE_EXTERNAL', 32);
a28a56da 40define('SMOPT_TYPE_PATH',33);
abd7a3f8 41
439538dc 42/**
43 * Returns reformated aTemplateSet array data for option selection
44 * @return array template selection options
45 * @since 1.5.1
46 */
47function adm_template_options() {
48 global $aTemplateSet;
49 $ret = array();
50 foreach ($aTemplateSet as $iTemplateID => $aTemplate) {
51 $ret[$iTemplateID] = $aTemplate['NAME'];
52 }
53 return $ret;
54}
55
5ba5dc8e 56global $languages, $version;
abd7a3f8 57
35be4418 58$language_values = array( );
abd7a3f8 59foreach ($languages as $lang_key => $lang_attributes) {
60 if (isset($lang_attributes['NAME'])) {
61 $language_values[$lang_key] = $lang_attributes['NAME'];
62 }
63}
64asort( $language_values );
35be4418 65$language_values = array_merge(array('' => _("Default")), $language_values);
dcd6f144 66$left_size_values = array();
67for ($lsv = 100; $lsv <= 300; $lsv += 10) {
68 $left_size_values[$lsv] = "$lsv " . _("pixels");
69}
70
0e66bc84 71$defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
72 'type' => SMOPT_TYPE_COMMENT,
abd7a3f8 73 'size' => 7 ),
7fe5aa79 74 'SM_ver' => array( 'name' => _("SquirrelMail Version"),
88cb1b4d 75 'type' => SMOPT_TYPE_EXTERNAL,
76 'value' => "$version" ),
77 'PHP_ver' => array( 'name' => _("PHP Version"),
78 'type' => SMOPT_TYPE_EXTERNAL,
79 'value' => phpversion() ),
0e66bc84 80 /* --------------------------------------------------------*/
81 'Group1' => array( 'name' => _("Organization Preferences"),
82 'type' => SMOPT_TYPE_TITLE ),
83 '$org_name' => array( 'name' => _("Organization Name"),
abd7a3f8 84 'type' => SMOPT_TYPE_STRING,
85 'size' => 40 ),
0e66bc84 86 '$org_logo' => array( 'name' => _("Organization Logo"),
a28a56da 87 'type' => SMOPT_TYPE_PATH,
88 'size' => 40,
fdefb2e7 89 'default' => '../images/sm_logo.png'),
99ac8983 90 '$org_logo_width' => array( 'name' => _("Organization Logo Width"),
af5a3d89 91 'type' => SMOPT_TYPE_STRING,
99ac8983 92 'size' => 5,
93 'default' => 0),
94 '$org_logo_height' => array( 'name' => _("Organization Logo Height"),
af5a3d89 95 'type' => SMOPT_TYPE_STRING,
99ac8983 96 'size' => 5,
97 'default' => 0),
0e66bc84 98 '$org_title' => array( 'name' => _("Organization Title"),
abd7a3f8 99 'type' => SMOPT_TYPE_STRING,
100 'size' => 40 ),
0e66bc84 101 '$signout_page' => array( 'name' => _("Signout Page"),
a28a56da 102 'type' => SMOPT_TYPE_PATH,
0e66bc84 103 'size' => 40 ),
fdefb2e7 104 '$provider_uri' => array( 'name' => _("Provider Link URI"),
105 'type' => SMOPT_TYPE_STRING ),
106 '$provider_name' => array( 'name' => _("Provider Name"),
107 'type' => SMOPT_TYPE_STRING ),
dcd6f144 108 '$frame_top' => array( 'name' => _("Top Frame"),
109 'type' => SMOPT_TYPE_STRING,
feba1a41 110 'size' => 40,
111 'default' => '_top' ),
0e66bc84 112 /* --------------------------------------------------------*/
113 'Group2' => array( 'name' => _("Server Settings"),
114 'type' => SMOPT_TYPE_TITLE ),
115 '$domain' => array( 'name' => _("Mail Domain"),
88cb1b4d 116 'type' => SMOPT_TYPE_STRING,
117 'size' => 40 ),
abd7a3f8 118 '$imapServerAddress' => array( 'name' => _("IMAP Server Address"),
119 'type' => SMOPT_TYPE_STRING,
120 'size' => 40 ),
121 '$imapPort' => array( 'name' => _("IMAP Server Port"),
88cb1b4d 122 'type' => SMOPT_TYPE_INTEGER ),
0e66bc84 123 '$imap_server_type' => array( 'name' => _("IMAP Server Type"),
124 'type' => SMOPT_TYPE_STRLIST,
0e66bc84 125 'posvals' => array( 'cyrus' => _("Cyrus IMAP server"),
126 'uw' => _("University of Washington's IMAP server"),
127 'exchange' => _("Microsoft Exchange IMAP server"),
128 'courier' => _("Courier IMAP server"),
2c3ad1cf 129 'macosx' => _("Mac OS X Mailserver"),
130 'hmailserver' => _("hMailServer IMAP server"),
ee20a285 131 'mercury32' => _("Mercury/32 IMAP server"),
e498ebbd 132 'bincimap' => _("Binc IMAP server"),
0e66bc84 133 'other' => _("Not one of the above servers") ) ),
134 '$optional_delimiter' => array( 'name' => _("IMAP Folder Delimiter"),
135 'type' => SMOPT_TYPE_STRING,
de6bf9e4 136 'comment' => _("Use &quot;detect&quot; to auto-detect."),
2586d588 137 'size' => 10,
138 'default' => 'detect' ),
a15f9d93 139 '$use_imap_tls' => array( 'name' => _("IMAP Connection Security"),
140 'type' => SMOPT_TYPE_STRLIST,
141 'posvals' => array( 0 => _("Plain text connection"),
142 1 => _("Secure IMAP (TLS) connection"),
143 2 => _("IMAP STARTTLS connection")),
144 'comment' => _("Requires higher PHP version and special functions. See SquirrelMail documentation."),
145 'default' => 0 ),
fdefb2e7 146 '$imap_auth_mech' => array( 'name' => _("IMAP Authentication Type"),
147 'type' => SMOPT_TYPE_STRLIST,
de6bf9e4 148 'posvals' => array('login' => _("IMAP login"),
fdefb2e7 149 'cram-md5' => 'CRAM-MD5',
150 'digest-md5' => 'DIGEST-MD5'),
151 'default' => 'login' ),
a3d6c63e 152 '$useSendmail' => array( 'name' => _("Use Sendmail Binary"),
153 'type' => SMOPT_TYPE_BOOLEAN,
de6bf9e4 154 'comment' => _("Choose &quot;no&quot; for SMTP") ),
dcd6f144 155 '$sendmail_path' => array( 'name' => _("Sendmail Path"),
156 'type' => SMOPT_TYPE_STRING,
157 'size' => 40 ),
fd7ab795 158 '$sendmail_args' => array( 'name' => _("Sendmail Arguments"),
159 'type' => SMOPT_TYPE_STRING,
160 'size' => 40 ),
abd7a3f8 161 '$smtpServerAddress' => array( 'name' => _("SMTP Server Address"),
162 'type' => SMOPT_TYPE_STRING,
163 'size' => 40 ),
164 '$smtpPort' => array( 'name' => _("SMTP Server Port"),
88cb1b4d 165 'type' => SMOPT_TYPE_INTEGER ),
a15f9d93 166 '$use_smtp_tls' => array( 'name' => _("SMTP Connection Security"),
167 'type' => SMOPT_TYPE_STRLIST,
168 'posvals' => array( 0 => _("Plain text connection"),
169 1 => _("Secure IMAP (TLS) connection"),
170 2 => _("IMAP STARTTLS connection")),
171 'comment' => _("Requires higher PHP version and special functions. See SquirrelMail documentation."),
172 'default' => 0 ),
fdefb2e7 173 '$smtp_auth_mech' => array( 'name' => _("SMTP Authentication Type"),
174 'type' => SMOPT_TYPE_STRLIST,
de6bf9e4 175 'posvals' => array('none' => _("No SMTP auth"),
176 'login' => _("Login (plain text)"),
fdefb2e7 177 'cram-md5' => 'CRAM-MD5',
178 'digest-md5' => 'DIGEST-MD5'),
179 'default' => 'none'),
180 '$pop_before_smtp' => array( 'name' => _("POP3 Before SMTP?"),
181 'type' => SMOPT_TYPE_BOOLEAN,
182 'default' => false ),
9d953ce0 183 '$encode_header_key' => array( 'name' => _("Header Encryption Key"),
184 'type' => SMOPT_TYPE_STRING ),
0e66bc84 185 '$invert_time' => array( 'name' => _("Invert Time"),
186 'type' => SMOPT_TYPE_BOOLEAN ),
187 /* --------------------------------------------------------*/
188 'Group3' => array( 'name' => _("Folders Defaults"),
189 'type' => SMOPT_TYPE_TITLE ),
dcd6f144 190 '$default_folder_prefix' => array( 'name' => _("Default Folder Prefix"),
191 'type' => SMOPT_TYPE_STRING,
192 'size' => 40 ),
193 '$show_prefix_option' => array( 'name' => _("Show Folder Prefix Option"),
194 'type' => SMOPT_TYPE_BOOLEAN ),
195 '$trash_folder' => array( 'name' => _("Trash Folder"),
196 'type' => SMOPT_TYPE_STRING,
197 'size' => 40 ),
198 '$sent_folder' => array( 'name' => _("Sent Folder"),
199 'type' => SMOPT_TYPE_STRING,
200 'size' => 40 ),
201 '$draft_folder' => array( 'name' => _("Draft Folder"),
202 'type' => SMOPT_TYPE_STRING,
203 'size' => 40 ),
204 '$default_move_to_trash' => array( 'name' => _("By default, move to trash"),
205 'type' => SMOPT_TYPE_BOOLEAN ),
206 '$default_move_to_sent' => array( 'name' => _("By default, move to sent"),
207 'type' => SMOPT_TYPE_BOOLEAN ),
208 '$default_save_as_draft' => array( 'name' => _("By default, save as draft"),
209 'type' => SMOPT_TYPE_BOOLEAN ),
210 '$list_special_folders_first' => array( 'name' => _("List Special Folders First"),
211 'type' => SMOPT_TYPE_BOOLEAN ),
212 '$use_special_folder_color' => array( 'name' => _("Show Special Folders Color"),
213 'type' => SMOPT_TYPE_BOOLEAN ),
214 '$auto_expunge' => array( 'name' => _("Auto Expunge"),
215 'type' => SMOPT_TYPE_BOOLEAN ),
216 '$default_sub_of_inbox' => array( 'name' => _("Default Sub. of INBOX"),
217 'type' => SMOPT_TYPE_BOOLEAN ),
218 '$show_contain_subfolders_option' => array( 'name' => _("Show 'Contain Sub.' Option"),
219 'type' => SMOPT_TYPE_BOOLEAN ),
220 '$default_unseen_notify' => array( 'name' => _("Default Unseen Notify"),
5ed13ec8 221 'type' => SMOPT_TYPE_NUMLIST,
222 'posvals' => array( SMPREF_UNSEEN_NONE => _("No Notification"),
223 SMPREF_UNSEEN_INBOX => _("Only INBOX"),
224 SMPREF_UNSEEN_ALL => _("All Folders")) ),
dcd6f144 225 '$default_unseen_type' => array( 'name' => _("Default Unseen Type"),
5ed13ec8 226 'type' => SMOPT_TYPE_NUMLIST ,
227 'posvals' => array( SMPREF_UNSEEN_ONLY => _("Only Unseen"),
228 SMPREF_UNSEEN_TOTAL => _("Unseen and Total") ) ),
dcd6f144 229 '$auto_create_special' => array( 'name' => _("Auto Create Special Folders"),
230 'type' => SMOPT_TYPE_BOOLEAN ),
4e85a37f 231 '$delete_folder' => array( 'name' => _("Auto delete folders"),
232 'type' => SMOPT_TYPE_BOOLEAN ),
fdefb2e7 233 '$noselect_fix_enable' => array( 'name' => _("Enable /NoSelect folder fix"),
234 'type' => SMOPT_TYPE_BOOLEAN,
235 'default' => false),
dcd6f144 236 /* --------------------------------------------------------*/
d0102e1a 237 'Group4' => array( 'name' => _("General Options"),
dcd6f144 238 'type' => SMOPT_TYPE_TITLE ),
dcd6f144 239 '$data_dir' => array( 'name' => _("Data Directory"),
a28a56da 240 'type' => SMOPT_TYPE_PATH,
dcd6f144 241 'size' => 40 ),
242 '$attachment_dir' => array( 'name' => _("Temp Directory"),
a28a56da 243 'type' => SMOPT_TYPE_PATH,
abd7a3f8 244 'size' => 40 ),
dcd6f144 245 '$dir_hash_level' => array( 'name' => _("Hash Level"),
246 'type' => SMOPT_TYPE_NUMLIST,
247 'posvals' => array( 0 => _("Hash Disabled"),
248 1 => _("Low"),
249 2 => _("Moderate"),
250 3 => _("Medium"),
251 4 => _("High") ) ),
edd4a552 252 '$default_left_size' => array( 'name' => _("Default Left Size"),
dcd6f144 253 'type' => SMOPT_TYPE_NUMLIST,
254 'posvals' => $left_size_values ),
255 '$force_username_lowercase' => array( 'name' => _("Usernames in Lowercase"),
256 'type' => SMOPT_TYPE_BOOLEAN ),
257 '$default_use_priority' => array( 'name' => _("Allow use of priority"),
258 'type' => SMOPT_TYPE_BOOLEAN ),
259 '$hide_sm_attributions' => array( 'name' => _("Hide SM attributions"),
260 'type' => SMOPT_TYPE_BOOLEAN ),
f06543bd 261 '$default_use_mdn' => array( 'name' => _("Enable use of delivery receipts"),
6fa38b33 262 'type' => SMOPT_TYPE_BOOLEAN ),
8a7d0669 263 '$edit_identity' => array( 'name' => _("Allow editing of identities"),
264 'type' => SMOPT_TYPE_BOOLEAN ),
265 '$edit_name' => array( 'name' => _("Allow editing of full name"),
266 'type' => SMOPT_TYPE_BOOLEAN ),
9d953ce0 267 '$hide_auth_header' => array( 'name' => _("Remove username from headers"),
268 'comment' => _("Used only when identities can't be modified"),
269 'type' => SMOPT_TYPE_BOOLEAN ),
0d53a854 270 '$disable_server_sort' => array( 'name' => _("Disable server-side sorting"),
fdefb2e7 271 'type' => SMOPT_TYPE_BOOLEAN,
272 'default' => false ),
0d53a854 273 '$disable_thread_sort' => array( 'name' => _("Disable server-side thread sorting"),
fdefb2e7 274 'type' => SMOPT_TYPE_BOOLEAN,
275 'default' => false ),
276 '$allow_charset_search' => array( 'name' => _("Allow server charset search"),
277 'type' => SMOPT_TYPE_BOOLEAN,
278 'default' => false ),
279 '$allow_advanced_search' => array( 'name' => _("Search functions"),
280 'type' => SMOPT_TYPE_NUMLIST,
281 'posvals' => array( 0 => _("Only basic search"),
282 1 => _("Only advanced search"),
283 2 => _("Both search functions") ),
284 'default' => 0 ),
285 '$session_name' => array( 'name' => _("PHP session name"),
286 'type' => SMOPT_TYPE_HIDDEN ),
ee20a285 287 '$time_zone_type' => array( 'name' => _("Time Zone Configuration"),
288 'type' => SMOPT_TYPE_NUMLIST,
289 'posvals' => array( 0 => _("Standard GNU C time zones"),
290 1 => _("Strict time zones"),
291 2 => _("Custom GNU C time zones"),
292 3 => _("Custom strict time zones")),
293 'default' => 0 ),
dcd6f144 294 /* --------------------------------------------------------*/
edd4a552 295 'Group5' => array( 'name' => _("Message of the Day"),
296 'type' => SMOPT_TYPE_TITLE ),
297 '$motd' => array( 'name' => _("Message of the Day"),
298 'type' => SMOPT_TYPE_TEXTAREA,
299 'size' => 40 ),
0f610dca 300 /* ---- Database settings ---- */
497203d4 301 'Group6' => array( 'name' => _("Database"),
302 'type' => SMOPT_TYPE_TITLE ),
303 '$addrbook_dsn' => array( 'name' => _("Address book DSN"),
304 'type' => SMOPT_TYPE_STRING,
88cb1b4d 305 'size' => 40 ),
4f40a59d 306 '$addrbook_table' => array( 'name' => _("Address book table"),
307 'type' => SMOPT_TYPE_STRING,
2586d588 308 'size' => 40,
309 'default' => 'address' ),
f58f1fd8 310 '$prefs_dsn' => array( 'name' => _("Preferences DSN"),
311 'type' => SMOPT_TYPE_STRING,
312 'size' => 40 ),
313 '$prefs_table' => array( 'name' => _("Preferences table"),
314 'type' => SMOPT_TYPE_STRING,
315 'size' => 40,
316 'default' => 'userprefs' ),
99a6c222 317 '$prefs_user_field' => array('name' => _("Preferences username field"),
318 'type' => SMOPT_TYPE_STRING,
319 'size' => 40,
320 'default' => 'user' ),
06316c07 321 '$prefs_user_size' => array( 'name' => _("Size of username field"),
322 'type' => SMOPT_TYPE_INTEGER ),
99a6c222 323 '$prefs_key_field' => array('name' => _("Preferences key field"),
324 'type' => SMOPT_TYPE_STRING,
325 'size' => 40,
326 'default' => 'prefkey' ),
06316c07 327 '$prefs_key_size' => array( 'name' => _("Size of key field"),
328 'type' => SMOPT_TYPE_INTEGER ),
99a6c222 329 '$prefs_val_field' => array('name' => _("Preferences value field"),
330 'type' => SMOPT_TYPE_STRING,
331 'size' => 40,
332 'default' => 'prefval' ),
06316c07 333 '$prefs_val_size' => array( 'name' => _("Size of value field"),
334 'type' => SMOPT_TYPE_INTEGER ),
30e9932c 335 '$addrbook_global_dsn' => array( 'name' => _("Global address book DSN"),
336 'type' => SMOPT_TYPE_STRING,
337 'size' => 40 ),
338 '$addrbook_global_table' => array( 'name' => _("Global address book table"),
339 'type' => SMOPT_TYPE_STRING,
340 'size' => 40,
341 'default' => 'global_abook' ),
d41e14ed 342 '$addrbook_global_writeable' => array( 'name' => _("Allow writing into global address book"),
30e9932c 343 'type' => SMOPT_TYPE_BOOLEAN ),
344 '$addrbook_global_listing' => array( 'name' => _("Allow listing of global address book"),
345 'type' => SMOPT_TYPE_BOOLEAN ),
0f610dca 346 /* ---- Language settings ---- */
39d3ec89 347 'Group9' => array( 'name' => _("Language settings"),
348 'type' => SMOPT_TYPE_TITLE ),
fdefb2e7 349 '$squirrelmail_default_language' => array( 'name' => _("Default Language"),
39d3ec89 350 'type' => SMOPT_TYPE_STRLIST,
351 'size' => 7,
352 'posvals' => $language_values ),
fdefb2e7 353 '$default_charset' => array( 'name' => _("Default Charset"),
39d3ec89 354 'type' => SMOPT_TYPE_STRLIST,
355 'posvals' => array( 'iso-8859-1' => 'iso-8859-1',
356 'iso-8859-2' => 'iso-8859-2',
357 'iso-8859-7' => 'iso-8859-7',
5b9bbb42 358 'iso-8859-9' => 'iso-8859-9',
39d3ec89 359 'iso-8859-15' => 'iso-8859-15',
5b9bbb42 360 'utf-8' => 'utf-8',
39d3ec89 361 'koi8-r' => 'koi8-r',
5b9bbb42 362 'euc-kr' => 'euc-kr',
363 'big5' => 'big5',
364 'gb2312' => 'gb2312',
365 'tis-620' => 'tis-620',
39d3ec89 366 'windows-1251' => 'windows-1251',
5b9bbb42 367 'windows-1255' => 'windows-1255',
368 'windows-1256' => 'windows-1256',
369 'iso-2022-jp' => 'iso-2022-jp' ) ),
fdefb2e7 370 '$show_alternative_names' => array( 'name' => _("Show alternative language names"),
371 'type' => SMOPT_TYPE_BOOLEAN ),
f03f6ee7 372 '$aggressive_decoding' => array( 'name' => _("Enable aggressive decoding"),
373 'type' => SMOPT_TYPE_BOOLEAN ),
6d3689f5 374 '$lossy_encoding' => array( 'name' => _("Enable lossy encoding"),
fdefb2e7 375 'type' => SMOPT_TYPE_BOOLEAN ),
0f610dca 376 /* ---- Tweaks ---- */
39d3ec89 377 'Group10' => array( 'name' => _("Tweaks"),
fdefb2e7 378 'type' => SMOPT_TYPE_TITLE ),
379 '$advanced_tree' => array( 'name' => _("Use advanced tree folder listing"),
380 'type' => SMOPT_TYPE_BOOLEAN ),
fdefb2e7 381 '$use_icons' => array( 'name' => _("Use icons"),
382 'type' => SMOPT_TYPE_BOOLEAN ),
71b2f21e 383 '$use_iframe' => array( 'name' => _("Use inline frames with HTML mails"),
9d953ce0 384 'type' => SMOPT_TYPE_BOOLEAN ),
d04cab42 385 '$use_php_recode' => array( 'name' => _("Use PHP recode functions"),
fdefb2e7 386 'type' => SMOPT_TYPE_BOOLEAN ),
d04cab42 387 '$use_php_iconv' => array( 'name' => _("Use PHP iconv functions"),
fdefb2e7 388 'type' => SMOPT_TYPE_BOOLEAN ),
06b811da 389 '$allow_remote_configtest' => array( 'name' => _("Allow remote configuration test"),
390 'type' => SMOPT_TYPE_BOOLEAN ),
0f610dca 391 /* ---- Settings of address books ---- */
392 'Group11' => array( 'name' => _("Address Books"),
393 'type' => SMOPT_TYPE_TITLE ),
394 '$default_use_javascript_addr_book' => array( 'name' => _("Default Javascript Addressbook"),
395 'type' => SMOPT_TYPE_BOOLEAN ),
06b811da 396 '$abook_global_file' => array( 'name' => _("Global address book file"),
397 'type' => SMOPT_TYPE_STRING ),
0f610dca 398 '$abook_global_file_writeable' => array( 'name' => _("Allow writing into global address book file"),
06b811da 399 'type' => SMOPT_TYPE_BOOLEAN ),
400 '$abook_global_file_listing' => array( 'name' => _("Allow listing of global address book"),
401 'type' => SMOPT_TYPE_BOOLEAN ),
edd4a552 402 /* --------------------------------------------------------*/
439538dc 403 'Group7' => array( 'name' => _("Templates"),
30e9932c 404 'type' => SMOPT_TYPE_TITLE ),
405 '$theme_css' => array( 'name' => _("Style Sheet URL (css)"),
406 'type' => SMOPT_TYPE_PATH,
407 'size' => 40 ),
439538dc 408 '$default_fontsize' => array( 'name' => _("Default font size"),
409 'type' => SMOPT_TYPE_STRING,
410 'default' => ''),
411 '$default_fontset' => array( 'name' => _("Default font set"),
412 'type' => SMOPT_TYPE_STRLIST,
413 'posvals' => $fontsets),
414 '$templateset_default' => array( 'name' => _("Default template"),
415 'type' => SMOPT_TYPE_STRLIST,
416 'posvals' => adm_template_options()),
fdefb2e7 417 '$theme_default' => array( 'name' => _("Default theme"),
418 'type' => SMOPT_TYPE_INTEGER,
419 'default' => 0,
420 'comment' => _("Use index number of theme") ),
30e9932c 421 /* --------------------------------------------------------*/
de6bf9e4 422 '$config_use_color' => array( 'name' => '',
423 'type' => SMOPT_TYPE_HIDDEN ),
fdefb2e7 424 '$no_list_for_subscribe' => array( 'name' => '',
425 'type' => SMOPT_TYPE_HIDDEN ),
497203d4 426 /* --------------------------------------------------------*/
dcd6f144 427
edd4a552 428 );
dcd6f144 429
f8a1ed5a 430?>