Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 11071 Bytes
1 | <% @page_heading = 'Blog settings' %> |
2 | |
3 | <%= start_form_tag :action => 'update'%> |
4 | |
5 | <div class="tasks"> |
6 | <h3>Which settings group would you like to edit?</h3> |
7 | <ul> |
8 | <li><a href="#gensettings" onclick="new Effect.ScrollTo('gensettings'); return false">General Settings</a></li> |
9 | <li><a href="#textfilter" onclick="new Effect.ScrollTo('textfilter'); return false">Text Filter</a></li> |
10 | <li><a href="#spam" onclick="new Effect.ScrollTo('spam'); return false">Spam Protection</a></li> |
11 | <li><a href="#resources" onclick="new Effect.ScrollTo('resources'); return false">Resource Defaults</a></li> |
12 | <li><a href="#misc" onclick="new Effect.ScrollTo('misc'); return false">Cache</a></li> |
13 | </ul> |
14 | <div style="clear:both;"></div> |
15 | </div> |
16 | |
17 | <div id="settings"> |
18 | <div id="gensettings" class="set" style="margin-top:10px;"> |
19 | <h3>General Settings</h3> |
20 | <p> |
21 | <label for="blog_name">Blog name:</label> |
22 | <input name="setting[blog_name]" id="blog_name" type="text" value="<%=h this_blog.blog_name %>" /> |
23 | </p> |
24 | <p> |
25 | <label for="blog_subtitle">Blog subtitle:</label> |
26 | <input name="setting[blog_subtitle]" id="blog_subtitle" type="text" value="<%=h this_blog.blog_subtitle %>" /> |
27 | </p> |
28 | <p> |
29 | <label for="canonical_server_url">Canonical Server Url:</label> |
30 | <input name="setting[canonical_server_url]" id="canonical_server_url" type="text" value="<%= this_blog.canonical_server_url %>" /> |
31 | </p> |
32 | <p> |
33 | <input name="setting[default_allow_comments]" id="default_allow_comments" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.default_allow_comments%> /> |
34 | <input name="setting[default_allow_comments]" type="hidden" value="0"/> |
35 | <label for="default_allow_comments">Enable comments by default</label> |
36 | </p> |
37 | <p> |
38 | <input name="setting[default_allow_pings]" id="default_allow_pings" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.default_allow_pings%> /> |
39 | <input name="setting[default_allow_pings]" type="hidden" value="0"/> |
40 | <label for="default_allow_pings">Enable Trackbacks by default</label> |
41 | </p> |
42 | <p> |
43 | <label for="limit_article_display">Display </label> |
44 | <input name="setting[limit_article_display]" size="4" id="limit_article_display" type="text" value="<%= this_blog.limit_article_display %>" /> articles on my homepage by default. |
45 | </p> |
46 | <p> |
47 | <label for="limit_rss_display">Display </label> |
48 | <input name="setting[limit_rss_display]" size="4" id="limit_rss_display" type="text" value="<%= this_blog.limit_rss_display %>" /> articles in my rss feed by default. |
49 | </p> |
50 | <p> |
51 | <input name="setting[show_extended_on_rss]" id="show_extended_on_rss" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.show_extended_on_rss%> /> |
52 | <input name="setting[show_extended_on_rss]" type="hidden" value="0"/> |
53 | <label for="show_extended_on_rss">Show full article on rss feed</label> |
54 | </p> |
55 | |
56 | <hr /> |
57 | |
58 | <p>Should the blog show mailto: links to your email address?</p> |
59 | <p><input name="setting[link_to_author]" id="link_to_author" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.link_to_author%> /><input name="setting[link_to_author]" type="hidden" value="0"/> <label for="link_to_author">Enable E-Mail public display</label></p> |
60 | |
61 | <hr /> |
62 | |
63 | <p>Should the blog use of the <a href="http://www.gravatar.com/">Globally Recognized Avatar (Gravatar)</a> service in comments?</p> |
64 | <p> |
65 | <input name="setting[use_gravatar]" id="use_gravatar" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.use_gravatar %> /> |
66 | <input name="setting[use_gravatar]" type="hidden" value="0"/> |
67 | <label for="use_gravatar">Enable Gravatar integration</label> |
68 | </p> |
69 | |
70 | <hr /> |
71 | |
72 | <p>Would you like to include your latitude and longitude in your blog's HTML pages? See <a href="http://geourl.org">GeoURL</a> for details. <br/>Example: <tt>47.774,-122.201</tt></p> |
73 | |
74 | <p> |
75 | <label for="geourl_location">Latitude, Longitude:</label> |
76 | <input name="setting[geourl_location]" size="20" id="geourl_location" type="text" value="<%= this_blog.geourl_location %>" /> |
77 | </p> |
78 | |
79 | <hr/> |
80 | |
81 | <p>Should Typo send trackbacks to websites that you link to? This should be disabled |
82 | for private blogs, as it will leak non-public information to sites that you're discussing. |
83 | For public blogs, there's no real point in disabling this.</p> |
84 | <p> |
85 | <input name="setting[send_outbound_pings]" id="send_outbound_pings" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.send_outbound_pings%> /> |
86 | <input name="setting[send_outbound_pings]" type="hidden" value="0"/> |
87 | <label for="send_outbound_pings">Send trackbacks to external sites</label> |
88 | |
89 | </p> |
90 | |
91 | <p> |
92 | <label for="ping_urls">URLs to ping automatically:</label><br/> |
93 | <textarea name="setting[ping_urls]" id="ping_urls" rows="5" cols="50"><%=h this_blog.ping_urls %></textarea> |
94 | </p> |
95 | |
96 | <p class="r"><%= save("Save My Settings") %></p> |
97 | </div> |
98 | |
99 | |
100 | <div id="textfilter" class="set"> |
101 | <h3>Text Filter</h3> |
102 | <p class="note">Typo supports a number of text filtering options. To add new filters, see the "filters" tab on the toolbar above.</p> |
103 | <p> |
104 | <select name="setting[text_filter]" id="text_filter"> |
105 | <%= options_for_select text_filter_options, TextFilter.find_by_name(this_blog.text_filter) %> |
106 | </select> |
107 | <label for="text_filter">Article filter</label> |
108 | </p> |
109 | <p> |
110 | <select name="setting[comment_text_filter]" id="comment_text_filter"> |
111 | <%= options_for_select text_filter_options, TextFilter.find_by_name(this_blog.comment_text_filter) %> |
112 | </select> |
113 | <label for="comment_text_filter">Comments filter</label> |
114 | </p> |
115 | <p class="r"><%= save("Save My Settings") %></p> |
116 | </div> |
117 | |
118 | <div id="notification" class="set"> |
119 | <h3>Notification</h3> |
120 | <p>Typo can notify you when new articles or comments are posted</p> |
121 | <p> |
122 | <label for="email_from">Email address to use in From: field when Typo sends mail:</label> |
123 | <input name="setting[email_from]" size="20" id="email_from" type="text" value="<%= this_blog.email_from %>" /> |
124 | </p> |
125 | <p> |
126 | <label for="jabber_address">Jabber account to use when sending Jabber notifications:</label> |
127 | <input name="setting[jabber_address]" size="20" id="jabber_address" type="text" value="<%= this_blog.jabber_address %>" /> |
128 | </p> |
129 | <p> |
130 | <label for="jabber_password">Password for Jabber account:</label> |
131 | <input name="setting[jabber_password]" size="20" id="jabber_password" type="password" value="<%= this_blog.jabber_password %>" /> |
132 | </p> |
133 | <p class="r"><%= save("Save My Settings") %></p> |
134 | </div> |
135 | |
136 | |
137 | <div id="spam" class="set"> |
138 | <h3>Spam Protection</h3> |
139 | <p>Enabling spam protection will make typo compare the IP address of posters as well as the contents of their posts against local and remote blacklists. Good defense against spam bots.</p> |
140 | <p> |
141 | <input name="setting[sp_global]" id="sp_global" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.sp_global%> /><input name="setting[sp_global]" type="hidden" value="0"/> |
142 | <label for="sp_global">Enable spam protection</label> |
143 | </p> |
144 | <p> |
145 | <input name="setting[sp_allow_non_ajax_comments]" id="sp_allow_non_ajax_comments" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.sp_allow_non_ajax_comments%> /> |
146 | <input name="setting[sp_allow_non_ajax_comments]" type="hidden" value="0" /> |
147 | <label for="sp_allow_non_ajax_comments">Allow non-ajax comments</label> |
148 | <br /><small>(Spam bots usually don't know anything about ajax comments)</small> |
149 | </p> |
150 | <p> |
151 | <label for="sp_article_auto_close">Disable comments after</label> |
152 | <input name="setting[sp_article_auto_close]" size="4" id="sp_article_auto_close" type="text" value="<%= this_blog.sp_article_auto_close %>" /> days |
153 | <br /><small>(Set to 0 to never disable comments)</small> |
154 | </p> |
155 | <p>Typo will automatically reject comments and trackbacks which contain over a certain amount of links in them.</p> |
156 | <p> |
157 | <label for="sp_url_limit">Max URLs:</label> |
158 | <input name="setting[sp_url_limit]" size="4" id="sp_url_limit" type="text" value="<%= this_blog.sp_url_limit %>" /> links |
159 | <br /><small>(Set to 0 to never reject comments)</small> |
160 | </p> |
161 | <p class="r"><%= save("Save My Settings") %></p> |
162 | </div> |
163 | <div id="resources" class="set"> |
164 | <h3>Resource Defaults</h3> |
165 | <p> |
166 | The below settings act as defaults when you choose to publish an enclosure with iTunes metadata. |
167 | </p> |
168 | <p> |
169 | <label for="itunes_author">Author:</label> |
170 | <input name="setting[itunes_author]" size="25" id="itunes_author" type="text" value="<%= this_blog.itunes_author %>" /> |
171 | </p> |
172 | <p> |
173 | <label for="itunes_subtitle">Subtitle:</label> |
174 | <input name="setting[itunes_subtitle]" size="25" id="itunes_subtitle" type="text" value="<%= this_blog.itunes_subtitle %>" /><small>(setting for channel)</small> |
175 | </p> |
176 | <p> |
177 | <label for="itunes_summary">Summary:<small>(setting for channel)</small> |
178 | </label> <br /> |
179 | <textarea name="setting[itunes_summary]" cols="40" rows="3"><%= this_blog.itunes_summary %></textarea> |
180 | </p> |
181 | <p> |
182 | <label for="itunes_email">Email:</label> |
183 | <input name="setting[itunes_email]" size="25" id="itunes_email" type="text" value="<%= this_blog.itunes_email %>" /> <small> Not Published by Apple</small> |
184 | </p> |
185 | <p> |
186 | <label for="itunes_name">Optional Name:</label> |
187 | <input name="setting[itunes_name]" size="25" id="itunes_name" type="text" value="<%= this_blog.itunes_name %>" /> <small> Not Published by Apple</small> |
188 | |
189 | </p> |
190 | <p> |
191 | <label for="itunes_copyright">Copyright Information:</label> |
192 | <input name="setting[itunes_copyright]" size="25" id="itunes_copyright" type="text" value="<%= this_blog.itunes_copyright %>" /> |
193 | </p> |
194 | <p> |
195 | <label for="itunes_explicit">Explicit:</label> |
196 | <input name="setting[itunes_explicit]" id="itunes_explicit" type="checkbox" value="1" <%= 'checked="checked"' if this_blog.itunes_explicit%> /><input name="setting[itunes_explicit]" type="hidden" value="0" /> |
197 | </p> |
198 | <p class="r"><%= save("Save My Settings") %></p> |
199 | </div> |
200 | </div> |
201 | |
202 | <div id="misc" class="set"> |
203 | <h3>Cache</h3> |
204 | <%= link_to 'Empty Fragment Cache', :controller => 'cache', :action => 'sweep' %><br /> |
205 | <%= link_to 'Rebuild cached HTML', :controller => 'cache', :action => 'sweep_html' %><br /> |
206 | <div id="users"> |
207 | <p>There are <%= @page_cache_size %> entries in the cache</p> |
208 | </div> |
209 | </div> |
210 | |
211 | |
212 | <div id="operations" class="tasks"> |
213 | <%= save("Save My Settings") %> |
214 | </div> |
215 | |
216 | <%= end_form_tag %> |