Rename title link label to home link and apply it in vintage theme

Related to #853
This commit is contained in:
ArthurHoaro 2017-05-03 19:13:29 +02:00
parent a271c5f34f
commit 6177f3206e
3 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@
<div class="pure-u-lg-{$ratioLabel} pure-u-1"> <div class="pure-u-lg-{$ratioLabel} pure-u-1">
<div class="form-label"> <div class="form-label">
<label for="titleLink"> <label for="titleLink">
<span class="label-name">{'Title link'|t}</span><br> <span class="label-name">{'Home link'|t}</span><br>
<span class="label-desc">{'Default value'|t}: ?</span> <span class="label-desc">{'Default value'|t}: ?</span>
</label> </label>
</div> </div>

View file

@ -14,7 +14,7 @@
</tr> </tr>
<tr> <tr>
<td><b>Title link:</b></td> <td><b>Home link:</b></td>
<td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label <td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label
for="titleLink">(default value is: ?)</label></td> for="titleLink">(default value is: ?)</label></td>
</tr> </tr>

View file

@ -1,5 +1,5 @@
<div id="logo" title="Share your links !" onclick="document.location='?';"></div> <div id="logo" title="Share your links !" onclick="document.location='{$titleLink}';"></div>
<div id="linkcount" class="nomobile"> <div id="linkcount" class="nomobile">
{if="!empty($linkcount)"}{$linkcount} links{/if}<br> {if="!empty($linkcount)"}{$linkcount} links{/if}<br>
@ -16,7 +16,7 @@
{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} {if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"}
{ignore} When called as a popup from bookmarklet, do not display menu. {/ignore} {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore}
{else} {else}
<li><a href="?" class="nomobile">Home</a></li> <li><a href="{$titleLink}" class="nomobile">Home</a></li>
{if="isLoggedIn()"} {if="isLoggedIn()"}
<li><a href="?do=logout">Logout</a></li> <li><a href="?do=logout">Logout</a></li>
<li><a href="?do=tools">Tools</a></li> <li><a href="?do=tools">Tools</a></li>