source: products/qPloneTabs/trunk/skins/qPloneTabs/qpt_gettabslist.pt

Last change on this file was 31, checked in by chervol, 19 years ago

added <content:encoded> <enclosure> tags in RSS2

  • Property svn:eol-style set to native
File size: 2.9 KB
Line 
1<tal:tabs tal:define="dummy python:request.RESPONSE.setHeader('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT');
2                      category python:options.get('category', None) or 'portal_tabs'"
3          tal:repeat="tab python:modules['Products.qPloneTabs'].getPortalActions(here, category)">
4<li tal:define="id tab/id;
5                visible tab/visible|nothing;
6                index repeat/tab/index"
7    tal:attributes="id string:tabslist_${id};
8                    title tab/description|nothing;
9                    class python:test(visible, '', 'invisible')">
10  <img class="drag-handle" src="drag.gif" alt="" height="11" width="25" />
11  <div class="bridge"><input type="checkbox" class="visibility" value="1" name="visibility" title="visibility"
12                             tal:attributes="checked python:test(visible, 'checked', None);
13                                             name string:i${index}_${attrs/name}" /></div>
14  <a class="delete" href="#">Delete</a>
15  <span class="url-helper" tal:content="tab/getActionExpression|nothing">Tab Action</span>
16  <span class="tab-title" tal:content="tab/title">Tab Name</span>
17  <form class="editform"
18        method="post"
19        action="editPTAction"
20        tal:attributes="action string:${here/portal_url}/prefs_tabs_form;
21                        name string:f$index">
22      <input type="hidden" name="idx" tal:attributes="value index" />
23      <dl>
24        <dt><label>Name</label></dt>
25        <dd><input type="text" value="" name="name"
26                   tal:attributes="value tab/title;
27                                   name string:i${index}_${attrs/name}"      /></dd>
28      </dl>
29      <dl class="collapseAdvanced expandedBlock">
30        <dt class="headerAdvanced">Advanced</dt>
31        <dd class="contentAdvanced">
32          <dl>
33            <dt><label>URL (Expression)</label></dt>
34            <dd><input type="text" value="" name="action"     size="30"
35                       tal:attributes="value tab/getActionExpression|nothing;
36                                       name string:i${index}_${attrs/name}" /></dd>
37          </dl>
38          <dl>
39            <dt><label>Id</label></dt>
40            <dd><input type="text" value="" name="id"
41                       tal:attributes="value tab/id|nothing;
42                                       name string:i${index}_${attrs/name}" /></dd>
43          </dl>
44          <dl>
45            <dt><label>Condition (Expression)</label></dt>
46            <dd><input type="text" value="" name="condition"  size="30"
47                       tal:attributes="value tab/getCondition|nothing;
48                                       name string:i${index}_${attrs/name}" /></dd>
49          </dl>
50          <div class="visualClear"><!-- --></div>
51        </dd>
52      </dl>
53      <div>
54        <input type="submit" class="editsave"   i18n:attributes="value" value="Save"   />
55        <input type="submit" class="editcancel" i18n:attributes="value" value="Cancel" />
56      </div>
57  </form>
58</li>
59</tal:tabs>
Note: See TracBrowser for help on using the repository browser.