<?xml version="1.0" encoding="UTF-8"?>
<form class="wpfdparams" method="POST"
      action="admin.php?page=wpfd-config&amp;theme=default&amp;task=config.savethemeparams">
    <input
            name="marginleft"
            type="typeint"
            label="Margin left"
            value="10"
            class="inputbox input-block-level ju-input"
            required="true"
            tooltip="File icon left margin"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    />
    <input
            name="marginright"
            type="typeint"
            label="Margin right"
            value="10"
            class="inputbox input-block-level ju-input"
            required="true"
            tooltip="File icon right margin"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    />
    <input
            name="margintop"
            type="typeint"
            label="Margin top"
            value="10"
            class="inputbox input-block-level ju-input"
            required="true"
            tooltip="File icon top margin"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    />
    <input
            name="marginbottom"
            type="typeint"
            label="Margin bottom"
            value="10"
            class="inputbox input-block-level ju-input"
            required="true"
            tooltip="File icon bottom margin"
            namespace="Joomunited\WP_File_Download\Admin\Fields\"
    />

    <input
            name="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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>
