diff options
Diffstat (limited to 'tpl/default/page.header.html')
-rw-r--r-- | tpl/default/page.header.html | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index e368d00d..ca080fda 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -1,11 +1,9 @@ | |||
1 | <div class="shaarli-menu pure-g" id="shaarli-menu"> | 1 | <div class="shaarli-menu pure-g" id="shaarli-menu"> |
2 | <div class="pure-u-lg-0 pure-u-1"> | 2 | <div class="pure-u-lg-0 pure-u-1"> |
3 | <div class="pure-menu"> | 3 | <div class="pure-menu"> |
4 | <!-- FIXME! default value in PHP --> | 4 | <a href="{$titleLink}" class="pure-menu-link"> |
5 | <a href="{if="!empty($GLOBALS['titleLink'])"}{$GLOBALS['titleLink']}{else}?{/if}" | ||
6 | class="pure-menu-link"> | ||
7 | <i class="fa fa-home"></i> | 5 | <i class="fa fa-home"></i> |
8 | {$GLOBALS['title']} | 6 | {$shaarlititle} |
9 | </a> | 7 | </a> |
10 | <a href="#" class="menu-toggle" id="menu-toggle"><s class="bar"></s><s class="bar"></s></a> | 8 | <a href="#" class="menu-toggle" id="menu-toggle"><s class="bar"></s><s class="bar"></s></a> |
11 | </div> | 9 | </div> |
@@ -14,8 +12,7 @@ | |||
14 | <div class="pure-menu menu-transform pure-menu-horizontal pure-g"> | 12 | <div class="pure-menu menu-transform pure-menu-horizontal pure-g"> |
15 | <ul class="pure-menu-list pure-u-lg-11-12 pure-u-1"> | 13 | <ul class="pure-menu-list pure-u-lg-11-12 pure-u-1"> |
16 | <li class="pure-menu-item pure-menu-selected pure-u-0 pure-u-lg-visible"> | 14 | <li class="pure-menu-item pure-menu-selected pure-u-0 pure-u-lg-visible"> |
17 | <a href="{if="!empty($GLOBALS['titleLink'])"}{$GLOBALS['titleLink']}{else}?{/if}" | 15 | <a href="{$titleLink}" class="pure-menu-link"> |
18 | class="pure-menu-link"> | ||
19 | <i class="fa fa-home"></i> | 16 | <i class="fa fa-home"></i> |
20 | </a> | 17 | </a> |
21 | </li> | 18 | </li> |
@@ -27,7 +24,7 @@ | |||
27 | <a href="?do=tools" class="pure-menu-link">Tools</a> | 24 | <a href="?do=tools" class="pure-menu-link">Tools</a> |
28 | </li> | 25 | </li> |
29 | 26 | ||
30 | {elseif="$GLOBALS['config']['OPEN_SHAARLI']"} | 27 | {elseif="$openshaarli"} |
31 | <li class="pure-menu-item"> | 28 | <li class="pure-menu-item"> |
32 | <a href="?do=addlink" class="pure-menu-link">Shaare</a> | 29 | <a href="?do=addlink" class="pure-menu-link">Shaare</a> |
33 | </li> | 30 | </li> |
@@ -91,19 +88,24 @@ | |||
91 | 88 | ||
92 | <div id="header" class="pure-u-0 pure-u-lg-visible"> | 89 | <div id="header" class="pure-u-0 pure-u-lg-visible"> |
93 | <h1 id="header-title"> | 90 | <h1 id="header-title"> |
94 | <a href="{if="!empty($GLOBALS['titleLink'])"}{$GLOBALS['titleLink']}{else}?{/if}"> | 91 | <a href="{if="{$titleLink}"> |
95 | {$GLOBALS['title']} | 92 | {$shaarlititle} |
96 | </a> | 93 | </a> |
97 | </h1> | 94 | </h1> |
98 | <div id="linkcount"> | 95 | <div id="linkcount"> |
99 | {if="!empty($linkcount)"}<span class="strong">{$linkcount}</span> shaares{/if} | 96 | {if="!empty($linkcount)"} |
97 | <span class="strong">{$linkcount}</span> shaares | ||
98 | {if="$privateLinkcount>0"} | ||
99 | - <span class="strong">{$privateLinkcount}</span> private links | ||
100 | {/if} | ||
101 | {/if} | ||
100 | </div> | 102 | </div> |
101 | 103 | ||
102 | <div id="search"> | 104 | <div id="search"> |
103 | <form method="GET" class="searchform" name="searchform"> | 105 | <form method="GET" class="searchform" name="searchform"> |
104 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="Search text" | 106 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="Search text" |
105 | {if="!empty($search_crits) && $search_type=='fulltext'"} | 107 | {if="!empty($search_term)"} |
106 | value="{$search_crits}" | 108 | value="{$search_term}" |
107 | {/if} | 109 | {/if} |
108 | tabindex="1" | 110 | tabindex="1" |
109 | > | 111 | > |
@@ -111,8 +113,8 @@ | |||
111 | </form> | 113 | </form> |
112 | <form method="GET" class="tagfilter" name="tagfilter"> | 114 | <form method="GET" class="tagfilter" name="tagfilter"> |
113 | <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="Filter by tag" | 115 | <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="Filter by tag" |
114 | {if="!empty($search_crits) && $search_type=='tags'"} | 116 | {if="!empty($search_tags}"} |
115 | value="{function="implode(' ', $search_crits)"}" | 117 | value="{$search_tags}" |
116 | {/if} | 118 | {/if} |
117 | autocomplete="off" data-multiple data-minChars="1" | 119 | autocomplete="off" data-multiple data-minChars="1" |
118 | data-list="{loop="$tags"}{$key}, {/loop}" | 120 | data-list="{loop="$tags"}{$key}, {/loop}" |