[2531] | 1 | <div class="titrePage"> |
---|
[13013] | 2 | <h2><span style="letter-spacing:0">{$CATEGORIES_NAV}</span> › {'Edit album'|@translate} {$TABSHEET_TITLE}</h2> |
---|
[2531] | 3 | </div> |
---|
| 4 | |
---|
| 5 | <form action="{$F_ACTION}" method="POST" id="catModify"> |
---|
| 6 | |
---|
| 7 | <fieldset> |
---|
| 8 | <legend>{'Informations'|@translate}</legend> |
---|
| 9 | |
---|
[13013] | 10 | <table style="width:100%"> |
---|
[2531] | 11 | <tr> |
---|
[13013] | 12 | <td style="width:1%;padding-right:10px;text-align:center;"> |
---|
| 13 | {if isset($representant) } |
---|
| 14 | {if isset($representant.picture) } |
---|
| 15 | <a href="{$representant.picture.URL}"><img src="{$representant.picture.SRC}" alt="" style="border:2px solid #ddd"></a> |
---|
| 16 | {else} |
---|
| 17 | <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_representant_random.png" alt="{'Random photo'|@translate}"> |
---|
| 18 | {/if} |
---|
[2531] | 19 | |
---|
[13013] | 20 | {if $representant.ALLOW_SET_RANDOM } |
---|
| 21 | <p style="text-align:center;"><input class="submit" type="submit" name="set_random_representant" value="Refresh" title="{'Find a new representant by random'|@translate}"></p> |
---|
| 22 | {/if} |
---|
[2531] | 23 | |
---|
[13013] | 24 | {if isset($representant.ALLOW_DELETE) } |
---|
| 25 | <p><input class="submit" type="submit" name="delete_representant" value="{'Delete Representant'|@translate}"></p> |
---|
[12887] | 26 | {/if} |
---|
[13013] | 27 | {/if} |
---|
[2531] | 28 | </td> |
---|
| 29 | |
---|
[13013] | 30 | <td style="vertical-align:top;border-left:2px solid #ddd;padding-left:10px;"> |
---|
| 31 | <p>{$INTRO}</p> |
---|
| 32 | <ul style="padding-left:15px;"> |
---|
| 33 | {if cat_admin_access($CAT_ID)} |
---|
| 34 | <li><a href="{$U_JUMPTO}">{'jump to album'|@translate} →</a></li> |
---|
[2531] | 35 | {/if} |
---|
| 36 | |
---|
[13013] | 37 | {if isset($U_MANAGE_ELEMENTS) } |
---|
| 38 | <li><a href="{$U_MANAGE_ELEMENTS}">{'manage album photos'|@translate}</a></li> |
---|
| 39 | {/if} |
---|
[2531] | 40 | |
---|
[13013] | 41 | <li><a href="{$U_CHILDREN}">{'manage sub-albums'|@translate}</a></li> |
---|
[2531] | 42 | |
---|
[13013] | 43 | {if isset($U_SYNC) } |
---|
| 44 | <li><a href="{$U_SYNC}">{'Synchronize'|@translate}</a> ({'Directory'|@translate} = {$CAT_FULL_DIR})</li> |
---|
| 45 | {/if} |
---|
[2531] | 46 | |
---|
[13013] | 47 | {if isset($U_DELETE) } |
---|
| 48 | <li><a href="{$U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">{'delete album'|@translate}</a></li> |
---|
| 49 | {/if} |
---|
[2531] | 50 | |
---|
[13013] | 51 | </ul> |
---|
[2531] | 52 | </td> |
---|
| 53 | </tr> |
---|
| 54 | </table> |
---|
| 55 | |
---|
[13013] | 56 | </fieldset> |
---|
| 57 | |
---|
| 58 | <fieldset> |
---|
| 59 | <legend>{'Properties'|@translate}</legend> |
---|
[2531] | 60 | <p> |
---|
[13013] | 61 | <strong>{'Name'|@translate}</strong> |
---|
| 62 | <br> |
---|
| 63 | <input type="text" class="large" name="name" value="{$CAT_NAME}" maxlength="60"> |
---|
[2531] | 64 | </p> |
---|
| 65 | |
---|
[13013] | 66 | <p> |
---|
| 67 | <strong>{'Description'|@translate}</strong> |
---|
| 68 | <br> |
---|
| 69 | <textarea cols="50" rows="5" name="comment" id="comment" class="description">{$CAT_COMMENT}</textarea> |
---|
| 70 | </p> |
---|
[2531] | 71 | |
---|
[13013] | 72 | {if isset($move_cat_options) } |
---|
| 73 | <p> |
---|
| 74 | <strong>{'Parent album'|@translate}</strong> |
---|
| 75 | <br> |
---|
| 76 | <select class="categoryDropDown" name="parent"> |
---|
| 77 | <option value="0">------------</option> |
---|
| 78 | {html_options options=$move_cat_options selected=$move_cat_options_selected } |
---|
| 79 | </select> |
---|
| 80 | </p> |
---|
| 81 | {/if} |
---|
[2531] | 82 | |
---|
[13013] | 83 | <p> |
---|
| 84 | <strong>{'Access type'|@translate}</strong> |
---|
| 85 | <br> |
---|
| 86 | {html_radios name='status' values=$status_values output=$status_values|translate selected=$CAT_STATUS} |
---|
| 87 | </p> |
---|
[2531] | 88 | |
---|
| 89 | <p> |
---|
[13013] | 90 | <strong>{'Lock'|@translate}</strong> |
---|
| 91 | <br> |
---|
| 92 | {html_radios name='visible' values='true,false'|@explode output='No,Yes'|@explode|translate selected=$CAT_VISIBLE} |
---|
[2531] | 93 | </p> |
---|
| 94 | |
---|
[13013] | 95 | {if isset($CAT_COMMENTABLE)} |
---|
[2531] | 96 | <p> |
---|
[13013] | 97 | <strong>{'Comments'|@translate}</strong> |
---|
| 98 | <br> |
---|
| 99 | {html_radios name='commentable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_COMMENTABLE} |
---|
[2531] | 100 | </p> |
---|
[13013] | 101 | {/if} |
---|
[2531] | 102 | |
---|
[13013] | 103 | <p style="margin:0"> |
---|
| 104 | <input class="submit" type="submit" value="{'Save Settings'|@translate}" name="submit"> |
---|
| 105 | </p> |
---|
[2531] | 106 | </fieldset> |
---|
| 107 | |
---|
| 108 | </form> |
---|