diff options
| author | spiderr <spider@viovio.com> | 2013-04-19 15:52:02 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-19 15:52:02 -0400 |
| commit | 6bcff78208357bab1f8c33af8b4ec02191701046 (patch) | |
| tree | f43d742dc65f7b33892fa86a24516fe9d65f351d | |
| parent | aeda714d208a2445bdb4ddf1965bffda20dcd28c (diff) | |
| download | blogs-6bcff78208357bab1f8c33af8b4ec02191701046.tar.gz blogs-6bcff78208357bab1f8c33af8b4ec02191701046.tar.bz2 blogs-6bcff78208357bab1f8c33af8b4ec02191701046.zip | |
convert {textarea} from block into function
| -rw-r--r-- | templates/crosspost.tpl | 2 | ||||
| -rw-r--r-- | templates/edit_blog.tpl | 2 |
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}" /> 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"} |
