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/service_content_body_inc.tpl | |
| 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/service_content_body_inc.tpl')
| -rw-r--r-- | templates/service_content_body_inc.tpl | 3 |
1 files changed, 3 insertions, 0 deletions
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} |
