]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Remove redirector setting from Configure page 1013/head
authorArthurHoaro <arthur@hoa.ro>
Tue, 7 Nov 2017 19:31:55 +0000 (20:31 +0100)
committerArthurHoaro <arthur@hoa.ro>
Tue, 7 Nov 2017 19:31:55 +0000 (20:31 +0100)
This feature is pretty much useless these days as browsers have builtin features to support the thag "<meta name='referrer'", so keep the setting page as clean as possible.

Also, avoid advertising it too much, because I'm pretty sure it doesn't work very well with markdown descriptions (as Parsedown have some trouble regarding URL detection (without MarkDown link tag)).

tpl/default/configure.html

index cc3b299b8b3bd022e4967719d00e548824ae9e51..a63c7ad33a6d8402423aebe90d51b5357c11de17 100644 (file)
           </div>
         </div>
       </div>
-      <div class="pure-g">
-        <div class="pure-u-lg-{$ratioLabel} pure-u-1 ">
-          <div class="form-label">
-            <label for="redirector">
-              <span class="label-name">{'Redirector'|t}</span><br>
-              <span class="label-desc">{'e. g.'|t} <i>http://anonym.to/?</i> {'will mask the HTTP_REFERER'|t}</span>
-            </label>
-          </div>
-        </div>
-        <div class="pure-u-lg-{$ratioInput} pure-u-1 ">
-          <div class="form-input">
-            <input type="text" name="redirector" id="redirector" size="50" value="{$redirector}">
-          </div>
-        </div>
-      </div>
       <div class="clear"></div>
       <div class="pure-g">
         <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile} ">