705019715706581adb0dbbb4876049c8033b5850
[Photo.git] / dtml / testMenu.dtml
1 <dtml-var manage_page_header>
2
3 <style type="text/css">
4 <!--
5
6 td {
7 font-family: Verdana, Helvetica, sans-serif;
8 font-size: 10pt;
9 color: #333333;
10 }
11
12 -->
13 </style>
14
15 <table width="100%" cellspacing="0" border="0">
16 <tr bgcolor="#000000">
17 <td valign="top" nowrap>
18 <dtml-if icon>
19 <a href="manage_workspace" target="manage_main"><img
20 src="&dtml-BASEPATH1;/&dtml-icon;" border="0"
21 title="Click to open this item" alt="&dtml-meta_type;" /></a>
22 </dtml-if>
23 <strong>
24 <a href="manage_workspace" target="manage_main">
25 <font color="#ffffff">
26 <dtml-if expr="URLPATH1==BASEPATH1">
27 Root Folder
28 <dtml-else>
29 <dtml-var id>
30 </dtml-if>
31 </font>
32 </a>
33 </strong>
34 </td>
35 </tr>
36 </table>
37 <dtml-tree cmf nowrap=1>
38 <dtml-if icon>
39 <a href="<dtml-var tree-item-url fmt=url-quote>/manage_workspace"
40 target="manage_main"><img src="&dtml-BASEPATH1;/&dtml-icon;" border="0"
41 title="Click to open this item" alt="&dtml-meta_type;" /></a>
42 </dtml-if>
43 <a href="<dtml-var tree-item-url fmt=url-quote>/manage_workspace"
44 target="manage_main">&dtml-id;</a>
45 </dtml-tree>
46 <table cellspacing="0">
47 <tr>
48 <td width="16"></td>
49 <td valign="top" nowrap>
50 <strong>
51 <a href="manage_copyright" target="manage_main">
52 &copy; Zope Corporation
53 </a>
54 </strong>
55 </td>
56 </tr>
57 <tr>
58 <td width="16"></td>
59 <td valign="top" nowrap>
60 <strong>
61 <a href="manage_menu">Refresh</a>
62 </strong>
63 </td>
64 </tr>
65 </table>
66
67 <dtml-unless expr="REQUEST.get('zmi_top_frame', '1')">
68 <table width="100%" bgcolor="#6699cc">
69 <tr>
70 <td valign="top" align="center">
71 <div class="form-element">
72 <form action="<dtml-var BASEPATH1>/" method="POST" target="manage_main">
73 <span class="std-text">Logged in as <strong><dtml-var
74 AUTHENTICATED_USER></strong></span> &nbsp;&nbsp;
75 <br />
76 <select class="form-element" name=":action" onChange="window.parent.manage_main.location.href='&dtml-BASEPATH1;/'+this.options[this.selectedIndex].value">
77 <option value="zope_quick_start">Zope Quick Start</option>
78 <dtml-if "AUTHENTICATED_USER.getUserName() != 'Anonymous User'">
79 <option value="manage_zmi_prefs">Set Preferences</option>
80 <option value="manage_zmi_logout">Logout</option>
81 </dtml-if>
82 </select>
83 <input class="form-element" type="submit" name="submit" value=" Go " />
84 &nbsp;
85 </form>
86 </div>
87 </td>
88 </tr>
89 </table>
90 </dtml-unless>
91
92 <dtml-var manage_page_footer>
93