summaryrefslogtreecommitdiff
path: root/templates/edit_content_status_inc.tpl
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-03-10 16:07:02 +0000
committerNick Palmer <nick@sluggardy.net>2007-03-10 16:07:02 +0000
commit5397fd058d3aa687f9ef680bf2bd75c6115d73af (patch)
treefbb2bdec3b06c4bb029ac3f555a8cfc0d8581e86 /templates/edit_content_status_inc.tpl
parent28c3434ee667c2d0bb5ecce88f0f4e3902c6010d (diff)
downloadliberty-5397fd058d3aa687f9ef680bf2bd75c6115d73af.tar.gz
liberty-5397fd058d3aa687f9ef680bf2bd75c6115d73af.tar.bz2
liberty-5397fd058d3aa687f9ef680bf2bd75c6115d73af.zip
Added support for changing status and owners of content. Reordered some status ids. Check the schema changlog. You also should run step 4 of the installer to update permisions as there are some new permisions for these features.
Diffstat (limited to 'templates/edit_content_status_inc.tpl')
-rw-r--r--templates/edit_content_status_inc.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/edit_content_status_inc.tpl b/templates/edit_content_status_inc.tpl
index a747f4e..fdb2dc5 100644
--- a/templates/edit_content_status_inc.tpl
+++ b/templates/edit_content_status_inc.tpl
@@ -1,8 +1,8 @@
-{if $gBitSystem->isFeatureActive( 'liberty_display_status' )}
+{if $gBitSystem->isFeatureActive( 'liberty_display_status' ) && ($gBitUser->hasPermission('p_liberty_edit_content_status') || $gBitUser->hasPermission('p_liberty_edit_all_status'))}
<div class="row">
- {formlabel label="Status"}
+ {formlabel label="Status" for="content_status_id"}
{forminput}
- {html_options name="content_status_id" options=$gLibertySystem->getContentStatus() selected=$gContent->getField('content_status_id',$smarty.const.BIT_CONTENT_DEFAULT_STATUS)}
+ {html_options name="content_status_id" options=$gContent->getContentStatus() selected=$gContent->getField('content_status_id',$smarty.const.BIT_CONTENT_DEFAULT_STATUS)}
{/forminput}
</div>
{/if}