summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/crosspost.tpl2
-rw-r--r--templates/edit_blog.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/crosspost.tpl b/templates/crosspost.tpl
index fde2d11..d8fdcfe 100644
--- a/templates/crosspost.tpl
+++ b/templates/crosspost.tpl
@@ -60,7 +60,7 @@
{/if}
{/foreach}
{/forminput}
- {textarea id="crosspost_note" label="Crosspost Note (Optional)" name="crosspost_note" noformat="y" rows=6 help="Add a note you would like to appear above the post when viewed on the crossposted blog. This does not appear on the post page."}{$crosspost.crosspost_note}{/textarea}
+ {textarea id="crosspost_note" label="Crosspost Note (Optional)" name="crosspost_note" noformat="y" rows=6 help="Add a note you would like to appear above the post when viewed on the crossposted blog. This does not appear on the post page." edit=$crosspost.crosspost_note}
<div class="control-group submit">
<input type="submit" class="btn" name="preview" value="{tr}Preview{/tr}" />&nbsp;
diff --git a/templates/edit_blog.tpl b/templates/edit_blog.tpl
index fc76acf..b334141 100644
--- a/templates/edit_blog.tpl
+++ b/templates/edit_blog.tpl
@@ -35,7 +35,7 @@
{/forminput}
</div>
- {textarea}{if $edit}{$edit}{else}{$gContent->getField('data')}{/if}{/textarea}
+ {textarea edit=$edit|default:$gContent->getField('data')}
<div class="control-group">
{formlabel label="Number of posts to show" for="max_posts"}