438
443
# # Aggregation stuff
440
for path in VFFSL(SL,"table_aggreg_default",True): # generated from line 218, col 3
445
for path in VFFSL(SL,"table_aggreg_default",True): # generated from line 222, col 3
443
if VFFSL(SL,"cnt",True) > 0: # generated from line 220, col 4
448
if VFFSL(SL,"cnt",True) > 0: # generated from line 224, col 4
444
449
write(''' table.find("tr:last a.append_entry").trigger(\'click\');
448
453
table.find("tr:last .popup_input_field option[value=\'''')
449
_v = VFFSL(SL,"path",True) # '$path' on line 225, col 57
450
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 225, col 57.
454
_v = VFFSL(SL,"path",True) # '$path' on line 229, col 57
455
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 229, col 57.
451
456
write('''\']").attr("selected", "selected");
456
for state, table, table_aggreg in ("current", VFFSL(SL,"table_current",True), VFFSL(SL,"table_aggreg_current",True)), ("saved", VFFSL(SL,"table_saved",True), VFFSL(SL,"table_aggreg_saved",True)): # generated from line 229, col 1
461
for state, table, table_aggreg in ("current", VFFSL(SL,"table_current",True), VFFSL(SL,"table_aggreg_current",True)), ("saved", VFFSL(SL,"table_saved",True), VFFSL(SL,"table_aggreg_saved",True)): # generated from line 233, col 1
457
462
write('''function ''')
458
_v = VFFSL(SL,"type",True) # '${type}' on line 230, col 10
459
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 230, col 10.
463
_v = VFFSL(SL,"type",True) # '${type}' on line 234, col 10
464
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 234, col 10.
460
465
write('''_set_''')
461
_v = VFFSL(SL,"state",True) # '${state}' on line 230, col 22
462
if _v is not None: write(_filter(_v, rawExpr='${state}')) # from line 230, col 22.
466
_v = VFFSL(SL,"state",True) # '${state}' on line 234, col 22
467
if _v is not None: write(_filter(_v, rawExpr='${state}')) # from line 234, col 22.
465
_v = VFFSL(SL,"type",True) # '${type}' on line 231, col 3
466
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 231, col 3.
470
_v = VFFSL(SL,"type",True) # '${type}' on line 235, col 3
471
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 235, col 3.
467
472
write('''_zero();
468
473
var table = $("#''')
469
_v = VFFSL(SL,"type",True) # '${type}' on line 232, col 20
470
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 232, col 20.
474
_v = VFFSL(SL,"type",True) # '${type}' on line 236, col 20
475
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 236, col 20.
471
476
write(''' table.filter_table > tbody");
472
477
var agtable = $("#''')
473
_v = VFFSL(SL,"type",True) # '${type}' on line 233, col 22
474
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 233, col 22.
478
_v = VFFSL(SL,"type",True) # '${type}' on line 237, col 22
479
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 237, col 22.
475
480
write(''' table.aggregation_table > tbody");
478
if VFFSL(SL,"type",True) == "classification": # generated from line 235, col 3
483
if VFFSL(SL,"type",True) == "classification": # generated from line 239, col 3
480
_v = VFFSL(SL,"type",True) # '${type}' on line 236, col 4
481
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 236, col 4.
485
_v = VFFSL(SL,"type",True) # '${type}' on line 240, col 4
486
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 240, col 4.
482
487
write('''_special_''')
483
_v = VFFSL(SL,"state",True) # '${state}' on line 236, col 20
484
if _v is not None: write(_filter(_v, rawExpr='${state}')) # from line 236, col 20.
488
_v = VFFSL(SL,"state",True) # '${state}' on line 240, col 20
489
if _v is not None: write(_filter(_v, rawExpr='${state}')) # from line 240, col 20.
490
for path, operator, value in VFFSL(SL,"table",True): # generated from line 240, col 3
498
for path, operator, value in VFFSL(SL,"table",True): # generated from line 246, col 3
493
if VFFSL(SL,"cnt",True) > 0: # generated from line 242, col 4
501
if VFFSL(SL,"cnt",True) > 0: # generated from line 248, col 4
494
503
write(''' table.find("tr:last a.append_entry").trigger(\'click\');
499
if not VFFSL(SL,"path",True): # generated from line 247, col 3
508
if not VFFSL(SL,"path",True): # generated from line 254, col 3
511
table.find("tr:last .popup_input_field").attr("value", "''')
512
_v = VFN(VFFSL(SL,"utils",True),"escape_attribute",False)(VFFSL(SL,"value",True)) # '$utils.escape_attribute($value)' on line 258, col 59
513
if _v is not None: write(_filter(_v, rawExpr='$utils.escape_attribute($value)')) # from line 258, col 59.
515
table.find("tr:last .popup_input_field option[value=\'''')
516
_v = VFFSL(SL,"value",True) # '$value' on line 259, col 56
517
if _v is not None: write(_filter(_v, rawExpr='$value')) # from line 259, col 56.
518
write('''\']").attr("selected", "selected");
503
if VFFSL(SL,"path",True) != "__all__": # generated from line 251, col 3
521
if VFFSL(SL,"path",True) != "__all__": # generated from line 261, col 3
504
522
write(''' table.find("tr:last .popup_select_field option[value=\'''')
505
_v = VFFSL(SL,"path",True) # '$path' on line 252, col 58
506
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 252, col 58.
507
write('''\']").attr("selected", "selected");
508
table.find("tr:last .popup_operator_select option[value=\'''')
509
_v = VFFSL(SL,"operator",True) # '$operator' on line 253, col 61
510
if _v is not None: write(_filter(_v, rawExpr='$operator')) # from line 253, col 61.
511
write('''\']").attr("selected", "selected");
512
table.find("tr:last .expert_mode").trigger("click");
514
else: # generated from line 255, col 3
523
_v = VFFSL(SL,"path",True) # '$path' on line 262, col 58
524
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 262, col 58.
525
write('''\']").attr("selected", "selected");
528
# the option might not exist at this time, so we have to explicitly create it (otherwise,
529
# using Equals() later on will always return false since there is no operator selected).
530
# The other fields will be populated on the .trigger("change").
531
write(''' table.find("tr:last .popup_operator_select").html("<option value=\'''')
532
_v = VFFSL(SL,"operator",True) # '$operator' on line 267, col 70
533
if _v is not None: write(_filter(_v, rawExpr='$operator')) # from line 267, col 70.
534
write('''\' selected=\'selected\' />");
537
if VFFSL(SL,"got_append",True) == 0: # generated from line 269, col 4
538
write(''' table.find("tr:last .expert_mode").trigger("click");
540
else: # generated from line 271, col 4
541
write(''' table.find("tr:last .popup_select_field").trigger("change");
543
else: # generated from line 274, col 3
515
544
write(''' table.find("tr:last .popup_select_field").hide();
516
545
table.find("tr:last .popup_select_field").attr("disabled", "disabled");
519
table.find("tr:last .popup_input_field").attr("value", "''')
520
_v = VFN(VFFSL(SL,"utils",True),"escape_attribute",False)(VFFSL(SL,"value",True)) # '$utils.escape_attribute($value)' on line 260, col 59
521
if _v is not None: write(_filter(_v, rawExpr='$utils.escape_attribute($value)')) # from line 260, col 59.
523
table.find("tr:last .popup_input_field option[value=\'''')
524
_v = VFFSL(SL,"value",True) # '$value' on line 261, col 56
525
if _v is not None: write(_filter(_v, rawExpr='$value')) # from line 261, col 56.
526
write('''\']").attr("selected", "selected");
546
table.find("tr:last .popup_select_field").trigger("change");
529
table.find("tr .popup_select_field").trigger("change");
532
550
# # Aggregation stuff
534
for path in VFFSL(SL,"table_aggreg",True): # generated from line 268, col 3
552
for path in VFFSL(SL,"table_aggreg",True): # generated from line 283, col 3
537
if VFFSL(SL,"cnt",True) > 0: # generated from line 270, col 4
555
if VFFSL(SL,"cnt",True) > 0: # generated from line 285, col 4
538
556
write(''' agtable.find("tr:last a.append_entry").trigger(\'click\');
542
560
agtable.find("tr:last .popup_input_field option[value=\'''')
543
_v = VFFSL(SL,"path",True) # '$path' on line 275, col 59
544
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 275, col 59.
561
_v = VFFSL(SL,"path",True) # '$path' on line 290, col 59
562
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 290, col 59.
545
563
write('''\']").attr("selected", "selected");
636
for type in "classification", "source", "target", "analyzer": # generated from line 366, col 2
663
for type in "classification", "source", "target", "analyzer": # generated from line 389, col 2
639
_v = VFFSL(SL,"type",True) # '${type}' on line 368, col 2
640
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 368, col 2.
666
_v = VFFSL(SL,"type",True) # '${type}' on line 391, col 2
667
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 391, col 2.
641
668
write('''_set_saved();
642
669
saved_forms["''')
643
_v = VFFSL(SL,"type",True) # '${type}' on line 369, col 15
644
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 369, col 15.
670
_v = VFFSL(SL,"type",True) # '${type}' on line 392, col 15
671
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 392, col 15.
645
672
write('''"]["saved"] = cloneForm($("#''')
646
_v = VFFSL(SL,"type",True) # '${type}' on line 369, col 51
647
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 369, col 51.
673
_v = VFFSL(SL,"type",True) # '${type}' on line 392, col 51
674
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 392, col 51.
648
675
write(''' :input"));
651
_v = VFFSL(SL,"type",True) # '${type}' on line 371, col 2
652
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 371, col 2.
678
_v = VFFSL(SL,"type",True) # '${type}' on line 394, col 2
679
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 394, col 2.
653
680
write('''_set_default();
654
681
saved_forms["''')
655
_v = VFFSL(SL,"type",True) # '${type}' on line 372, col 15
656
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 372, col 15.
682
_v = VFFSL(SL,"type",True) # '${type}' on line 395, col 15
683
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 395, col 15.
657
684
write('''"]["default"] = cloneForm($("#''')
658
_v = VFFSL(SL,"type",True) # '${type}' on line 372, col 53
659
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 372, col 53.
685
_v = VFFSL(SL,"type",True) # '${type}' on line 395, col 53
686
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 395, col 53.
660
687
write(''' :input"));
663
_v = VFFSL(SL,"type",True) # '${type}' on line 374, col 2
664
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 374, col 2.
690
_v = VFFSL(SL,"type",True) # '${type}' on line 397, col 2
691
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 397, col 2.
665
692
write('''_set_current();
666
693
var form = $("#''')
667
_v = VFFSL(SL,"type",True) # '${type}' on line 375, col 18
668
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 375, col 18.
694
_v = VFFSL(SL,"type",True) # '${type}' on line 398, col 18
695
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 398, col 18.
669
696
write(''' :input");
670
697
saved_forms["''')
671
_v = VFFSL(SL,"type",True) # '${type}' on line 376, col 15
672
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 376, col 15.
698
_v = VFFSL(SL,"type",True) # '${type}' on line 399, col 15
699
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 399, col 15.
673
700
write('''"]["current"] = cloneForm(form);
675
702
if ( Equals(saved_forms["''')
676
_v = VFFSL(SL,"type",True) # '${type}' on line 378, col 27
677
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 378, col 27.
703
_v = VFFSL(SL,"type",True) # '${type}' on line 401, col 27
704
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 401, col 27.
678
705
write('''"]["default"], saved_forms["''')
679
_v = VFFSL(SL,"type",True) # '${type}' on line 378, col 62
680
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 378, col 62.
706
_v = VFFSL(SL,"type",True) # '${type}' on line 401, col 62
707
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 401, col 62.
681
708
write('''"]["saved"]) )
682
709
saved_forms["''')
683
_v = VFFSL(SL,"type",True) # '${type}' on line 379, col 22
684
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 379, col 22.
710
_v = VFFSL(SL,"type",True) # '${type}' on line 402, col 22
711
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 402, col 22.
685
712
write('''"]["saved"] = null;
687
714
if ( Equals(saved_forms["''')
688
_v = VFFSL(SL,"type",True) # '${type}' on line 381, col 27
689
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 381, col 27.
715
_v = VFFSL(SL,"type",True) # '${type}' on line 404, col 27
716
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 404, col 27.
690
717
write('''"]["current"], saved_forms["''')
691
_v = VFFSL(SL,"type",True) # '${type}' on line 381, col 62
692
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 381, col 62.
718
_v = VFFSL(SL,"type",True) # '${type}' on line 404, col 62
719
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 404, col 62.
693
720
write('''"]["default"]) )
694
721
saved_forms["''')
695
_v = VFFSL(SL,"type",True) # '${type}' on line 382, col 22
696
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 382, col 22.
722
_v = VFFSL(SL,"type",True) # '${type}' on line 405, col 22
723
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 405, col 22.
724
write('''"]["current"] = null;
726
if ( Equals(saved_forms["''')
727
_v = VFFSL(SL,"type",True) # '${type}' on line 407, col 27
728
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 407, col 27.
729
write('''"]["current"], saved_forms["''')
730
_v = VFFSL(SL,"type",True) # '${type}' on line 407, col 62
731
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 407, col 62.
732
write('''"]["saved"]) )
734
_v = VFFSL(SL,"type",True) # '${type}' on line 408, col 22
735
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 408, col 22.
697
736
write('''"]["current"] = null;
700
739
# Set the current state
701
740
write(''' if ( Equals(form, saved_forms["''')
702
_v = VFFSL(SL,"type",True) # '${type}' on line 385, col 33
703
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 385, col 33.
741
_v = VFFSL(SL,"type",True) # '${type}' on line 411, col 33
742
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 411, col 33.
704
743
write('''"]["default"]) )
705
744
saved_state["''')
706
_v = VFFSL(SL,"type",True) # '$type' on line 386, col 22
707
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 386, col 22.
745
_v = VFFSL(SL,"type",True) # '$type' on line 412, col 22
746
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 412, col 22.
708
747
write('''"] = "default";
710
749
else if ( Equals(form, saved_forms["''')
711
_v = VFFSL(SL,"type",True) # '$type' on line 388, col 38
712
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 388, col 38.
750
_v = VFFSL(SL,"type",True) # '$type' on line 414, col 38
751
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 414, col 38.
713
752
write('''"]["saved"]) )
714
753
saved_state["''')
715
_v = VFFSL(SL,"type",True) # '$type' on line 389, col 22
716
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 389, col 22.
754
_v = VFFSL(SL,"type",True) # '$type' on line 415, col 22
755
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 415, col 22.
717
756
write('''"] = "saved";
719
758
else if ( Equals(form, saved_forms["''')
720
_v = VFFSL(SL,"type",True) # '$type' on line 391, col 38
721
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 391, col 38.
759
_v = VFFSL(SL,"type",True) # '$type' on line 417, col 38
760
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 417, col 38.
722
761
write('''"]["current"]) )
723
762
saved_state["''')
724
_v = VFFSL(SL,"type",True) # '$type' on line 392, col 22
725
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 392, col 22.
763
_v = VFFSL(SL,"type",True) # '$type' on line 418, col 22
764
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 418, col 22.
726
765
write('''"] = "current";
729
_v = VFFSL(SL,"type",True) # '${type}' on line 394, col 7
730
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 394, col 7.
768
_v = VFFSL(SL,"type",True) # '${type}' on line 420, col 7
769
if _v is not None: write(_filter(_v, rawExpr='${type}')) # from line 420, col 7.
731
770
write(''' input.reset_filter").val("Reset to " + get_next_state("''')
732
_v = VFFSL(SL,"type",True) # '$type' on line 394, col 70
733
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 394, col 70.
771
_v = VFFSL(SL,"type",True) # '$type' on line 420, col 70
772
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 420, col 70.
734
773
write('''", saved_state["''')
735
_v = VFFSL(SL,"type",True) # '$type' on line 394, col 91
736
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 394, col 91.
774
_v = VFFSL(SL,"type",True) # '$type' on line 420, col 91
775
if _v is not None: write(_filter(_v, rawExpr='$type')) # from line 420, col 91.
797
_v = VFFSL(SL,"_",False)('Filter on') # "$_('Filter on')" on line 420, col 13
798
if _v is not None: write(_filter(_v, rawExpr="$_('Filter on')")) # from line 420, col 13.
836
_v = VFFSL(SL,"_",False)('Filter on') # "$_('Filter on')" on line 446, col 13
837
if _v is not None: write(_filter(_v, rawExpr="$_('Filter on')")) # from line 446, col 13.
799
838
write(''' [<a class="expert_mode">advanced</a>]:</th>
800
839
<td class="td_container_path">
801
840
<input type="hidden" name="''')
802
_v = VFFSL(SL,"obname",True) # '${obname}' on line 422, col 37
803
if _v is not None: write(_filter(_v, rawExpr='${obname}')) # from line 422, col 37.
841
_v = VFFSL(SL,"obname",True) # '${obname}' on line 448, col 37
842
if _v is not None: write(_filter(_v, rawExpr='${obname}')) # from line 448, col 37.
804
843
write('''_object_0" value="__all__" />
805
844
<select style="display:none;" disabled="disabled" class="popup_select_field" name="''')
806
_v = VFFSL(SL,"obname",True) # '${obname}' on line 423, col 93
807
if _v is not None: write(_filter(_v, rawExpr='${obname}')) # from line 423, col 93.
845
_v = VFFSL(SL,"obname",True) # '${obname}' on line 449, col 93
846
if _v is not None: write(_filter(_v, rawExpr='${obname}')) # from line 449, col 93.
808
847
write('''_object_0">
810
for name, path, oplist, value in VFFSL(SL,"all_filters",True)[VFFSL(SL,"obname",True)]: # generated from line 424, col 11
849
for name, path, oplist, value in VFFSL(SL,"all_filters",True)[VFFSL(SL,"obname",True)]: # generated from line 450, col 11
813
if VFFSL(SL,"value",True) or VFFSL(SL,"oplist",True): # generated from line 426, col 12
852
if VFFSL(SL,"value",True) or VFFSL(SL,"oplist",True): # generated from line 452, col 12
814
853
write(''' <script type="text/javascript">
816
if VFFSL(SL,"value",True): # generated from line 428, col 13
855
if VFFSL(SL,"value",True): # generated from line 454, col 13
817
856
write(''' value_array["''')
818
_v = VFFSL(SL,"path",True) # '$path' on line 429, col 26
819
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 429, col 26.
857
_v = VFFSL(SL,"path",True) # '$path' on line 455, col 26
858
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 455, col 26.
820
859
write('''"] = ''')
821
_v = VFFSL(SL,"value",True) # '$value' on line 429, col 36
822
if _v is not None: write(_filter(_v, rawExpr='$value')) # from line 429, col 36.
860
_v = VFFSL(SL,"value",True) # '$value' on line 455, col 36
861
if _v is not None: write(_filter(_v, rawExpr='$value')) # from line 455, col 36.
825
if VFFSL(SL,"oplist",True): # generated from line 431, col 13
864
if VFFSL(SL,"oplist",True): # generated from line 457, col 13
826
865
write(''' operator_array["''')
827
_v = VFFSL(SL,"path",True) # '$path' on line 432, col 30
828
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 432, col 30.
866
_v = VFFSL(SL,"path",True) # '$path' on line 458, col 30
867
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 458, col 30.
829
868
write('''"] = ''')
830
_v = VFFSL(SL,"oplist",True) # '$oplist' on line 432, col 40
831
if _v is not None: write(_filter(_v, rawExpr='$oplist')) # from line 432, col 40.
869
_v = VFFSL(SL,"oplist",True) # '$oplist' on line 458, col 40
870
if _v is not None: write(_filter(_v, rawExpr='$oplist')) # from line 458, col 40.
834
873
write(''' </script>
838
if VFFSL(SL,"path",True) == None: # generated from line 437, col 12
877
if VFFSL(SL,"path",True) == None: # generated from line 463, col 12
839
878
write(''' <option disabled="disabled" value="">''')
840
_v = VFFSL(SL,"name",True) # '$name' on line 438, col 50
841
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 438, col 50.
879
_v = VFFSL(SL,"name",True) # '$name' on line 464, col 50
880
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 464, col 50.
842
881
write('''</option>
845
elif VFFSL(SL,"path",True) == VFFSL(SL,"preselect",True): # generated from line 440, col 12
884
elif VFFSL(SL,"path",True) == VFFSL(SL,"preselect",True): # generated from line 466, col 12
846
885
write(''' <option value="''')
847
_v = VFFSL(SL,"path",True) # '$path' on line 441, col 28
848
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 441, col 28.
886
_v = VFFSL(SL,"path",True) # '$path' on line 467, col 28
887
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 467, col 28.
849
888
write('''" selected="selected">''')
850
_v = VFFSL(SL,"name",True) # '$name' on line 441, col 55
851
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 441, col 55.
889
_v = VFFSL(SL,"name",True) # '$name' on line 467, col 55
890
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 467, col 55.
852
891
write('''</option>
855
else: # generated from line 443, col 12
894
else: # generated from line 469, col 12
856
895
write(''' <option value="''')
857
_v = VFFSL(SL,"path",True) # '$path' on line 444, col 28
858
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 444, col 28.
896
_v = VFFSL(SL,"path",True) # '$path' on line 470, col 28
897
if _v is not None: write(_filter(_v, rawExpr='$path')) # from line 470, col 28.
860
_v = VFFSL(SL,"name",True) # '$name' on line 444, col 35
861
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 444, col 35.
899
_v = VFFSL(SL,"name",True) # '$name' on line 470, col 35
900
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 470, col 35.
862
901
write('''</option>
864
903
write(''' </select>
1062
1101
<a class="filter_popup_link">''')
1064
1103
_("Classification")
1065
_v = VFFSL(SL,"_",False)("Classification") # '$_("Classification")' on line 514, col 33
1066
if _v is not None: write(_filter(_v, rawExpr='$_("Classification")')) # from line 514, col 33.
1104
_v = VFFSL(SL,"_",False)("Classification") # '$_("Classification")' on line 540, col 33
1105
if _v is not None: write(_filter(_v, rawExpr='$_("Classification")')) # from line 540, col 33.
1069
if VFFSL(SL,"classification_filtered",True): # generated from line 515, col 5
1108
if VFFSL(SL,"classification_filtered",True): # generated from line 541, col 5
1071
_v = VFFSL(SL,"filter_enabled_marker",False)(VFFSL(SL,"classification_filtered",True)) # '$filter_enabled_marker($classification_filtered)' on line 516, col 6
1072
if _v is not None: write(_filter(_v, rawExpr='$filter_enabled_marker($classification_filtered)')) # from line 516, col 6.
1110
_v = VFFSL(SL,"filter_enabled_marker",False)(VFFSL(SL,"classification_filtered",True)) # '$filter_enabled_marker($classification_filtered)' on line 542, col 6
1111
if _v is not None: write(_filter(_v, rawExpr='$filter_enabled_marker($classification_filtered)')) # from line 542, col 6.
1075
1114
write(''' <div id="classification">
1078
_v = VFFSL(SL,"define_inline_filter",False)("classification", "alert.classification.text") # '$define_inline_filter("classification", "alert.classification.text")' on line 520, col 14
1079
if _v is not None: write(_filter(_v, rawExpr='$define_inline_filter("classification", "alert.classification.text")')) # from line 520, col 14.
1117
_v = VFFSL(SL,"define_inline_filter",False)("classification", "alert.classification.text") # '$define_inline_filter("classification", "alert.classification.text")' on line 546, col 14
1118
if _v is not None: write(_filter(_v, rawExpr='$define_inline_filter("classification", "alert.classification.text")')) # from line 546, col 14.
1080
1119
write('''</td></tr>
1082
_v = VFFSL(SL,"define_inline_aggreg",False)("classification") # '$define_inline_aggreg("classification")' on line 521, col 14
1083
if _v is not None: write(_filter(_v, rawExpr='$define_inline_aggreg("classification")')) # from line 521, col 14.
1121
_v = VFFSL(SL,"define_inline_aggreg",False)("classification") # '$define_inline_aggreg("classification")' on line 547, col 14
1122
if _v is not None: write(_filter(_v, rawExpr='$define_inline_aggreg("classification")')) # from line 547, col 14.
1084
1123
write('''</td></tr>
1085
1124
<tr><td><table class="inline_filter_content">
1090
_v = VFFSL(SL,"_",False)("Type:") # '$_("Type:")' on line 524, col 13
1091
if _v is not None: write(_filter(_v, rawExpr='$_("Type:")')) # from line 524, col 13.
1129
_v = VFFSL(SL,"_",False)("Type:") # '$_("Type:")' on line 550, col 13
1130
if _v is not None: write(_filter(_v, rawExpr='$_("Type:")')) # from line 550, col 13.
1093
1132
<td> </td>
1095
if VFFSL(SL,"correlation_alert_view",True): # generated from line 526, col 9
1134
if VFFSL(SL,"correlation_alert_view",True): # generated from line 552, col 9
1096
1135
disabled = "disabled=\"disabled\""
1097
else: # generated from line 528, col 9
1136
else: # generated from line 554, col 9
1331
1370
########################################
1332
1371
## START - generated method body
1334
if optval: # generated from line 615, col 1
1335
if VFFSL(SL,"inline_filter.already_filtered",True): # generated from line 616, col 1
1373
if optval: # generated from line 641, col 1
1374
if VFFSL(SL,"inline_filter.already_filtered",True): # generated from line 642, col 1
1336
1375
write('''<span class="''')
1337
_v = VFFSL(SL,"cl",True) # '$cl' on line 617, col 14
1338
if _v is not None: write(_filter(_v, rawExpr='$cl')) # from line 617, col 14.
1376
_v = VFFSL(SL,"cl",True) # '$cl' on line 643, col 14
1377
if _v is not None: write(_filter(_v, rawExpr='$cl')) # from line 643, col 14.
1339
1378
write('''">''')
1340
_v = VFFSL(SL,"optval",True) # '$optval' on line 617, col 19
1341
if _v is not None: write(_filter(_v, rawExpr='$optval')) # from line 617, col 19.
1379
_v = VFFSL(SL,"optval",True) # '$optval' on line 643, col 19
1380
if _v is not None: write(_filter(_v, rawExpr='$optval')) # from line 643, col 19.
1342
1381
write('''</span>''')
1343
else: # generated from line 618, col 1
1382
else: # generated from line 644, col 1
1344
1383
write('''<a class="''')
1345
_v = VFFSL(SL,"cl",True) # '$cl' on line 619, col 11
1346
if _v is not None: write(_filter(_v, rawExpr='$cl')) # from line 619, col 11.
1384
_v = VFFSL(SL,"cl",True) # '$cl' on line 645, col 11
1385
if _v is not None: write(_filter(_v, rawExpr='$cl')) # from line 645, col 11.
1347
1386
write('''" href="''')
1348
_v = VFFSL(SL,"inline_filter.inline_filter",True) # '$inline_filter.inline_filter' on line 619, col 22
1349
if _v is not None: write(_filter(_v, rawExpr='$inline_filter.inline_filter')) # from line 619, col 22.
1387
_v = VFFSL(SL,"inline_filter.inline_filter",True) # '$inline_filter.inline_filter' on line 645, col 22
1388
if _v is not None: write(_filter(_v, rawExpr='$inline_filter.inline_filter')) # from line 645, col 22.
1350
1389
write('''">''')
1351
_v = VFFSL(SL,"optval",True) # '$optval' on line 619, col 52
1352
if _v is not None: write(_filter(_v, rawExpr='$optval')) # from line 619, col 52.
1390
_v = VFFSL(SL,"optval",True) # '$optval' on line 645, col 52
1391
if _v is not None: write(_filter(_v, rawExpr='$optval')) # from line 645, col 52.
1353
1392
write('''</a>''')
1354
else: # generated from line 621, col 1
1355
if VFFSL(SL,"inline_filter.already_filtered",True): # generated from line 622, col 1
1393
else: # generated from line 647, col 1
1394
if VFFSL(SL,"inline_filter.already_filtered",True): # generated from line 648, col 1
1356
1395
write('''<span class="''')
1357
_v = VFFSL(SL,"cl",True) # '$cl' on line 623, col 14
1358
if _v is not None: write(_filter(_v, rawExpr='$cl')) # from line 623, col 14.
1396
_v = VFFSL(SL,"cl",True) # '$cl' on line 649, col 14
1397
if _v is not None: write(_filter(_v, rawExpr='$cl')) # from line 649, col 14.
1359
1398
write('''">''')
1360
_v = VFFSL(SL,"inline_filter.value",True) # '$inline_filter.value' on line 623, col 19
1361
if _v is not None: write(_filter(_v, rawExpr='$inline_filter.value')) # from line 623, col 19.
1399
_v = VFFSL(SL,"inline_filter.value",True) # '$inline_filter.value' on line 649, col 19
1400
if _v is not None: write(_filter(_v, rawExpr='$inline_filter.value')) # from line 649, col 19.
1362
1401
write('''</span>''')
1363
else: # generated from line 624, col 1
1402
else: # generated from line 650, col 1
1364
1403
write('''<a class="''')
1365
_v = VFFSL(SL,"cl",True) # '$cl' on line 625, col 11
1366
if _v is not None: write(_filter(_v, rawExpr='$cl')) # from line 625, col 11.
1404
_v = VFFSL(SL,"cl",True) # '$cl' on line 651, col 11
1405
if _v is not None: write(_filter(_v, rawExpr='$cl')) # from line 651, col 11.
1367
1406
write('''" href="''')
1368
_v = VFFSL(SL,"inline_filter.inline_filter",True) # '$inline_filter.inline_filter' on line 625, col 22
1369
if _v is not None: write(_filter(_v, rawExpr='$inline_filter.inline_filter')) # from line 625, col 22.
1407
_v = VFFSL(SL,"inline_filter.inline_filter",True) # '$inline_filter.inline_filter' on line 651, col 22
1408
if _v is not None: write(_filter(_v, rawExpr='$inline_filter.inline_filter')) # from line 651, col 22.
1370
1409
write('''">''')
1371
_v = VFFSL(SL,"inline_filter.value",True) # '$inline_filter.value' on line 625, col 52
1372
if _v is not None: write(_filter(_v, rawExpr='$inline_filter.value')) # from line 625, col 52.
1410
_v = VFFSL(SL,"inline_filter.value",True) # '$inline_filter.value' on line 651, col 52
1411
if _v is not None: write(_filter(_v, rawExpr='$inline_filter.value')) # from line 651, col 52.
1373
1412
write('''</a>''')
1375
1414
########################################
1469
1508
write('''- ''')
1471
1510
_("Filter on this port/protocol")
1472
_v = VFFSL(SL,"writeInlineFilter",False)(VFFSL(SL,"direction.service",True), VFFSL(SL,"_",False)("Filter on this port/protocol")) # '$writeInlineFilter($direction.service, $_("Filter on this port/protocol"))' on line 641, col 26
1473
if _v is not None: write(_filter(_v, rawExpr='$writeInlineFilter($direction.service, $_("Filter on this port/protocol"))')) # from line 641, col 26.
1511
_v = VFFSL(SL,"writeInlineFilter",False)(VFFSL(SL,"direction.service",True), VFFSL(SL,"_",False)("Filter on this port/protocol")) # '$writeInlineFilter($direction.service, $_("Filter on this port/protocol"))' on line 667, col 26
1512
if _v is not None: write(_filter(_v, rawExpr='$writeInlineFilter($direction.service, $_("Filter on this port/protocol"))')) # from line 667, col 26.
1474
1513
write('''<br/> ''')
1475
_filter = self._CHEETAH__currentFilter = _orig_filter_69090775
1514
_filter = self._CHEETAH__currentFilter = _orig_filter_94798906
1478
if VFFSL(SL,"direction.port.value",True): # generated from line 642, col 9
1517
if VFFSL(SL,"direction.port.value",True): # generated from line 668, col 9
1479
1518
write(''' - <a target="''')
1480
_v = VFFSL(SL,"prewikka.external_link_target",True) # '$prewikka.external_link_target' on line 643, col 22
1481
if _v is not None: write(_filter(_v, rawExpr='$prewikka.external_link_target')) # from line 643, col 22.
1519
_v = VFFSL(SL,"prewikka.external_link_target",True) # '$prewikka.external_link_target' on line 669, col 22
1520
if _v is not None: write(_filter(_v, rawExpr='$prewikka.external_link_target')) # from line 669, col 22.
1482
1521
write('''" href="https://www.prelude-ids.com/port_details.php?port=''')
1483
_v = VFFSL(SL,"str",False)(VFFSL(SL,"direction.port.value",True)) # '$str($direction.port.value)' on line 643, col 110
1484
if _v is not None: write(_filter(_v, rawExpr='$str($direction.port.value)')) # from line 643, col 110.
1522
_v = VFFSL(SL,"str",False)(VFFSL(SL,"direction.port.value",True)) # '$str($direction.port.value)' on line 669, col 110
1523
if _v is not None: write(_filter(_v, rawExpr='$str($direction.port.value)')) # from line 669, col 110.
1485
1524
write('''&protocol=''')
1486
_v = VFN(VFFSL(SL,"direction.protocol.value",True),"upper",False)() # '$direction.protocol.value.upper()' on line 643, col 151
1487
if _v is not None: write(_filter(_v, rawExpr='$direction.protocol.value.upper()')) # from line 643, col 151.
1525
_v = VFN(VFFSL(SL,"direction.protocol.value",True),"upper",False)() # '$direction.protocol.value.upper()' on line 669, col 151
1526
if _v is not None: write(_filter(_v, rawExpr='$direction.protocol.value.upper()')) # from line 669, col 151.
1488
1527
write('''">''')
1490
1529
_("Port/protocol information")
1491
_v = VFFSL(SL,"_",False)("Port/protocol information") # '$_("Port/protocol information")' on line 643, col 186
1492
if _v is not None: write(_filter(_v, rawExpr='$_("Port/protocol information")')) # from line 643, col 186.
1530
_v = VFFSL(SL,"_",False)("Port/protocol information") # '$_("Port/protocol information")' on line 669, col 186
1531
if _v is not None: write(_filter(_v, rawExpr='$_("Port/protocol information")')) # from line 669, col 186.
1495
else: # generated from line 644, col 9
1534
else: # generated from line 670, col 9
1496
1535
write(''' - <span>''')
1498
1537
_("Port/protocol information")
1499
_v = VFFSL(SL,"_",False)("Port/protocol information") # '$_("Port/protocol information")' on line 645, col 17
1500
if _v is not None: write(_filter(_v, rawExpr='$_("Port/protocol information")')) # from line 645, col 17.
1538
_v = VFFSL(SL,"_",False)("Port/protocol information") # '$_("Port/protocol information")' on line 671, col 17
1539
if _v is not None: write(_filter(_v, rawExpr='$_("Port/protocol information")')) # from line 671, col 17.
1501
1540
write('''</span>
1503
1542
write(''' </span>''')
1540
if VFFSL(SL,"message.sub_alert_name",True): # generated from line 655, col 3
1579
if VFFSL(SL,"message.sub_alert_name",True): # generated from line 681, col 3
1541
1580
write(''' <b>''')
1542
_v = VFFSL(SL,"message.sub_alert_type",True) # '$message.sub_alert_type' on line 656, col 8
1543
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_type')) # from line 656, col 8.
1544
if VFFSL(SL,"message.sub_alert_display",True): # generated from line 657, col 5
1581
_v = VFFSL(SL,"message.sub_alert_type",True) # '$message.sub_alert_type' on line 682, col 8
1582
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_type')) # from line 682, col 8.
1583
if VFFSL(SL,"message.sub_alert_display",True): # generated from line 683, col 5
1547
1586
ngettext("alert", "alerts", VFFSL(SL,"message.sub_alert_number",True))
1548
1587
string = VFFSL(SL,"ngettext",False)("alert", "alerts", VFFSL(SL,"message.sub_alert_number",True))
1549
1588
write(''' (<a href="''')
1550
_v = VFFSL(SL,"message.sub_alert_display",True) # '$message.sub_alert_display' on line 659, col 17
1551
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_display')) # from line 659, col 17.
1589
_v = VFFSL(SL,"message.sub_alert_display",True) # '$message.sub_alert_display' on line 685, col 17
1590
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_display')) # from line 685, col 17.
1552
1591
write('''">''')
1553
_v = VFFSL(SL,"message.sub_alert_number",True) # '$message.sub_alert_number' on line 659, col 45
1554
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_number')) # from line 659, col 45.
1592
_v = VFFSL(SL,"message.sub_alert_number",True) # '$message.sub_alert_number' on line 685, col 45
1593
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_number')) # from line 685, col 45.
1555
1594
write('''</a> ''')
1556
_v = VFFSL(SL,"string",True) # '$string' on line 659, col 75
1557
if _v is not None: write(_filter(_v, rawExpr='$string')) # from line 659, col 75.
1595
_v = VFFSL(SL,"string",True) # '$string' on line 685, col 75
1596
if _v is not None: write(_filter(_v, rawExpr='$string')) # from line 685, col 75.
1559
1598
write(''':</b> <i><a href="''')
1560
_v = VFFSL(SL,"message.sub_alert_link",True) # '$message.sub_alert_link' on line 661, col 19
1561
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_link')) # from line 661, col 19.
1599
_v = VFFSL(SL,"message.sub_alert_link",True) # '$message.sub_alert_link' on line 687, col 19
1600
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_link')) # from line 687, col 19.
1562
1601
write('''">''')
1563
_v = VFFSL(SL,"message.sub_alert_name",True) # '$message.sub_alert_name' on line 661, col 44
1564
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_name')) # from line 661, col 44.
1602
_v = VFFSL(SL,"message.sub_alert_name",True) # '$message.sub_alert_name' on line 687, col 44
1603
if _v is not None: write(_filter(_v, rawExpr='$message.sub_alert_name')) # from line 687, col 44.
1565
1604
write('''</a></i><br/>''')
1568
if VFFSL(SL,"message.aggregated",True) and VFFSL(SL,"message.aggregated_classifications_hidden",True) > 0: # generated from line 664, col 3
1607
if VFFSL(SL,"message.aggregated",True) and VFFSL(SL,"message.aggregated_classifications_hidden",True) > 0: # generated from line 690, col 3
1571
1610
_("%(hidden)d of %(total)d alerts not shown...")
1572
1611
string = VFFSL(SL,"_",False)("%(hidden)d of %(total)d alerts not shown...")
1573
1612
write(''' <b>(''')
1574
_v = VFFSL(SL,"str",False)(VFFSL(SL,"string",True) % { "hidden": VFFSL(SL,"message.aggregated_classifications_hidden",True), "total": VFFSL(SL,"message.aggregated_classifications_total",True) }) # '$str($string % { "hidden": $message.aggregated_classifications_hidden, "total": $message.aggregated_classifications_total })' on line 666, col 9
1575
if _v is not None: write(_filter(_v, rawExpr='$str($string % { "hidden": $message.aggregated_classifications_hidden, "total": $message.aggregated_classifications_total })')) # from line 666, col 9.
1613
_v = VFFSL(SL,"str",False)(VFFSL(SL,"string",True) % { "hidden": VFFSL(SL,"message.aggregated_classifications_hidden",True), "total": VFFSL(SL,"message.aggregated_classifications_total",True) }) # '$str($string % { "hidden": $message.aggregated_classifications_hidden, "total": $message.aggregated_classifications_total })' on line 692, col 9
1614
if _v is not None: write(_filter(_v, rawExpr='$str($string % { "hidden": $message.aggregated_classifications_hidden, "total": $message.aggregated_classifications_total })')) # from line 692, col 9.
1578
_v = VFFSL(SL,"message.aggregated_classifications_hidden_expand",True) # '$message.aggregated_classifications_hidden_expand' on line 667, col 14
1579
if _v is not None: write(_filter(_v, rawExpr='$message.aggregated_classifications_hidden_expand')) # from line 667, col 14.
1617
_v = VFFSL(SL,"message.aggregated_classifications_hidden_expand",True) # '$message.aggregated_classifications_hidden_expand' on line 693, col 14
1618
if _v is not None: write(_filter(_v, rawExpr='$message.aggregated_classifications_hidden_expand')) # from line 693, col 14.
1580
1619
write('''">''')
1583
_v = VFFSL(SL,"_",False)("expand") # '$_("expand")' on line 667, col 65
1584
if _v is not None: write(_filter(_v, rawExpr='$_("expand")')) # from line 667, col 65.
1622
_v = VFFSL(SL,"_",False)("expand") # '$_("expand")' on line 693, col 65
1623
if _v is not None: write(_filter(_v, rawExpr='$_("expand")')) # from line 693, col 65.
1585
1624
write('''</a>)</b>
1590
for info in VFFSL(SL,"message.infos",True): # generated from line 671, col 3
1591
if VFFSL(SL,"info.classification.value",True): # generated from line 672, col 5
1629
for info in VFFSL(SL,"message.infos",True): # generated from line 697, col 3
1630
if VFFSL(SL,"info.classification.value",True): # generated from line 698, col 5
1592
1631
text = VFFSL(SL,"info.classification.value",True)
1593
else: # generated from line 674, col 5
1632
else: # generated from line 700, col 5
1597
if VFFSL(SL,"message.aggregated",True) and (len(VFFSL(SL,"message.infos",True)) > 1 or VFFSL(SL,"info.count",True) > 1): # generated from line 678, col 5
1598
if VFFSL(SL,"info.count",True) == 1: # generated from line 679, col 7
1636
if VFFSL(SL,"message.aggregated",True) and (len(VFFSL(SL,"message.infos",True)) > 1 or VFFSL(SL,"info.count",True) > 1): # generated from line 704, col 5
1637
if VFFSL(SL,"info.count",True) == 1: # generated from line 705, col 7
1600
_v = VFFSL(SL,"info.count",True) # '$info.count' on line 680, col 8
1601
if _v is not None: write(_filter(_v, rawExpr='$info.count')) # from line 680, col 8.
1639
_v = VFFSL(SL,"info.count",True) # '$info.count' on line 706, col 8
1640
if _v is not None: write(_filter(_v, rawExpr='$info.count')) # from line 706, col 8.
1604
_orig_filter_60446335 = _filter
1643
_orig_filter_63172328 = _filter
1605
1644
filterName = 'Filter'
1606
1645
if self._CHEETAH__filters.has_key("Filter"):
1607
1646
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
1609
1648
_filter = self._CHEETAH__currentFilter = \
1610
1649
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
1611
_v = VFFSL(SL,"classificationWrite",False)(VFFSL(SL,"info",True), VFFSL(SL,"text",True)) # '$classificationWrite($info, $text)' on line 681, col 24
1612
if _v is not None: write(_filter(_v, rawExpr='$classificationWrite($info, $text)')) # from line 681, col 24.
1650
_v = VFFSL(SL,"classificationWrite",False)(VFFSL(SL,"info",True), VFFSL(SL,"text",True)) # '$classificationWrite($info, $text)' on line 707, col 24
1651
if _v is not None: write(_filter(_v, rawExpr='$classificationWrite($info, $text)')) # from line 707, col 24.
1614
_filter = self._CHEETAH__currentFilter = _orig_filter_60446335
1653
_filter = self._CHEETAH__currentFilter = _orig_filter_63172328
1617
else: # generated from line 682, col 7
1656
else: # generated from line 708, col 7
1618
1657
write(''' <a href="''')
1619
_v = VFFSL(SL,"info.display",True) # '$info.display' on line 683, col 16
1620
if _v is not None: write(_filter(_v, rawExpr='$info.display')) # from line 683, col 16.
1658
_v = VFFSL(SL,"info.display",True) # '$info.display' on line 709, col 16
1659
if _v is not None: write(_filter(_v, rawExpr='$info.display')) # from line 709, col 16.
1621
1660
write('''">''')
1622
_v = VFFSL(SL,"info.count",True) # '$info.count' on line 683, col 31
1623
if _v is not None: write(_filter(_v, rawExpr='$info.count')) # from line 683, col 31.
1661
_v = VFFSL(SL,"info.count",True) # '$info.count' on line 709, col 31
1662
if _v is not None: write(_filter(_v, rawExpr='$info.count')) # from line 709, col 31.
1624
1663
write('''</a> x
1626
if VFFSL(SL,"info.classification.already_filtered",True): # generated from line 684, col 8
1665
if VFFSL(SL,"info.classification.already_filtered",True): # generated from line 710, col 8
1627
1666
write(''' <span class="impact_severity_''')
1628
_v = VFFSL(SL,"info.severity.value",True) # '$info.severity.value' on line 685, col 38
1629
if _v is not None: write(_filter(_v, rawExpr='$info.severity.value')) # from line 685, col 38.
1667
_v = VFFSL(SL,"info.severity.value",True) # '$info.severity.value' on line 711, col 38
1668
if _v is not None: write(_filter(_v, rawExpr='$info.severity.value')) # from line 711, col 38.
1630
1669
write('''">''')
1631
_v = VFFSL(SL,"text",True) # '$text' on line 685, col 60
1632
if _v is not None: write(_filter(_v, rawExpr='$text')) # from line 685, col 60.
1670
_v = VFFSL(SL,"text",True) # '$text' on line 711, col 60
1671
if _v is not None: write(_filter(_v, rawExpr='$text')) # from line 711, col 60.
1633
1672
write('''</span>
1635
else: # generated from line 686, col 8
1674
else: # generated from line 712, col 8
1636
1675
write(''' <a class="impact_severity_''')
1637
_v = VFFSL(SL,"info.severity.value",True) # '$info.severity.value' on line 687, col 35
1638
if _v is not None: write(_filter(_v, rawExpr='$info.severity.value')) # from line 687, col 35.
1676
_v = VFFSL(SL,"info.severity.value",True) # '$info.severity.value' on line 713, col 35
1677
if _v is not None: write(_filter(_v, rawExpr='$info.severity.value')) # from line 713, col 35.
1639
1678
write('''" href="''')
1640
_v = VFFSL(SL,"info.classification.inline_filter",True) # '$info.classification.inline_filter' on line 687, col 63
1641
if _v is not None: write(_filter(_v, rawExpr='$info.classification.inline_filter')) # from line 687, col 63.
1679
_v = VFFSL(SL,"info.classification.inline_filter",True) # '$info.classification.inline_filter' on line 713, col 63
1680
if _v is not None: write(_filter(_v, rawExpr='$info.classification.inline_filter')) # from line 713, col 63.
1642
1681
write('''">''')
1643
_v = VFFSL(SL,"text",True) # '$text' on line 687, col 99
1644
if _v is not None: write(_filter(_v, rawExpr='$text')) # from line 687, col 99.
1682
_v = VFFSL(SL,"text",True) # '$text' on line 713, col 99
1683
if _v is not None: write(_filter(_v, rawExpr='$text')) # from line 713, col 99.
1647
else: # generated from line 690, col 5
1648
if VFFSL(SL,"info.classification.already_filtered",True): # generated from line 691, col 7
1686
else: # generated from line 716, col 5
1687
if VFFSL(SL,"info.classification.already_filtered",True): # generated from line 717, col 7
1649
1688
write(''' <a class="impact_severity_''')
1650
_v = VFFSL(SL,"info.severity.value",True) # '$info.severity.value' on line 692, col 33
1651
if _v is not None: write(_filter(_v, rawExpr='$info.severity.value')) # from line 692, col 33.
1689
_v = VFFSL(SL,"info.severity.value",True) # '$info.severity.value' on line 718, col 33
1690
if _v is not None: write(_filter(_v, rawExpr='$info.severity.value')) # from line 718, col 33.
1652
1691
write('''" href="''')
1653
_v = VFFSL(SL,"info.display",True) # '$info.display' on line 692, col 61
1654
if _v is not None: write(_filter(_v, rawExpr='$info.display')) # from line 692, col 61.
1692
_v = VFFSL(SL,"info.display",True) # '$info.display' on line 718, col 61
1693
if _v is not None: write(_filter(_v, rawExpr='$info.display')) # from line 718, col 61.
1655
1694
write('''">''')
1656
_v = VFFSL(SL,"text",True) # '$text' on line 692, col 76
1657
if _v is not None: write(_filter(_v, rawExpr='$text')) # from line 692, col 76.
1695
_v = VFFSL(SL,"text",True) # '$text' on line 718, col 76
1696
if _v is not None: write(_filter(_v, rawExpr='$text')) # from line 718, col 76.
1660
else: # generated from line 693, col 7
1699
else: # generated from line 719, col 7
1662
_orig_filter_54639722 = _filter
1701
_orig_filter_69432592 = _filter
1663
1702
filterName = 'Filter'
1664
1703
if self._CHEETAH__filters.has_key("Filter"):
1665
1704
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
1667
1706
_filter = self._CHEETAH__currentFilter = \
1668
1707
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
1669
_v = VFFSL(SL,"classificationWrite",False)(VFFSL(SL,"info",True), VFFSL(SL,"text",True)) # '$classificationWrite($info, $text)' on line 694, col 23
1670
if _v is not None: write(_filter(_v, rawExpr='$classificationWrite($info, $text)')) # from line 694, col 23.
1708
_v = VFFSL(SL,"classificationWrite",False)(VFFSL(SL,"info",True), VFFSL(SL,"text",True)) # '$classificationWrite($info, $text)' on line 720, col 23
1709
if _v is not None: write(_filter(_v, rawExpr='$classificationWrite($info, $text)')) # from line 720, col 23.
1672
_filter = self._CHEETAH__currentFilter = _orig_filter_54639722
1711
_filter = self._CHEETAH__currentFilter = _orig_filter_69432592
1677
if VFFSL(SL,"info.completion.value",True): # generated from line 698, col 5
1716
if VFFSL(SL,"info.completion.value",True): # generated from line 724, col 5
1678
1717
write(''' (''')
1679
_orig_filter_72753057 = _filter
1718
_orig_filter_54381979 = _filter
1680
1719
filterName = 'Filter'
1681
1720
if self._CHEETAH__filters.has_key("Filter"):
1682
1721
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
1684
1723
_filter = self._CHEETAH__currentFilter = \
1685
1724
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
1686
_v = VFFSL(SL,"writeInlineFilter",False)(VFFSL(SL,"info.completion",True), cl="impact_completion_" + VFFSL(SL,"info.completion.value",True)) # '$writeInlineFilter($info.completion, cl="impact_completion_" + $info.completion.value)' on line 699, col 22
1687
if _v is not None: write(_filter(_v, rawExpr='$writeInlineFilter($info.completion, cl="impact_completion_" + $info.completion.value)')) # from line 699, col 22.
1688
_filter = self._CHEETAH__currentFilter = _orig_filter_72753057
1725
_v = VFFSL(SL,"writeInlineFilter",False)(VFFSL(SL,"info.completion",True), cl="impact_completion_" + VFFSL(SL,"info.completion.value",True)) # '$writeInlineFilter($info.completion, cl="impact_completion_" + $info.completion.value)' on line 725, col 22
1726
if _v is not None: write(_filter(_v, rawExpr='$writeInlineFilter($info.completion, cl="impact_completion_" + $info.completion.value)')) # from line 725, col 22.
1727
_filter = self._CHEETAH__currentFilter = _orig_filter_54381979
1808
1847
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
1810
1849
_("Filter on this %s")
1811
_v = VFFSL(SL,"writeInlineFilter",False)(VFFSL(SL,"address",True), VFFSL(SL,"str",False)(VFFSL(SL,"_",False)("Filter on this %s") % (VFFSL(SL,"name",True)))) # '$writeInlineFilter($address, $str($_("Filter on this %s") % ($name)))' on line 742, col 27
1812
if _v is not None: write(_filter(_v, rawExpr='$writeInlineFilter($address, $str($_("Filter on this %s") % ($name)))')) # from line 742, col 27.
1850
_v = VFFSL(SL,"writeInlineFilter",False)(VFFSL(SL,"address",True), VFFSL(SL,"str",False)(VFFSL(SL,"_",False)("Filter on this %s") % (VFFSL(SL,"name",True)))) # '$writeInlineFilter($address, $str($_("Filter on this %s") % ($name)))' on line 768, col 27
1851
if _v is not None: write(_filter(_v, rawExpr='$writeInlineFilter($address, $str($_("Filter on this %s") % ($name)))')) # from line 768, col 27.
1814
_filter = self._CHEETAH__currentFilter = _orig_filter_92159488
1853
_filter = self._CHEETAH__currentFilter = _orig_filter_37145467
1819
if not VFFSL(SL,"address.category",True) or VFFSL(SL,"address.category",True) in ("ipv4-addr", "ipv4-net", "ipv6-addr", "ipv6-net"): # generated from line 745, col 8
1858
if not VFFSL(SL,"address.category",True) or VFFSL(SL,"address.category",True) in ("ipv4-addr", "ipv4-net", "ipv6-addr", "ipv6-net"): # generated from line 771, col 8
1820
1859
write(''' - <a target="''')
1821
_v = VFFSL(SL,"prewikka.external_link_target",True) # '$prewikka.external_link_target' on line 746, col 23
1822
if _v is not None: write(_filter(_v, rawExpr='$prewikka.external_link_target')) # from line 746, col 23.
1860
_v = VFFSL(SL,"prewikka.external_link_target",True) # '$prewikka.external_link_target' on line 772, col 23
1861
if _v is not None: write(_filter(_v, rawExpr='$prewikka.external_link_target')) # from line 772, col 23.
1823
1862
write('''" href="https://www.prelude-ids.com/host_details.php?host=''')
1824
_v = VFFSL(SL,"address.value",True) # '$address.value' on line 746, col 111
1825
if _v is not None: write(_filter(_v, rawExpr='$address.value')) # from line 746, col 111.
1863
_v = VFFSL(SL,"address.value",True) # '$address.value' on line 772, col 111
1864
if _v is not None: write(_filter(_v, rawExpr='$address.value')) # from line 772, col 111.
1826
1865
write('''">''')
1828
1867
_("%s information")
1829
_v = VFN(VFFSL(SL,"str",False)(VFFSL(SL,"_",False)("%s information") % (VFFSL(SL,"name",True))),"capitalize",False)() # '$str($_("%s information") % ($name)).capitalize()' on line 746, col 127
1830
if _v is not None: write(_filter(_v, rawExpr='$str($_("%s information") % ($name)).capitalize()')) # from line 746, col 127.
1868
_v = VFN(VFFSL(SL,"str",False)(VFFSL(SL,"_",False)("%s information") % (VFFSL(SL,"name",True))),"capitalize",False)() # '$str($_("%s information") % ($name)).capitalize()' on line 772, col 127
1869
if _v is not None: write(_filter(_v, rawExpr='$str($_("%s information") % ($name)).capitalize()')) # from line 772, col 127.
1831
1870
write('''</a><br />
1834
for cmdname, link in VFFSL(SL,"address.host_commands",True): # generated from line 748, col 11
1873
for cmdname, link in VFFSL(SL,"address.host_commands",True): # generated from line 774, col 11
1835
1874
write(''' - <a href="''')
1836
_v = VFFSL(SL,"link",True) # '$link' on line 749, col 21
1837
if _v is not None: write(_filter(_v, rawExpr='$link')) # from line 749, col 21.
1875
_v = VFFSL(SL,"link",True) # '$link' on line 775, col 21
1876
if _v is not None: write(_filter(_v, rawExpr='$link')) # from line 775, col 21.
1838
1877
write('''">''')
1839
_v = VFFSL(SL,"cmdname",True) # '$cmdname' on line 749, col 28
1840
if _v is not None: write(_filter(_v, rawExpr='$cmdname')) # from line 749, col 28.
1878
_v = VFFSL(SL,"cmdname",True) # '$cmdname' on line 775, col 28
1879
if _v is not None: write(_filter(_v, rawExpr='$cmdname')) # from line 775, col 28.
1841
1880
write('''</a><br />
1843
1882
write(''' </span>''')
1844
_orig_filter_38452123 = _filter
1883
_orig_filter_33042802 = _filter
1845
1884
filterName = 'Filter'
1846
1885
if self._CHEETAH__filters.has_key("Filter"):
1847
1886
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
1849
1888
_filter = self._CHEETAH__currentFilter = \
1850
1889
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
1851
_v = VFFSL(SL,"writeService",False)(":", VFFSL(SL,"direction",True)) # '$writeService(":", $direction)' on line 753, col 16
1852
if _v is not None: write(_filter(_v, rawExpr='$writeService(":", $direction)')) # from line 753, col 16.
1890
_v = VFFSL(SL,"writeService",False)(":", VFFSL(SL,"direction",True)) # '$writeService(":", $direction)' on line 779, col 16
1891
if _v is not None: write(_filter(_v, rawExpr='$writeService(":", $direction)')) # from line 779, col 16.
1854
_filter = self._CHEETAH__currentFilter = _orig_filter_38452123
1893
_filter = self._CHEETAH__currentFilter = _orig_filter_33042802
1860
if VFFSL(SL,"len",False)(VFFSL(SL,"direction.addresses",True)) == 0: # generated from line 757, col 7
1899
if VFFSL(SL,"len",False)(VFFSL(SL,"direction.addresses",True)) == 0: # generated from line 783, col 7
1862
_orig_filter_26996848 = _filter
1901
_orig_filter_63697409 = _filter
1863
1902
filterName = 'Filter'
1864
1903
if self._CHEETAH__filters.has_key("Filter"):
1865
1904
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
1867
1906
_filter = self._CHEETAH__currentFilter = \
1868
1907
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
1869
_v = VFFSL(SL,"writeService",False)("service:", VFFSL(SL,"direction",True)) # '$writeService("service:", $direction)' on line 758, col 24
1870
if _v is not None: write(_filter(_v, rawExpr='$writeService("service:", $direction)')) # from line 758, col 24.
1908
_v = VFFSL(SL,"writeService",False)("service:", VFFSL(SL,"direction",True)) # '$writeService("service:", $direction)' on line 784, col 24
1909
if _v is not None: write(_filter(_v, rawExpr='$writeService("service:", $direction)')) # from line 784, col 24.
1872
_filter = self._CHEETAH__currentFilter = _orig_filter_26996848
1911
_filter = self._CHEETAH__currentFilter = _orig_filter_63697409
1878
for name, value, extra in VFFSL(SL,"direction.listed_values",True): # generated from line 762, col 6
1879
if VFFSL(SL,"cnt",True) > 0: # generated from line 763, col 10
1917
for name, value, extra in VFFSL(SL,"direction.listed_values",True): # generated from line 788, col 6
1918
if VFFSL(SL,"cnt",True) > 0: # generated from line 789, col 10
1880
1919
write(''' <br />
1884
_v = VFFSL(SL,"name",True) # '$name' on line 767, col 10
1885
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 767, col 10.
1923
_v = VFFSL(SL,"name",True) # '$name' on line 793, col 10
1924
if _v is not None: write(_filter(_v, rawExpr='$name')) # from line 793, col 10.
1886
1925
write(''': ''')
1887
_orig_filter_93049525 = _filter
1926
_orig_filter_70219224 = _filter
1888
1927
filterName = 'Filter'
1889
1928
if self._CHEETAH__filters.has_key("Filter"):
1890
1929
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
1892
1931
_filter = self._CHEETAH__currentFilter = \
1893
1932
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
1894
_v = VFFSL(SL,"writeInlineFilter",False)(VFFSL(SL,"value",True)) # '$writeInlineFilter($value)' on line 767, col 32
1895
if _v is not None: write(_filter(_v, rawExpr='$writeInlineFilter($value)')) # from line 767, col 32.
1933
_v = VFFSL(SL,"writeInlineFilter",False)(VFFSL(SL,"value",True)) # '$writeInlineFilter($value)' on line 793, col 32
1934
if _v is not None: write(_filter(_v, rawExpr='$writeInlineFilter($value)')) # from line 793, col 32.
1897
_filter = self._CHEETAH__currentFilter = _orig_filter_93049525
1936
_filter = self._CHEETAH__currentFilter = _orig_filter_70219224
1900
if VFFSL(SL,"extra",True) != None: # generated from line 768, col 10
1939
if VFFSL(SL,"extra",True) != None: # generated from line 794, col 10
1901
1940
write(''' (''')
1902
_v = VFFSL(SL,"extra",True) # '$extra' on line 769, col 12
1903
if _v is not None: write(_filter(_v, rawExpr='$extra')) # from line 769, col 12.
1941
_v = VFFSL(SL,"extra",True) # '$extra' on line 795, col 12
1942
if _v is not None: write(_filter(_v, rawExpr='$extra')) # from line 795, col 12.
1949
if VFFSL(SL,"message.aggregated",True): # generated from line 791, col 3
1950
if VFFSL(SL,"message.time_min.value",True) == VFFSL(SL,"message.time_max.value",True): # generated from line 792, col 5
1988
if VFFSL(SL,"message.aggregated",True): # generated from line 817, col 3
1989
if VFFSL(SL,"message.time_min.value",True) == VFFSL(SL,"message.time_max.value",True): # generated from line 818, col 5
1952
_v = VFFSL(SL,"message.time_min.value",True) # '$message.time_min.value' on line 793, col 7
1953
if _v is not None: write(_filter(_v, rawExpr='$message.time_min.value')) # from line 793, col 7.
1991
_v = VFFSL(SL,"message.time_min.value",True) # '$message.time_min.value' on line 819, col 7
1992
if _v is not None: write(_filter(_v, rawExpr='$message.time_min.value')) # from line 819, col 7.
1956
else: # generated from line 794, col 5
1995
else: # generated from line 820, col 5
1958
_v = VFFSL(SL,"message.time_max.value",True) # '$message.time_max.value' on line 795, col 7
1959
if _v is not None: write(_filter(_v, rawExpr='$message.time_max.value')) # from line 795, col 7.
1997
_v = VFFSL(SL,"message.time_max.value",True) # '$message.time_max.value' on line 821, col 7
1998
if _v is not None: write(_filter(_v, rawExpr='$message.time_max.value')) # from line 821, col 7.
1962
_v = VFFSL(SL,"message.time_min.value",True) # '$message.time_min.value' on line 796, col 7
1963
if _v is not None: write(_filter(_v, rawExpr='$message.time_min.value')) # from line 796, col 7.
2001
_v = VFFSL(SL,"message.time_min.value",True) # '$message.time_min.value' on line 822, col 7
2002
if _v is not None: write(_filter(_v, rawExpr='$message.time_min.value')) # from line 822, col 7.
1966
else: # generated from line 798, col 3
2005
else: # generated from line 824, col 3
1968
_v = VFFSL(SL,"message.time.value",True) # '$message.time.value' on line 799, col 5
1969
if _v is not None: write(_filter(_v, rawExpr='$message.time.value')) # from line 799, col 5.
2007
_v = VFFSL(SL,"message.time.value",True) # '$message.time.value' on line 825, col 5
2008
if _v is not None: write(_filter(_v, rawExpr='$message.time.value')) # from line 825, col 5.
1972
if VFFSL(SL,"message.analyzer_time.value",True): # generated from line 800, col 5
2011
if VFFSL(SL,"message.analyzer_time.value",True): # generated from line 826, col 5
1973
2012
write(''' (sent at ''')
1974
_v = VFFSL(SL,"message.analyzer_time.value",True) # '$message.analyzer_time.value' on line 801, col 16
1975
if _v is not None: write(_filter(_v, rawExpr='$message.analyzer_time.value')) # from line 801, col 16.
2013
_v = VFFSL(SL,"message.analyzer_time.value",True) # '$message.analyzer_time.value' on line 827, col 16
2014
if _v is not None: write(_filter(_v, rawExpr='$message.analyzer_time.value')) # from line 827, col 16.
1980
_filter = self._CHEETAH__currentFilter = _orig_filter_20418283
1981
_orig_filter_82366066 = _filter
2019
_filter = self._CHEETAH__currentFilter = _orig_filter_69381929
2020
_orig_filter_98372512 = _filter
1982
2021
filterName = 'Filter'
1983
2022
if self._CHEETAH__filters.has_key("Filter"):
1984
2023
_filter = self._CHEETAH__currentFilter = self._CHEETAH__filters[filterName]
1986
2025
_filter = self._CHEETAH__currentFilter = \
1987
2026
self._CHEETAH__filters[filterName] = getattr(self._CHEETAH__filtersLib, filterName)(self).filter
1988
_filter = self._CHEETAH__currentFilter = _orig_filter_82366066
2027
_filter = self._CHEETAH__currentFilter = _orig_filter_98372512
1990
2029
########################################
1991
2030
## END - generated method body