Commit 59e554ae authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Add some more links to microheader when editing


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent ba83322a
......@@ -32,8 +32,10 @@ $string['createviewstepone'] = 'Create View Step One: Layout';
$string['createviewsteptwo'] = 'Create View Step Two: Details';
$string['createviewstepthree'] = 'Create View Step Three: Access';
$string['createtemplate'] = 'Create Template';
$string['editdetails'] = 'Edit Details';
$string['editviewdetails'] = 'Edit Details for View "%s"';
$string['editblocksforview'] = 'Edit View "%s"';
$string['editaccess'] = 'Edit Access';
$string['editaccessforview'] = 'Edit Access for View "%s"';
$string['next'] = 'Next';
$string['back'] = 'Back';
......
......@@ -14,11 +14,16 @@
</div>
<div class="lbuttons">
{if $backurl}<a class="btn-reply" href="{$backurl}">{str tag=back}</a>&nbsp;{/if}
{if $can_edit}<a class="btn-edit" href="{$WWWROOT}view/blocks.php?id={$viewid}&amp;new={$new}">{str tag=edit}</a>&nbsp;{/if}
{if $edit_profile || $viewtype == 'profile'}
<a href="{$WWWROOT}user/view.php">{str tag=viewmyprofilepage}</a>&nbsp;
<a class="btn-edit" href="{$WWWROOT}view/blocks.php?profile=1">{str tag=editmyprofilepage}</a>&nbsp;
<a class="btn-edit" href="{$WWWROOT}artefact/internal/index.php">{str tag=editprofile section=artefact.internal}</a>
{elseif isset($viewtype)}
<a class="btn-reply" href="{$WWWROOT}view/index.php">{str tag=myviews}</a>&nbsp;
{elseif !empty($viewtype)}
<a href="{$WWWROOT}view/index.php">{str tag=myviews}</a>&nbsp;
<a class="btn-edit" href="{$WWWROOT}view/edit.php?id={$viewid}&amp;new={$new}">{str tag=editdetails section=view}</a>
<a class="btn-edit" href="{$WWWROOT}view/access.php?id={$viewid}&amp;new={$new}">{str tag=editaccess section=view}</a>
{elseif $can_edit}
<a class="btn-edit" href="{$WWWROOT}view/blocks.php?id={$viewid}&amp;new={$new}">{str tag=edit}</a>
{/if}
</div>
<div class="center">
......
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