Commit efb3a7ba authored by Richard Mansfield's avatar Richard Mansfield

Remove layout link from edit view page & move display link above the edit menu

Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 7cf053f5
......@@ -28,27 +28,18 @@
<div class="cb"></div>
</div>
<div id="middle-pane">
<table class="fullwidth"><tr>
<td>
<a id="layout-link" href="columns.php?id={$view}&amp;c={$category}&amp;new={$new}"{if !$can_change_layout} class="disabled"{/if}>{str tag='changeviewlayout' section='view'}</a> {contextualhelp plugintype="core" pluginname="view" section="changeviewlayout"}
</td>
{if $viewthemes}
<td class="center">
<label for="viewtheme-select">{str tag=theme}: </label>
<select id="viewtheme-select" name="viewtheme">
<option value="">{str tag=choosetheme}</option>
<div id="middle-pane">
<div class="center">
<label for="viewtheme-select">{str tag=theme}: </label>
<select id="viewtheme-select" name="viewtheme">
<option value="">{str tag=choosetheme}</option>
{foreach from=$viewthemes key=themeid item=themename}
<option value="{$themeid}"{if $themeid == $viewtheme} selected="selected" style="font-weight: bold;"{/if}>{$themename}</option>
<option value="{$themeid}"{if $themeid == $viewtheme} selected="selected" style="font-weight: bold;"{/if}>{$themename}</option>
{/foreach}
</select>
</td>
{/if}
<td class="right">
<a id="btn-displaymyview" href="{$displaylink}">{str tag=displaymyview section=view} &raquo;</a></td>
</td>
</tr></table>
</select>
</div>
{/if}
<div id="bottom-pane">
<div id="column-container">
......
<a class="fr" id="btn-displaymyview" href="{$displaylink}">{str tag=displaymyview section=view} &raquo;</a>
<ul class="in-page-tabs edit-view-tabs">
{if $edittitle}<li><a{if $selected == 'title'} class="current-tab"{/if} href="{$WWWROOT}view/edit.php?id={$viewid}">{str tag=edittitleanddescription section=view}</a></li>{/if}
<li><a{if $selected == 'content'} class="current-tab"{/if} href="{$WWWROOT}view/blocks.php?id={$viewid}">{str tag=editcontent section=view}</a></li>
......
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