diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-07-25 21:33:41 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-07-25 21:33:41 +0000 |
commit | 963e1ef71418bdad2e81e78b983f57633dbf3c18 (patch) | |
tree | 53a64ea75ff14228f3a16da3f07ca5b996f15d4c /template/default | |
parent | 1400807269662dfe7e4bc015c5d1385113c50418 (diff) |
Adding support of independant uploadable categories
git-svn-id: http://piwigo.org/svn/trunk@38 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/default/admin/cat_modify.vtp | 18 | ||||
-rw-r--r-- | template/default/category.vtp | 6 |
2 files changed, 17 insertions, 7 deletions
diff --git a/template/default/admin/cat_modify.vtp b/template/default/admin/cat_modify.vtp index 90dcc093f..392919bf6 100644 --- a/template/default/admin/cat_modify.vtp +++ b/template/default/admin/cat_modify.vtp @@ -20,13 +20,13 @@ </td> </tr> <tr> - <td style="width:20%;">{#editcat_comment}</td> + <td>{#editcat_comment}</td> <td class="row2"> <textarea name="comment" rows="5" cols="50" style="overflow:auto">{#comment}</textarea> </td> </tr> <tr> - <td style="width:20%;">{#editcat_status}</td> + <td>{#editcat_status}</td> <td class="row2"> <!--VTP_status_option--> <input type="radio" name="status" value="{#value}"{#checked} />{#option} @@ -34,14 +34,24 @@ </td> </tr> <tr> - <td style="width:20%;">{#editcat_visible}</td> + <td>{#editcat_visible}</td> <td class="row2"> <!--VTP_visible_option--> <input type="radio" name="visible" value="{#value}"{#checked} />{#option} <!--/VTP_visible_option--> - {#editcat_status_info} + {#editcat_visible_info} </td> </tr> + <!--VTP_uploadable--> + <tr> + <td>{#editcat_uploadable}</td> + <td class="row2"> + <!--VTP_uploadable_option--> + <input type="radio" name="uploadable" value="{#value}"{#checked} />{#option} + <!--/VTP_uploadable_option--> + </td> + </tr> + <!--/VTP_uploadable--> <tr> <td colspan="2"> </td> </tr> diff --git a/template/default/category.vtp b/template/default/category.vtp index f74847c60..b14b30f81 100644 --- a/template/default/category.vtp +++ b/template/default/category.vtp @@ -30,6 +30,9 @@ <!--VTP_summary--> <img src="{#lien_collapsed}" alt=">"/> <a href="{#url}" title="{#title}">{#name}</a><br /> <!--/VTP_summary--> + <!--VTP_upload--> + <br /> <img src="{#lien_collapsed}" alt=">"/> <a href="{#url}" class="back">{#upload_picture}</a> + <!--/VTP_upload--> </div> {#frame_end} </td> @@ -77,9 +80,6 @@ <!--/VTP_comment--> <div class="infoCat"> {#nb_image_category} "{#cat_name}" : {#cat_nb_images} - <!--VTP_upload--> - <br /><a href="{#url}" class="back">{#upload_picture}</a> - <!--/VTP_upload--> </div> <!--/VTP_cat_infos--> </td> |