21cad17306b2ef9a9e633bd300fc4873c124bbe6
[citadel] / webcit / static / t / navbar.html
1 <div id="navbar"><ul>
2         <li class="ungoto">
3                 <a href="ungoto">
4                         <img src="static/webcit_icons/essen/16x16/ungoto.png" alt="" width="16" height="16">
5                         <span class="navbar_link"><?_("Ungoto")></span>
6                 </a>
7         </li>
8
9 <?!("COND:THISROOM:CURR_VIEW", 10, #"VIEW_BBS")>
10         <li class="newmess">
11                 <a href="readnew">
12                         <img src="static/webcit_icons/essen/16x16/refresh.png" alt="" width="16" height="16">
13                         <span class="navbar_link"><?_("Read new messages")></span>
14                 </a>
15         </li>
16         <li class="readallmess">
17                 <a href="readfwd">
18                         <img src="static/webcit_icons/essen/16x16/readallmsg.png" alt="" width="16" height="16">
19                         <span class="navbar_link"><?_("Read all messages")></span>
20                 </a>
21         </li>
22         <li class="newmess">
23                 <a href="javascript:GetLoggedInFirst('display_enter')">
24                         <img  src="static/webcit_icons/essen/16x16/pencil.png" alt="" width="16" height="16">
25                         <span class="navbar_link"><?_("Enter a message")></span>
26                 </a>
27         </li>
28 <??("X", 10)>
29
30 <?!("COND:THISROOM:CURR_VIEW", 20, #"VIEW_ADDRESSBOOK")>
31         <li class="viewcontacts">
32                 <a href="readfwd">
33                         <img src="static/webcit_icons/essen/16x16/search.png" alt="" width="16" height="16">
34                         <span class="navbar_link"><?_("View contacts")></span>
35                 </a>
36         </li>
37         <li class="addnewcontact">
38                 <a href="javascript:GetLoggedInFirst('display_enter')">
39                         <img src="static/webcit_icons/essen/16x16/addcontact.png" alt="" width="16" height="16">
40                         <span class="navbar_link"><?_("Add new contact")></span>
41                 </a>
42         </li>
43 <??("X", 20)>
44
45 <?!("COND:THISROOM:CURR_VIEW", 30, #"VIEW_CALENDAR")>
46         <li class="staskday">
47                 <a href="readfwd?calview=day">
48                         <img src="static/webcit_icons/essen/16x16/taskday.png" alt="" width="16" height="16">
49                         <span class="navbar_link"><?_("Day view")></span>
50                 </a>
51         </li>
52         <li class="monthview">
53                 <a href="readfwd?calview=month">
54                         <img src="static/webcit_icons/essen/16x16/calendar.png" alt="" width="16" height="16">
55                         <span class="navbar_link"><?_("Month view")></span>
56                 </a>
57         </li>
58         <li class="addevent">
59                 <a href="display_enter<?BSTR:FORWARD("year", "U")><?BSTR:FORWARD("month", "U")><?BSTR:FORWARD("day", "U")>">
60                         <img  src="static/webcit_icons/essen/16x16/pencil.png" alt="" width="16" height="16">
61                         <span class="navbar_link"><?_("Add new event")></span>
62                 </a>
63         </li>
64 <??("X", 30)>
65
66 <?!("COND:THISROOM:CURR_VIEW", 40, #"VIEW_CALBRIEF")>
67         <li class="monthview">
68                 <a href="readfwd?calview=month">
69                         <img src="static/webcit_icons/essen/16x16/calendar.png" alt="" width="16" height="16">
70                         <span class="navbar_link"><?_("Calendar list")></span>
71                 </a>
72         </li>
73 <??("X", 40)>
74          
75 <?!("COND:THISROOM:CURR_VIEW", 50, #"VIEW_TASKS")>
76         <li class="taskmanag">
77                 <a href="readfwd">
78                         <img src="static/webcit_icons/essen/16x16/task.png" alt="" width="16" height="16">
79                         <span class="navbar_link"><?_("View tasks")></span>
80                 </a>
81         </li>
82         <li class="newmess">
83                 <a href="javascript:GetLoggedInFirst('display_enter')">
84                         <img  src="static/webcit_icons/essen/16x16/pencil.png" alt="" width="16" height="16">
85                         <span class="navbar_link"><?_("Add new task")></span>
86                 </a>
87         </li>
88 <??("X", 50)>
89
90 <?!("COND:THISROOM:CURR_VIEW", 60, #"VIEW_NOTES")>
91         <li class="viewnotes">
92                 <a href="readfwd">
93                         <img src="static/webcit_icons/essen/16x16/note.png" alt="" width="16" height="16">
94                         <span class="navbar_link"><?_("View notes")>
95                         </span>
96                 </a>
97         </li>
98         <li class="enternewnote">
99                 <a href="add_new_note">
100                         <img  src="static/webcit_icons/essen/16x16/pencil.png" alt="" width="16" height="16">
101                         <span class="navbar_link"><?_("Add new note")></span>
102                 </a>
103         </li>
104 <??("X", 60)>
105          
106 <?!("COND:THISROOM:CURR_VIEW", 70, #"VIEW_MAILBOX")>
107         <li class="readallmess">
108                 <a id="m_refresh" href="readfwd">
109                         <img src="static/webcit_icons/essen/16x16/readallmsg.png" alt="" width="16" height="16">
110                         <span class="navbar_link"><?_("Refresh message list")></span>
111                 </a>
112         </li>
113         <li class="deleteselectedmess">
114                 <a href="javascript:deleteAllSelectedMessages();">
115                         <img src="static/webcit_icons/essen/16x16/delete.png" alt="" width="16" height="16">
116                         <span class="navbar_link"><?_("Delete")></span>
117                 </a>
118         </li>
119         <li class="newmess">
120                 <a href="javascript:GetLoggedInFirst('display_enter')">
121                         <img src="static/webcit_icons/essen/16x16/pencil.png" alt="" width="16" height="16">
122                         <span class="navbar_link"><?_("Write mail")></span>
123                 </a>
124         </li>
125 <??("X", 70)>
126
127 <?!("COND:THISROOM:CURR_VIEW", 80, #"VIEW_WIKI")>
128         <??("COND:WIKI:PAGE", 81, "home")>
129         <li class="readallmess">
130                 <a href="wiki?page=home?go=<?THISROOM:NAME("U")>">
131                         <img src="static/webcit_icons/essen/16x16/readallmsg.png" alt="" width="16" height="16">
132                         <span class="navbar_link"><?_("Wiki home")></span>
133                 </a>
134         </li>
135         <?!("X", 81)>
136                 <li class="newmess">
137                                 <a href="javascript:GetLoggedInFirst(encodeURIComponent('display_enter<?BSTR:FORWARD("page", "U")>'))">
138                                         <img  src="static/webcit_icons/essen/16x16/pencil.png" alt="" width="16" height="16">
139                                         <span class="navbar_link"><?_("Edit this page")></span>
140                                 </a>
141                         </li>
142                 <li class="newmess">
143                         <a href="wiki<?%("COND:WIKI:TYPE", 84, "wiki_history", "", "", "_history")><?BSTR:FORWARD("page", "U")>">
144                                 <img  src="static/webcit_icons/essen/16x16/pen.png" alt="" width="16" height="16">
145                                 <span class="navbar_link"><?%("COND:WIKI:TYPE", 86, "wiki_history", "", _("Current version", _("History"))></span>
146                         </a>
147                 </li>
148         <??("COND:THISROOM:IS_EDIT", 82)>
149         <li class="publishmessage">
150                 <a href="javascript:publishMessage()">
151                         <img src="static/webcit_icons/essen/16x16/skiproom.png" alt="" width="16" height="16">
152                         <span class="navbar_link"><?_("publish to blog")></span>
153                 </a>
154         </li>
155         <?!("X", 82)>
156 <??("X", 80)>
157
158 <?!("COND:THISROOM:CURR_VIEW", 80, #"VIEW_WIKIMD")>
159         <??("COND:WIKI:PAGE", 81, "home")>
160         <li class="readallmess">
161                 <a href="wiki?page=home?go=<?THISROOM:NAME("U")>">
162                         <img src="static/webcit_icons/essen/16x16/readallmsg.png" alt="" width="16" height="16">
163                         <span class="navbar_link"><?_("Wiki home")></span>
164                 </a>
165         </li>
166         <?!("X", 81)>
167                 <li class="newmess">
168                                 <a href="javascript:GetLoggedInFirst(encodeURIComponent('display_enter<?BSTR:FORWARD("page", "U")>'))">
169                                         <img  src="static/webcit_icons/essen/16x16/pencil.png" alt="" width="16" height="16">
170                                         <span class="navbar_link"><?_("Edit this page")></span>
171                                 </a>
172                         </li>
173                 <li class="newmess">
174                         <a href="wiki<?%("COND:WIKI:TYPE", 84, "wiki_history", "", "", "_history")><?BSTR:FORWARD("page", "U")>">
175                                 <img  src="static/webcit_icons/essen/16x16/pen.png" alt="" width="16" height="16">
176                                 <span class="navbar_link"><?%("COND:WIKI:TYPE", 86, "wiki_history", "", _("Current version", _("History"))></span>
177                         </a>
178                 </li>
179         <??("COND:THISROOM:IS_EDIT", 82)>
180         <li class="publishmessage">
181                 <a href="javascript:publishMessage()">
182                         <img src="static/webcit_icons/essen/16x16/skiproom.png" alt="" width="16" height="16">
183                         <span class="navbar_link"><?_("publish to blog")></span>
184                 </a>
185         </li>
186         <?!("X", 82)>
187 <??("X", 80)>
188
189 <?!("COND:THISROOM:CURR_VIEW", 90, #"VIEW_BLOG")>
190         <li class="newmess">
191                 <a href="javascript:GetLoggedInFirst('display_enter')">
192                         <img src="static/webcit_icons/essen/16x16/pencil.png" alt="" width="16" height="16">
193                         <span class="navbar_link"><?_("New blog post")></span>
194                 </a>
195         </li>
196 <??("X", 90)>
197         
198         <li class="skipthisroom">
199                 <a href="skip" title="<?_("Leave all messages marked as unread, go to next room with unread messages")>">
200                         <img  src="static/webcit_icons/essen/16x16/skiproom.png" alt="" width="16" height="16">
201                         <span class="navbar_link"><?_("Skip this room")></span>
202                 </a>
203         </li>
204         <li class="markngo">
205                 <a href="gotonext" title="<?_("Mark all messages as read, go to next room with unread messages")>">
206                         <img  src="static/webcit_icons/essen/16x16/nextroom.png" alt="" width="16" height="16">
207                         <span class="navbar_link"><?_("Goto next room")></span></a>
208         </li>
209 <?!("COND:THISROOM:CURR_VIEW", 100, #"VIEW_QUEUE")>
210         <li class="runqueuenow">
211                  <a href="javascript:ToggleVisibility('runqueue')"><img src="static/webcit_icons/essen/16x16/refresh.png" alt="" width="16" height="16">
212                         <span class="navbar_link"><?_("Resend Mailqueue now")></span></a>
213         </li>
214 <??("X", 100)>
215
216 </ul></div>