1 | <dl class="portlet portletWeblogAdmin" |
---|
2 | i18n:domain="quills.app"> |
---|
3 | |
---|
4 | <dt class="portletHeader"> |
---|
5 | <span class="portletTopLeft"></span> |
---|
6 | <span class="tile" |
---|
7 | tal:content="view/title">_title_</span> |
---|
8 | <span class="portletTopRight"></span> |
---|
9 | </dt> |
---|
10 | |
---|
11 | <dd class="portletItem odd"> |
---|
12 | <form method="get" action="http://localhost:10232/www/blog"> |
---|
13 | <select class="form-element" |
---|
14 | onchange="javascript:location.href='blog/'+this.options[this.selectedIndex].value+'/createObject?type_name=Document'" |
---|
15 | name=":action" |
---|
16 | tal:attributes="onchange string:javascript:location.href='${view/weblog_url}/'+this.options[this.selectedIndex].value+'${view/creation_url}'"> |
---|
17 | <option value="">..where to add..</option> |
---|
18 | <option value="">To blog's root</option> |
---|
19 | <tal:loop-options repeat="option view/categories"> |
---|
20 | <option value="blogging" |
---|
21 | tal:attributes="value option" |
---|
22 | tal:content="string:To $option">To blogging/google</option> |
---|
23 | </tal:loop-options> |
---|
24 | </select> |
---|
25 | </form> |
---|
26 | |
---|
27 | </dd> |
---|
28 | <dd class="portletItem even"> |
---|
29 | <a title="Manage Comments" href="#" |
---|
30 | i18n:translate="portlet_blogadmin_manage_comments" |
---|
31 | i18n:attributes="title" |
---|
32 | tal:attributes="href view/manage_comments_url"> |
---|
33 | Manage Comments |
---|
34 | </a> |
---|
35 | </dd> |
---|
36 | <dd class="portletItem odd"> |
---|
37 | <a title="Configure Blog" href="#" |
---|
38 | i18n:translate="portlet_blogadmin_configure_blog" |
---|
39 | i18n:attributes="title" |
---|
40 | tal:attributes="href view/config_view_url"> |
---|
41 | Configure Blog |
---|
42 | </a> |
---|
43 | </dd> |
---|
44 | |
---|
45 | </dl> |
---|