aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/configure.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-22 19:58:22 +0100
committerArthurHoaro <arthur@hoa.ro>2017-03-22 19:58:22 +0100
commit76be95e199fb0ebbbcdfff4843b59b805762e475 (patch)
treee4521ad8c42f02b93d73cab778aaf193ee1f875c /tpl/default/configure.html
parentc4c655d9bfe68a914898d76bb9c479eea1b04f72 (diff)
downloadShaarli-76be95e199fb0ebbbcdfff4843b59b805762e475.tar.gz
Shaarli-76be95e199fb0ebbbcdfff4843b59b805762e475.tar.zst
Shaarli-76be95e199fb0ebbbcdfff4843b59b805762e475.zip
Add API setting in the new theme during the installation
Also use the same variable name across template files
Diffstat (limited to 'tpl/default/configure.html')
-rw-r--r--tpl/default/configure.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html
index d6536d47..12261487 100644
--- a/tpl/default/configure.html
+++ b/tpl/default/configure.html
@@ -186,7 +186,7 @@
186 <div class="pure-g"> 186 <div class="pure-g">
187 <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}"> 187 <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}">
188 <div class="form-label"> 188 <div class="form-label">
189 <label for="apiEnabled"> 189 <label for="enableApi">
190 <span class="label-name">{'Enable REST API'|t}</span><br> 190 <span class="label-name">{'Enable REST API'|t}</span><br>
191 <span class="label-desc">{'Allow third party software to use Shaarli such as mobile application'|t}</span> 191 <span class="label-desc">{'Allow third party software to use Shaarli such as mobile application'|t}</span>
192 </label> 192 </label>
@@ -194,7 +194,7 @@
194 </div> 194 </div>
195 <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile}"> 195 <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile}">
196 <div class="form-input"> 196 <div class="form-input">
197 <input type="checkbox" name="apiEnabled" id="apiEnabled" 197 <input type="checkbox" name="enableApi" id="enableApi"
198 {if="$api_enabled"}checked{/if}/> 198 {if="$api_enabled"}checked{/if}/>
199 </div> 199 </div>
200 </div> 200 </div>