Commit 71bd99e7 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Links to users,groups,views on copy view page open in new window

parent 9e5a3de4
......@@ -12,7 +12,7 @@
{foreach from=$results item=row}
<tr class="r{cycle values=0,1}">
<td>
<a href="{$WWWROOT}view/view.php?id={$row.id|escape}">{$row.title|escape}</a>
<a href="{$WWWROOT}view/view.php?id={$row.id|escape}" target="_blank">{$row.title|escape}</a>
</td>
<td>
{$row.sharedby|escape}
......
......@@ -14,9 +14,9 @@
{if $row->type == 'institution'}
{$row->display|escape}
{elseif $row->type == 'group'}
<a href="{$WWWROOT}group/view.php?id={$row->id|escape}">{$row->display|escape}</a>
<a href="{$WWWROOT}group/view.php?id={$row->id|escape}" target="_blank">{$row->display|escape}</a>
{else}
<a href="{$WWWROOT}user/view.php?id={$row->id|escape}">{$row->display|escape}</a>
<a href="{$WWWROOT}user/view.php?id={$row->id|escape}" target="_blank">{$row->display|escape}</a>
{/if}
</td>
<td style="text-align: center;">{$row->count|escape}</td>
......
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