Commit 6fbf7077 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix smarty syntax

parent 5fca2553
......@@ -63,10 +63,10 @@
<input class="submit" type="submit" value="{str tag='next'}">
</form>
{else}
<form action="{$WWWROOT}view/{if $groupid}groupviews.php{else if $institution}institutionviews.php{/if}" method="GET">
<form action="{$WWWROOT}view/{if $groupid}groupviews.php{elseif $institution}institutionviews.php{/if}" method="GET">
{if $groupid}
<input type="hidden" name="group" value="{$groupid}">
{else if $institution}
{elseif $institution}
<input type="hidden" name="institution" value="{$institution}">
{/if}
<input class="submit" type="submit" value="{str tag='done'}">
......
......@@ -3,13 +3,13 @@
{include file="columnleftstart.tpl"}
<span class="addicon fr">
<a href="{$WWWROOT}view/edit.php{if $groupid}?group={$groupid}{else if $institution}?institution={$institution}{/if}">{str tag="createview" section="view"}</a>
<a href="{$WWWROOT}view/edit.php{if $groupid}?group={$groupid}{elseif $institution}?institution={$institution}{/if}">{str tag="createview" section="view"}</a>
</span>
<h2>{$heading}</h2>
{if $groupid}
{include file="group/tabstart.tpl" current="views"}
{else if $institution}
{elseif $institution}
{$institutionselector}
{/if}
{if $views}
......
Supports Markdown
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