<commit_before>{* $Id$ *}
{if $tiki_p_create_file_galleries eq 'y'}
<h2>{tr}Duplicate File Gallery{/tr}</h2>
<form action="tiki-list_file_gallery.php{if $filegals_manager neq ''}?filegals_manager={$filegals_manager}{/if}" method="post">
  <table class="normal">
    <tr class="formcolor"><td><label for="name">{tr}Name{/tr}:</label></td><td><input type="text" size="50" id="name" name="name" value="{$name|escape}" /></td></tr>
    <tr class="formcolor"><td><label for="description">{tr}Description{/tr}:</label></td><td><textarea id="description" name="description" rows="4" cols="40">{$description|escape}</textarea></td></tr>
    <tr class="formcolor"><td><label for="galleryId">{tr}File gallery{/tr}:</label></td>
      <td>
        <select id="galleryId" name="galleryId"{if $all_galleries|@count eq '0'} disabled="disabled"{/if}>
        {section name=ix loop=$all_galleries}
          <option value="{$all_galleries[ix].id}">{$all_galleries[ix].name}</option>
        {sectionelse}
          <option value="">{tr}None{/tr}</option>
        {/section}
        </select>
      </td>
    </tr>
    <tr class="formcolor"><td><label for="dupCateg">{tr}Duplicate categories{/tr}:</label></td><td><input type="checkbox" id="dupCateg" name="dupCateg" /></td></tr>
    <tr class="formcolor"><td><label for="dupPerms">{tr}Duplicate permissions{/tr}:</label></td><td><input type="checkbox" id="dupPerms" name="dupPerms" /></td></tr>
    <tr class="formcolor"><td></td><td><input type="submit" name="duplicate" value="{tr}duplicate{/tr}" /></td></tr>
  </table>
</form>
{/if}
<commit_msg>[FIX]fgal: show gal name in drop down<commit_after>{* $Id$ *}
{if $tiki_p_create_file_galleries eq 'y'}
<h2>{tr}Duplicate File Gallery{/tr}</h2>
<form action="tiki-list_file_gallery.php{if $filegals_manager neq ''}?filegals_manager={$filegals_manager}{/if}" method="post">
  <table class="normal">
    <tr class="formcolor"><td><label for="name">{tr}Name{/tr}:</label></td><td><input type="text" size="50" id="name" name="name" value="{$name|escape}" /></td></tr>
    <tr class="formcolor"><td><label for="description">{tr}Description{/tr}:</label></td><td><textarea id="description" name="description" rows="4" cols="40">{$description|escape}</textarea></td></tr>
    <tr class="formcolor"><td><label for="galleryId">{tr}File gallery{/tr}:</label></td>
      <td>
        <select id="galleryId" name="galleryId"{if $all_galleries|@count eq '0'} disabled="disabled"{/if}>
        {section name=ix loop=$all_galleries}
          <option value="{$all_galleries[ix].id}">{$all_galleries[ix].label|escape}</option>
        {sectionelse}
          <option value="">{tr}None{/tr}</option>
        {/section}
        </select>
      </td>
    </tr>
    <tr class="formcolor"><td><label for="dupCateg">{tr}Duplicate categories{/tr}:</label></td><td><input type="checkbox" id="dupCateg" name="dupCateg" /></td></tr>
    <tr class="formcolor"><td><label for="dupPerms">{tr}Duplicate permissions{/tr}:</label></td><td><input type="checkbox" id="dupPerms" name="dupPerms" /></td></tr>
    <tr class="formcolor"><td></td><td><input type="submit" name="duplicate" value="{tr}duplicate{/tr}" /></td></tr>
  </table>
</form>
{/if}

{'fraction_non_alphanumeric': 0.24515322076297685, 'fraction_numerical': 0.0050031269543464665, 'mean_word_length': 5.650727650727651, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5698702', 'n_tokens_mistral': 1160, 'n_tokens_neox': 1120, 'n_words': 170}