Merge pull request #855 from ArthurHoaro/theme/vintage-home-link

Rename title link label to home link and apply it in vintage theme
This commit is contained in:
ArthurHoaro 2017-05-06 19:37:38 +02:00 committed by GitHub
commit eb6e729808
3 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ <h2 class="window-title">{'Configure'|t}</h2>
<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>