Add an uglyUrls option that disables URL rewriting (fixes #88)

This commit is contained in:
Pierre Rudloff 2017-01-10 23:37:29 +01:00
parent 4562c88859
commit 9f112c15b9
8 changed files with 162 additions and 0 deletions

View file

@ -24,6 +24,9 @@
<h3><label for="format">Available formats:</label></h3>
<form action="{path_for name="redirect"}">
<input type="hidden" name="url" value="{$video->webpage_url}" />
{if uglyUrls}
<input type="hidden" name="page" value="redirect" />
{/if}
<select name="format" id="format" class="formats monospace">
<optgroup label="Generic formats">
<option value="best[protocol^=http]">