Пример #1
0
    def metaFields(self, lang=None):
        metafields = Container.metaFields(self, lang=lang)
        field = Metafield(u"style_hide_empty")

        field.set("label", t(lang, "hide empty directories"))
        field.set("type", u"check")
        metafields.append(field)
        return metafields
Пример #2
0
    def metaFields(self, lang=None):
        metafields = Container.metaFields(self, lang=lang)
        field = Metafield(u"style_hide_empty")

        field.set("label", t(lang, "hide empty directories"))
        field.set("type", u"check")
        metafields.append(field)
        return metafields
Пример #3
0
 def metaFields(self, lang=None):
     field = Metafield("upload_fileatt")
     field.set("label", t(lang, "workflowstep-fileatt_label_upload_file"))
     field.set("type", "upload")
     field2 = Metafield("mask_fileatt")
     field2.set("label", t(lang, "workflowstep-fileatt_label_mask"))
     field2.set("type", "text")
     return [field, field2]
Пример #4
0
 def metaFields(self, lang=None):
     field = Metafield("upload_fileatt")
     field.set("label", t(lang, "workflowstep-fileatt_label_upload_file"))
     field.set("type", "upload")
     field2 = Metafield("mask_fileatt")
     field2.set("label", t(lang, "workflowstep-fileatt_label_mask"))
     field2.set("type", "text")
     return [field, field2]
Пример #5
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("publishsetpublishedversion")
        field.set("label", t(lang, "admin_wfstep_publishsetpublishedversion"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("publishsetupdatetime")
        field.set("label", t(lang, "admin_wfstep_publishsetupdatetime"))
        field.set("type", "check")
        ret.append(field)
        return ret
Пример #6
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("publishsetpublishedversion")
        field.set("label", t(lang, "admin_wfstep_publishsetpublishedversion"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("publishsetupdatetime")
        field.set("label", t(lang, "admin_wfstep_publishsetupdatetime"))
        field.set("type", "check")
        ret.append(field)
        return ret
Пример #7
0
 def metaFields(self, lang=None):
     ret = []
     field = Metafield("destination")
     field.set("label", t(lang, "admin_wfstep_addtofolder_destination"))
     field.set("type", "treeselect")
     ret.append(field)
     field = Metafield("destination_subfolder")
     field.set("label",
               t(lang, "admin_wfstep_addtofolder_destination_subfolder"))
     field.set("type", "text")
     ret.append(field)
     return ret
Пример #8
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("prefix")
        field.set("label", t(lang, "admin_wfstep_text_before_upload_form"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("suffix")
        field.set("label", t(lang, "admin_wfstep_text_after_upload_form"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("singleobj")
        field.set("label", t(lang, "admin_wfstep_single_upload"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("limit")
        field.set("label", t(lang, "admin_wfstep_uploadtype"))
        field.set("type", "text")
        ret.append(field)

        return ret
Пример #9
0
    def metaFields(self, lang=None):

        if not PYPDF_MODULE_PRESENT:
            field = Metafield("infotext")
            field.set("label", t(lang, "admin_wfstep_addpic2pdf_hint"))
            field.set("type", "label")
            field.set("value", t(lang, "admin_wfstep_addpic2pdf_no_pypdf"))
            return [field]

        ret = []

        field = Metafield("prefix")
        field.set("label", t(lang, "admin_wfstep_text_before_data"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("logoupload")
        field.set("label", t(lang, "admin_wfstep_addpic2pdf_upload01"))
        field.set("type", "upload")
        ret.append(field)

        field = Metafield("url_mapping")
        field.set("label", t(lang,
                             "admin_wfstep_addpic2pdf_label_url_mapping"))
        field.set("type", "memo")
        ret.append(field)
        return ret
Пример #10
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("prefix")
        field.set("label", t(lang, "admin_wfstep_text_before_upload_form"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("suffix")
        field.set("label", t(lang, "admin_wfstep_text_after_upload_form"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("singleobj")
        field.set("label", t(lang, "admin_wfstep_single_upload"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("limit")
        field.set("label", t(lang, "admin_wfstep_uploadtype"))
        field.set("type", "text")
        ret.append(field)

        return ret
Пример #11
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("upload_pdfform")
        field.set("label",
                  t(lang, "workflowstep-addformpage_label_upload_pdfform"))
        field.set("type", "upload")
        ret.append(field)

        field = Metafield("pdf_fields_editable")
        field.set(
            "label",
            t(lang, "workflowstep-addformpage_label_pdf_fields_editable"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("pdf_form_separate")
        field.set("label",
                  t(lang, "workflowstep-addformpage_label_pdf_form_separate"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("pdf_form_overwrite")
        field.set("label",
                  t(lang, "workflowstep-addformpage_label_pdf_overwrite"))
        field.set("type", "check")
        ret.append(field)
        return ret
Пример #12
0
 def metaFields(self, lang=None):
     field = Metafield("text")
     field.set("label", t(lang, "admin_wfstep_textpage_text_to_display"))
     field.set("type", "htmlmemo")
     return [field]
Пример #13
0
 def metaFields(self, lang=None):
     ret = []
     field = Metafield("newnodetype")
     field.set("label", t(lang, "admin_wfstep_node_types_to_create"))
     field.set("type", "text")
     ret.append(field)
     field = Metafield("starttext")
     field.set("label", t(lang, "admin_wfstep_starttext"))
     field.set("type", "htmlmemo")
     ret.append(field)
     field = Metafield("allowcontinue")
     field.set("label", t(lang, "admin_wfstep_allowcontinue"))
     field.set("type", "check")
     ret.append(field)
     return ret
Пример #14
0
    def metaFields(self, lang=None):
        ret = []
        field = Metafield("endtext")
        field.set("label", t(lang, "admin_wfstep_endtext"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("endremove")
        field.set("label", t(lang, "admin_wfstep_endremove"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("endsetupdatetime")
        field.set("label", t(lang, "admin_wfstep_endsetupdatetime"))
        field.set("type", "check")
        ret.append(field)
        return ret
Пример #15
0
 def metaFields(self, lang=None):
     field = Metafield("condition")
     field.set("label", t(lang, "admin_wfstep_condition"))
     field.set("type", "text")
     return [field]
Пример #16
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("attrname")
        field.set("label", t(lang, "admin_wfstep_urn_attrname"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("snid1")
        field.set("label", t(lang, "admin_wfstep_urn_snid1"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("snid2")
        field.set("label", t(lang, "admin_wfstep_urn_snid2"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("niss")
        field.set("label", t(lang, "admin_wfstep_urn_niss"))
        field.set("type", "text")
        ret.append(field)
        return ret
Пример #17
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("attrname")
        field.set("label", t(lang, "attributname"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("accesstype")
        field.set("label", t(lang, "accesstype"))
        field.set("type", "mlist")
        field.set("valuelist", ";read;write;data")
        ret.append(field)

        field = Metafield("recipient")
        field.set("label", t(lang, "admin_wfstep_email_recipient"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("subject")
        field.set("label", t(lang, "admin_wfstep_email_subject"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("body")
        field.set("label", t(lang, "admin_wfstep_email_text"))
        field.set("type", "memo")
        ret.append(field)

        return ret
Пример #18
0
 def metaFields(self, lang=None):
     field = Metafield("filetype")
     field.set("label", t(lang, "admin_wfstep_deletefiletype"))
     field.set("type", "text")
     return [field]
Пример #19
0
 def metaFields(self, lang=None):
     ret = []
     field = Metafield("newnodetype")
     field.set("label", t(lang, "admin_wfstep_node_types_to_create"))
     field.set("type", "text")
     ret.append(field)
     field = Metafield("starttext")
     field.set("label", t(lang, "admin_wfstep_starttext"))
     field.set("type", "htmlmemo")
     ret.append(field)
     field = Metafield("allowcontinue")
     field.set("label", t(lang, "admin_wfstep_allowcontinue"))
     field.set("type", "check")
     ret.append(field)
     return ret
Пример #20
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("from")
        field.set("label", t(lang, "admin_wfstep_email_sender"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("email")
        field.set("label", t(lang, "admin_wfstep_email_recipient"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("subject")
        field.set("label", t(lang, "admin_wfstep_email_subject"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("text")
        field.set("label", t(lang, "admin_wfstep_email_text"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("allowedit")
        field.set("label", t(lang, "admin_wfstep_email_text_editable"))
        field.set("type", "list")
        field.set("valuelist", t(lang, "admin_wfstep_email_text_editable_options"))
        ret.append(field)

        field = Metafield("sendcondition")
        field.set("label", t(lang, "admin_wfstep_email_sendcondition"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("attach_pdf_form")
        field.set("label", t(lang, "workflowstep-email_label_attach_pdf_form"))
        field.set("type", "check")
        ret.append(field)
        return ret
Пример #21
0
 def metaFields(self, lang=None):
     field = Metafield("masks")
     field.set("label", t(lang, "admin_wfstep_masks_to_display"))
     field.set("type", "text")
     return [field]
Пример #22
0
 def metaFields(self, lang=None):
     ret = []
     field = Metafield("destination")
     field.set("label", t(lang, "admin_wfstep_classify_destination"))
     field.set("type", "treeselect")
     ret.append(field)
     field = Metafield("destination_attr")
     field.set("label", t(lang, "admin_wfstep_classify_destination_attr"))
     field.set("type", "text")
     ret.append(field)
     field = Metafield("only_sub")
     field.set("label", t(lang, "admin_wfstep_classify_only_sub"))
     field.set("type", "check")
     ret.append(field)
     return ret
Пример #23
0
 def metaFields(self, lang=None):
     field = Metafield("masks")
     field.set("label", t(lang, "admin_wfstep_masks_to_display"))
     field.set("type", "text")
     return [field]
Пример #24
0
    def metaFields(self, lang=None):
        ret = []
        field = Metafield("from")
        field.set("label", t(lang, "admin_wfstep_checkcontent_sender"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("email")
        field.set("label", t(lang, "admin_wfstep_checkcontent_recipient"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("subject")
        field.set("label", t(lang, "admin_wfstep_checkcontent_subject"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("text")
        field.set("label", t(lang, "admin_wfstep_checkcontent_text"))
        field.set("type", "memo")
        ret.append(field)

        return ret
Пример #25
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("upload_pdfform")
        field.set("label", t(lang, "workflowstep-addformpage_label_upload_pdfform"))
        field.set("type", "upload")
        ret.append(field)

        field = Metafield("pdf_fields_editable")
        field.set("label", t(lang, "workflowstep-addformpage_label_pdf_fields_editable"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("pdf_form_separate")
        field.set("label", t(lang, "workflowstep-addformpage_label_pdf_form_separate"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("pdf_form_overwrite")
        field.set("label", t(lang, "workflowstep-addformpage_label_pdf_overwrite"))
        field.set("type", "check")
        ret.append(field)
        return ret
Пример #26
0
    def metaFields(self, lang=None):
        ret = []
        field = Metafield("from")
        field.set("label", t(lang, "admin_wfstep_checkcontent_sender"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("email")
        field.set("label", t(lang, "admin_wfstep_checkcontent_recipient"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("subject")
        field.set("label", t(lang, "admin_wfstep_checkcontent_subject"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("text")
        field.set("label", t(lang, "admin_wfstep_checkcontent_text"))
        field.set("type", "memo")
        ret.append(field)

        return ret
Пример #27
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("from")
        field.set("label", t(lang, "admin_wfstep_email_sender"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("email")
        field.set("label", t(lang, "admin_wfstep_email_recipient"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("subject")
        field.set("label", t(lang, "admin_wfstep_email_subject"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("text")
        field.set("label", t(lang, "admin_wfstep_email_text"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("allowedit")
        field.set("label", t(lang, "admin_wfstep_email_text_editable"))
        field.set("type", "list")
        field.set("valuelist", t(lang, "admin_wfstep_email_text_editable_options"))
        ret.append(field)

        field = Metafield("sendcondition")
        field.set("label", t(lang, "admin_wfstep_email_sendcondition"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("attach_pdf_form")
        field.set("label", t(lang, "workflowstep-email_label_attach_pdf_form"))
        field.set("type", "check")
        ret.append(field)
        return ret
Пример #28
0
 def metaFields(self, lang=None):
     field = Metafield("condition")
     field.set("label", t(lang, "admin_wfstep_condition"))
     field.set("type", "text")
     return [field]
Пример #29
0
 def metaFields(self, lang=None):
     field = Metafield("text")
     field.set("label", t(lang, "admin_wfstep_textpage_text_to_display"))
     field.set("type", "htmlmemo")
     return [field]
Пример #30
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("attrname")
        field.set("label", t(lang, "attributname"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("accesstype")
        field.set("label", t(lang, "accesstype"))
        field.set("type", "mlist")
        field.set("valuelist", ";read;write;data")
        ret.append(field)

        field = Metafield("recipient")
        field.set("label", t(lang, "admin_wfstep_email_recipient"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("subject")
        field.set("label", t(lang, "admin_wfstep_email_subject"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("body")
        field.set("label", t(lang, "admin_wfstep_email_text"))
        field.set("type", "memo")
        ret.append(field)

        return ret
Пример #31
0
    def metaFields(self, lang=None):

        if not PYPDF_MODULE_PRESENT:
            field = Metafield("infotext")
            field.set("label", t(lang, "admin_wfstep_addpic2pdf_hint"))
            field.set("type", "label")
            field.set("value", t(lang, "admin_wfstep_addpic2pdf_no_pypdf"))
            return [field]

        ret = []

        field = Metafield("prefix")
        field.set("label", t(lang, "admin_wfstep_text_before_data"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("logoupload")
        field.set("label", t(lang, "admin_wfstep_addpic2pdf_upload01"))
        field.set("type", "upload")
        ret.append(field)

        field = Metafield("url_mapping")
        field.set("label", t(lang, "admin_wfstep_addpic2pdf_label_url_mapping"))
        field.set("type", "memo")
        ret.append(field)
        return ret
Пример #32
0
 def metaFields(self, lang=None):
     field = Metafield("mask")
     field.set("label", t(lang, "admin_wfstep_editor_mask"))
     field.set("type", "text")
     return [field]
Пример #33
0
    def metaFields(self, lang=None):
        ret = []
        field = Metafield("endtext")
        field.set("label", t(lang, "admin_wfstep_endtext"))
        field.set("type", "memo")
        ret.append(field)

        field = Metafield("endremove")
        field.set("label", t(lang, "admin_wfstep_endremove"))
        field.set("type", "check")
        ret.append(field)

        field = Metafield("endsetupdatetime")
        field.set("label", t(lang, "admin_wfstep_endsetupdatetime"))
        field.set("type", "check")
        ret.append(field)
        return ret
Пример #34
0
    def metaFields(self, lang=None):
        ret = list()
        field = Metafield("attrname")
        field.set("label", t(lang, "admin_wfstep_urn_attrname"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("snid1")
        field.set("label", t(lang, "admin_wfstep_urn_snid1"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("snid2")
        field.set("label", t(lang, "admin_wfstep_urn_snid2"))
        field.set("type", "text")
        ret.append(field)

        field = Metafield("niss")
        field.set("label", t(lang, "admin_wfstep_urn_niss"))
        field.set("type", "text")
        ret.append(field)
        return ret