aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-05-03 19:13:29 +0200
committerArthurHoaro <arthur@hoa.ro>2017-05-03 19:16:40 +0200
commit6177f3206ebde794c2cf8b290c4f14a995611fd8 (patch)
treebddb4ac1472cf3997f380933c0a2c79597292872
parenta271c5f34f99bab38a167d491b69e5942cd6da94 (diff)
downloadShaarli-6177f3206ebde794c2cf8b290c4f14a995611fd8.tar.gz
Shaarli-6177f3206ebde794c2cf8b290c4f14a995611fd8.tar.zst
Shaarli-6177f3206ebde794c2cf8b290c4f14a995611fd8.zip
Rename title link label to home link and apply it in vintage theme
Related to #853
-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>