1 <dtml-comment> -*- mode: dtml; dtml-top-element: "body" -*- </dtml-comment>
2 <dtml-var manage_page_header>
5 <script type="text/javascript">
10 function toggleSelect() {
11 if (isSelected == false) {
12 for (i = 0; i < document.objectItems.length; i++)
13 document.objectItems.elements[i].checked = true ;
15 document.objectItems.selectButton.value = "Deselect All";
19 for (i = 0; i < document.objectItems.length; i++)
20 document.objectItems.elements[i].checked = false ;
22 document.objectItems.selectButton.value = "Select All";
30 <dtml-unless skey><dtml-call expr="REQUEST.set('skey', 'id')"></dtml-unless>
31 <dtml-unless rkey><dtml-call expr="REQUEST.set('rkey', '')"></dtml-unless>
36 <dtml-var header_text>
41 <!-- Add object widget -->
43 <dtml-if filtered_meta_types>
44 <table width="100%" cellspacing="0" cellpadding="0" border="0">
46 <td align="left" valign="top"> </td>
47 <td align="right" valign="top">
48 <div class="form-element">
49 <form action="&dtml-URL1;/" method="get">
50 <dtml-if "_.len(filtered_meta_types) > 1">
51 <select class="form-element" name=":action"
52 onChange="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value">
53 <option value="manage_workspace" disabled>Select type to add...</option>
54 <dtml-in filtered_meta_types mapping sort=name>
55 <option value="&dtml.url_quote-action;">&dtml-name;</option>
58 <input class="form-element" type="submit" name="submit" value=" Add " />
60 <dtml-in filtered_meta_types mapping sort=name>
61 <input type="hidden" name=":method" value="&dtml.url_quote-action;" />
62 <input class="form-element" type="submit" name="submit" value=" Add &dtml-name;" />
72 <form action="&dtml-URL1;/" name="objectItems" method="post">
74 <table width="100%" cellspacing="0" cellpadding="2" border="0">
75 <tr class="list-header">
76 <td width="5%" align="right" colspan="2"><div
77 class="list-item"><a href="./manage_main?skey=meta_type<dtml-if
78 "rkey == ''">&rkey=meta_type</dtml-if>"
79 onMouseOver="window.status='Sort objects by type'; return true"
80 onMouseOut="window.status=''; return true"><dtml-if
81 "skey == 'meta_type' or rkey == 'meta_type'"
82 ><strong>Type</strong><dtml-else>Type</dtml-if></a></div>
84 <td width="50%" align="left"><div class="list-item"><a
85 href="./manage_main?skey=id<dtml-if
86 "rkey == ''">&rkey=id</dtml-if>"
87 onMouseOver="window.status='Sort objects by name'; return true"
88 onMouseOut="window.status=''; return true"><dtml-if
89 "skey == 'id' or rkey == 'id'"
90 ><strong>Name</strong><dtml-else>Name</dtml-if></a></div>
92 <td width="15%" align="left"><div class="list-item"><a
93 href="./manage_main?skey=get_size<dtml-if
94 "rkey == ''">&rkey=get_size</dtml-if>"
95 onMouseOver="window.status='Sort objects by size'; return true"
96 onMouseOut="window.status=''; return true"><dtml-if
97 "skey == 'get_size' or rkey == 'get_size'"
98 ><strong>Size</strong><dtml-else>Size</dtml-if></a></div>
100 <td width="29%" align="left"><div class="list-item"><a
101 href="./manage_main?skey=bobobase_modification_time<dtml-if
102 "rkey == ''">&rkey=bobobase_modification_time</dtml-if
104 onMouseOver="window.status='Sort objects by modification time'; return true"
105 onMouseOut="window.status=''; return true"><dtml-if
106 "skey == 'bobobase_modification_time' or rkey == 'bobobase_modification_time'"
107 ><strong>Last Modified</strong><dtml-else>Last Modified</dtml-if></a></div>
110 <dtml-in objectItems sort_expr="skey" reverse_expr="rkey">
111 <dtml-if sequence-odd>
112 <tr class="row-normal">
114 <tr class="row-hilite">
116 <td align="left" valign="top" width="16">
117 <input type="checkbox" name="ids:list" value="&dtml-sequence-key;" />
119 <td align="left" valign="top" nowrap="1">
122 <a href="&dtml.url_quote-sequence-key;/manage_workspace">
123 <dtml-in om_icons mapping>
124 <img src="&dtml-BASEPATH1;/&dtml.url_quote-path;" alt="&dtml.missing-alt;"
125 title="&dtml.missing-title;" border="0" /></dtml-in></a>
129 <a href="&dtml.url_quote-sequence-key;/manage_workspace">
130 <img src="&dtml-BASEPATH1;/&dtml-icon;" alt="&dtml-meta_type;"
131 title="&dtml-meta_type;" border="0" /></a>
139 <td align="left" valign="top">
140 <div class="list-item">
141 <a href="&dtml.url_quote-sequence-key;/manage_workspace">
142 &dtml-sequence-key; <dtml-if title>(&dtml-title;)</dtml-if>
144 <dtml-if locked_in_version>
145 <dtml-if modified_in_version>
146 <img src="&dtml-BASEPATH1;/p_/locked"
147 alt="This item has been modified in this version" />
149 <img src="&dtml-BASEPATH1;/p_/lockedo"
150 alt="This item has been modified in another version" />
151 (<em>&dtml-locked_in_version;</em>)
157 <dtml-with sequence-key>
159 <div class="list-item">
162 <dtml-let ob_size=get_size>
163 <dtml-if "ob_size < 1024">
165 <dtml-elif "ob_size > 1048576">
166 <dtml-var "ob_size / 1048576.0" fmt="%0.02f"> Mb
168 <dtml-var "_.int(ob_size / 1024)"> Kb
181 <div class="list-item">
182 <dtml-var bobobase_modification_time fmt="%Y-%m-%d %H:%M">
190 <table cellspacing="0" cellpadding="2" border="0">
192 <td align="left" valign="top" width="16"></td>
193 <td align="left" valign="top">
194 <div class="form-element">
195 <dtml-unless dontAllowCopyAndPaste>
196 <input class="form-element" type="submit" name="manage_renameForm:method"
198 <input class="form-element" type="submit" name="manage_cutObjects:method"
200 <input class="form-element" type="submit" name="manage_copyObjects:method"
202 <dtml-if cb_dataValid>
203 <input class="form-element" type="submit" name="manage_pasteObjects:method"
207 <dtml-if "_.SecurityCheckPermission('Delete objects',this())">
208 <input class="form-element" type="submit" name="manage_delObjects:method"
211 <dtml-if "_.SecurityCheckPermission('Import/Export objects', this())">
212 <input class="form-element" type="submit"
213 name="manage_importExportForm:method"
214 value="Import/Export" />
216 <script type="text/javascript">
218 if (document.forms[0]) {
219 document.write('<input class="form-element" type="submit" name="selectButton" value="Select All" onClick="toggleSelect(); return false">')
229 <table cellspacing="0" cellpadding="2" border="0">
232 <div class="std-text">
233 There are currently no items in <em>&dtml-title_or_id;</em>
236 <dtml-unless dontAllowCopyAndPaste>
237 <dtml-if cb_dataValid>
238 <div class="form-element">
239 <input class="form-element" type="submit" name="manage_pasteObjects:method"
244 <dtml-if "_.SecurityCheckPermission('Import/Export objects', this())">
245 <input class="form-element" type="submit"
246 name="manage_importExportForm:method" value="Import/Export" />
254 <dtml-if update_menu>
255 <script type="text/javascript">
257 window.parent.update_menu();
262 <dtml-var manage_page_footer>