Added another OK button to the top of EDIT_CONFIG.
[gruta.git] / templates / art5 / EDIT_CONFIG
blob6ca2ca9f21003805c7f16f1463a8d84d64281c99
1 <{assert_admin}>
2 <{header}>
4 <div class = 'main'>
6 <form method = 'post' action = '<{url}>'>
8         <h1><{@"Edit configuration"}></h1>
10         <input type = 'hidden' name = 't' value = 'SAVE_CONFIG'>
12         <p><input type = 'submit' class = 'button' value = 'OK'>
14         <p><{@"Host name:"}><br>
15         <input type = 'text' name = 'cfg_host_name'
16                 value = '<{cfg_host_name}>' size = '55'>
18         <p><{@"Site name:"}><br>
19         <input type = 'text' name = 'cfg_site_name'
20                 value = '<{cfg_site_name}>' size = '55'>
22         <p><{@"Slogan for the site:"}><br>
23         <input type = 'text' name = 'cfg_slogan'
24                 value = "<{cfg_slogan}>" size = '55'>
26         <p><{@"Copyright string to be shown in the footer:"}><br>
27         <input type = 'text' name = 'cfg_copyright'
28                 value = '<{cfg_copyright}>' size = '55'>
30         <p><{@"Site description (CANNOT contain HTML):"}><br>
31         <textarea name = 'cfg_site_description'
32         cols = '40' rows = '10'><{cfg_site_description}></textarea>
34         <p><{@"URL to an icon for the site, in MS Windows icon format:"}><br>
35         <input type = 'text' name = 'cfg_favicon_url'
36                 value = '<{cfg_favicon_url}>' size = '55'>
38         <p><{@"URL to an image to shown as logo:"}><br>
39         <input type = 'text' name = 'cfg_logo_url'
40                 value = '<{cfg_logo_url}>' size = '55'>
42         <h2><{@"Behaviour"}></h2>
44         <p><{@"Disable comments:"}><br>
45         <select name = 'cfg_disable_comments'>
46                 <option <{if {not cfg_disable_comments} 'selected'}> value = '0'>
47                         <{@"no"}>
48                 </option>
49                 <option <{if cfg_disable_comments 'selected'}> value = '1'>
50                         <{@"yes"}>
51                 </option>
52         </select>
54         <p><{@"Number of stories shown in the index:"}><br>
55         <input type = 'text' name = 'cfg_index_num'
56                 value = '<{cfg_index_num}>' size = '4'>
58         <p><{@"Topics to be shown in the index (Empty, all):"}><br>
59         <input type = 'text' name = 'cfg_index_topics'
60                 value = '<{cfg_index_topics}>' size = '55'>
62         <p><{@"Topics to be shown in the main menu (Empty, all):"}><br>
63         <input type = 'text' name = 'cfg_main_menu_topics'
64                 value = '<{cfg_main_menu_topics}>' size = '55'>
66         <p><{@"Number of entries for the RSS feed:"}><br>
67         <input type = 'text' name = 'cfg_rss_num'
68                 value = '<{cfg_rss_num}>' size = '4'>
70         <p><{@"Topics to be shown in the RSS feed (Empty, all):"}><br>
71         <input type = 'text' name = 'cfg_rss_topics'
72                 value = '<{cfg_rss_topics}>' size = '55'>
74         <p><{@"Number of story abstracts to be listed in the TOPIC page:"}><br>
75         <input type = 'text' name = 'cfg_topic_num'
76                 value = '<{cfg_topic_num}>' size = '4'>
78         <p><{@"Number of stories to be shown in the 'Top stories' option"}><br>
79                 <{@"(If set to 0, this main menu option will not be shown)."}><br>
80         <input type = 'text' name = 'cfg_top_ten_num'
81                 value = '<{cfg_top_ten_num}>' size = '4'>
83         <p><{@"Maximum number of related stories:"}><br>
84         <input type = 'text' name = 'cfg_max_related_stories'
85                 value = '<{cfg_max_related_stories}>' size = '4'>
87         <p><{@"Show link to printable version:"}><br>
88         <select name = 'cfg_show_printable'>
89                 <option <{if {not cfg_show_printable} 'selected'}> value = '0'>
90                         <{@"no"}>
91                 </option>
92                 <option <{if cfg_show_printable 'selected'}> value = '1'>
93                         <{@"yes"}>
94                 </option>
95         </select>
97         <h2><{@"Date formats"}></h2>
99         <p><{@"Global date format:"}><br>
100         <input type = 'text' name = 'cfg_date_format'
101                 value = '<{cfg_date_format}>' size = '15'>
103         <p><{@"The format of dates for the <tt>intermixed_index</tt> template:"}><br>
104         <input type = 'text' name = 'cfg_index_date_format'
105                 value = '<{cfg_index_date_format}>' size = '15'>
107         <p><{@"Date format for the stories:"}><br>
108         <input type = 'text' name = 'cfg_story_date_format'
109                 value = '<{cfg_story_date_format}>' size = '15'>
111         <h2><{@"Comment validation"}></h2>
113         <p><{@"Use blogspam.net:"}><br>
114         <select name = 'cfg_use_blogspam_net'>
115                 <option <{if {not cfg_use_blogspam_net} 'selected'}> value = '0'>
116                         <{@"no"}>
117                 </option>
118                 <option <{if cfg_use_blogspam_net 'selected'}> value = '1'>
119                         <{@"yes"}>
120                 </option>
121         </select>
123         <p><{@"Akismet API key:"}><br>
124         <input type = 'text' name = 'cfg_akismet_api_key'
125                 value = '<{cfg_akismet_api_key}>' size = 32>
127         <p><{@"Akismet blog URL:"}><br>
128         <input type = 'text' name = 'cfg_akismet_url'
129                 value = '<{cfg_akismet_url}>' size = 32>
131         <p><{@"Send a copy of new comments to this email address:"}><br>
132         <input type = 'text' name = 'cfg_comment_email'
133                 value = '<{cfg_comment_email}>' size = 32>
135         <p><input type = 'submit' class = 'button' value = 'OK'>
137 </form>
139 </div>
141 <{footer}>