diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-11-25 16:26:29 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-11-25 16:26:29 +0000 |
| commit | e60710ab7165adb3402a1cc39f8f4efe0b6eb2a5 (patch) | |
| tree | 86a9ce17f204fc565df46d814798d9ba9d103ecf /templates/edit_content_status_inc.tpl | |
| parent | c1f5e0e98efbab8a50f445fd44ccc2cac631433e (diff) | |
| download | liberty-e60710ab7165adb3402a1cc39f8f4efe0b6eb2a5.tar.gz liberty-e60710ab7165adb3402a1cc39f8f4efe0b6eb2a5.tar.bz2 liberty-e60710ab7165adb3402a1cc39f8f4efe0b6eb2a5.zip | |
make liberty status stuff optional and hide for now since it's not being used at all just yet.
Diffstat (limited to 'templates/edit_content_status_inc.tpl')
| -rw-r--r-- | templates/edit_content_status_inc.tpl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/edit_content_status_inc.tpl b/templates/edit_content_status_inc.tpl index 3d5b9de..a747f4e 100644 --- a/templates/edit_content_status_inc.tpl +++ b/templates/edit_content_status_inc.tpl @@ -1,6 +1,8 @@ -<div class="row"> - {formlabel label="Status"} - {forminput} - {html_options name="content_status_id" options=$gLibertySystem->getContentStatus() selected=$gContent->getField('content_status_id',$smarty.const.BIT_CONTENT_DEFAULT_STATUS)} - {/forminput} -</div> +{if $gBitSystem->isFeatureActive( 'liberty_display_status' )} + <div class="row"> + {formlabel label="Status"} + {forminput} + {html_options name="content_status_id" options=$gLibertySystem->getContentStatus() selected=$gContent->getField('content_status_id',$smarty.const.BIT_CONTENT_DEFAULT_STATUS)} + {/forminput} + </div> +{/if} |
