diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/comments.tpl | 4 | ||||
| -rw-r--r-- | templates/menu_liberty_admin.tpl | 4 | ||||
| -rw-r--r-- | templates/service_content_icon_inc.tpl | 8 |
3 files changed, 7 insertions, 9 deletions
diff --git a/templates/comments.tpl b/templates/comments.tpl index 707889a..1df97a6 100644 --- a/templates/comments.tpl +++ b/templates/comments.tpl @@ -1,4 +1,4 @@ -{if $gBitUser->hasPermission( 'p_liberty_post_comments' ) || $gBitUser->hasPermission( 'p_liberty_read_comments' ) } +{if $comments && ($gBitUser->hasPermission( 'p_liberty_post_comments' ) || $gBitUser->hasPermission( 'p_liberty_read_comments' ))} {strip} <div class="display comment"> <div class="header"> @@ -14,7 +14,7 @@ {if $comments_ajax && $gBitUser->hasPermission( 'p_liberty_post_comments' )} <div class="control-group"> - <input type="submit" name="post_comment_request" value="{tr}Add Comment{/tr}" onclick="LibertyComment.attachForm('comment_{$gContent->mContentId}', '{$gContent->mContentId}', {if $gContent->mContentId}{$gContent->mContentId}{elseif $commentsParentId}{$commentsParentId}{else}null{/if})"/> + <input type="submit" class="btn" name="post_comment_request" value="{tr}Add Comment{/tr}" onclick="LibertyComment.attachForm('comment_{$gContent->mContentId}', '{$gContent->mContentId}', {if $gContent->mContentId}{$gContent->mContentId}{elseif $commentsParentId}{$commentsParentId}{else}null{/if})"/> </div> {/if} diff --git a/templates/menu_liberty_admin.tpl b/templates/menu_liberty_admin.tpl index 3963b36..b9b3831 100644 --- a/templates/menu_liberty_admin.tpl +++ b/templates/menu_liberty_admin.tpl @@ -1,6 +1,6 @@ {strip} -<li class="dropdown-submenu"> - <a href="#" onclick="return(false);" tabindex="-1" class="sub-menu-root">{tr}{$smarty.const.LIBERTY_PKG_NAME|capitalize}{/tr}</a> +<li class="dropdown-submenu favorite"> + <a href="#" onclick="return(false);" tabindex="-1" class="sub-menu-root">{tr}{$smarty.const.LIBERTY_PKG_DIR|capitalize}{/tr}</a> <ul class="dropdown-menu sub-menu"> <li><a class="item" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=liberty">{tr}Liberty Settings{/tr}</a></li> <li><a class="item" href="{$smarty.const.LIBERTY_PKG_URL}admin/plugins.php">{tr}Plugins{/tr}</a></li> diff --git a/templates/service_content_icon_inc.tpl b/templates/service_content_icon_inc.tpl index 5796d75..64ef5e4 100644 --- a/templates/service_content_icon_inc.tpl +++ b/templates/service_content_icon_inc.tpl @@ -12,14 +12,12 @@ {/if} {if $gBitUser->hasPermission( 'p_liberty_assign_content_perms' ) and $serviceHash.content_id} {if $gContent->hasUserPermissions()} - {assign var=perm_icon value="icons/emblem-readonly"} - {else} - {assign var=perm_icon value="icons/emblem-shared"} + {assign var=iconClass value="highlight"} {/if} {if $role_model } - {smartlink ipackage=liberty ifile=content_role_permissions.php ititle="Assign Permissions" ibiticon=$perm_icon ipackage=liberty ifile="content_permissions.php" content_id=$serviceHash.content_id} + {smartlink ipackage=liberty ifile=content_role_permissions.php ititle="Assign Permissions" booticon="icon-key" class=$iconClass ipackage=liberty ifile="content_permissions.php" content_id=$serviceHash.content_id} {else} - {smartlink ipackage=liberty ifile=content_permissions.php ititle="Assign Permissions" ibiticon=$perm_icon ipackage=liberty ifile="content_permissions.php" content_id=$serviceHash.content_id} + {smartlink ipackage=liberty ifile=content_permissions.php ititle="Assign Permissions" booticon="icon-key" class=$iconClass ipackage=liberty ifile="content_permissions.php" content_id=$serviceHash.content_id} {/if} {/if} {* This should always be last so it is right most in the icons! *} |
