summaryrefslogtreecommitdiff
path: root/templates/contact_action_bar.tpl
diff options
context:
space:
mode:
authorLester Caine <lsces@lsces.co.uk>2010-10-18 13:24:54 +0100
committerLester Caine <lsces@lsces.co.uk>2010-10-18 13:24:54 +0100
commit02ae040e029923d2283fcbb34c10ecc65e98bc4a (patch)
treeac7bf4df915edbd1d4594add40f337c971dc50ef /templates/contact_action_bar.tpl
parent4924349722bf63833f4898a9bc91ccb329f4a2e6 (diff)
downloadcontact-02ae040e029923d2283fcbb34c10ecc65e98bc4a.tar.gz
contact-02ae040e029923d2283fcbb34c10ecc65e98bc4a.tar.bz2
contact-02ae040e029923d2283fcbb34c10ecc65e98bc4a.zip
Major overhaul of contact. Main problem was moving from the older bw formats of working up to the latest standards. Using gContent and pageInfo hashes directly in templates. Other rebuilds have gone on.
This is still work in progress and a full user manual will be added.
Diffstat (limited to 'templates/contact_action_bar.tpl')
-rw-r--r--templates/contact_action_bar.tpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/contact_action_bar.tpl b/templates/contact_action_bar.tpl
index d5554a2..2e7a75d 100644
--- a/templates/contact_action_bar.tpl
+++ b/templates/contact_action_bar.tpl
@@ -1,7 +1,7 @@
<div class="navbar">
{if $show_page eq 'y'}
- {if $gBitSystem->isFeatureActive('feature_sample_attachments')}
- {if $gBitUser->hasPermission('bit_p_sample_view_attachments') or $gBitUser->hasPermission('bit_p_sample_admin_attachments') or $gBitUser->hasPermission('bit_p_sample_attach_files')}
+ {if $gBitSystem->isFeatureActive('contact_attachments')}
+ {if $gBitUser->hasPermission('p_contact_view_attachments') or $gBitUser->hasPermission('p_contact_admin_attachments') or $gBitUser->hasPermission('p_contact_attach_files')}
<a href="javascript:document.location='#attachments';flip('attzone{if $atts_show eq 'y'}open{/if}');">{if $atts_count eq 0}{tr}attach file{/tr}{elseif $atts_count eq 1}{tr}1 attachment{/tr}{else}{$atts_count} {tr}attachments{/tr}{/if}</a>
{else}
{if $atts_count eq 1}{tr}1&nbsp;attachment{/tr}{else}{$atts_count}&nbsp;{tr}attachments{/tr}{/if}
@@ -10,7 +10,7 @@
{/if}
</div>
-{if $gBitSystem->isFeatureActive('feature_sample_comments')}
+{if $gBitSystem->isFeatureActive('contact_comments')}
<div class="navbar comment">
{if $comments_cant > 0}
<a href="javascript:document.location='#comments';flip('comzone{if $comments_show eq 'y'}open{/if}');">{if $comments_cant eq 1}{tr}1 comment{/tr}{else}{$comments_cant} {tr}comments{/tr}{/if}</a>