aboutsummaryrefslogtreecommitdiffstats
path: root/template/default
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/default/admin/cat_modify.vtp18
-rw-r--r--template/default/category.vtp6
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">&nbsp;</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-->
&nbsp;<img src="{#lien_collapsed}" alt="&gt;"/>&nbsp;<a href="{#url}" title="{#title}">{#name}</a><br />
<!--/VTP_summary-->
+ <!--VTP_upload-->
+ <br />&nbsp;<img src="{#lien_collapsed}" alt="&gt;"/>&nbsp;<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>