2013-02-26 10:09:41 +01:00
<!DOCTYPE html>
< html >
2017-04-03 19:23:30 +02:00
< head > {include="includes"}< / head >
2013-02-26 10:09:41 +01:00
< body onload = "document.installform.setlogin.focus();" >
2014-12-02 21:00:52 +01:00
< div id = "install" >
2015-02-20 22:28:10 +01:00
< h1 > Shaarli< / h1 >
It looks like it's the first time you run Shaarli. Please configure it:< br >
2020-07-26 14:43:10 +02:00
< form method = "POST" action = "{$base_path}/install" name = "installform" id = "installform" >
2015-02-20 22:28:10 +01:00
< table >
2022-11-06 18:24:40 +01:00
< tr > < td > < b > Login:< / b > < / td > < td > < input type = "text" name = "setlogin" size = "30" autocapitalize = "off" > < / td > < / tr >
2015-02-20 22:28:10 +01:00
< tr > < td > < b > Password:< / b > < / td > < td > < input type = "password" name = "setpassword" size = "30" > < / td > < / tr >
2017-04-03 19:23:30 +02:00
< tr >
< td > < b > Timezone:< / b > < / td >
< td >
< select id = "continent" name = "continent" >
{loop="$continents"}
{if="$key !== 'selected'"}
< option value = "{$value}" { if = "$continents.selected === $value" } selected { / if } >
{$value}
< / option >
{/if}
{/loop}
< / select >
< select id = "city" name = "city" >
{loop="$cities"}
{if="$key !== 'selected'"}
< option value = "{$value.city}"
{if="$cities.selected === $value.city"}selected{/if}
data-continent="{$value.continent}">
{$value.city}
< / option >
{/if}
{/loop}
< / select >
< / td >
< / tr >
2015-02-20 22:28:10 +01:00
< tr > < td > < b > Page title:< / b > < / td > < td > < input type = "text" name = "title" size = "30" > < / td > < / tr >
< tr > < td valign = "top" > < b > Update:< / b > < / td > < td >
< input type = "checkbox" name = "updateCheck" id = "updateCheck" checked = "checked" > < label for = "updateCheck" > Notify me when a new release is ready< / label > < / td >
< / tr >
2016-07-31 10:46:17 +02:00
< tr >
< td valign = "top" >
< b > API:< / b >
< / td >
< td >
< input type = "checkbox" name = "enableApi" id = "enableApi" checked = "checked" >
< label for = "enableApi" >
2016-12-15 10:13:00 +01:00
Enable Shaarli's REST API.
2016-07-31 10:46:17 +02:00
Allow third party software to use Shaarli such as mobile application.
< / label >
< / td >
< / tr >
2015-02-20 22:28:10 +01:00
< tr > < td colspan = "2" > < input type = "submit" name = "Save" value = "Save config" class = "bigbutton" > < / td > < / tr >
< / table >
< / form >
2013-02-26 10:09:41 +01:00
< / div >
{include="page.footer"}
< / body >
2014-12-02 21:00:52 +01:00
< / html >