aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-05-06 19:37:38 +0200
committerGitHub <noreply@github.com>2017-05-06 19:37:38 +0200
commiteb6e729808e1c3d9787ad1183aa61ab2e375a537 (patch)
tree261f59820d31ea275f954dbc14988e22ce791ca7
parentf9ff7f1b69f19b42569ffa67280807ba56f5d48a (diff)
parent6177f3206ebde794c2cf8b290c4f14a995611fd8 (diff)
downloadShaarli-eb6e729808e1c3d9787ad1183aa61ab2e375a537.tar.gz
Shaarli-eb6e729808e1c3d9787ad1183aa61ab2e375a537.tar.zst
Shaarli-eb6e729808e1c3d9787ad1183aa61ab2e375a537.zip
Merge pull request #855 from ArthurHoaro/theme/vintage-home-link
Rename title link label to home link and apply it in vintage theme
-rw-r--r--tpl/default/configure.html2
-rw-r--r--tpl/vintage/configure.html2
-rw-r--r--tpl/vintage/page.header.html4
3 files changed, 4 insertions, 4 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html
index 7469ab59..76a1b9fd 100644
--- a/tpl/default/configure.html
+++ b/tpl/default/configure.html
@@ -34,7 +34,7 @@
34 <div class="pure-u-lg-{$ratioLabel} pure-u-1"> 34 <div class="pure-u-lg-{$ratioLabel} pure-u-1">
35 <div class="form-label"> 35 <div class="form-label">
36 <label for="titleLink"> 36 <label for="titleLink">
37 <span class="label-name">{'Title link'|t}</span><br> 37 <span class="label-name">{'Home link'|t}</span><br>
38 <span class="label-desc">{'Default value'|t}: ?</span> 38 <span class="label-desc">{'Default value'|t}: ?</span>
39 </label> 39 </label>
40 </div> 40 </div>
diff --git a/tpl/vintage/configure.html b/tpl/vintage/configure.html
index 7adc7545..479284eb 100644
--- a/tpl/vintage/configure.html
+++ b/tpl/vintage/configure.html
@@ -14,7 +14,7 @@
14 </tr> 14 </tr>
15 15
16 <tr> 16 <tr>
17 <td><b>Title link:</b></td> 17 <td><b>Home link:</b></td>
18 <td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label 18 <td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label
19 for="titleLink">(default value is: ?)</label></td> 19 for="titleLink">(default value is: ?)</label></td>
20 </tr> 20 </tr>
diff --git a/tpl/vintage/page.header.html b/tpl/vintage/page.header.html
index cce61ec4..8a58844e 100644
--- a/tpl/vintage/page.header.html
+++ b/tpl/vintage/page.header.html
@@ -1,5 +1,5 @@
1 1
2<div id="logo" title="Share your links !" onclick="document.location='?';"></div> 2<div id="logo" title="Share your links !" onclick="document.location='{$titleLink}';"></div>
3 3
4<div id="linkcount" class="nomobile"> 4<div id="linkcount" class="nomobile">
5 {if="!empty($linkcount)"}{$linkcount} links{/if}<br> 5 {if="!empty($linkcount)"}{$linkcount} links{/if}<br>
@@ -16,7 +16,7 @@
16{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"} 16{if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"}
17 {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore} 17 {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore}
18{else} 18{else}
19<li><a href="?" class="nomobile">Home</a></li> 19<li><a href="{$titleLink}" class="nomobile">Home</a></li>
20 {if="isLoggedIn()"} 20 {if="isLoggedIn()"}
21 <li><a href="?do=logout">Logout</a></li> 21 <li><a href="?do=logout">Logout</a></li>
22 <li><a href="?do=tools">Tools</a></li> 22 <li><a href="?do=tools">Tools</a></li>