Commit ea78ba0e authored by pkdille's avatar pkdille

[MOD] button smarty plugin: deploy to some templates

parent 51c4e574
......@@ -3,9 +3,10 @@
{title url="tiki-admin_newsletter_subscriptions.php?nlId=$nlId_urlencoded"}{tr}Admin newsletter subscriptions{/tr}{/title}
<div class="navbar">
<a href="tiki-newsletters.php">{tr}List Newsletters{/tr}</a>
<a href="tiki-admin_newsletters.php?nlId={$nlId|urlencode}">{tr}Admin Newsletters{/tr}</a>
<a href="tiki-send_newsletters.php?nlId={$nlId|urlencode}">{tr}Send Newsletters{/tr}</a>
{button href="tiki-newsletters.php" _text="{tr}List Newsletters{/tr}"}
{assign var="nlid_encod" value=$nlId|urlencode}
{button href="tiki-admin_newsletters.php?nlId=$nlid_encod" _text="{tr}Admin Newsletters{/tr}"}
{button href="tiki-send_newsletters.php?nlId=$nlid_encod" _text="{tr}Send Newsletters{/tr}"}
</div>
<table class="normal">
......
......@@ -2,8 +2,8 @@
{title help="Newsletters"}{tr}Admin newsletters{/tr}{/title}
<div class="navbar">
<span class="button2"><a href="tiki-newsletters.php">{tr}List Newsletters{/tr}</a></span>
<span class="button2"><a href="tiki-send_newsletters.php">{tr}Send Newsletters{/tr}</a></span>
{button href="tiki-newsletters.php" _text="{tr}List Newsletters{/tr}"}
{button href="tiki-send_newsletters.php" _text="{tr}Send Newsletters{/tr}"}
</div>
<h2>{tr}Create/Edit Newsletters{/tr}</h2>
......
......@@ -3,12 +3,13 @@
{title help="Adding+fields+to+a+tracker" url="tiki-admin_tracker_fields.php?trackerId=$trackerId"}{tr}Admin Tracker:{/tr} {$tracker_info.name}{/title}
<div class="navbar">
<span class="button2"><a href="tiki-list_trackers.php">{tr}List Trackers{/tr}</a></span>
{if $tiki_p_admin_trackers eq 'y'}
<span class="button2"><a href="tiki-admin_trackers.php">{tr}Admin Trackers{/tr}</a></span>
<span class="button2"><a href="tiki-admin_trackers.php?trackerId={$trackerId}">{tr}Edit This Tracker{/tr}</a></span>
{/if}
<span class="button2"><a href="tiki-view_tracker.php?trackerId={$trackerId}">{tr}View This Tracker's Items{/tr}</a></span>
{button href="tiki-list_trackers.php" _text="{tr}List Trackers{/tr}"}
{if $tiki_p_admin_trackers eq 'y'}
{button href="tiki-admin_trackers.php" _text="{tr}Admin Trackers{/tr}"}
{button href="tiki-admin_trackers.php?trackerId=$trackerId" _text="{tr}Edit This Tracker{/tr}"}
{/if}
{button href="tiki-view_tracker.php?trackerId=$trackerId" _text="{tr}View This Tracker's Items{/tr}"}
</div>
{if $fieldId eq "0"}
......
......@@ -3,11 +3,11 @@
{title help="Trackers" admpage="trackers"}{tr}Admin Trackers{/tr}{/title}
<div class="navbar">
<span class="button2"><a href="tiki-list_trackers.php">{tr}List Trackers{/tr}</a></span>
{if $trackerId}
<span class="button2"><a href="tiki-admin_tracker_fields.php?trackerId={$trackerId}">{tr}Edit This Tracker's Fields{/tr}</a></span>
<span class="button2"><a href="tiki-view_tracker.php?trackerId={$trackerId}">{tr}View This Tracker's Items{/tr}</a></span>
{/if}
{button href="tiki-list_trackers.php" _text="{tr}List Trackers{/tr}"}
{if $trackerId}
{button href="tiki-admin_tracker_fields.php?trackerId=$trackerId" _text="{tr}Edit This Tracker's Fields{/tr}"}
{button href="tiki-view_tracker.php?trackerId=$trackerId" _text="{tr}View This Tracker's Items{/tr}"}
{/if}
</div>
{if $prefs.feature_tabs eq 'y'}
......
......@@ -4,13 +4,13 @@
{title help="Users+Management" admpage="login" url="tiki-adminusers.php"}{tr}Admin Users{/tr}{/title}
<div class="navbar">
{if $tiki_p_admin eq 'y'} {* only full admins can manage groups, not tiki_p_admin_users *}
<span class="button2"><a href="tiki-admingroups.php">{tr}Admin Groups{/tr}</a></span>
{/if}
<span class="button2"><a href="tiki-adminusers.php">{tr}Admin Users{/tr}</a></span>
{if $userinfo.userId}
<span class="button2"><a href="tiki-adminusers.php?add=1">{tr}Add a New User{/tr}</a></span>
{/if}
{if $tiki_p_admin eq 'y'} {* only full admins can manage groups, not tiki_p_admin_users *}
{button href="tiki-admingroups.php" _text="{tr}Admin Groups{/tr}"}
{/if}
{button _text="{tr}Admin Users{/tr}"}
{if $userinfo.userId}
{button href="?add=1" _text="{tr}Add a New User{/tr}"}
{/if}
</div>
{if $prefs.feature_intertiki eq 'y' and !empty($prefs.feature_intertiki_mymaster)}
......
......@@ -4,12 +4,12 @@
{title}{tr}Assign User {$assign_user} to Groups{/tr}{/title}
<div class="navbar">
{if $tiki_p_admin eq 'y'} {* only full admins can manage groups, not tiki_p_admin_users *}
<span class="button2"><a href="tiki-admingroups.php">{tr}Admin groups{/tr}</a></span>
{/if}
{if $tiki_p_admin eq 'y' or $tiki_p_admin_users eq 'y'}
<span class="button2"><a href="tiki-adminusers.php">{tr}Admin users{/tr}</a></span>
{/if}
{if $tiki_p_admin eq 'y'} {* only full admins can manage groups, not tiki_p_admin_users *}
{button href="tiki-admingroups.php" _text="{tr}Admin groups{/tr}"}
{/if}
{if $tiki_p_admin eq 'y' or $tiki_p_admin_users eq 'y'}
{button href="tiki-adminusers.php" _text="{tr}Admin users{/tr}"}
{/if}
</div>
{if $tiki_p_admin eq 'y' or $tiki_p_admin_users eq 'y'}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment