[3282] | 1 | {* $Id: /piwigo/trunk/admin/template/goto/configuration.tpl 7055 2009-03-19T19:51:54.545257Z nikrou $ *} |
---|
[2614] | 2 | |
---|
[2641] | 3 | {include file='include/autosize.inc.tpl'} |
---|
[2614] | 4 | |
---|
[2531] | 5 | <div class="titrePage"> |
---|
| 6 | <h2>{'title_configuration'|@translate} {$TABSHEET_TITLE}</h2> |
---|
| 7 | </div> |
---|
| 8 | |
---|
[3215] | 9 | {if !isset($default)} |
---|
[2531] | 10 | <form method="post" action="{$F_ACTION}" class="properties"> |
---|
[3215] | 11 | {/if} |
---|
[2531] | 12 | |
---|
| 13 | {if isset($main)} |
---|
| 14 | <fieldset id="mainConf"> |
---|
[3185] | 15 | <legend></legend> |
---|
[2531] | 16 | <ul> |
---|
| 17 | <li> |
---|
| 18 | <span class="property"> |
---|
| 19 | <label for="gallery_title">{'Gallery title'|@translate}</label> |
---|
| 20 | </span> |
---|
[3185] | 21 | <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{$main.CONF_GALLERY_TITLE}"> |
---|
[2531] | 22 | </li> |
---|
| 23 | |
---|
| 24 | <li> |
---|
| 25 | <span class="property"> |
---|
| 26 | <label for="page_banner">{'Page banner'|@translate}</label> |
---|
| 27 | </span> |
---|
[3185] | 28 | <textarea rows="5" cols="50" class="description" name="page_banner" id="page_banner">{$main.CONF_PAGE_BANNER}</textarea> |
---|
[2531] | 29 | </li> |
---|
| 30 | |
---|
| 31 | <li> |
---|
| 32 | <span class="property"> |
---|
| 33 | <label for="gallery_url">{'Gallery URL'|@translate}</label> |
---|
| 34 | </span> |
---|
[3185] | 35 | <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{$main.CONF_GALLERY_URL}"> |
---|
[2531] | 36 | </li> |
---|
| 37 | </ul> |
---|
| 38 | </fieldset> |
---|
| 39 | |
---|
| 40 | <fieldset id="mainConfCheck"> |
---|
[3185] | 41 | <legend></legend> |
---|
[2531] | 42 | <ul> |
---|
| 43 | <li> |
---|
| 44 | <label> |
---|
| 45 | <span class="property">{'Lock gallery'|@translate}</span> |
---|
[3185] | 46 | <input type="checkbox" name="gallery_locked" {if ($main.gallery_locked)}checked="checked"{/if}> |
---|
[2531] | 47 | </label> |
---|
| 48 | </li> |
---|
| 49 | |
---|
| 50 | <li> |
---|
| 51 | <label> |
---|
| 52 | <span class="property">{'Rating'|@translate}</span> |
---|
[3185] | 53 | <input type="checkbox" name="rate" {if ($main.rate)}checked="checked"{/if}> |
---|
[2531] | 54 | </label> |
---|
| 55 | </li> |
---|
| 56 | |
---|
| 57 | <li> |
---|
| 58 | <label> |
---|
| 59 | <span class="property">{'Rating by guests'|@translate}</span> |
---|
[3185] | 60 | <input type="checkbox" name="rate_anonymous" {if ($main.rate_anonymous)}checked="checked"{/if}> |
---|
[2531] | 61 | </label> |
---|
| 62 | </li> |
---|
| 63 | |
---|
| 64 | <li> |
---|
| 65 | <label> |
---|
| 66 | <span class="property">{'Allow user registration'|@translate}</span> |
---|
[3185] | 67 | <input type="checkbox" name="allow_user_registration" {if ($main.allow_user_registration)}checked="checked"{/if}> |
---|
[2531] | 68 | </label> |
---|
| 69 | </li> |
---|
| 70 | |
---|
| 71 | <li> |
---|
| 72 | <label> |
---|
| 73 | <span class="property">{'obligatory_user_mail_address'|@translate}</span> |
---|
[3185] | 74 | <input type="checkbox" name="obligatory_user_mail_address" {if ($main.obligatory_user_mail_address)}checked="checked"{/if}> |
---|
[2531] | 75 | </label> |
---|
| 76 | </li> |
---|
| 77 | |
---|
| 78 | <li> |
---|
| 79 | <label> |
---|
| 80 | <span class="property">{'Email administrators when a new user registers'|@translate}</span> |
---|
[3185] | 81 | <input type="checkbox" name="email_admin_on_new_user" {if ($main.email_admin_on_new_user)}checked="checked"{/if}> |
---|
[2531] | 82 | </label> |
---|
| 83 | </li> |
---|
| 84 | </ul> |
---|
| 85 | </fieldset> |
---|
| 86 | {/if} |
---|
| 87 | |
---|
| 88 | {if isset($history)} |
---|
| 89 | <fieldset id="historyConf"> |
---|
[3215] | 90 | <legend></legend> |
---|
[2531] | 91 | <ul> |
---|
| 92 | <li> |
---|
[3185] | 93 | <label><span class="property">{'conf_history_guest'|@translate}</span><input type="checkbox" name="history_guest" {if ($history.history_guest)}checked="checked"{/if}></label> |
---|
[2531] | 94 | </li> |
---|
| 95 | |
---|
| 96 | <li> |
---|
[3185] | 97 | <label><span class="property">{'conf_history_user'|@translate}</span><input type="checkbox" name="log" {if ($history.log)}checked="checked"{/if}></label> |
---|
[2531] | 98 | </li> |
---|
| 99 | |
---|
| 100 | <li> |
---|
[3185] | 101 | <label><span class="property">{'conf_history_admin'|@translate}</span><input type="checkbox" name="history_admin" {if ($history.history_admin)}checked="checked"{/if}></label> |
---|
[2531] | 102 | </li> |
---|
| 103 | </ul> |
---|
| 104 | </fieldset> |
---|
| 105 | {/if} |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | {if isset($comments)} |
---|
| 109 | <fieldset id="commentsConf"> |
---|
[3215] | 110 | <legend></legend> |
---|
[2531] | 111 | <ul> |
---|
| 112 | <li> |
---|
| 113 | <label> |
---|
| 114 | <span class="property">{'Comments for all'|@translate}</span> |
---|
[3185] | 115 | <input type="checkbox" name="comments_forall" {if ($comments.comments_forall)}checked="checked"{/if}> |
---|
[2531] | 116 | </label> |
---|
| 117 | </li> |
---|
| 118 | |
---|
| 119 | <li> |
---|
| 120 | <span class="property"> |
---|
| 121 | <label for="nb_comment_page">{'Number of comments per page'|@translate}</label> |
---|
| 122 | </span> |
---|
[3185] | 123 | <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{$comments.NB_COMMENTS_PAGE}"> |
---|
[2531] | 124 | </li> |
---|
| 125 | |
---|
| 126 | <li> |
---|
| 127 | <label> |
---|
| 128 | <span class="property">{'Validation'|@translate}</span> |
---|
[3185] | 129 | <input type="checkbox" name="comments_validation" {if ($comments.comments_validation)}checked="checked"{/if}> |
---|
[2531] | 130 | </label> |
---|
| 131 | </li> |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | <li> |
---|
| 135 | <label> |
---|
| 136 | <span class="property">{'Email administrators when a valid comment is entered'|@translate}</span> |
---|
[3185] | 137 | <input type="checkbox" name="email_admin_on_comment" {if ($comments.email_admin_on_comment)}checked="checked"{/if}> |
---|
[2531] | 138 | </label> |
---|
| 139 | </li> |
---|
| 140 | |
---|
| 141 | <li> |
---|
| 142 | <label> |
---|
| 143 | <span class="property">{'Email administrators when a comment requires validation'|@translate}</span> |
---|
[3185] | 144 | <input type="checkbox" name="email_admin_on_comment_validation" {if ($comments.email_admin_on_comment_validation)}checked="checked"{/if}> |
---|
[2531] | 145 | </label> |
---|
| 146 | </li> |
---|
| 147 | </ul> |
---|
| 148 | </fieldset> |
---|
| 149 | {/if} |
---|
| 150 | |
---|
| 151 | {if isset($upload)} |
---|
| 152 | <fieldset id="uploadConf"> |
---|
[3215] | 153 | <legend></legend> |
---|
[2531] | 154 | <ul> |
---|
| 155 | <li> |
---|
| 156 | <label><span class="property">{'Show upload link every time'|@translate}</span> |
---|
[3185] | 157 | <input type="checkbox" name="upload_link_everytime" {if ($upload.upload_link_everytime)}checked="checked"{/if}></label> |
---|
[2531] | 158 | </li> |
---|
| 159 | <li> |
---|
| 160 | <label><span class="property">{'User access level to upload'|@translate}</span> |
---|
| 161 | {html_options name="upload_user_access" options=$upload.upload_user_access_options selected=$upload.upload_user_access_options_selected} |
---|
[3215] | 162 | </label> |
---|
[2531] | 163 | </li> |
---|
| 164 | <li> |
---|
| 165 | <label> |
---|
| 166 | <span class="property">{'Email administrators when a picture is uploaded'|@translate}</span> |
---|
[3185] | 167 | <input type="checkbox" name="email_admin_on_picture_uploaded" {if ($upload.email_admin_on_picture_uploaded)}checked="checked"{/if}> |
---|
[2531] | 168 | </label> |
---|
| 169 | </li> |
---|
| 170 | </ul> |
---|
| 171 | </fieldset> |
---|
| 172 | {/if} |
---|
| 173 | |
---|
| 174 | {if isset($default)} |
---|
| 175 | {$PROFILE_CONTENT} |
---|
| 176 | {/if} |
---|
| 177 | |
---|
| 178 | {if !isset($default)} |
---|
| 179 | <p> |
---|
| 180 | <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> |
---|
| 181 | <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> |
---|
| 182 | </p> |
---|
[3215] | 183 | </form> |
---|
[2531] | 184 | {/if} |
---|