re-introducing (optional) URL shortener support, resolves #58
This commit is contained in:
@@ -169,7 +169,11 @@
|
||||
<div id="pasteresult" role="alert" class="hidden alert alert-success">
|
||||
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
|
||||
<div id="deletelink"></div>
|
||||
<div id="pastelink"></div>
|
||||
<div id="pastelink">{if="strlen($URLSHORTENER)"}
|
||||
<button id="shortenbutton" data-shortener="{$URLSHORTENER|htmlspecialchars}" type="button" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-send" aria-hidden="true"></span> {function="t('Shorten URL')"}
|
||||
</button>
|
||||
{/if}</div>
|
||||
</div>
|
||||
</header>
|
||||
<section class="container">
|
||||
|
||||
@@ -165,7 +165,11 @@
|
||||
<div id="pasteresult" role="alert" class="hidden alert alert-success">
|
||||
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
|
||||
<div id="deletelink"></div>
|
||||
<div id="pastelink"></div>
|
||||
<div id="pastelink">{if="strlen($URLSHORTENER)"}
|
||||
<button id="shortenbutton" data-shortener="{$URLSHORTENER|htmlspecialchars}" type="button" class="btn btn-warning">
|
||||
<span class="glyphicon glyphicon-send" aria-hidden="true"></span> {function="t('Shorten URL')"}
|
||||
</button>
|
||||
{/if}</div>
|
||||
</div>
|
||||
</header>
|
||||
<section class="container">
|
||||
|
||||
@@ -165,7 +165,11 @@
|
||||
<div id="pasteresult" role="alert" class="hidden alert alert-success">
|
||||
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
|
||||
<div id="deletelink"></div>
|
||||
<div id="pastelink"></div>
|
||||
<div id="pastelink">{if="strlen($URLSHORTENER)"}
|
||||
<button id="shortenbutton" data-shortener="{$URLSHORTENER|htmlspecialchars}" type="button" class="btn btn-warning">
|
||||
<span class="glyphicon glyphicon-send" aria-hidden="true"></span> {function="t('Shorten URL')"}
|
||||
</button>
|
||||
{/if}</div>
|
||||
</div>
|
||||
</header>
|
||||
<section class="container">
|
||||
|
||||
@@ -165,7 +165,11 @@
|
||||
<div id="pasteresult" role="alert" class="hidden alert alert-success">
|
||||
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
|
||||
<div id="deletelink"></div>
|
||||
<div id="pastelink"></div>
|
||||
<div id="pastelink">{if="strlen($URLSHORTENER)"}
|
||||
<button id="shortenbutton" data-shortener="{$URLSHORTENER|htmlspecialchars}" type="button" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-send" aria-hidden="true"></span> {function="t('Shorten URL')"}
|
||||
</button>
|
||||
{/if}</div>
|
||||
</div>
|
||||
</header>
|
||||
<section class="container">
|
||||
|
||||
@@ -165,7 +165,11 @@
|
||||
<div id="pasteresult" role="alert" class="hidden alert alert-success">
|
||||
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
|
||||
<div id="deletelink"></div>
|
||||
<div id="pastelink"></div>
|
||||
<div id="pastelink">{if="strlen($URLSHORTENER)"}
|
||||
<button id="shortenbutton" data-shortener="{$URLSHORTENER|htmlspecialchars}" type="button" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-send" aria-hidden="true"></span> {function="t('Shorten URL')"}
|
||||
</button>
|
||||
{/if}</div>
|
||||
</div>
|
||||
</header>
|
||||
<section class="container">
|
||||
|
||||
@@ -84,7 +84,9 @@
|
||||
</div>
|
||||
<div id="pasteresult" class="hidden">
|
||||
<div id="deletelink"></div>
|
||||
<div id="pastelink"></div>
|
||||
<div id="pastelink">{if="strlen($URLSHORTENER)"}
|
||||
<button id="shortenbutton" data-shortener="{$URLSHORTENER|htmlspecialchars}"><img src="img/icon_shorten.png" width="13" height="15" />{function="t('Shorten URL')"}</button>
|
||||
{/if}</div>
|
||||
</div>{if="$FILEUPLOAD"}
|
||||
<div id="attachment" class="hidden"><a>{function="t('Download attachment')"}</a></div>
|
||||
<div id="attach" class="hidden">
|
||||
|
||||
Reference in New Issue
Block a user