Error in Smarty if

This commit is contained in:
Pierre Rudloff 2015-04-12 16:29:05 +02:00
parent f672b996eb
commit e83d4e8469

View file

@ -22,7 +22,7 @@
<br/> <br/>
<input type="hidden" name="url" <input type="hidden" name="url"
value="{$video->webpage_url}" /> value="{$video->webpage_url}" />
{if $video->formats} {if isset($video->formats)}
<h3>Available formats:</h3> <h3>Available formats:</h3>
<p>(You might have to do a <i>Right click > Save as</i>)</p> <p>(You might have to do a <i>Right click > Save as</i>)</p>
<ul id="format" class="format"> <ul id="format" class="format">
@ -43,8 +43,6 @@ value="{$video->webpage_url}" />
</ul><br/><br/> </ul><br/><br/>
{else} {else}
<input type="hidden" name="format" value="best" /> <input type="hidden" name="format" value="best" />
{/if}
{if $video->formats}
<a class="downloadBtn" <a class="downloadBtn"
href="{$video->url|escape}">Download</a><br/> href="{$video->url|escape}">Download</a><br/>
{/if} {/if}