[2641] | 1 | {include file='include/autosize.inc.tpl'} |
---|
[2718] | 2 | {include file='include/dbselect.inc.tpl'} |
---|
[2632] | 3 | {include file='include/datepicker.inc.tpl'} |
---|
| 4 | |
---|
[7995] | 5 | {combine_script id='jquery.fcbkcomplete' load='async' require='jquery' path='themes/default/js/plugins/jquery.fcbkcomplete.js'} |
---|
| 6 | {footer_script require='jquery.fcbkcomplete'}{literal} |
---|
| 7 | jQuery(document).ready(function() { |
---|
| 8 | jQuery("#tags").fcbkcomplete({ |
---|
| 9 | json_url: "admin.php?fckb_tags=1", |
---|
| 10 | cache: false, |
---|
| 11 | filter_case: false, |
---|
| 12 | filter_hide: true, |
---|
| 13 | firstselected: true, |
---|
| 14 | filter_selected: true, |
---|
| 15 | maxitems: 100, |
---|
| 16 | newel: true |
---|
| 17 | }); |
---|
| 18 | }); |
---|
| 19 | {/literal}{/footer_script} |
---|
[5067] | 20 | |
---|
[7995] | 21 | {footer_script} |
---|
| 22 | pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#date_creation_year", "#date_creation_linked_date", "#date_creation_action_set"); |
---|
| 23 | {/footer_script} |
---|
[2632] | 24 | |
---|
[5021] | 25 | <h2>{'Modify informations about a picture'|@translate}</h2> |
---|
[2531] | 26 | |
---|
[5021] | 27 | <img src="{$TN_SRC}" alt="{'Thumbnail'|@translate}" class="Thumbnail"> |
---|
[2531] | 28 | |
---|
| 29 | <ul class="categoryActions"> |
---|
| 30 | {if isset($U_JUMPTO) } |
---|
[3185] | 31 | <li><a href="{$U_JUMPTO}" title="{'jump to image'|@translate}"><img src="{$themeconf.admin_icon_dir}/category_jump-to.png" class="button" alt="{'jump to image'|@translate}"></a></li> |
---|
[2531] | 32 | {/if} |
---|
[8014] | 33 | {if !url_is_remote($PATH)} |
---|
[8128] | 34 | <li><a href="{$U_SYNC}" title="{'synchronize'|@translate}"><img src="{$themeconf.admin_icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}"></a></li> |
---|
[2777] | 35 | {/if} |
---|
[2531] | 36 | </ul> |
---|
| 37 | |
---|
| 38 | <form action="{$F_ACTION}" method="post" id="properties"> |
---|
| 39 | |
---|
| 40 | <fieldset> |
---|
| 41 | <legend>{'Informations'|@translate}</legend> |
---|
| 42 | |
---|
| 43 | <table> |
---|
| 44 | |
---|
| 45 | <tr> |
---|
| 46 | <td><strong>{'Path'|@translate}</strong></td> |
---|
| 47 | <td>{$PATH}</td> |
---|
| 48 | </tr> |
---|
| 49 | |
---|
| 50 | <tr> |
---|
| 51 | <td><strong>{'Post date'|@translate}</strong></td> |
---|
| 52 | <td>{$REGISTRATION_DATE}</td> |
---|
| 53 | </tr> |
---|
| 54 | |
---|
| 55 | <tr> |
---|
| 56 | <td><strong>{'Dimensions'|@translate}</strong></td> |
---|
| 57 | <td>{$DIMENSIONS}</td> |
---|
| 58 | </tr> |
---|
| 59 | |
---|
| 60 | <tr> |
---|
| 61 | <td><strong>{'Filesize'|@translate}</strong></td> |
---|
| 62 | <td>{$FILESIZE}</td> |
---|
| 63 | </tr> |
---|
| 64 | |
---|
| 65 | {if isset($HIGH_FILESIZE) } |
---|
| 66 | <tr> |
---|
| 67 | <td><strong>{'High filesize'|@translate}</strong></td> |
---|
| 68 | <td>{$HIGH_FILESIZE}</td> |
---|
| 69 | </tr> |
---|
| 70 | {/if} |
---|
| 71 | |
---|
| 72 | <tr> |
---|
[6969] | 73 | <td><strong>{'Storage album'|@translate}</strong></td> |
---|
[2531] | 74 | <td>{$STORAGE_CATEGORY}</td> |
---|
| 75 | </tr> |
---|
| 76 | |
---|
| 77 | {if isset($related_categories) } |
---|
| 78 | <tr> |
---|
[6969] | 79 | <td><strong>{'Linked albums'|@translate}</strong></td> |
---|
[2531] | 80 | <td> |
---|
| 81 | <ul> |
---|
| 82 | {foreach from=$related_categories item=name} |
---|
| 83 | <li>{$name}</li> |
---|
| 84 | {/foreach} |
---|
| 85 | </ul> |
---|
| 86 | </td> |
---|
| 87 | </tr> |
---|
| 88 | {/if} |
---|
| 89 | |
---|
| 90 | </table> |
---|
| 91 | |
---|
| 92 | </fieldset> |
---|
| 93 | |
---|
| 94 | <fieldset> |
---|
| 95 | <legend>{'Properties'|@translate}</legend> |
---|
| 96 | |
---|
| 97 | <table> |
---|
| 98 | |
---|
| 99 | <tr> |
---|
| 100 | <td><strong>{'Name'|@translate}</strong></td> |
---|
[3185] | 101 | <td><input type="text" class="large" name="name" value="{$NAME}"></td> |
---|
[2531] | 102 | </tr> |
---|
| 103 | |
---|
| 104 | <tr> |
---|
| 105 | <td><strong>{'Author'|@translate}</strong></td> |
---|
[3185] | 106 | <td><input type="text" class="large" name="author" value="{$AUTHOR}"></td> |
---|
[2531] | 107 | </tr> |
---|
| 108 | |
---|
| 109 | <tr> |
---|
| 110 | <td><strong>{'Creation date'|@translate}</strong></td> |
---|
| 111 | <td> |
---|
[3185] | 112 | <label><input type="radio" name="date_creation_action" value="unset"> {'unset'|@translate}</label> |
---|
| 113 | <input type="radio" name="date_creation_action" value="set" id="date_creation_action_set"> {'set to'|@translate} |
---|
[2680] | 114 | <select id="date_creation_day" name="date_creation_day"> |
---|
[2531] | 115 | <option value="0">--</option> |
---|
| 116 | {section name=day start=1 loop=32} |
---|
| 117 | <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$DATE_CREATION_DAY_VALUE}selected="selected"{/if}>{$smarty.section.day.index}</option> |
---|
| 118 | {/section} |
---|
| 119 | </select> |
---|
[2680] | 120 | <select id="date_creation_month" name="date_creation_month"> |
---|
[2531] | 121 | {html_options options=$month_list selected=$DATE_CREATION_MONTH_VALUE} |
---|
| 122 | </select> |
---|
[2680] | 123 | <input id="date_creation_year" |
---|
[2531] | 124 | name="date_creation_year" |
---|
| 125 | type="text" |
---|
| 126 | size="4" |
---|
| 127 | maxlength="4" |
---|
[3185] | 128 | value="{$DATE_CREATION_YEAR_VALUE}"> |
---|
| 129 | <input id="date_creation_linked_date" name="date_creation_linked_date" type="hidden" size="10" disabled="disabled"> |
---|
[2531] | 130 | </td> |
---|
| 131 | </tr> |
---|
| 132 | |
---|
| 133 | <tr> |
---|
| 134 | <td><strong>{'Tags'|@translate}</strong></td> |
---|
[5067] | 135 | <td> |
---|
| 136 | <select id="tags" name="tags"> |
---|
| 137 | {foreach from=$tags item=tag} |
---|
| 138 | <option value="{$tag.value}" class="selected">{$tag.caption}</option> |
---|
| 139 | {/foreach} |
---|
| 140 | </select> |
---|
| 141 | </td> |
---|
[2531] | 142 | </tr> |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | <tr> |
---|
| 146 | <td><strong>{'Description'|@translate}</strong></td> |
---|
[2674] | 147 | <td><textarea name="description" id="description" class="description">{$DESCRIPTION}</textarea></td> |
---|
[2531] | 148 | </tr> |
---|
| 149 | |
---|
| 150 | <tr> |
---|
[6025] | 151 | <td><strong>{'Who can see this photo?'|@translate}</strong></td> |
---|
[2531] | 152 | <td> |
---|
| 153 | <select name="level" size="1"> |
---|
| 154 | {html_options options=$level_options selected=$level_options_selected} |
---|
| 155 | </select> |
---|
| 156 | </td> |
---|
| 157 | </tr> |
---|
| 158 | |
---|
| 159 | </table> |
---|
| 160 | |
---|
| 161 | <p style="text-align:center;"> |
---|
[8128] | 162 | <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit"> |
---|
[3185] | 163 | <input class="submit" type="reset" value="{'Reset'|@translate}" name="reset"> |
---|
[2531] | 164 | </p> |
---|
| 165 | |
---|
| 166 | </fieldset> |
---|
| 167 | |
---|
| 168 | </form> |
---|
| 169 | |
---|
| 170 | <form id="associations" method="post" action="{$F_ACTION}#associations"> |
---|
| 171 | <fieldset> |
---|
[6993] | 172 | <legend>{'Linked albums'|@translate}</legend> |
---|
[2531] | 173 | |
---|
| 174 | <table class="doubleSelect"> |
---|
| 175 | <tr> |
---|
| 176 | <td> |
---|
| 177 | <h3>{'Associated'|@translate}</h3> |
---|
| 178 | <select class="categoryList" name="cat_associated[]" multiple="multiple" size="30"> |
---|
| 179 | {html_options options=$associated_options} |
---|
| 180 | </select> |
---|
[8128] | 181 | <p><input class="submit" type="submit" value="»" name="dissociate" style="font-size:15px;"></p> |
---|
[2531] | 182 | </td> |
---|
| 183 | |
---|
| 184 | <td> |
---|
| 185 | <h3>{'Dissociated'|@translate}</h3> |
---|
| 186 | <select class="categoryList" name="cat_dissociated[]" multiple="multiple" size="30"> |
---|
| 187 | {html_options options=$dissociated_options} |
---|
| 188 | </select> |
---|
[8128] | 189 | <p><input class="submit" type="submit" value="«" name="associate" style="font-size:15px;"></p> |
---|
[2531] | 190 | </td> |
---|
| 191 | </tr> |
---|
| 192 | </table> |
---|
| 193 | |
---|
| 194 | </fieldset> |
---|
| 195 | </form> |
---|
| 196 | |
---|
| 197 | <form id="representation" method="post" action="{$F_ACTION}#representation"> |
---|
| 198 | <fieldset> |
---|
[6993] | 199 | <legend>{'Representation of albums'|@translate}</legend> |
---|
[2531] | 200 | |
---|
| 201 | <table class="doubleSelect"> |
---|
| 202 | <tr> |
---|
| 203 | <td> |
---|
| 204 | <h3>{'Represents'|@translate}</h3> |
---|
| 205 | <select class="categoryList" name="cat_elected[]" multiple="multiple" size="30"> |
---|
| 206 | {html_options options=$elected_options} |
---|
| 207 | </select> |
---|
[8128] | 208 | <p><input class="submit" type="submit" value="»" name="dismiss" style="font-size:15px;"></p> |
---|
[2531] | 209 | </td> |
---|
| 210 | |
---|
| 211 | <td> |
---|
| 212 | <h3>{'Does not represent'|@translate}</h3> |
---|
| 213 | <select class="categoryList" name="cat_dismissed[]" multiple="multiple" size="30"> |
---|
| 214 | {html_options options=$dismissed_options} |
---|
| 215 | </select> |
---|
[8128] | 216 | <p><input class="submit" type="submit" value="«" name="elect" style="font-size:15px;"></p> |
---|
[2531] | 217 | </td> |
---|
| 218 | </tr> |
---|
| 219 | </table> |
---|
| 220 | |
---|
| 221 | </fieldset> |
---|
| 222 | </form> |
---|