]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Rename title link label to home link and apply it in vintage theme 855/head
authorArthurHoaro <arthur@hoa.ro>
Wed, 3 May 2017 17:13:29 +0000 (19:13 +0200)
committerArthurHoaro <arthur@hoa.ro>
Wed, 3 May 2017 17:16:40 +0000 (19:16 +0200)
Related to #853

tpl/default/configure.html
tpl/vintage/configure.html
tpl/vintage/page.header.html

index 7469ab597a69ab4cb468a43e0b8fb6e7d6a0cb98..76a1b9fd506f9e6bf17cb0cd520d5a9694da9bac 100644 (file)
@@ -34,7 +34,7 @@
         <div class="pure-u-lg-{$ratioLabel} pure-u-1">
           <div class="form-label">
             <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>
             </label>
           </div>
index 7adc7545532cc7d92a0494c25aea111f79292e7c..479284eb1aa2ec993ceb02caf5281093871cb0a4 100644 (file)
@@ -14,7 +14,7 @@
       </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
             for="titleLink">(default value is: ?)</label></td>
       </tr>
index cce61ec464b8e54c8e1897a986634b5044237b7d..8a58844ee5556472db98089393eeef948f82c760 100644 (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">
     {if="!empty($linkcount)"}{$linkcount} links{/if}<br>
@@ -16,7 +16,7 @@
 {if="!empty($_GET['source']) && $_GET['source']=='bookmarklet'"}
     {ignore} When called as a popup from bookmarklet, do not display menu. {/ignore}
 {else}
-<li><a href="?" class="nomobile">Home</a></li>
+<li><a href="{$titleLink}" class="nomobile">Home</a></li>
     {if="isLoggedIn()"}
     <li><a href="?do=logout">Logout</a></li>
     <li><a href="?do=tools">Tools</a></li>