86
86
########################################
87
87
## START - generated method body
89
write('<form method="post" action="?">\n')
90
for name, value in VFFSL(SL,"hidden_parameters",True): # generated from line 6, col 1
91
write(' <input type="hidden" name="')
92
_v = VFFSL(SL,"name",True) # '$name' on line 7, col 30
93
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 7, col 30.
95
_v = VFFSL(SL,"value",True) # '$value' on line 7, col 44
96
if _v is not None: write(_filter(_v, rawExpr='$value')) # from line 7, col 44.
90
<script type="text/javascript">
92
var second_reload = 0;
94
var autorefresh_enabled = true;
96
$(document).ready(function() {
97
$("#allbox").click(function(){
98
$(\'input[@name=delete]\').check($(this).attr(\'checked\'));
102
if ( navigator.userAgent.indexOf("Konqueror") != -1 ) {
103
$("th.filter_popup > div").css("display", "block");
104
$("th.filter_popup > div").hide();
107
$("th.filter_popup > a").click(function(){
108
\t$(this).next().popupUnique(function(data){data.show()}, function(data){data.hide()})
112
$("input[@name=auto_apply_value], input[@type=submit]").focus(function(){
113
\tautorefresh_possible = false;
116
$("input[@name=auto_apply_value]").blur(function(){
117
if ( second_reload <= second_count )
120
autorefresh_possible = true;
123
$(".auto_apply_button").click(function(){
124
if ( document.messagelisting.auto_apply_enable.value == "true" ) {
125
autorefresh_enabled = false;
127
document.messagelisting.auto_apply_enable.value = "false";
128
document.messagelisting.auto_apply_image.src = "prewikka/images/play.png";
130
autorefresh_enabled = true;
132
document.messagelisting.auto_apply_enable.value = "true";
133
document.messagelisting.auto_apply_image.src = "prewikka/images/pause.png";
137
$("a[@href]").click(function(){
138
\tautorefresh_possible = false;
151
function autoApplyTime() {
152
if ( document.messagelisting.auto_apply_value.value )
153
var rawtime = document.messagelisting.auto_apply_value.value;
155
var rawtime = "0:00";
157
var old = second_reload;
158
var parselimit = rawtime.split(":");
160
if ( parselimit[0] && parselimit[1] && parselimit[2] )
161
second_reload = parselimit[0] * 3600 + parselimit[1] * 60 + parselimit[2] * 1;
163
else if ( parselimit[0] && parselimit[1] )
164
second_reload = parselimit[0] * 60 + parselimit[1] * 1;
167
second_reload = rawtime;
169
if ( second_reload != old )
174
function autoApplyCounter() {
177
if ( autorefresh_enabled == false || autorefresh_possible == false || second_reload == 0 ) {
178
setTimeout("autoApplyCounter()", 1000);
183
document.getElementById("auto_apply_current").innerHTML = Math.floor(second_count / 60) + ":" + pad((second_count % 60));
185
if ( second_count != second_reload )
186
setTimeout("autoApplyCounter()", 1000);
188
else if ( second_count == second_reload ) {
193
if ( window.pageYOffset )
194
yaxis = window.pageYOffset;
196
else if ( window.documentElement && window.documentElement.scrollTop )
197
yaxis = window.documentElement.scrollTop;
199
else if ( document.body.scrollTop )
200
yaxis = window.body.scrollTop;
202
document.messagelisting.y.value = yaxis;
203
document.messagelisting.submit("Apply");
208
function setScrollBar() {
209
if ( document.messagelisting.y.value ) {
210
window.scrollTo(\'0\', document.messagelisting.y.value) ;
211
document.messagelisting.y.value = 0;
216
function beginAutoApply() {
218
if VFFSL(SL,"auto_apply_enable",True) == "true": # generated from line 133, col 1
219
write(''' autorefresh_enabled = true;
221
else: # generated from line 135, col 1
222
write(''' autorefresh_enabled = false;
226
setTimeout("autoApplyCounter()", 1000);
231
<form id="messagelisting" name="messagelisting" method="post" action="?">
233
for name, value in VFFSL(SL,"hidden_parameters",True): # generated from line 146, col 1
234
write(''' <input type="hidden" name="''')
235
_v = VFFSL(SL,"name",True) # '$name' on line 147, col 30
236
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 147, col 30.
237
write('''" value="''')
238
_v = VFFSL(SL,"value",True) # '$value' on line 147, col 44
239
if _v is not None: write(_filter(_v, rawExpr='$value')) # from line 147, col 44.
99
243
########################################
100
244
## END - generated method body
174
319
########################################
175
320
## START - generated method body
177
_v = VFFSL(SL,"message_listing_header",True) # '$message_listing_header' on line 20, col 1
178
if _v is not None: write(_filter(_v, rawExpr='$message_listing_header')) # from line 20, col 1.
324
_v = VFFSL(SL,"message_listing_header",True) # '$message_listing_header' on line 160, col 1
325
if _v is not None: write(_filter(_v, rawExpr='$message_listing_header')) # from line 160, col 1.
181
328
<table id="message_list_result">
183
_v = VFFSL(SL,"message_fields_header",True) # '$message_fields_header' on line 23, col 3
184
if _v is not None: write(_filter(_v, rawExpr='$message_fields_header')) # from line 23, col 3.
185
write('\n <tbody>\n')
330
_v = VFFSL(SL,"message_fields_header",True) # '$message_fields_header' on line 163, col 3
331
if _v is not None: write(_filter(_v, rawExpr='$message_fields_header')) # from line 163, col 3.
186
335
row_classes = ("table_row_even", "table_row_odd")
189
for message in VFFSL(SL,"messages",True): # generated from line 28, col 5
339
for message in VFFSL(SL,"messages",True): # generated from line 168, col 5
190
340
self._CHEETAH__globalSetVars["message"] = VFFSL(SL,"message",True)
191
write(' <tr class="')
192
_v = VFFSL(SL,"row_classes",True)[VFFSL(SL,"cnt",True) % 2] # '$row_classes[$cnt % 2]' on line 30, col 20
193
if _v is not None: write(_filter(_v, rawExpr='$row_classes[$cnt % 2]')) # from line 30, col 20.
195
_v = VFFSL(SL,"message_fields",True) # '$message_fields' on line 31, col 11
196
if _v is not None: write(_filter(_v, rawExpr='$message_fields')) # from line 31, col 11.
197
write('\n <td class="static_content_column">\n')
198
if VFN(VFFSL(SL,"prewikka.user",True),"has",False)(User.PERM_IDMEF_ALTER): # generated from line 33, col 13
199
write(' <input class="checkbox" type="checkbox" name="delete" value="')
200
_v = VFFSL(SL,"message.delete",True) # '$message.delete' on line 34, col 76
201
if _v is not None: write(_filter(_v, rawExpr='$message.delete')) # from line 34, col 76.
203
else: # generated from line 35, col 6
205
write(' </td>\n </tr>\n')
341
write(''' <tr class="''')
342
_v = VFFSL(SL,"row_classes",True)[VFFSL(SL,"cnt",True) % 2] # '$row_classes[$cnt % 2]' on line 170, col 20
343
if _v is not None: write(_filter(_v, rawExpr='$row_classes[$cnt % 2]')) # from line 170, col 20.
346
_v = VFFSL(SL,"message_fields",True) # '$message_fields' on line 171, col 11
347
if _v is not None: write(_filter(_v, rawExpr='$message_fields')) # from line 171, col 11.
351
if VFN(VFFSL(SL,"prewikka.user",True),"has",False)(User.PERM_IDMEF_ALTER): # generated from line 173, col 13
352
write(''' <input class="checkbox" type="checkbox" name="delete" value="''')
353
_v = VFFSL(SL,"message.delete",True) # '$message.delete' on line 174, col 76
354
if _v is not None: write(_filter(_v, rawExpr='$message.delete')) # from line 174, col 76.
357
else: # generated from line 175, col 13
208
if VFN(VFFSL(SL,"prewikka.user",True),"has",False)(User.PERM_IDMEF_ALTER) and VFFSL(SL,"cnt",True): # generated from line 43, col 1
209
write(' <tr>\n <td colspan="4"> </td>\n <td style="text-align: right;"><input type="submit" value="')
367
if VFN(VFFSL(SL,"prewikka.user",True),"has",False)(User.PERM_IDMEF_ALTER) and VFFSL(SL,"cnt",True): # generated from line 184, col 1
370
<td colspan="4"> </td>
371
<td style="text-align: right;"><input type="submit" value="''')
212
_v = VFFSL(SL,"_",False)("Delete") # '$_("Delete")' on line 46, col 66
213
if _v is not None: write(_filter(_v, rawExpr='$_("Delete")')) # from line 46, col 66.
374
_v = VFFSL(SL,"_",False)("Delete") # '$_("Delete")' on line 188, col 66
375
if _v is not None: write(_filter(_v, rawExpr='$_("Delete")')) # from line 188, col 66.
214
376
write('''"/></td>
215
<td class="static_content_column">
216
<input class="checkbox" type="checkbox" id="allbox" onclick="checkBoxByName('delete', document.forms[0].allbox.checked);"/>
378
<input class="checkbox" type="checkbox" id="allbox" />
221
write('\n </table>\n')
386
########################################
387
## END - generated method body
389
return _dummyTrans and trans.response().getvalue() or ""
392
def orderby_option(self, **KWS):
396
## CHEETAH: generated from #block orderby_option at line 199, col 1.
397
trans = KWS.get("trans")
398
if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)):
399
trans = self.transaction # is None unless self.awake() was called
401
trans = DummyTransaction()
403
else: _dummyTrans = False
404
write = trans.response().write
405
SL = self._CHEETAH__searchList
406
_filter = self._CHEETAH__currentFilter
408
########################################
409
## START - generated method body
411
write(''' <option value="time_desc" ''')
412
_v = VFFSL(SL,"timeline.time_desc_selected",True) # '$timeline.time_desc_selected' on line 200, col 32
413
if _v is not None: write(_filter(_v, rawExpr='$timeline.time_desc_selected')) # from line 200, col 32.
414
write('''>By time (descending)</option>
415
<option value="time_asc" ''')
416
_v = VFFSL(SL,"timeline.time_asc_selected",True) # '$timeline.time_asc_selected' on line 201, col 31
417
if _v is not None: write(_filter(_v, rawExpr='$timeline.time_asc_selected')) # from line 201, col 31.
418
write('''>By time (ascending)</option>
223
421
########################################
224
422
## END - generated method body
271
469
########################################
272
470
## START - generated method body
274
write('<table id="timeline">\n ')
275
_v = VFFSL(SL,"timeline_extra_content",True) # '$timeline_extra_content' on line 64, col 3
276
if _v is not None: write(_filter(_v, rawExpr='$timeline_extra_content')) # from line 64, col 3.
473
<table id="timeline">
475
_v = VFFSL(SL,"timeline_extra_content",True) # '$timeline_extra_content' on line 209, col 3
476
if _v is not None: write(_filter(_v, rawExpr='$timeline_extra_content')) # from line 209, col 3.
280
480
<th id="timeline_step_label">''')
283
_v = VFFSL(SL,"_",False)("Period") # '$_("Period")' on line 67, col 33
284
if _v is not None: write(_filter(_v, rawExpr='$_("Period")')) # from line 67, col 33.
285
write('</th>\n <td>\n <input class="timeline_value" name="timeline_value" type="text" size="2" value="')
286
_v = VFFSL(SL,"timeline.value",True) # '$timeline.value' on line 69, col 85
287
if _v is not None: write(_filter(_v, rawExpr='$timeline.value')) # from line 69, col 85.
483
_v = VFFSL(SL,"_",False)("Period") # '$_("Period")' on line 212, col 33
484
if _v is not None: write(_filter(_v, rawExpr='$_("Period")')) # from line 212, col 33.
487
<input name="timeline_value" type="text" size="2" value="''')
488
_v = VFFSL(SL,"timeline.value",True) # '$timeline.value' on line 214, col 62
489
if _v is not None: write(_filter(_v, rawExpr='$timeline.value')) # from line 214, col 62.
291
<select class="timeline_unit_select" name="timeline_unit">
491
<select name="timeline_unit">
292
492
<option value="min" ''')
293
_v = VFFSL(SL,"timeline.min_selected",True) # '$timeline.min_selected' on line 73, col 26
294
if _v is not None: write(_filter(_v, rawExpr='$timeline.min_selected')) # from line 73, col 26.
493
_v = VFFSL(SL,"timeline.min_selected",True) # '$timeline.min_selected' on line 216, col 26
494
if _v is not None: write(_filter(_v, rawExpr='$timeline.min_selected')) # from line 216, col 26.
298
_v = VFFSL(SL,"_",False)("Minutes") # '$_("Minutes")' on line 73, col 49
299
if _v is not None: write(_filter(_v, rawExpr='$_("Minutes")')) # from line 73, col 49.
300
write('</option>\n <option value="hour" ')
301
_v = VFFSL(SL,"timeline.hour_selected",True) # '$timeline.hour_selected' on line 74, col 27
302
if _v is not None: write(_filter(_v, rawExpr='$timeline.hour_selected')) # from line 74, col 27.
498
_v = VFFSL(SL,"_",False)("Minutes") # '$_("Minutes")' on line 216, col 49
499
if _v is not None: write(_filter(_v, rawExpr='$_("Minutes")')) # from line 216, col 49.
501
<option value="hour" ''')
502
_v = VFFSL(SL,"timeline.hour_selected",True) # '$timeline.hour_selected' on line 217, col 27
503
if _v is not None: write(_filter(_v, rawExpr='$timeline.hour_selected')) # from line 217, col 27.
306
_v = VFFSL(SL,"_",False)("Hours") # '$_("Hours")' on line 74, col 51
307
if _v is not None: write(_filter(_v, rawExpr='$_("Hours")')) # from line 74, col 51.
308
write('</option>\n <option value="day" ')
309
_v = VFFSL(SL,"timeline.day_selected",True) # '$timeline.day_selected' on line 75, col 26
310
if _v is not None: write(_filter(_v, rawExpr='$timeline.day_selected')) # from line 75, col 26.
507
_v = VFFSL(SL,"_",False)("Hours") # '$_("Hours")' on line 217, col 51
508
if _v is not None: write(_filter(_v, rawExpr='$_("Hours")')) # from line 217, col 51.
510
<option value="day" ''')
511
_v = VFFSL(SL,"timeline.day_selected",True) # '$timeline.day_selected' on line 218, col 26
512
if _v is not None: write(_filter(_v, rawExpr='$timeline.day_selected')) # from line 218, col 26.
314
_v = VFFSL(SL,"_",False)("Days") # '$_("Days")' on line 75, col 49
315
if _v is not None: write(_filter(_v, rawExpr='$_("Days")')) # from line 75, col 49.
316
write('</option>\n <option value="month" ')
317
_v = VFFSL(SL,"timeline.month_selected",True) # '$timeline.month_selected' on line 76, col 28
318
if _v is not None: write(_filter(_v, rawExpr='$timeline.month_selected')) # from line 76, col 28.
516
_v = VFFSL(SL,"_",False)("Days") # '$_("Days")' on line 218, col 49
517
if _v is not None: write(_filter(_v, rawExpr='$_("Days")')) # from line 218, col 49.
519
<option value="month" ''')
520
_v = VFFSL(SL,"timeline.month_selected",True) # '$timeline.month_selected' on line 219, col 28
521
if _v is not None: write(_filter(_v, rawExpr='$timeline.month_selected')) # from line 219, col 28.
322
_v = VFFSL(SL,"_",False)("Months") # '$_("Months")' on line 76, col 53
323
if _v is not None: write(_filter(_v, rawExpr='$_("Months")')) # from line 76, col 53.
324
write('</option>\n <option value="year" ')
325
_v = VFFSL(SL,"timeline.year_selected",True) # '$timeline.year_selected' on line 77, col 27
326
if _v is not None: write(_filter(_v, rawExpr='$timeline.year_selected')) # from line 77, col 27.
525
_v = VFFSL(SL,"_",False)("Months") # '$_("Months")' on line 219, col 53
526
if _v is not None: write(_filter(_v, rawExpr='$_("Months")')) # from line 219, col 53.
528
<option value="year" ''')
529
_v = VFFSL(SL,"timeline.year_selected",True) # '$timeline.year_selected' on line 220, col 27
530
if _v is not None: write(_filter(_v, rawExpr='$timeline.year_selected')) # from line 220, col 27.
330
_v = VFFSL(SL,"_",False)("Years") # '$_("Years")' on line 77, col 51
331
if _v is not None: write(_filter(_v, rawExpr='$_("Years")')) # from line 77, col 51.
332
write('</option>\n <option value="unlimited" ')
333
_v = VFFSL(SL,"timeline.unlimited_selected",True) # '$timeline.unlimited_selected' on line 78, col 32
334
if _v is not None: write(_filter(_v, rawExpr='$timeline.unlimited_selected')) # from line 78, col 32.
534
_v = VFFSL(SL,"_",False)("Years") # '$_("Years")' on line 220, col 51
535
if _v is not None: write(_filter(_v, rawExpr='$_("Years")')) # from line 220, col 51.
537
<option value="unlimited" ''')
538
_v = VFFSL(SL,"timeline.unlimited_selected",True) # '$timeline.unlimited_selected' on line 221, col 32
539
if _v is not None: write(_filter(_v, rawExpr='$timeline.unlimited_selected')) # from line 221, col 32.
338
_v = VFFSL(SL,"_",False)("Unlimited") # '$_("Unlimited")' on line 78, col 61
339
if _v is not None: write(_filter(_v, rawExpr='$_("Unlimited")')) # from line 78, col 61.
543
_v = VFFSL(SL,"_",False)("Unlimited") # '$_("Unlimited")' on line 221, col 61
544
if _v is not None: write(_filter(_v, rawExpr='$_("Unlimited")')) # from line 221, col 61.
340
545
write('''</option>
346
551
<th id="timezone_control_label">''')
349
_v = VFFSL(SL,"_",False)("Timezone") # '$_("Timezone")' on line 84, col 37
350
if _v is not None: write(_filter(_v, rawExpr='$_("Timezone")')) # from line 84, col 37.
554
_v = VFFSL(SL,"_",False)("Timezone") # '$_("Timezone")' on line 227, col 37
555
if _v is not None: write(_filter(_v, rawExpr='$_("Timezone")')) # from line 227, col 37.
353
<select class="timezone_control_select" name="timezone">
558
<select name="timezone">
354
559
<option value="frontend_localtime" ''')
355
_v = VFFSL(SL,"timeline.frontend_localtime_selected",True) # '$timeline.frontend_localtime_selected' on line 87, col 44
356
if _v is not None: write(_filter(_v, rawExpr='$timeline.frontend_localtime_selected')) # from line 87, col 44.
560
_v = VFFSL(SL,"timeline.frontend_localtime_selected",True) # '$timeline.frontend_localtime_selected' on line 230, col 44
561
if _v is not None: write(_filter(_v, rawExpr='$timeline.frontend_localtime_selected')) # from line 230, col 44.
359
564
_("Frontend localtime")
360
_v = VFFSL(SL,"_",False)("Frontend localtime") # '$_("Frontend localtime")' on line 87, col 82
361
if _v is not None: write(_filter(_v, rawExpr='$_("Frontend localtime")')) # from line 87, col 82.
362
write('</option>\n\t<option value="sensor_localtime" ')
363
_v = VFFSL(SL,"timeline.sensor_localtime_selected",True) # '$timeline.sensor_localtime_selected' on line 88, col 35
364
if _v is not None: write(_filter(_v, rawExpr='$timeline.sensor_localtime_selected')) # from line 88, col 35.
565
_v = VFFSL(SL,"_",False)("Frontend localtime") # '$_("Frontend localtime")' on line 230, col 82
566
if _v is not None: write(_filter(_v, rawExpr='$_("Frontend localtime")')) # from line 230, col 82.
568
<option value="sensor_localtime" ''')
569
_v = VFFSL(SL,"timeline.sensor_localtime_selected",True) # '$timeline.sensor_localtime_selected' on line 231, col 42
570
if _v is not None: write(_filter(_v, rawExpr='$timeline.sensor_localtime_selected')) # from line 231, col 42.
367
573
_("Sensor localtime")
368
_v = VFFSL(SL,"_",False)("Sensor localtime") # '$_("Sensor localtime")' on line 88, col 71
369
if _v is not None: write(_filter(_v, rawExpr='$_("Sensor localtime")')) # from line 88, col 71.
370
write('</option>\n\t<option value="utc" ')
371
_v = VFFSL(SL,"timeline.utc_selected",True) # '$timeline.utc_selected' on line 89, col 22
372
if _v is not None: write(_filter(_v, rawExpr='$timeline.utc_selected')) # from line 89, col 22.
574
_v = VFFSL(SL,"_",False)("Sensor localtime") # '$_("Sensor localtime")' on line 231, col 78
575
if _v is not None: write(_filter(_v, rawExpr='$_("Sensor localtime")')) # from line 231, col 78.
577
<option value="utc" ''')
578
_v = VFFSL(SL,"timeline.utc_selected",True) # '$timeline.utc_selected' on line 232, col 29
579
if _v is not None: write(_filter(_v, rawExpr='$timeline.utc_selected')) # from line 232, col 29.
376
_v = VFFSL(SL,"_",False)("UTC") # '$_("UTC")' on line 89, col 45
377
if _v is not None: write(_filter(_v, rawExpr='$_("UTC")')) # from line 89, col 45.
583
_v = VFFSL(SL,"_",False)("UTC") # '$_("UTC")' on line 232, col 52
584
if _v is not None: write(_filter(_v, rawExpr='$_("UTC")')) # from line 232, col 52.
378
585
write('''</option>
384
591
<th id="timeline_limit_label">''')
387
_v = VFFSL(SL,"_",False)("Limit") # '$_("Limit")' on line 95, col 34
388
if _v is not None: write(_filter(_v, rawExpr='$_("Limit")')) # from line 95, col 34.
594
_v = VFFSL(SL,"_",False)("Limit") # '$_("Limit")' on line 238, col 34
595
if _v is not None: write(_filter(_v, rawExpr='$_("Limit")')) # from line 238, col 34.
392
599
<input id="timeline_limit_value" type="text" size="2" name="limit" value="''')
393
_v = VFFSL(SL,"limit",True) # '$limit' on line 98, col 79
394
if _v is not None: write(_filter(_v, rawExpr='$limit')) # from line 98, col 79.
600
_v = VFFSL(SL,"limit",True) # '$limit' on line 241, col 79
601
if _v is not None: write(_filter(_v, rawExpr='$limit')) # from line 241, col 79.
399
<tr style="text-align: center;">
400
<td colspan=3><input type="submit" name="apply" value="''')
605
<select name="orderby">
607
_v = VFFSL(SL,"orderby_option",True) # '$orderby_option' on line 245, col 5
608
if _v is not None: write(_filter(_v, rawExpr='$orderby_option')) # from line 245, col 5.
615
<th id="auto_apply_label">''')
618
_v = VFFSL(SL,"_",False)("Refresh") # '$_("Refresh")' on line 251, col 31
619
if _v is not None: write(_filter(_v, rawExpr='$_("Refresh")')) # from line 251, col 31.
624
if VFFSL(SL,"auto_apply_enable",True) == "true": # generated from line 254, col 5
625
img = "prewikka/images/pause.png"
626
else: # generated from line 256, col 5
627
img = "prewikka/images/play.png"
629
<input type="hidden" name="auto_apply_enable" value="''')
630
_v = VFFSL(SL,"auto_apply_enable",True) # '$auto_apply_enable' on line 260, col 54
631
if _v is not None: write(_filter(_v, rawExpr='$auto_apply_enable')) # from line 260, col 54.
634
<div class="auto_apply_current" id="auto_apply_current">0:00</div>
635
<input type="text" size="3" name="auto_apply_value" value="''')
636
_v = VFFSL(SL,"auto_apply_value",True) # '$auto_apply_value' on line 263, col 60
637
if _v is not None: write(_filter(_v, rawExpr='$auto_apply_value')) # from line 263, col 60.
639
<a class="auto_apply_button"><img id="auto_apply_image" src="''')
640
_v = VFFSL(SL,"img",True) # '$img' on line 264, col 62
641
if _v is not None: write(_filter(_v, rawExpr='$img')) # from line 264, col 62.
642
write('''" alt="Play/Pause" /></a>
648
_orig_filter_20039321 = _filter
649
filterName = 'CleanOutput'
650
if self._CHEETAH__filters.has_key("CleanOutput"):
651
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
653
_filter = self._CHEETAH__currentFilter = \
654
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
657
<td colspan="3" style="text-align: center">
659
<br style="line-height: 5px;" />
662
<input id="form_apply" type="submit" name="apply" value="''')
403
_v = VFFSL(SL,"_",False)("Apply") # '$_("Apply")' on line 103, col 62
404
if _v is not None: write(_filter(_v, rawExpr='$_("Apply")')) # from line 103, col 62.
405
write('" />\n <input type="submit" name="_save" value="')
665
_v = VFFSL(SL,"_",False)("Apply") # '$_("Apply")' on line 277, col 59
666
if _v is not None: write(_filter(_v, rawExpr='$_("Apply")')) # from line 277, col 59.
667
write('''" /> <input type="submit" name="_save" value="''')
408
_v = VFFSL(SL,"_",False)("Save") # '$_("Save")' on line 104, col 48
409
if _v is not None: write(_filter(_v, rawExpr='$_("Save")')) # from line 104, col 48.
414
_orig_filter_73975308 = _filter
415
filterName = 'CleanOutput'
416
if self._CHEETAH__filters.has_key("CleanOutput"):
417
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
419
_filter = self._CHEETAH__currentFilter = \
420
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
422
if not VFFSL(SL,"timeline.start",True): # generated from line 109, col 1
423
write(' <tr><td colspan="4" class="timeline_range">Unlimited</td></tr>\n <tr><td colspan="4" class="timeline_range">-</td></tr>\n')
424
else: # generated from line 112, col 1
425
write(' <tr><td colspan="4" class="timeline_range">')
426
_v = VFFSL(SL,"timeline.start",True) # '$timeline.start' on line 113, col 45
427
if _v is not None: write(_filter(_v, rawExpr='$timeline.start')) # from line 113, col 45.
428
write('</td></tr>\n <tr><td colspan="4" class="timeline_range">')
429
_v = VFFSL(SL,"timeline.end",True) # '$timeline.end' on line 114, col 45
430
if _v is not None: write(_filter(_v, rawExpr='$timeline.end')) # from line 114, col 45.
431
write('</td></tr>\n')
432
write(' <tr><td colspan="4" class="timeline_range">')
433
_v = VFFSL(SL,"timeline.range_timezone",True) # '$timeline.range_timezone' on line 116, col 45
434
if _v is not None: write(_filter(_v, rawExpr='$timeline.range_timezone')) # from line 116, col 45.
670
_v = VFFSL(SL,"_",False)("Save") # '$_("Save")' on line 277, col 121
671
if _v is not None: write(_filter(_v, rawExpr='$_("Save")')) # from line 277, col 121.
675
<br style="line-height: 5px;" />
677
<div class="timeline_range">
679
if not VFFSL(SL,"timeline.start",True): # generated from line 283, col 1
680
write(''' Unlimited<br/>
683
else: # generated from line 286, col 1
685
_v = VFFSL(SL,"timeline.start",True) # '$timeline.start' on line 287, col 2
686
if _v is not None: write(_filter(_v, rawExpr='$timeline.start')) # from line 287, col 2.
689
_v = VFFSL(SL,"timeline.end",True) # '$timeline.end' on line 288, col 2
690
if _v is not None: write(_filter(_v, rawExpr='$timeline.end')) # from line 288, col 2.
694
_v = VFFSL(SL,"timeline.range_timezone",True) # '$timeline.range_timezone' on line 290, col 2
695
if _v is not None: write(_filter(_v, rawExpr='$timeline.range_timezone')) # from line 290, col 2.
438
<td colspan="4" style="text-align: center;">
441
if VFFSL(SL,"timeline.prev",True): # generated from line 121, col 5
442
write(' <td class="timeline_control_prev"><a href="')
443
_v = VFFSL(SL,"timeline.prev",True) # '$timeline.prev' on line 122, col 49
444
if _v is not None: write(_filter(_v, rawExpr='$timeline.prev')) # from line 122, col 49.
448
_v = VFFSL(SL,"_",False)("prev") # '$_("prev")' on line 122, col 68
449
if _v is not None: write(_filter(_v, rawExpr='$_("prev")')) # from line 122, col 68.
450
write('</b></a></td>\n')
451
else: # generated from line 123, col 5
452
write(' <td class="timeline_control_inactive"><b>')
455
_v = VFFSL(SL,"_",False)("prev") # '$_("prev")' on line 124, col 47
456
if _v is not None: write(_filter(_v, rawExpr='$_("prev")')) # from line 124, col 47.
459
if VFFSL(SL,"timeline.current",True): # generated from line 127, col 5
460
write(' <td class="timeline_control_cur"><a href="')
461
_v = VFFSL(SL,"timeline.current",True) # '$timeline.current' on line 128, col 48
462
if _v is not None: write(_filter(_v, rawExpr='$timeline.current')) # from line 128, col 48.
466
_v = VFFSL(SL,"_",False)("current") # '$_("current")' on line 128, col 70
467
if _v is not None: write(_filter(_v, rawExpr='$_("current")')) # from line 128, col 70.
468
write('</b></a></td>\n')
469
else: # generated from line 129, col 5
470
write(' <td class="timeline_control_cur_inactive"><b>')
473
_v = VFFSL(SL,"_",False)("current") # '$_("current")' on line 130, col 51
474
if _v is not None: write(_filter(_v, rawExpr='$_("current")')) # from line 130, col 51.
477
if VFFSL(SL,"timeline.next",True): # generated from line 133, col 5
478
write(' <td class="timeline_control_next"><a href="')
479
_v = VFFSL(SL,"timeline.next",True) # '$timeline.next' on line 134, col 49
480
if _v is not None: write(_filter(_v, rawExpr='$timeline.next')) # from line 134, col 49.
484
_v = VFFSL(SL,"_",False)("next") # '$_("next")' on line 134, col 68
485
if _v is not None: write(_filter(_v, rawExpr='$_("next")')) # from line 134, col 68.
486
write('</b></a></td>\n')
487
else : # generated from line 135, col 5
488
write(' <td class="timeline_control_inactive"><b>')
491
_v = VFFSL(SL,"_",False)("next") # '$_("next")' on line 136, col 47
492
if _v is not None: write(_filter(_v, rawExpr='$_("next")')) # from line 136, col 47.
706
if VFFSL(SL,"timeline.prev",True): # generated from line 299, col 5
707
write(''' <td class="timeline_control_prev"><a href="''')
708
_v = VFFSL(SL,"timeline.prev",True) # '$timeline.prev' on line 300, col 49
709
if _v is not None: write(_filter(_v, rawExpr='$timeline.prev')) # from line 300, col 49.
713
_v = VFFSL(SL,"_",False)("prev") # '$_("prev")' on line 300, col 68
714
if _v is not None: write(_filter(_v, rawExpr='$_("prev")')) # from line 300, col 68.
715
write('''</b></a></td>
717
else: # generated from line 301, col 5
718
write(''' <td class="timeline_control_inactive"><b>''')
721
_v = VFFSL(SL,"_",False)("prev") # '$_("prev")' on line 302, col 47
722
if _v is not None: write(_filter(_v, rawExpr='$_("prev")')) # from line 302, col 47.
727
if VFFSL(SL,"timeline.current",True): # generated from line 305, col 5
728
write(''' <td class="timeline_control_cur"><a href="''')
729
_v = VFFSL(SL,"timeline.current",True) # '$timeline.current' on line 306, col 48
730
if _v is not None: write(_filter(_v, rawExpr='$timeline.current')) # from line 306, col 48.
734
_v = VFFSL(SL,"_",False)("current") # '$_("current")' on line 306, col 70
735
if _v is not None: write(_filter(_v, rawExpr='$_("current")')) # from line 306, col 70.
736
write('''</b></a></td>
738
else: # generated from line 307, col 5
739
write(''' <td class="timeline_control_cur_inactive"><b>''')
742
_v = VFFSL(SL,"_",False)("current") # '$_("current")' on line 308, col 51
743
if _v is not None: write(_filter(_v, rawExpr='$_("current")')) # from line 308, col 51.
748
if VFFSL(SL,"timeline.next",True): # generated from line 311, col 5
749
write(''' <td class="timeline_control_next"><a href="''')
750
_v = VFFSL(SL,"timeline.next",True) # '$timeline.next' on line 312, col 49
751
if _v is not None: write(_filter(_v, rawExpr='$timeline.next')) # from line 312, col 49.
755
_v = VFFSL(SL,"_",False)("next") # '$_("next")' on line 312, col 68
756
if _v is not None: write(_filter(_v, rawExpr='$_("next")')) # from line 312, col 68.
757
write('''</b></a></td>
759
else: # generated from line 313, col 5
760
write(''' <td class="timeline_control_inactive"><b>''')
763
_v = VFFSL(SL,"_",False)("next") # '$_("next")' on line 314, col 47
764
if _v is not None: write(_filter(_v, rawExpr='$_("next")')) # from line 314, col 47.
502
774
<table id="message_list_nav">
505
if VFFSL(SL,"nav.prev",True): # generated from line 148, col 5
506
write(' <td class="message_list_nav_button"><a href="')
507
_v = VFFSL(SL,"nav.first",True) # '$nav.first' on line 149, col 52
508
if _v is not None: write(_filter(_v, rawExpr='$nav.first')) # from line 149, col 52.
509
write('"><<</a></td>\n <td class="message_list_nav_button"><a href="')
510
_v = VFFSL(SL,"nav.prev",True) # '$nav.prev' on line 150, col 52
511
if _v is not None: write(_filter(_v, rawExpr='$nav.prev')) # from line 150, col 52.
512
write('"><</a></td>\n')
513
else: # generated from line 151, col 5
514
write(' <td class="message_list_nav_button_empty"><<</td>\n <td class="message_list_nav_button_empty"><</td>\n')
515
if VFFSL(SL,"nav.next",True): # generated from line 155, col 5
516
write(' <td class="message_list_nav_button"><a href="')
517
_v = VFFSL(SL,"nav.next",True) # '$nav.next' on line 156, col 52
518
if _v is not None: write(_filter(_v, rawExpr='$nav.next')) # from line 156, col 52.
519
write('">></a></td>\n <td class="message_list_nav_button"><a href="')
520
_v = VFFSL(SL,"nav.last",True) # '$nav.last' on line 157, col 52
521
if _v is not None: write(_filter(_v, rawExpr='$nav.last')) # from line 157, col 52.
522
write('">>></a></td>\n')
523
else: # generated from line 158, col 5
524
write(' <td class="message_list_nav_button_empty">></td>\n <td class="message_list_nav_button_empty">>></td>\n')
777
if VFFSL(SL,"nav.prev",True): # generated from line 325, col 5
778
write(''' <td class="message_list_nav_button"><a href="''')
779
_v = VFFSL(SL,"nav.first",True) # '$nav.first' on line 326, col 52
780
if _v is not None: write(_filter(_v, rawExpr='$nav.first')) # from line 326, col 52.
781
write('''"><<</a></td>
782
<td class="message_list_nav_button"><a href="''')
783
_v = VFFSL(SL,"nav.prev",True) # '$nav.prev' on line 327, col 52
784
if _v is not None: write(_filter(_v, rawExpr='$nav.prev')) # from line 327, col 52.
785
write('''"><</a></td>
787
else: # generated from line 328, col 5
788
write(''' <td class="message_list_nav_button_empty"><<</td>
789
<td class="message_list_nav_button_empty"><</td>
791
if VFFSL(SL,"nav.next",True): # generated from line 332, col 5
792
write(''' <td class="message_list_nav_button"><a href="''')
793
_v = VFFSL(SL,"nav.next",True) # '$nav.next' on line 333, col 52
794
if _v is not None: write(_filter(_v, rawExpr='$nav.next')) # from line 333, col 52.
795
write('''">></a></td>
796
<td class="message_list_nav_button"><a href="''')
797
_v = VFFSL(SL,"nav.last",True) # '$nav.last' on line 334, col 52
798
if _v is not None: write(_filter(_v, rawExpr='$nav.last')) # from line 334, col 52.
799
write('''">>></a></td>
801
else: # generated from line 335, col 5
802
write(''' <td class="message_list_nav_button_empty">></td>
803
<td class="message_list_nav_button_empty">>></td>
527
807
<td class="message_list_nav_infos" colspan="4">
529
_v = VFFSL(SL,"nav.from",True) # '$nav.from' on line 165, col 7
530
if _v is not None: write(_filter(_v, rawExpr='$nav.from')) # from line 165, col 7.
532
_v = VFFSL(SL,"nav.to",True) # '$nav.to' on line 165, col 21
533
if _v is not None: write(_filter(_v, rawExpr='$nav.to')) # from line 165, col 21.
809
_v = VFFSL(SL,"nav.from",True) # '$nav.from' on line 342, col 7
810
if _v is not None: write(_filter(_v, rawExpr='$nav.from')) # from line 342, col 7.
812
_v = VFFSL(SL,"nav.to",True) # '$nav.to' on line 342, col 21
813
if _v is not None: write(_filter(_v, rawExpr='$nav.to')) # from line 342, col 21.
537
_v = VFFSL(SL,"_",False)("total") # '$_("total")' on line 165, col 30
538
if _v is not None: write(_filter(_v, rawExpr='$_("total")')) # from line 165, col 30.
540
_v = VFFSL(SL,"total",True) # '$total' on line 165, col 42
541
if _v is not None: write(_filter(_v, rawExpr='$total')) # from line 165, col 42.
817
_v = VFFSL(SL,"_",False)("total") # '$_("total")' on line 342, col 30
818
if _v is not None: write(_filter(_v, rawExpr='$_("total")')) # from line 342, col 30.
820
_v = VFFSL(SL,"total",True) # '$total' on line 342, col 42
821
if _v is not None: write(_filter(_v, rawExpr='$total')) # from line 342, col 42.
548
_filter = _orig_filter_73975308
549
_orig_filter_87916678 = _filter
828
_filter = self._CHEETAH__currentFilter = _orig_filter_20039321
829
_orig_filter_58994948 = _filter
550
830
filterName = 'Filter'
551
831
if self._CHEETAH__filters.has_key("Filter"):
552
832
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
554
834
_filter = self._CHEETAH__currentFilter = \
555
835
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
556
_filter = _orig_filter_87916678
836
_filter = self._CHEETAH__currentFilter = _orig_filter_58994948
838
########################################
839
## END - generated method body
841
return _dummyTrans and trans.response().getvalue() or ""
844
def body(self, **KWS):
848
## CHEETAH: generated from #block body at line 352, col 1.
849
trans = KWS.get("trans")
850
if (not trans and not self._CHEETAH__isBuffering and not callable(self.transaction)):
851
trans = self.transaction # is None unless self.awake() was called
853
trans = DummyTransaction()
855
else: _dummyTrans = False
856
write = trans.response().write
857
SL = self._CHEETAH__searchList
858
_filter = self._CHEETAH__currentFilter
860
########################################
861
## START - generated method body
863
write('''<body class="''')
864
_v = VFFSL(SL,"body_class",True) # '$body_class' on line 353, col 14
865
if _v is not None: write(_filter(_v, rawExpr='$body_class')) # from line 353, col 14.
866
write('''" onload="beginAutoApply()">
868
<div id="top_view_header">
869
<div id="top_view_header_software">''')
870
_v = VFFSL(SL,"prewikka.software",True) # '$prewikka.software' on line 356, col 60
871
if _v is not None: write(_filter(_v, rawExpr='$prewikka.software')) # from line 356, col 60.
873
<div id="top_view_header_place">''')
874
_v = VFFSL(SL,"prewikka.place",True) # '$prewikka.place' on line 357, col 57
875
if _v is not None: write(_filter(_v, rawExpr='$prewikka.place')) # from line 357, col 57.
877
<div id="top_view_header_title">''')
878
_v = VFFSL(SL,"prewikka.title",True) # '$prewikka.title' on line 358, col 57
879
if _v is not None: write(_filter(_v, rawExpr='$prewikka.title')) # from line 358, col 57.
883
_v = VFFSL(SL,"toplayout_content",True) # '$toplayout_content' on line 360, col 17
884
if _v is not None: write(_filter(_v, rawExpr='$toplayout_content')) # from line 360, col 17.
558
890
########################################
559
891
## END - generated method body