diff options
-rw-r--r-- | inc/shaarli.css | 9 | ||||
-rw-r--r-- | index.php | 4 | ||||
-rw-r--r-- | tpl/linklist.html | 1 |
3 files changed, 9 insertions, 5 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css index 13e6ab33..28394ed5 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css | |||
@@ -232,9 +232,10 @@ cursor:pointer; | |||
232 | .linktitle { font-size:14pt; font-weight:bold; } | 232 | .linktitle { font-size:14pt; font-weight:bold; } |
233 | .linktitle a { text-decoration: none; color:#80AD48; } | 233 | .linktitle a { text-decoration: none; color:#80AD48; } |
234 | .linktitle a:hover { color:#F57900; } | 234 | .linktitle a:hover { color:#F57900; } |
235 | .linkdate { font-size:8pt; color:#888; } | 235 | .linkdate, .linkarchive { font-size:8pt; color:#888; } |
236 | .linkdate a { background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; color:#E28E3F; } | 236 | .linkdate a, .linkarchive a { color:#E28E3F; } |
237 | .linkdate a:hover { color: #F57900 } | 237 | .linkdate a {background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; } |
238 | .linkdate a:hover, .linkarchive a:hover { color: #F57900 } | ||
238 | .linkurl { font-size:8pt; color:#4BAA74; } | 239 | .linkurl { font-size:8pt; color:#4BAA74; } |
239 | .linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; } | 240 | .linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; } |
240 | .linkdescription a { text-decoration: none; color:#3465A4; } | 241 | .linkdescription a { text-decoration: none; color:#3465A4; } |
@@ -466,4 +467,4 @@ div.dailyEntryDescription { font-size:10pt; } | |||
466 | } | 467 | } |
467 | 468 | ||
468 | /* Highlight search results */ | 469 | /* Highlight search results */ |
469 | .highlight { background-color: #FFFF33; } \ No newline at end of file | 470 | .highlight { background-color: #FFFF33; } |
@@ -2067,7 +2067,9 @@ function install() | |||
2067 | { // Step 2: Check if data in session is correct. | 2067 | { // Step 2: Check if data in session is correct. |
2068 | echo '<pre>Sessions do not seem to work correctly on your server.<br>'; | 2068 | echo '<pre>Sessions do not seem to work correctly on your server.<br>'; |
2069 | echo 'Make sure the variable session.save_path is set correctly in your php config, and that you have write access to it.<br>'; | 2069 | echo 'Make sure the variable session.save_path is set correctly in your php config, and that you have write access to it.<br>'; |
2070 | echo 'It currently points to '.session_save_path().'<br><br><a href="?">Click to try again.</a></pre>'; | 2070 | echo 'It currently points to '.session_save_path().'<br>'; |
2071 | echo 'Check that the hostname used to access Shaarli contains a dot. On some browsers, accessing your server via a hostname like \'localhost\' or any custom hostname without a dot causes cookie storage to fail. We recommend accessing your server via it\'s IP address or Fully Qualified Domain Name.<br>'; | ||
2072 | echo '<br><a href="?">Click to try again.</a></pre>'; | ||
2071 | die; | 2073 | die; |
2072 | } | 2074 | } |
2073 | if (!isset($_SESSION['session_tested'])) | 2075 | if (!isset($_SESSION['session_tested'])) |
diff --git a/tpl/linklist.html b/tpl/linklist.html index ddc38cb0..b7cf096f 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html | |||
@@ -48,6 +48,7 @@ | |||
48 | {else} | 48 | {else} |
49 | <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> | 49 | <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> |
50 | {/if} | 50 | {/if} |
51 | <span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">archive</a> - </span> | ||
51 | <div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" | 52 | <div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" |
52 | 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> - | 53 | 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> - |
53 | <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br> | 54 | <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br> |