[add] option for post original article to wallabag (nodiscc plugin)
This commit is contained in:
parent
3737a64ff3
commit
8a93529664
3 changed files with 24 additions and 3 deletions
17
inc/user.css
17
inc/user.css
|
@ -478,6 +478,23 @@ em {
|
||||||
/*display: none;*/
|
/*display: none;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.linkWallabag {
|
||||||
|
font-size:8pt;
|
||||||
|
color:#888;
|
||||||
|
}
|
||||||
|
.linkWallabag a {
|
||||||
|
color:#E28E3F;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.linkWallabag a {
|
||||||
|
background-image:url('../images/logo_wallabag.png');
|
||||||
|
padding:2px 0 3px 20px;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
.linkWallabag a:hover {
|
||||||
|
color: #F57900
|
||||||
|
}
|
||||||
|
|
||||||
@media handheld, only screen and (max-width: 480px) , only screen and (max-device-width: 854px) {
|
@media handheld, only screen and (max-width: 480px) , only screen and (max-device-width: 854px) {
|
||||||
/* A few fixes for mobile devices (far from perfect). */
|
/* A few fixes for mobile devices (far from perfect). */
|
||||||
.nomobile {
|
.nomobile {
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
// exemple : http://images.thumbshots.com/image.aspx?cid=dgdfgdfg&v=1&w=120&url=
|
// exemple : http://images.thumbshots.com/image.aspx?cid=dgdfgdfg&v=1&w=120&url=
|
||||||
// the last param must be a url
|
// the last param must be a url
|
||||||
$GLOBALS['config']['ENABLE_MARKDOWN'] = TRUE;
|
$GLOBALS['config']['ENABLE_MARKDOWN'] = TRUE;
|
||||||
|
$GLOBALS['config']['WALLABAG_URL'] = '';
|
||||||
// -----------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------
|
||||||
// You should not touch below (or at your own risks !)
|
// You should not touch below (or at your own risks !)
|
||||||
// Optionnal config file.
|
// Optionnal config file.
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
{include="linklist.paging"}
|
{include="linklist.paging"}
|
||||||
|
|
||||||
{if="count($links)==0"}
|
{if="count($links)==0"}
|
||||||
<div id="searchcriteria">Nothing found.</i></div>
|
<div id="searchcriteria">Nothing found.</div>
|
||||||
{else}
|
{else}
|
||||||
{if="$search_type=='fulltext'"}
|
{if="$search_type=='fulltext'"}
|
||||||
<div id="searchcriteria">{$result_count} results for <i>{$search_crits}</i></div>
|
<div id="searchcriteria">{$result_count} results for <i>{$search_crits}</i></div>
|
||||||
|
@ -55,8 +55,11 @@
|
||||||
<span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span>
|
<span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span>
|
||||||
{/if}
|
{/if}
|
||||||
<span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">Archive.org</a> - </span>
|
<span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">Archive.org</a> - </span>
|
||||||
<div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}"
|
{if="$GLOBALS['config']['WALLABAG_URL'] && isLoggedIn()"}
|
||||||
onclick="showQrCode(this); return false;" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"><img src="images/qrcode.png#" width="13" height="13" title="QR-Code"></a></div> -
|
<span class="linkWallabag"><a href="{$GLOBALS['config']['WALLABAG_URL']}/?plainurl={$value.url|htmlspecialchars}">Save to Wallabag</a> - </span>
|
||||||
|
{/if}
|
||||||
|
<div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}"
|
||||||
|
onclick="showQrCode(this); return false;" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"><img src="images/qrcode.png#" width="13" height="13" title="QR-Code" alt="qrcode logo"></a></div> -
|
||||||
<span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br>
|
<span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br>
|
||||||
{if="$value.tags"}
|
{if="$value.tags"}
|
||||||
<div class="linktaglist">
|
<div class="linktaglist">
|
||||||
|
|
Loading…
Reference in a new issue