Minor improvements regarding (coding style, unit tests, etc.)

This commit is contained in:
ArthurHoaro 2017-01-03 11:42:21 +01:00
parent adc4aee80f
commit a0df06517b
20 changed files with 92 additions and 28 deletions

View file

@ -25,14 +25,15 @@
<td>
<select name="theme" id="theme">
{loop="$theme_available"}
{if="$value===$theme"}
<option selected value="{$value}">{$value|ucfirst}</option>
{else}
<option value="{$value}">{$value|ucfirst}</option>
{/if}
<option value="{$value}"
{if="$value===$theme"}
selected="selected"
{/if}
>
{$value|ucfirst}
</option>
{/loop}
</select>
<label for="theme">(default value is: Default)</label>
</td>
</tr>

View file

@ -28,9 +28,9 @@
</div>
<div class="dailyTitle">
<img src="../../images/floral_left.png" width="51" height="50" class="nomobile" alt="floral_left">
<img src="images/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="images/floral_right.png" width="51" height="50" class="nomobile" alt="floral_right">
</div>
<div class="dailyDate">
@ -50,7 +50,7 @@
<div class="dailyEntry">
<div class="dailyEntryPermalink">
<a href="?{$value.shorturl}">
<img src="../../images/squiggle2.png" width="25" height="26" title="permalink" alt="permalink">
<img src="images/squiggle.png" width="25" height="26" title="permalink" alt="permalink">
</a>
</div>
{if="!$hide_timestamps || isLoggedIn()"}
@ -94,7 +94,7 @@
{$value}
{/loop}
</div>
<div id="closing"><img src="../../images/squiggle_closing.png" width="66" height="61" alt="-"></div>
<div id="closing"><img src="images/squiggle_closing.png" width="66" height="61" alt="-"></div>
</div>
{include="page.footer"}
</body>

Binary file not shown.

After

(image error) Size: 1.3 KiB

Binary file not shown.

After

(image error) Size: 1.3 KiB

Binary file not shown.

After

(image error) Size: 720 B

Binary file not shown.

After

(image error) Size: 1.2 KiB

View file

@ -6,8 +6,8 @@
<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="inc/reset.css" />
<link type="text/css" rel="stylesheet" href="inc/shaarli.css" />
<link type="text/css" rel="stylesheet" href="css/reset.css" />
<link type="text/css" rel="stylesheet" href="css/shaarli.css" />
{if="is_file('inc/user.css')"}<link type="text/css" rel="stylesheet" href="inc/user.css#" />{/if}
{loop="$plugins_includes.css_files"}
<link type="text/css" rel="stylesheet" href="{$value}#"/>