aboutsummaryrefslogtreecommitdiff
path: root/configure.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-08-28 12:21:29 +0200
committerneodarz <neodarz@neodarz.net>2019-08-28 12:21:29 +0200
commite1e025823c6e868e59cde9ecc8fa495ee45de7bc (patch)
treeae3450c92daec3b99059a569510a24d6ab6753a6 /configure.html
parent03588331342e2a401ae4a8617f6225325d099fa7 (diff)
downloadshaarli_ascii-bafbcc736d96ed1715048a4ed8e41448622b1a8a.tar.xz
shaarli_ascii-bafbcc736d96ed1715048a4ed8e41448622b1a8a.zip
Update theme to current shaarli versionHEAD0.11master0.11
Diffstat (limited to 'configure.html')
-rw-r--r--configure.html88
1 files changed, 72 insertions, 16 deletions
diff --git a/configure.html b/configure.html
index 76a1b9f..8303362 100644
--- a/configure.html
+++ b/configure.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html{if="$language !== 'auto'"} lang="{$language}"{/if}>
<head>
{include="includes"}
</head>
@@ -70,6 +70,30 @@
</div>
</div>
<div class="pure-g">
+ <div class="pure-u-lg-{$ratioLabel} pure-u-1">
+ <div class="form-label">
+ <label for="language">
+ <span class="label-name">{'Language'|t}</span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-{$ratioInput} pure-u-1">
+ <div class="form-input">
+ <select name="language" id="language" class="align">
+ {loop="$languages"}
+ <option value="{$key}"
+ {if="$key===$language"}
+ selected="selected"
+ {/if}
+ >
+ {$value}
+ </option>
+ {/loop}
+ </select>
+ </div>
+ </div>
+ </div>
+ <div class="pure-g">
<div class="pure-u-lg-{$ratioLabel} pure-u-1 ">
<div class="form-label">
<label>
@@ -105,21 +129,6 @@
</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} ">
@@ -206,6 +215,22 @@
<div class="pure-g">
<div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}">
<div class="form-label">
+ <label for="retrieveDescription">
+ <span class="label-name">{'Automatically retrieve description for new bookmarks'|t}</span><br>
+ <span class="label-desc">{'Shaarli will try to retrieve the description from meta HTML headers'|t}</span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile}">
+ <div class="form-input">
+ <input type="checkbox" name="retrieveDescription" id="retrieveDescription"
+ {if="$retrieve_description"}checked{/if}/>
+ </div>
+ </div>
+ </div>
+ <div class="pure-g">
+ <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}">
+ <div class="form-label">
<label for="enableApi">
<span class="label-name">{'Enable REST API'|t}</span><br>
<span class="label-desc">{'Allow third party software to use Shaarli such as mobile application'|t}</span>
@@ -233,6 +258,37 @@
</div>
</div>
</div>
+ <div class="pure-g">
+ <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}">
+ <div class="form-label">
+ <label for="enableThumbnails">
+ <span class="label-name">{'Enable thumbnails'|t}</span><br>
+ <span class="label-desc">
+ {if="! $gd_enabled"}
+ {'You need to enable the extension <code>php-gd</code> to use thumbnails.'|t}
+ {elseif="$thumbnails_enabled"}
+ <a href="?do=thumbs_update">{'Synchronize thumbnails'|t}</a>
+ {/if}
+ </span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile}">
+ <div class="form-input">
+ <select name="enableThumbnails" id="enableThumbnails" class="align">
+ <option value="all" {if="$thumbnails_mode=='all'"}selected{/if}>
+ {'All'|t}
+ </option>
+ <option value="common" {if="$thumbnails_mode=='common'"}selected{/if}>
+ {'Only common media hosts'|t}
+ </option>
+ <option value="none" {if="$thumbnails_mode=='none'"}selected{/if}>
+ {'None'|t}
+ </option>
+ </select>
+ </div>
+ </div>
+ </div>
<div class="center">
<input type="submit" value="{'Save'|t}" name="save">
</div>