~ubuntu-branches/ubuntu/wily/prewikka/wily

« back to all changes in this revision

Viewing changes to prewikka/templates/MessageListing.py

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2010-03-18 17:34:33 UTC
  • mfrom: (1.1.11 upstream) (8.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100318173433-2dyo1uo0r570y4i9
Tags: 1.0.0-1
New upstream release 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
import sys
9
9
import os
10
10
import os.path
 
11
import __builtin__
11
12
from os.path import getmtime, exists
12
13
import time
13
14
import types
14
 
import __builtin__
15
15
from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion
16
16
from Cheetah.Version import MinCompatibleVersionTuple as RequiredCheetahVersionTuple
17
17
from Cheetah.Template import Template
18
 
from Cheetah.DummyTransaction import DummyTransaction
 
18
from Cheetah.DummyTransaction import *
19
19
from Cheetah.NameMapper import NotFound, valueForName, valueFromSearchList, valueFromFrameOrSearchList
20
20
from Cheetah.CacheRegion import CacheRegion
21
21
import Cheetah.Filters as Filters
25
25
 
26
26
##################################################
27
27
## MODULE CONSTANTS
28
 
try:
29
 
    True, False
30
 
except NameError:
31
 
    True, False = (1==1), (1==0)
32
28
VFFSL=valueFromFrameOrSearchList
33
29
VFSL=valueFromSearchList
34
30
VFN=valueForName
35
31
currentTime=time.time
36
 
__CHEETAH_version__ = '2.0.1'
37
 
__CHEETAH_versionTuple__ = (2, 0, 1, 'final', 0)
38
 
__CHEETAH_genTime__ = 1252401818.2783639
39
 
__CHEETAH_genTimestamp__ = 'Tue Sep  8 11:23:38 2009'
 
32
__CHEETAH_version__ = '2.4.1'
 
33
__CHEETAH_versionTuple__ = (2, 4, 1, 'final', 0)
 
34
__CHEETAH_genTime__ = 1268930090.1885309
 
35
__CHEETAH_genTimestamp__ = 'Thu Mar 18 17:34:50 2010'
40
36
__CHEETAH_src__ = 'prewikka/templates/MessageListing.tmpl'
41
 
__CHEETAH_srcLastModified__ = 'Tue Jun 30 08:26:37 2009'
42
 
__CHEETAH_docstring__ = 'Autogenerated by CHEETAH: The Python-Powered Template Engine'
 
37
__CHEETAH_srcLastModified__ = 'Tue Feb 23 17:14:18 2010'
 
38
__CHEETAH_docstring__ = 'Autogenerated by Cheetah: The Python-Powered Template Engine'
43
39
 
44
40
if __CHEETAH_versionTuple__ < RequiredCheetahVersionTuple:
45
41
    raise AssertionError(
58
54
 
59
55
    def __init__(self, *args, **KWs):
60
56
 
61
 
        ClassicLayout.__init__(self, *args, **KWs)
 
57
        super(MessageListing, self).__init__(*args, **KWs)
62
58
        if not self._CHEETAH__instanceInitialized:
63
59
            cheetahKWArgs = {}
64
60
            allowedKWs = 'searchList namespaces filter filtersLib errorCatcher'.split()
86
82
        ########################################
87
83
        ## START - generated method body
88
84
        
89
 
        write('''
 
85
        write(u'''
90
86
<script type="text/javascript">
91
87
<!--
92
88
var second_reload  = 0;
216
212
function beginAutoApply() {
217
213
''')
218
214
        if VFFSL(SL,"auto_apply_enable",True) == "true": # generated from line 133, col 1
219
 
            write('''        autorefresh_enabled = true;
 
215
            write(u'''        autorefresh_enabled = true;
220
216
''')
221
217
        else: # generated from line 135, col 1
222
 
            write('''        autorefresh_enabled = false;
 
218
            write(u'''        autorefresh_enabled = false;
223
219
''')
224
 
        write('''
 
220
        write(u'''
225
221
        setScrollBar();
226
222
        setTimeout("autoApplyCounter()", 1000);
227
223
}
231
227
<form id="messagelisting" name="messagelisting" method="post" action="?">
232
228
''')
233
229
        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.
240
 
            write('''"/>
 
230
            write(u'''  <input type="hidden" name="''')
 
231
            _v = VFFSL(SL,"name",True) # u'$name' on line 147, col 30
 
232
            if _v is not None: write(_filter(_v, rawExpr=u'$name')) # from line 147, col 30.
 
233
            write(u'''" value="''')
 
234
            _v = VFFSL(SL,"value",True) # u'$value' on line 147, col 44
 
235
            if _v is not None: write(_filter(_v, rawExpr=u'$value')) # from line 147, col 44.
 
236
            write(u'''"/>
241
237
''')
242
238
        
243
239
        ########################################
265
261
        ########################################
266
262
        ## START - generated method body
267
263
        
268
 
        write('''</form>
 
264
        write(u'''</form>
269
265
''')
270
266
        
271
267
        ########################################
319
315
        ########################################
320
316
        ## START - generated method body
321
317
        
322
 
        write('''
 
318
        write(u'''
323
319
''')
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.
326
 
        write('''
 
320
        _v = VFFSL(SL,"message_listing_header",True) # u'$message_listing_header' on line 160, col 1
 
321
        if _v is not None: write(_filter(_v, rawExpr=u'$message_listing_header')) # from line 160, col 1.
 
322
        write(u'''
327
323
 
328
324
<table id="message_list_result">
329
325
  ''')
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.
332
 
        write('''
 
326
        _v = VFFSL(SL,"message_fields_header",True) # u'$message_fields_header' on line 163, col 3
 
327
        if _v is not None: write(_filter(_v, rawExpr=u'$message_fields_header')) # from line 163, col 3.
 
328
        write(u'''
333
329
  <tbody>
334
330
''')
335
331
        row_classes = ("table_row_even", "table_row_odd")
336
332
        cnt = 0
337
 
        write('''
 
333
        write(u'''
338
334
''')
339
335
        for message in VFFSL(SL,"messages",True): # generated from line 168, col 5
340
336
            self._CHEETAH__globalSetVars["message"] = VFFSL(SL,"message",True)
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.
344
 
            write('''">
 
337
            write(u'''        <tr class="''')
 
338
            _v = VFFSL(SL,"row_classes",True)[VFFSL(SL,"cnt",True) % 2] # u'$row_classes[$cnt % 2]' on line 170, col 20
 
339
            if _v is not None: write(_filter(_v, rawExpr=u'$row_classes[$cnt % 2]')) # from line 170, col 20.
 
340
            write(u'''">
345
341
          ''')
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.
348
 
            write('''
 
342
            _v = VFFSL(SL,"message_fields",True) # u'$message_fields' on line 171, col 11
 
343
            if _v is not None: write(_filter(_v, rawExpr=u'$message_fields')) # from line 171, col 11.
 
344
            write(u'''
349
345
          <td>
350
346
''')
351
347
            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.
355
 
                write('''"/>
 
348
                write(u'''              <input class="checkbox" type="checkbox" name="delete" value="''')
 
349
                _v = VFFSL(SL,"message.delete",True) # u'$message.delete' on line 174, col 76
 
350
                if _v is not None: write(_filter(_v, rawExpr=u'$message.delete')) # from line 174, col 76.
 
351
                write(u'''"/>
356
352
''')
357
353
            else: # generated from line 175, col 13
358
 
                write('''              &nbsp;
 
354
                write(u'''              &nbsp;
359
355
''')
360
 
            write('''          </td>
 
356
            write(u'''          </td>
361
357
        </tr>
362
358
''')
363
359
            cnt += 1
364
 
        write('''    </tbody>
 
360
        write(u'''    </tbody>
365
361
 
366
362
''')
367
363
        if VFN(VFFSL(SL,"prewikka.user",True),"has",False)(User.PERM_IDMEF_ALTER) and VFFSL(SL,"cnt",True): # generated from line 184, col 1
368
 
            write('''   <tfoot>
 
364
            write(u'''   <tfoot>
369
365
     <tr>
370
366
      <td colspan="4">&nbsp;</td>
371
367
      <td style="text-align: right;"><input type="submit" value="''')
372
368
            if False:
373
369
                _("Delete")
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.
376
 
            write('''"/></td>
 
370
            _v = VFFSL(SL,"_",False)("Delete") # u'$_("Delete")' on line 188, col 66
 
371
            if _v is not None: write(_filter(_v, rawExpr=u'$_("Delete")')) # from line 188, col 66.
 
372
            write(u'''"/></td>
377
373
      <td>
378
374
       <input class="checkbox" type="checkbox" id="allbox" />
379
375
      </td>
380
376
     </tr>
381
377
    </tfoot>
382
378
''')
383
 
        write('''</table>
 
379
        write(u'''</table>
384
380
''')
385
381
        
386
382
        ########################################
408
404
        ########################################
409
405
        ## START - generated method body
410
406
        
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>
 
407
        write(u'''     <option value="time_desc" ''')
 
408
        _v = VFFSL(SL,"timeline.time_desc_selected",True) # u'$timeline.time_desc_selected' on line 200, col 32
 
409
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.time_desc_selected')) # from line 200, col 32.
 
410
        write(u'''>By time (descending)</option>
415
411
     <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>
 
412
        _v = VFFSL(SL,"timeline.time_asc_selected",True) # u'$timeline.time_asc_selected' on line 201, col 31
 
413
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.time_asc_selected')) # from line 201, col 31.
 
414
        write(u'''>By time (ascending)</option>
419
415
''')
420
416
        
421
417
        ########################################
469
465
        ########################################
470
466
        ## START - generated method body
471
467
        
472
 
        write('''
 
468
        write(u'''
473
469
<table id="timeline">
474
470
  ''')
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.
477
 
        write('''
 
471
        _v = VFFSL(SL,"timeline_extra_content",True) # u'$timeline_extra_content' on line 209, col 3
 
472
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline_extra_content')) # from line 209, col 3.
 
473
        write(u'''
478
474
 
479
475
  <tr>
480
476
   <th id="timeline_step_label">''')
481
477
        if False:
482
478
            _("Period")
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.
485
 
        write('''</th>
 
479
        _v = VFFSL(SL,"_",False)("Period") # u'$_("Period")' on line 212, col 33
 
480
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Period")')) # from line 212, col 33.
 
481
        write(u'''</th>
486
482
   <td colspan="2">
487
483
    <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.
490
 
        write('''"/>
 
484
        _v = VFFSL(SL,"timeline.value",True) # u'$timeline.value' on line 214, col 62
 
485
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.value')) # from line 214, col 62.
 
486
        write(u'''"/>
491
487
    <select name="timeline_unit">
492
488
     <option value="min" ''')
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.
495
 
        write('''>''')
 
489
        _v = VFFSL(SL,"timeline.min_selected",True) # u'$timeline.min_selected' on line 216, col 26
 
490
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.min_selected')) # from line 216, col 26.
 
491
        write(u'''>''')
496
492
        if False:
497
493
            _("Minutes")
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.
500
 
        write('''</option>
 
494
        _v = VFFSL(SL,"_",False)("Minutes") # u'$_("Minutes")' on line 216, col 49
 
495
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Minutes")')) # from line 216, col 49.
 
496
        write(u'''</option>
501
497
     <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.
504
 
        write('''>''')
 
498
        _v = VFFSL(SL,"timeline.hour_selected",True) # u'$timeline.hour_selected' on line 217, col 27
 
499
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.hour_selected')) # from line 217, col 27.
 
500
        write(u'''>''')
505
501
        if False:
506
502
            _("Hours")
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.
509
 
        write('''</option>
 
503
        _v = VFFSL(SL,"_",False)("Hours") # u'$_("Hours")' on line 217, col 51
 
504
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Hours")')) # from line 217, col 51.
 
505
        write(u'''</option>
510
506
     <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.
513
 
        write('''>''')
 
507
        _v = VFFSL(SL,"timeline.day_selected",True) # u'$timeline.day_selected' on line 218, col 26
 
508
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.day_selected')) # from line 218, col 26.
 
509
        write(u'''>''')
514
510
        if False:
515
511
            _("Days")
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.
518
 
        write('''</option>
 
512
        _v = VFFSL(SL,"_",False)("Days") # u'$_("Days")' on line 218, col 49
 
513
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Days")')) # from line 218, col 49.
 
514
        write(u'''</option>
519
515
     <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.
522
 
        write('''>''')
 
516
        _v = VFFSL(SL,"timeline.month_selected",True) # u'$timeline.month_selected' on line 219, col 28
 
517
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.month_selected')) # from line 219, col 28.
 
518
        write(u'''>''')
523
519
        if False:
524
520
            _("Months")
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.
527
 
        write('''</option>
 
521
        _v = VFFSL(SL,"_",False)("Months") # u'$_("Months")' on line 219, col 53
 
522
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Months")')) # from line 219, col 53.
 
523
        write(u'''</option>
528
524
     <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.
531
 
        write('''>''')
 
525
        _v = VFFSL(SL,"timeline.year_selected",True) # u'$timeline.year_selected' on line 220, col 27
 
526
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.year_selected')) # from line 220, col 27.
 
527
        write(u'''>''')
532
528
        if False:
533
529
            _("Years")
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.
536
 
        write('''</option>
 
530
        _v = VFFSL(SL,"_",False)("Years") # u'$_("Years")' on line 220, col 51
 
531
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Years")')) # from line 220, col 51.
 
532
        write(u'''</option>
537
533
     <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.
540
 
        write('''>''')
 
534
        _v = VFFSL(SL,"timeline.unlimited_selected",True) # u'$timeline.unlimited_selected' on line 221, col 32
 
535
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.unlimited_selected')) # from line 221, col 32.
 
536
        write(u'''>''')
541
537
        if False:
542
538
            _("Unlimited")
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.
545
 
        write('''</option>
 
539
        _v = VFFSL(SL,"_",False)("Unlimited") # u'$_("Unlimited")' on line 221, col 61
 
540
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Unlimited")')) # from line 221, col 61.
 
541
        write(u'''</option>
546
542
    </select>
547
543
   </td>
548
544
  </tr>
551
547
    <th id="timezone_control_label">''')
552
548
        if False:
553
549
            _("Timezone")
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.
556
 
        write('''</th>
 
550
        _v = VFFSL(SL,"_",False)("Timezone") # u'$_("Timezone")' on line 227, col 37
 
551
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Timezone")')) # from line 227, col 37.
 
552
        write(u'''</th>
557
553
    <td colspan="2">
558
554
      <select name="timezone">
559
555
        <option value="frontend_localtime" ''')
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.
562
 
        write('''>''')
 
556
        _v = VFFSL(SL,"timeline.frontend_localtime_selected",True) # u'$timeline.frontend_localtime_selected' on line 230, col 44
 
557
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.frontend_localtime_selected')) # from line 230, col 44.
 
558
        write(u'''>''')
563
559
        if False:
564
560
            _("Frontend localtime")
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.
567
 
        write('''</option>
 
561
        _v = VFFSL(SL,"_",False)("Frontend localtime") # u'$_("Frontend localtime")' on line 230, col 82
 
562
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Frontend localtime")')) # from line 230, col 82.
 
563
        write(u'''</option>
568
564
        <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.
571
 
        write('''>''')
 
565
        _v = VFFSL(SL,"timeline.sensor_localtime_selected",True) # u'$timeline.sensor_localtime_selected' on line 231, col 42
 
566
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.sensor_localtime_selected')) # from line 231, col 42.
 
567
        write(u'''>''')
572
568
        if False:
573
569
            _("Sensor localtime")
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.
576
 
        write('''</option>
 
570
        _v = VFFSL(SL,"_",False)("Sensor localtime") # u'$_("Sensor localtime")' on line 231, col 78
 
571
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Sensor localtime")')) # from line 231, col 78.
 
572
        write(u'''</option>
577
573
        <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.
580
 
        write('''>''')
 
574
        _v = VFFSL(SL,"timeline.utc_selected",True) # u'$timeline.utc_selected' on line 232, col 29
 
575
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.utc_selected')) # from line 232, col 29.
 
576
        write(u'''>''')
581
577
        if False:
582
578
            _("UTC")
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.
585
 
        write('''</option>
 
579
        _v = VFFSL(SL,"_",False)("UTC") # u'$_("UTC")' on line 232, col 52
 
580
        if _v is not None: write(_filter(_v, rawExpr=u'$_("UTC")')) # from line 232, col 52.
 
581
        write(u'''</option>
586
582
       </select>
587
583
     </td>
588
584
  </tr>
591
587
   <th id="timeline_limit_label">''')
592
588
        if False:
593
589
            _("Limit")
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.
596
 
        write('''</th>
 
590
        _v = VFFSL(SL,"_",False)("Limit") # u'$_("Limit")' on line 238, col 34
 
591
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Limit")')) # from line 238, col 34.
 
592
        write(u'''</th>
597
593
 
598
594
   <td colspan="1">
599
595
    <input id="timeline_limit_value" type="text" size="2" name="limit" value="''')
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.
602
 
        write('''"/>
 
596
        _v = VFFSL(SL,"limit",True) # u'$limit' on line 241, col 79
 
597
        if _v is not None: write(_filter(_v, rawExpr=u'$limit')) # from line 241, col 79.
 
598
        write(u'''"/>
603
599
   </td>
604
600
   <td>
605
601
    <select name="orderby">
606
602
    ''')
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.
609
 
        write('''
 
603
        _v = VFFSL(SL,"orderby_option",True) # u'$orderby_option' on line 245, col 5
 
604
        if _v is not None: write(_filter(_v, rawExpr=u'$orderby_option')) # from line 245, col 5.
 
605
        write(u'''
610
606
    </select>
611
607
   </td>
612
608
  </tr>
615
611
    <th id="auto_apply_label">''')
616
612
        if False:
617
613
            _("Refresh")
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.
620
 
        write('''</th>
 
614
        _v = VFFSL(SL,"_",False)("Refresh") # u'$_("Refresh")' on line 251, col 31
 
615
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Refresh")')) # from line 251, col 31.
 
616
        write(u'''</th>
621
617
 
622
618
    <td colspan="2">
623
619
''')
625
621
            img = "prewikka/images/pause.png"
626
622
        else: # generated from line 256, col 5
627
623
            img = "prewikka/images/play.png"
628
 
        write('''
 
624
        write(u'''
629
625
<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.
632
 
        write('''" />
 
626
        _v = VFFSL(SL,"auto_apply_enable",True) # u'$auto_apply_enable' on line 260, col 54
 
627
        if _v is not None: write(_filter(_v, rawExpr=u'$auto_apply_enable')) # from line 260, col 54.
 
628
        write(u'''" />
633
629
 
634
630
<div class="auto_apply_current" id="auto_apply_current">0:00</div>
635
631
<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.
638
 
        write('''" />
 
632
        _v = VFFSL(SL,"auto_apply_value",True) # u'$auto_apply_value' on line 263, col 60
 
633
        if _v is not None: write(_filter(_v, rawExpr=u'$auto_apply_value')) # from line 263, col 60.
 
634
        write(u'''" />
639
635
<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>
 
636
        _v = VFFSL(SL,"img",True) # u'$img' on line 264, col 62
 
637
        if _v is not None: write(_filter(_v, rawExpr=u'$img')) # from line 264, col 62.
 
638
        write(u'''" alt="Play/Pause" /></a>
643
639
 
644
640
    </td>
645
641
  </tr>
646
642
 
647
643
''')
648
 
        _orig_filter_49931459 = _filter
649
 
        filterName = 'CleanOutput'
 
644
        _orig_filter_18031217 = _filter
 
645
        filterName = u'CleanOutput'
650
646
        if self._CHEETAH__filters.has_key("CleanOutput"):
651
647
            _filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
652
648
        else:
653
649
            _filter = self._CHEETAH__currentFilter = \
654
650
                        self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
655
 
        write('''
 
651
        write(u'''
656
652
<tr>
657
653
 <td colspan="3" style="text-align: center">
658
654
 
662
658
 <input id="form_apply" type="submit" name="apply" value="''')
663
659
        if False:
664
660
            _("Apply")
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('''" />&nbsp;<input type="submit" name="_save" value="''')
 
661
        _v = VFFSL(SL,"_",False)("Apply") # u'$_("Apply")' on line 277, col 59
 
662
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Apply")')) # from line 277, col 59.
 
663
        write(u'''" />&nbsp;<input type="submit" name="_save" value="''')
668
664
        if False:
669
665
            _("Save")
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.
672
 
        write('''" />
 
666
        _v = VFFSL(SL,"_",False)("Save") # u'$_("Save")' on line 277, col 121
 
667
        if _v is not None: write(_filter(_v, rawExpr=u'$_("Save")')) # from line 277, col 121.
 
668
        write(u'''" />
673
669
</div>
674
670
 
675
671
<br style="line-height: 5px;" />
677
673
<div class="timeline_range">
678
674
''')
679
675
        if not VFFSL(SL,"timeline.start",True): # generated from line 283, col 1
680
 
            write(''' Unlimited<br/>
 
676
            write(u''' Unlimited<br/>
681
677
 -<br/>
682
678
''')
683
679
        else: # generated from line 286, col 1
684
 
            write(''' ''')
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.
687
 
            write('''<br/>
 
680
            write(u''' ''')
 
681
            _v = VFFSL(SL,"timeline.start",True) # u'$timeline.start' on line 287, col 2
 
682
            if _v is not None: write(_filter(_v, rawExpr=u'$timeline.start')) # from line 287, col 2.
 
683
            write(u'''<br/>
688
684
 ''')
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.
691
 
            write('''<br/>
 
685
            _v = VFFSL(SL,"timeline.end",True) # u'$timeline.end' on line 288, col 2
 
686
            if _v is not None: write(_filter(_v, rawExpr=u'$timeline.end')) # from line 288, col 2.
 
687
            write(u'''<br/>
692
688
''')
693
 
        write(''' ''')
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.
696
 
        write('''
 
689
        write(u''' ''')
 
690
        _v = VFFSL(SL,"timeline.range_timezone",True) # u'$timeline.range_timezone' on line 290, col 2
 
691
        if _v is not None: write(_filter(_v, rawExpr=u'$timeline.range_timezone')) # from line 290, col 2.
 
692
        write(u'''
697
693
</div>
698
694
 
699
695
</td>
704
700
   <table><tr>
705
701
''')
706
702
        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.
710
 
            write('''"><b>''')
 
703
            write(u'''     <td class="timeline_control_prev"><a href="''')
 
704
            _v = VFFSL(SL,"timeline.prev",True) # u'$timeline.prev' on line 300, col 49
 
705
            if _v is not None: write(_filter(_v, rawExpr=u'$timeline.prev')) # from line 300, col 49.
 
706
            write(u'''"><b>''')
711
707
            if False:
712
708
                _("prev")
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>
 
709
            _v = VFFSL(SL,"_",False)("prev") # u'$_("prev")' on line 300, col 68
 
710
            if _v is not None: write(_filter(_v, rawExpr=u'$_("prev")')) # from line 300, col 68.
 
711
            write(u'''</b></a></td>
716
712
''')
717
713
        else: # generated from line 301, col 5
718
 
            write('''     <td class="timeline_control_inactive"><b>''')
 
714
            write(u'''     <td class="timeline_control_inactive"><b>''')
719
715
            if False:
720
716
                _("prev")
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.
723
 
            write('''</b></td>
 
717
            _v = VFFSL(SL,"_",False)("prev") # u'$_("prev")' on line 302, col 47
 
718
            if _v is not None: write(_filter(_v, rawExpr=u'$_("prev")')) # from line 302, col 47.
 
719
            write(u'''</b></td>
724
720
''')
725
 
        write('''
 
721
        write(u'''
726
722
''')
727
723
        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.
731
 
            write('''"><b>''')
 
724
            write(u'''     <td class="timeline_control_cur"><a href="''')
 
725
            _v = VFFSL(SL,"timeline.current",True) # u'$timeline.current' on line 306, col 48
 
726
            if _v is not None: write(_filter(_v, rawExpr=u'$timeline.current')) # from line 306, col 48.
 
727
            write(u'''"><b>''')
732
728
            if False:
733
729
                _("current")
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>
 
730
            _v = VFFSL(SL,"_",False)("current") # u'$_("current")' on line 306, col 70
 
731
            if _v is not None: write(_filter(_v, rawExpr=u'$_("current")')) # from line 306, col 70.
 
732
            write(u'''</b></a></td>
737
733
''')
738
734
        else: # generated from line 307, col 5
739
 
            write('''     <td class="timeline_control_cur_inactive"><b>''')
 
735
            write(u'''     <td class="timeline_control_cur_inactive"><b>''')
740
736
            if False:
741
737
                _("current")
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.
744
 
            write('''</b></td>
 
738
            _v = VFFSL(SL,"_",False)("current") # u'$_("current")' on line 308, col 51
 
739
            if _v is not None: write(_filter(_v, rawExpr=u'$_("current")')) # from line 308, col 51.
 
740
            write(u'''</b></td>
745
741
''')
746
 
        write('''
 
742
        write(u'''
747
743
''')
748
744
        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.
752
 
            write('''"><b>''')
 
745
            write(u'''     <td class="timeline_control_next"><a href="''')
 
746
            _v = VFFSL(SL,"timeline.next",True) # u'$timeline.next' on line 312, col 49
 
747
            if _v is not None: write(_filter(_v, rawExpr=u'$timeline.next')) # from line 312, col 49.
 
748
            write(u'''"><b>''')
753
749
            if False:
754
750
                _("next")
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>
 
751
            _v = VFFSL(SL,"_",False)("next") # u'$_("next")' on line 312, col 68
 
752
            if _v is not None: write(_filter(_v, rawExpr=u'$_("next")')) # from line 312, col 68.
 
753
            write(u'''</b></a></td>
758
754
''')
759
755
        else: # generated from line 313, col 5
760
 
            write('''     <td class="timeline_control_inactive"><b>''')
 
756
            write(u'''     <td class="timeline_control_inactive"><b>''')
761
757
            if False:
762
758
                _("next")
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.
765
 
            write('''</b></td>
 
759
            _v = VFFSL(SL,"_",False)("next") # u'$_("next")' on line 314, col 47
 
760
            if _v is not None: write(_filter(_v, rawExpr=u'$_("next")')) # from line 314, col 47.
 
761
            write(u'''</b></td>
766
762
''')
767
 
        write('''
 
763
        write(u'''
768
764
   </tr></table>
769
765
  </td>
770
766
 </tr>
775
771
  <tr>
776
772
''')
777
773
        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('''">&lt;&lt;</a></td>
 
774
            write(u'''      <td class="message_list_nav_button"><a href="''')
 
775
            _v = VFFSL(SL,"nav.first",True) # u'$nav.first' on line 326, col 52
 
776
            if _v is not None: write(_filter(_v, rawExpr=u'$nav.first')) # from line 326, col 52.
 
777
            write(u'''">&lt;&lt;</a></td>
782
778
      <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('''">&lt;</a></td>
 
779
            _v = VFFSL(SL,"nav.prev",True) # u'$nav.prev' on line 327, col 52
 
780
            if _v is not None: write(_filter(_v, rawExpr=u'$nav.prev')) # from line 327, col 52.
 
781
            write(u'''">&lt;</a></td>
786
782
''')
787
783
        else: # generated from line 328, col 5
788
 
            write('''      <td class="message_list_nav_button_empty">&lt;&lt;</td>
 
784
            write(u'''      <td class="message_list_nav_button_empty">&lt;&lt;</td>
789
785
      <td class="message_list_nav_button_empty">&lt;</td>
790
786
''')
791
787
        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('''">&gt;</a></td>
 
788
            write(u'''      <td class="message_list_nav_button"><a href="''')
 
789
            _v = VFFSL(SL,"nav.next",True) # u'$nav.next' on line 333, col 52
 
790
            if _v is not None: write(_filter(_v, rawExpr=u'$nav.next')) # from line 333, col 52.
 
791
            write(u'''">&gt;</a></td>
796
792
      <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('''">&gt;&gt;</a></td>
 
793
            _v = VFFSL(SL,"nav.last",True) # u'$nav.last' on line 334, col 52
 
794
            if _v is not None: write(_filter(_v, rawExpr=u'$nav.last')) # from line 334, col 52.
 
795
            write(u'''">&gt;&gt;</a></td>
800
796
''')
801
797
        else: # generated from line 335, col 5
802
 
            write('''      <td class="message_list_nav_button_empty">&gt;</td>
 
798
            write(u'''      <td class="message_list_nav_button_empty">&gt;</td>
803
799
      <td class="message_list_nav_button_empty">&gt;&gt;</td>
804
800
''')
805
 
        write('''  </tr>
 
801
        write(u'''  </tr>
806
802
  <tr>
807
803
    <td class="message_list_nav_infos" colspan="4">
808
804
      ''')
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.
811
 
        write(''' ... ''')
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.
814
 
        write(''' (''')
 
805
        _v = VFFSL(SL,"nav.from",True) # u'$nav.from' on line 342, col 7
 
806
        if _v is not None: write(_filter(_v, rawExpr=u'$nav.from')) # from line 342, col 7.
 
807
        write(u''' ... ''')
 
808
        _v = VFFSL(SL,"nav.to",True) # u'$nav.to' on line 342, col 21
 
809
        if _v is not None: write(_filter(_v, rawExpr=u'$nav.to')) # from line 342, col 21.
 
810
        write(u''' (''')
815
811
        if False:
816
812
            _("total")
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.
819
 
        write(''':''')
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.
822
 
        write(''')
 
813
        _v = VFFSL(SL,"_",False)("total") # u'$_("total")' on line 342, col 30
 
814
        if _v is not None: write(_filter(_v, rawExpr=u'$_("total")')) # from line 342, col 30.
 
815
        write(u''':''')
 
816
        _v = VFFSL(SL,"total",True) # u'$total' on line 342, col 42
 
817
        if _v is not None: write(_filter(_v, rawExpr=u'$total')) # from line 342, col 42.
 
818
        write(u''')
823
819
    </td>
824
820
  </tr>
825
821
</table>
826
822
 
827
823
''')
828
 
        _filter = self._CHEETAH__currentFilter = _orig_filter_49931459
829
 
        _orig_filter_99479714 = _filter
830
 
        filterName = 'Filter'
 
824
        _filter = self._CHEETAH__currentFilter = _orig_filter_18031217
 
825
        _orig_filter_99777094 = _filter
 
826
        filterName = u'Filter'
831
827
        if self._CHEETAH__filters.has_key("Filter"):
832
828
            _filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
833
829
        else:
834
830
            _filter = self._CHEETAH__currentFilter = \
835
831
                        self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
836
 
        _filter = self._CHEETAH__currentFilter = _orig_filter_99479714
 
832
        _filter = self._CHEETAH__currentFilter = _orig_filter_99777094
837
833
        
838
834
        ########################################
839
835
        ## END - generated method body
860
856
        ########################################
861
857
        ## START - generated method body
862
858
        
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()">
 
859
        write(u'''<body class="''')
 
860
        _v = VFFSL(SL,"body_class",True) # u'$body_class' on line 353, col 14
 
861
        if _v is not None: write(_filter(_v, rawExpr=u'$body_class')) # from line 353, col 14.
 
862
        write(u'''" onload="beginAutoApply()">
867
863
        <div id="top_view">
868
864
                <div id="top_view_header">
869
865
                        <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.
872
 
        write('''</div>
 
866
        _v = VFFSL(SL,"prewikka.software",True) # u'$prewikka.software' on line 356, col 60
 
867
        if _v is not None: write(_filter(_v, rawExpr=u'$prewikka.software')) # from line 356, col 60.
 
868
        write(u'''</div>
873
869
                        <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.
876
 
        write('''</div>
 
870
        _v = VFFSL(SL,"prewikka.place",True) # u'$prewikka.place' on line 357, col 57
 
871
        if _v is not None: write(_filter(_v, rawExpr=u'$prewikka.place')) # from line 357, col 57.
 
872
        write(u'''</div>
877
873
                        <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.
880
 
        write('''</div>
 
874
        _v = VFFSL(SL,"prewikka.title",True) # u'$prewikka.title' on line 358, col 57
 
875
        if _v is not None: write(_filter(_v, rawExpr=u'$prewikka.title')) # from line 358, col 57.
 
876
        write(u'''</div>
881
877
                </div>
882
878
                ''')
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.
885
 
        write('''
 
879
        _v = VFFSL(SL,"toplayout_content",True) # u'$toplayout_content' on line 360, col 17
 
880
        if _v is not None: write(_filter(_v, rawExpr=u'$toplayout_content')) # from line 360, col 17.
 
881
        write(u'''
886
882
        </div>
887
883
</body>
888
884
''')
912
908
        ########################################
913
909
        ## START - generated method body
914
910
        
915
 
        write('''
 
911
        write(u'''
916
912
 
917
913
 
918
914
 
919
915
''')
920
916
        self.main_content(trans=trans)
921
 
        write('''
 
917
        write(u'''
922
918
 
923
919
''')
924
920
        self.orderby_option(trans=trans)
925
 
        write('''
 
921
        write(u'''
926
922
''')
927
923
        self.menu_extra_content(trans=trans)
928
 
        write('''
 
924
        write(u'''
929
925
''')
930
926
        self.body(trans=trans)
931
927