<?xml version="1.0" encoding="UTF-8"?>
<form class="wpfdparams" method="POST"
      action="admin.php?page=wpfd-config&amp;theme=table&amp;task=config.savethemeparams">
    <input
            name="table_stylingmenu"
            type="switcher"
            label="Column display"
            value="1"
            class="inline ju-input"
            tooltip="Let user select the table column he can display hide on frontend"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showsize"
            type="switcher"
            label="Show weight"
            value="1"
            class="inline ju-input"
            tooltip="Display the weight of the file download"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showtitle"
            type="switcher"
            label="Show title"
            value="1"
            class="inline ju-input"
            tooltip="Display the title of the file download"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showdescription"
            type="switcher"
            label="Show description"
            value="1"
            class="inline ju-input"
            tooltip="Display the description of the file download"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showversion"
            type="switcher"
            label="Show version"
            value="1"
            class="inline ju-input"
            tooltip="Display the version (if any) of the file download"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showhits"
            type="switcher"
            label="Show hits"
            value="1"
            class="inline ju-input"
            tooltip="Display the download hits (if any) of the file"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showdownload"
            type="switcher"
            label="Show download link"
            value="1"
            class="inline ju-input"
            tooltip="Add the download button and file title link in file listing"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>
    <input
            name="table_croptitle"
            type="text2"
            label="Crop titles"
            value="0"
            class="inputbox input-block-level croptitle ju-input"
            required="true"
            tooltip="Crop the files titles after a predefined number of characters"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    />
    <input
            name="table_bgdownloadlink"
            type="text2"
            label="Background download link"
            value="#76bc58"
            class="ju-input wp-color-field minicolors minicolors-input"
            tooltip="Background color of the download button"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    />
    <input
            name="table_colordownloadlink"
            type="text2"
            label="Color download link"
            value="#ffffff"
            class="ju-input wp-color-field minicolors minicolors-input"
            tooltip="The download link and text of the download button colors"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    />

    <input
            name="table_showdateadd"
            type="switcher"
            label="Show date added"
            value="1"
            class="inline ju-input"
            tooltip="Display the date of the file upload"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showdatemodified"
            type="switcher"
            label="Show date modified"
            value="0"
            class="inline ju-input"
            tooltip="Display the date of the file last modification (file replace, file information edition…)"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showsubcategories"
            type="switcher"
            label="Show subcategories"
            value="1"
            class="inline ju-input"
            tooltip="Display not only the category selected but also all its subcategories"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showcategorytitle"
            type="switcher"
            label="Show category title"
            value="1"
            class="inline ju-input"
            tooltip="Display the file category title"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>
    <input
            name="table_showbreadcrumb"
            type="switcher"
            label="Show Breadcrumb"
            value="1"
            class="inline ju-input"
            tooltip="Display a clickable navigation breadcrumb, to navigate through file categories"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>

    <input
            name="table_showfoldertree"
            type="switcher"
            label="Show folder tree"
            value="0"
            class="inline ju-input"
            tooltip="Display a folder tree with file categories on the left part of the file listing"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    >
        <option value="1">Yes</option>
        <option value="0">No</option>
    </input>
    <button
            type="submit"
            value="Save"
            class="ju-button orange-button"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    />
</form>
