diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2007-12-30 14:59:41 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2007-12-30 14:59:41 +0000 |
| commit | 5ecc240606266c277051c1cfcd3ddaf85e32bfcd (patch) | |
| tree | edee92526162dae2af27495577bbc7bc16d149bd /templates | |
| parent | f3face934b215e093c172b328cee9eaab7a7bd7d (diff) | |
| download | liberty-5ecc240606266c277051c1cfcd3ddaf85e32bfcd.tar.gz liberty-5ecc240606266c277051c1cfcd3ddaf85e32bfcd.tar.bz2 liberty-5ecc240606266c277051c1cfcd3ddaf85e32bfcd.zip | |
display content status when appropriate and gave 'getContentStatus' a better name - please update as needed.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/edit_content_status_inc.tpl | 2 | ||||
| -rw-r--r-- | templates/service_content_body_inc.tpl | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/edit_content_status_inc.tpl b/templates/edit_content_status_inc.tpl index fdb2dc5..95bdfc8 100644 --- a/templates/edit_content_status_inc.tpl +++ b/templates/edit_content_status_inc.tpl @@ -2,7 +2,7 @@ <div class="row"> {formlabel label="Status" for="content_status_id"} {forminput} - {html_options name="content_status_id" options=$gContent->getContentStatus() selected=$gContent->getField('content_status_id',$smarty.const.BIT_CONTENT_DEFAULT_STATUS)} + {html_options name="content_status_id" options=$gContent->getAvailableContentStatuses() selected=$gContent->getField('content_status_id',$smarty.const.BIT_CONTENT_DEFAULT_STATUS)} {/forminput} </div> {/if} diff --git a/templates/service_content_body_inc.tpl b/templates/service_content_body_inc.tpl new file mode 100644 index 0000000..d610e21 --- /dev/null +++ b/templates/service_content_body_inc.tpl @@ -0,0 +1,3 @@ +{if $gBitSystem->isFeatureActive( 'liberty_display_status' ) && ($gBitUser->hasPermission('p_liberty_edit_content_status') || $gBitUser->hasPermission('p_liberty_edit_all_status')) && $gContent->mInfo.content_status_id != 50} + <p class="liberty_status">{biticon iname=dialog-warning iexplain="Warning"} {tr}The status of this content is <strong>{$gContent->getContentStatusName()}</strong>{/tr}.</p> +{/if}{$gContent->mInfo.content_status_name} |
