diff options
Diffstat (limited to '')
-rw-r--r-- | template/default/admin/cat_modify.tpl | 2 | ||||
-rw-r--r-- | template/default/admin/element_set_unit.tpl | 61 | ||||
-rw-r--r-- | template/default/admin/picture_modify.tpl | 2 | ||||
-rw-r--r-- | template/default/default.css | 11 |
4 files changed, 44 insertions, 32 deletions
diff --git a/template/default/admin/cat_modify.tpl b/template/default/admin/cat_modify.tpl index 54de1af66..b738bae3f 100644 --- a/template/default/admin/cat_modify.tpl +++ b/template/default/admin/cat_modify.tpl @@ -42,7 +42,7 @@ <tr> <td><strong>{L_EDIT_COMMENT}</strong></td> <td> - <textarea name="comment" rows="3" cols="50" >{CAT_COMMENT}</textarea> + <textarea name="comment" class="description">{CAT_COMMENT}</textarea> </td> </tr> </table> diff --git a/template/default/admin/element_set_unit.tpl b/template/default/admin/element_set_unit.tpl index 494e81478..df1247d2d 100644 --- a/template/default/admin/element_set_unit.tpl +++ b/template/default/admin/element_set_unit.tpl @@ -24,39 +24,31 @@ </fieldset> -<fieldset> +<div class="navigationBar">{NAV_BAR}</div> - <legend>Elements</legend> +<!-- BEGIN element --> +<fieldset class="elementEdit"> + <legend>{element.LEGEND}</legend> - <div class="navigationBar">{NAV_BAR}</div> + <a href="{element.U_EDIT}"><img src="{element.TN_SRC}" alt="" class="miniature" title="{lang:Edit all picture informations}" /></a> - <table width="100%"> + <table> <tr> - <th class="row2" style="text-align:center;"> </td> - <th class="row2" style="text-align:center;">name</td> - <th class="row2" style="text-align:center;">author</td> - <th class="row2" style="text-align:center;">description</td> - <th class="row2" style="text-align:center;">creation date</td> - <th class="row2" style="text-align:center;">keywords</td> + <td><strong>{lang:Name}</strong></td> + <td><input type="text" name="name-{element.ID}" value="{element.NAME}" /></td> </tr> - <!-- BEGIN element --> <tr> + <td><strong>{lang:Author}</strong></td> + <td><input type="text" name="author-{element.ID}" value="{element.AUTHOR}" /></td> + </tr> - <td style="text-align:center;"><img src="{element.TN_SRC}" alt="" class="miniature" title="{element.FILENAME}" /></td> - - <td style="text-align:center;"><input type="text" name="name-{element.ID}" value="{element.NAME}" maxlength="255"/></td> - - <td style="text-align:center;"><input type="text" name="author-{element.ID}" value="{element.AUTHOR}" maxlength="255" size="12" /></td> - - <td style="text-align:center;"><textarea name="comment-{element.ID}" rows="5" cols="30" style="overflow:auto">{element.COMMENT}</textarea></td> - - <td style="text-align:left;"> - <input type="radio" name="date_creation_action-{element.ID}" value="leave" checked="checked" /> leave unchanged - <br /><input type="radio" name="date_creation_action-{element.ID}" value="unset" /> unset - <br /><input type="radio" name="date_creation_action-{element.ID}" value="set" id="date_creation_action_set-{element.ID}" /> - + <tr> + <td><strong>{lang:Creation date}</strong></td> + <td> + <label><input type="radio" name="date_creation_action-{element.ID}" value="unset" /> unset</label> + <input type="radio" name="date_creation_action-{element.ID}" value="set" id="date_creation_action_set-{element.ID}" /> set to <select onmousedown="document.getElementById('date_creation_action_set-{element.ID}').checked = true;" name="date_creation_day-{element.ID}"> <!-- BEGIN date_creation_day --> <option {element.date_creation_day.SELECTED} value="{element.date_creation_day.VALUE}">{element.date_creation_day.OPTION}</option> @@ -74,18 +66,27 @@ maxlength="4" value="{element.DATE_CREATION_YEAR}" /> </td> + </tr> - <td style="text-align:center;"><input type="text" name="keywords-{element.ID}" value="{element.KEYWORDS}" length="255" /></td> + <tr> + <td><strong>{lang:Keywords}</strong></td> + <td><input type="text" name="keywords-{element.ID}" value="{element.KEYWORDS}" size="50" /></td> + </tr> + <tr> + <td><strong>{lang:Description}</strong></td> + <td><textarea name="description-{element.ID}" class="description">{element.DESCRIPTION}</textarea></td> </tr> - <!-- END element --> </table> - <p style="text-align:center;"> - <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" /> - </p> - </fieldset> +<!-- END element --> + +<p style="text-align:center;"> + <input type="submit" value="{L_SUBMIT}" name="submit" /> + <input type="reset" value="{lang:Reset}" /> +</p> + </form> diff --git a/template/default/admin/picture_modify.tpl b/template/default/admin/picture_modify.tpl index d59c69f59..90a5b7751 100644 --- a/template/default/admin/picture_modify.tpl +++ b/template/default/admin/picture_modify.tpl @@ -104,7 +104,7 @@ <tr> <td><strong>{lang:Description}</strong></td> - <td><textarea name="description" rows="5" cols="50" style="overflow:auto">{DESCRIPTION}</textarea></td> + <td><textarea name="description" class="description">{DESCRIPTION}</textarea></td> </tr> </table> diff --git a/template/default/default.css b/template/default/default.css index 2b7ad8bbb..026ca626c 100644 --- a/template/default/default.css +++ b/template/default/default.css @@ -616,3 +616,14 @@ div#adminMain img.thumbnail { margin: 0 auto; display: block; } + +textarea.description { + height: 100px; + width: 500px; + overflow: auto; +} + +fieldset.elementEdit>a { + display: block; + float: right; +}
\ No newline at end of file |