summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-06-24 05:22:12 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-06-24 05:22:12 +0000
commit96dee48ba1f6dd6836db48b51647b0a26b00f821 (patch)
treeeb60c8b59d5de2f246654e21f7b59e721835db96 /templates
parent3e80bd42db7713eb5402f9a591a76ed95e605409 (diff)
downloadarticles-96dee48ba1f6dd6836db48b51647b0a26b00f821.tar.gz
articles-96dee48ba1f6dd6836db48b51647b0a26b00f821.tar.bz2
articles-96dee48ba1f6dd6836db48b51647b0a26b00f821.zip
correctly use new primarty attachment plugin tpl
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_article.tpl11
1 files changed, 3 insertions, 8 deletions
diff --git a/templates/edit_article.tpl b/templates/edit_article.tpl
index 7b15f11..8a8d449 100644
--- a/templates/edit_article.tpl
+++ b/templates/edit_article.tpl
@@ -161,10 +161,10 @@
</div>
{/legend}
- {legend legend="Custom Topic image"}
+ {legend legend="Custom Article image"}
{if $article.image_url && !$article.image_url_is_topic}
<div class="row">
- {formlabel label="Old Custom Image"}
+ {formlabel label="Old Article Image"}
{forminput}
<img alt="{tr}Article image{/tr}" title="{$article.title|escape}" src="{$article.image_url}"/>
<br />
@@ -174,12 +174,7 @@
{/if}
{if $gBitSystem->isFeatureActive( 'articles_attachments' ) }
- <div class="row">
- {formlabel label="Custom Topic Image" for="upload"}
- {forminput}
- {include file="bitpackage:liberty/edit_primary_attachment.tpl"}
- {/forminput}
- </div>
+ {include file="bitpackage:liberty/edit_primary_attachment.tpl" label="Custom Article Image"}
{/if}
{/legend}
{/jstab}