<link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" />
<link href="img/favicon.png" rel="shortcut icon" type="image/png" />
<link href="img/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
-<link type="text/css" rel="stylesheet" href="css/pure.min.css?v={$version_hash}" />
-<link type="text/css" rel="stylesheet" href="css/grids-responsive.min.css?v={$version_hash}">
-<link type="text/css" rel="stylesheet" href="css/pure-extras.css?v={$version_hash}">
-<link type="text/css" rel="stylesheet" href="css/font-awesome.min.css?v={$version_hash}" />
-<link type="text/css" rel="stylesheet" href="inc/awesomplete.css?v={$version_hash}#" />
-<link type="text/css" rel="stylesheet" href="css/shaarli.css?v={$version_hash}" />
+<link type="text/css" rel="stylesheet" href="css/shaarli.min.css?v={$version_hash}" />
{if="is_file('data/user.css')"}
<link type="text/css" rel="stylesheet" href="data/user.css#" />
{/if}
</div>
<input type="hidden" name="token" value="{$token}">
-
<div id="search-linklist">
<form method="GET" class="pure-form searchform" name="searchform">
</span>
</div>
-<script src="js/shaarli.js?v={$version_hash}"></script>
-<script src="inc/awesomplete.js?v={$version_hash}#"></script>
-<script src="inc/awesomplete-multiple-tags.js?v={$version_hash}#"></script>
+<script src="js/shaarli.min.js?v={$version_hash}"></script>
</div>
{include="page.footer"}
-<script src="inc/blazy-1.3.1.min.js#"></script>
+<script src="js/picwall.min.js?v={$version_hash}"></script>
</body>
</html>
</form>
{include="page.footer"}
-<script src="inc/plugin_admin.js#"></script>
+<script src="js/pluginsadmin.min.js?v={$version_hash}"></script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>{include="includes"}
- <link type="text/css" rel="stylesheet" href="inc/awesomplete.css#" />
- <script src="inc/awesomplete.min.js#"></script>
</head>
<body onload="document.changetag.fromtag.focus();">
<div id="pageheader">
{/loop}
<br>
- <a href="?do=dailyrss" title="1 RSS entry per day"><img src="images/feed-icon-14x14.png#" alt="rss_feed">Daily RSS Feed</a>
+ <a href="?do=dailyrss" title="1 RSS entry per day"><img src="img/feed-icon-14x14.png" alt="rss_feed">Daily RSS Feed</a>
</div>
<div class="dailyTitle">
- <img src="images/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left">
+ <img src="img/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left">
The Daily Shaarli
- <img src="images/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right">
+ <img src="img/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right">
</div>
<div class="dailyDate">
<div class="dailyEntry">
<div class="dailyEntryPermalink">
<a href="?{$value.shorturl}">
- <img src="images/squiggle.png" width="25" height="26" title="permalink" alt="permalink">
+ <img src="img/squiggle.png" width="25" height="26" title="permalink" alt="permalink">
</a>
</div>
{if="!$hide_timestamps || isLoggedIn()"}
{$value}
{/loop}
</div>
- <div id="closing"><img src="images/squiggle_closing.png" width="66" height="61" alt="-"></div>
+ <div id="closing"><img src="img/squiggle_closing.png" width="66" height="61" alt="-"></div>
</div>
{include="page.footer"}
</body>
{if="$source !== 'firefoxsocialapi'"}
{include="page.footer"}
{/if}
-<script src="inc/awesomplete.min.js#"></script>
-<script src="inc/awesomplete-multiple-tags.js#"></script>
-<script>
- awesompleteUniqueTag('#lf_tags');
-</script>
</body>
</html>
<meta name="referrer" content="same-origin">
<link rel="alternate" type="application/rss+xml" href="{$feedurl}?do=rss{$searchcrits}#" title="RSS Feed" />
<link rel="alternate" type="application/atom+xml" href="{$feedurl}?do=atom{$searchcrits}#" title="ATOM Feed" />
-<link href="images/favicon.ico#" rel="shortcut icon" type="image/x-icon" />
-<link type="text/css" rel="stylesheet" href="css/reset.css" />
-<link type="text/css" rel="stylesheet" href="css/shaarli.css" />
+<link href="img/favicon.ico" rel="shortcut icon" type="image/x-icon" />
+<link type="text/css" rel="stylesheet" href="css/shaarli.min.css" />
{if="is_file('data/user.css')"}<link type="text/css" rel="stylesheet" href="data/user.css#" />{/if}
{loop="$plugins_includes.css_files"}
<link type="text/css" rel="stylesheet" href="{$value}#"/>
{if="!empty($search_tags)"}
value="{$search_tags}"
{/if}
- autocomplete="off" class="awesomplete" data-multiple data-minChars="1"
+ autocomplete="off" data-multiple data-minChars="1"
data-list="{loop="$tags"}{$key}, {/loop}"
>
<input type="submit" value="Search" class="bigbutton">
<div class="linkeditbuttons">
<form method="GET" class="buttoneditform">
<input type="hidden" name="edit_link" value="{$value.id}">
- <input type="image" alt="Edit" src="images/edit_icon.png#" title="Edit" class="button_edit">
+ <input type="image" alt="Edit" src="img/edit_icon.png" title="Edit" class="button_edit">
</form><br>
<form method="GET" class="buttoneditform">
<input type="hidden" name="lf_linkdate" value="{$value.id}">
<input type="hidden" name="token" value="{$token}">
<input type="hidden" name="delete_link">
- <input type="image" alt="Delete" src="images/delete_icon.png#" title="Delete"
+ <input type="image" alt="Delete" src="img/delete_icon.png" title="Delete"
class="button_delete" onClick="return confirmDeleteLink();">
</form>
</div>
{include="page.footer"}
-<script src="inc/awesomplete.min.js#"></script>
-<script src="inc/awesomplete-multiple-tags.js#"></script>
-<script>
- awesompleteUniqueTag('#tagfilter_value');
-</script>
</body>
</html>
<div class="paging">
{if="isLoggedIn()"}
<div class="paging_privatelinks">
- <a href="?visibility=private">
+ <a href="?visibility=private">
{if="$visibility=='private'"}
- <img src="images/private_16x16_active.png#" width="16" height="16" title="Filter links by visibility" alt="Filter links by visibility">
- {else}
- <img src="images/private_16x16.png#" width="16" height="16" title="Filter links by visibility" alt="Filter links by visibility">
+ <img src="img/private_16x16_active.png" width="16" height="16" title="Click to see all links" alt="Click to see all links">
+ {else}
+ <img src="img/private_16x16.png" width="16" height="16" title="Click to see only private links" alt="Click to see only private links">
{/if}
</a>
Error: {$versionError}
</div>
{/if}
+
+<script src="js/shaarli.min.js"></script>
+
{if="isLoggedIn()"}
<script>function confirmDeleteLink() { var agree=confirm("Are you sure you want to delete this link ?"); if (agree) return true ; else return false ; }</script>
{/if}
-<script src="js/shaarli.js"></script>
{loop="$plugins_footer.js_files"}
<script src="{$value}#"></script>
{/loop}
<!DOCTYPE html>
<html>
<head>{include="includes"}
-<script src="inc/blazy-1.3.1.min.js#"></script>
</head>
<body>
<div id="pageheader">{include="page.header"}</div>
{include="page.footer"}
-<script>
-window.onload = function() {
- var bLazy = new Blazy();
-}
-</script>
+<script src="js/picwall.min.js"></script>
</body>
</html>
</div>
{include="page.footer"}
-<script src="inc/plugin_admin.js#"></script>
+<script>
+ /**
+ * Change the position counter of a row.
+ *
+ * @param elem Element Node to change.
+ * @param toPos int New position.
+ */
+ function changePos(elem, toPos) {
+ var elemName = elem.getAttribute('data-line');
+
+ elem.setAttribute('data-order', toPos);
+ var hiddenInput = document.querySelector('[name="order_' + elemName + '"]');
+ hiddenInput.setAttribute('value', toPos);
+ }
+
+ /**
+ * Move a row up or down.
+ *
+ * @param pos Element Node to move.
+ * @param move int Move: +1 (down) or -1 (up)
+ */
+ function changeOrder(pos, move) {
+ var newpos = parseInt(pos) + move;
+ var lines = document.querySelectorAll('[data-order="' + pos + '"]');
+ var changelines = document.querySelectorAll('[data-order="' + newpos + '"]');
+
+ // If we go down reverse lines to preserve the rows order
+ if (move > 0) {
+ lines = [].slice.call(lines).reverse();
+ }
+
+ for (var i = 0; i < lines.length; i++) {
+ var parent = changelines[0].parentNode;
+ changePos(lines[i], newpos);
+ changePos(changelines[i], parseInt(pos));
+ var changeItem = move < 0 ? changelines[0] : changelines[changelines.length - 1].nextSibling;
+ parent.insertBefore(lines[i], changeItem);
+ }
+ }
+
+ /**
+ * Move a row up in the table.
+ *
+ * @param pos int row counter.
+ *
+ * @returns false
+ */
+ function orderUp(pos) {
+ if (pos == 0) {
+ return false;
+ }
+ changeOrder(pos, -1);
+ return false;
+ }
+
+ /**
+ * Move a row down in the table.
+ *
+ * @param pos int row counter.
+ *
+ * @returns false
+ */
+ function orderDown(pos) {
+ var lastpos = document.querySelector('[data-order]:last-child').getAttribute('data-order');
+ if (pos == lastpos) {
+ return false;
+ }
+
+ changeOrder(pos, +1);
+ return false;
+ }
+</script>
</body>
</html>
author: "Shaarli",
version: "1.0.0",
- iconURL: baseURL + "/images/favicon.ico",
- icon32URL: baseURL + "/images/favicon.ico",
- icon64URL: baseURL + "/images/favicon.ico",
+ iconURL: baseURL + "/img/favicon.ico",
+ icon32URL: baseURL + "/img/favicon.ico",
+ icon64URL: baseURL + "/img/favicon.ico",
shareURL: baseURL + "{noparse}?post=%{url}&title=%{title}&description=%{text}&source=firefoxsocialapi{/noparse}",
homepageURL: baseURL