- <tr>
- <td><b>Title link:</b></td>
- <td><input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}"><br/><label
- for="titleLink">(default value is: ?)</label></td>
- </tr>
-
- <tr>
- <td><b>Theme:</b></td>
- <td>
- <select name="theme" id="theme">
- {loop="$theme_available"}
- <option value="{$value}"
- {if="$value===$theme"}
- selected="selected"
- {/if}
- >
- {$value|ucfirst}
- </option>
- {/loop}
- </select>
- </td>
- </tr>
-
- <tr>
- <td><b>Timezone:</b></td>
- <td>{$timezone_form}</td>
- </tr>
-
- <tr>
- <td><b>Redirector</b></td>
- <td>
- <input type="text" name="redirector" id="redirector" size="50" value="{$redirector}"><br>
- (e.g. <i>http://anonym.to/?</i> will mask the HTTP_REFERER)
- </td>
- </tr>
-
- <tr>
- <td><b>Security:</b></td>
- <td>
- <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"
+<form method="POST" action="#" name="configform" id="configform">
+ <div class="pure-g">
+ <div class="pure-u-lg-1-8 pure-u-1-24"></div>
+ <div class="pure-u-lg-3-4 pure-u-22-24 page-form page-form-complete">
+ <h2 class="window-title">{'Configure'|t}</h2>
+ <div class="pure-g">
+ <div class="pure-u-lg-{$ratioLabel} pure-u-1">
+ <div class="form-label">
+ <label for="title">
+ <span class="label-name">Shaarli {'title'|t}</span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-7-12 pure-u-1">
+ <div class="form-input">
+ <input type="text" name="title" id="title" size="50" value="{$title}">
+ </div>
+ </div>
+ </div>
+ <div class="pure-g">
+ <div class="pure-u-lg-{$ratioLabel} pure-u-1">
+ <div class="form-label">
+ <label for="titleLink">
+ <span class="label-name">{'Home link'|t}</span><br>
+ <span class="label-desc">{'Default value'|t}: ?</span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-{$ratioInput} pure-u-1">
+ <div class="form-input">
+ <input type="text" name="titleLink" id="titleLink" size="50" value="{$titleLink}">
+ </div>
+ </div>
+ </div>
+ <div class="pure-g">
+ <div class="pure-u-lg-{$ratioLabel} pure-u-1">
+ <div class="form-label">
+ <label for="titleLink">
+ <span class="label-name">{'Theme'|t}</span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-{$ratioInput} pure-u-1">
+ <div class="form-input">
+ <select name="theme" id="theme" class="align">
+ {loop="$theme_available"}
+ <option value="{$value}"
+ {if="$value===$theme"}
+ selected="selected"
+ {/if}
+ >
+ {$value|ucfirst}
+ </option>
+ {/loop}
+ </select>
+ </div>
+ </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>
+ <span class="label-name">{'Timezone'|t}</span><br>
+ <span class="label-desc">{'Continent'|t} · {'City'|t}</span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-{$ratioInput} pure-u-1 ">
+ <div class="form-input">
+ <div class="timezone">
+ <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>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="clear"></div>
+ <div class="pure-g">
+ <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile} ">
+ <div class="form-label">
+ <label for="disablesessionprotection">
+ <span class="label-name">{'Disable session cookie hijacking protection'|t}</span><br>
+ <span class="label-desc">
+ {'Check this if you get disconnected or if your IP address changes often'|t}
+ </span>
+ </label>
+ </div>
+ </div>
+ <div class="pure-u-lg-{$ratioInput} pure-u-{$ratioInputMobile} ">
+ <div class="form-input">
+ <input type="checkbox" name="disablesessionprotection" id="disablesessionprotection"