aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/config.twig
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-04-23 10:53:57 +0200
committertcit <tcit@tcit.fr>2014-04-23 10:53:57 +0200
commit07da8611267edca21ae8addd13ae432ac0ce4b68 (patch)
treedf7a1fc16ae53db19a3e93441c5382a407c6a4b9 /themes/default/config.twig
parentc97d23c5334b363250a1d7cfc5cffd0087f35c21 (diff)
downloadwallabag-07da8611267edca21ae8addd13ae432ac0ce4b68.tar.gz
wallabag-07da8611267edca21ae8addd13ae432ac0ce4b68.tar.zst
wallabag-07da8611267edca21ae8addd13ae432ac0ce4b68.zip
Added multi-user functionnality in all themes
Diffstat (limited to 'themes/default/config.twig')
-rwxr-xr-xthemes/default/config.twig33
1 files changed, 33 insertions, 0 deletions
diff --git a/themes/default/config.twig b/themes/default/config.twig
index bb39dea2..5ed9d80f 100755
--- a/themes/default/config.twig
+++ b/themes/default/config.twig
@@ -126,4 +126,37 @@
126 126
127 <h2>{% trans "Cache" %}</h2> 127 <h2>{% trans "Cache" %}</h2>
128 <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> 128 <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p>
129
130 <h2>{% trans 'Add user' %}</h2>
131 <p>{% trans 'Add a new user :' %}</p>
132 <form method="post" action="?newuser">
133 <fieldset class="w500p">
134 <div class="row">
135 <label class="col w150p" for="newusername">{% trans 'Login for new user' %}</label>
136 <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}">
137 </div>
138 <div class="row">
139 <label class="col w150p" for="password4newuser">{% trans "Password for new user" %}</label>
140 <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans "Password" %}">
141 </div>
142 <div class="row mts txtcenter">
143 <button type="submit">{% trans "Send" %}</button>
144 </div>
145 </fieldset>
146 </form>
147
148 <h2>{% trans "Delete account" %}</h2>
149 {% if not only_user %}<form method="post" action="?deluser">
150 <p>{% trans "You can delete your account by entering your password and validating." %}<br /><b>{% trans "Be careful, data will be erased forever (that is a very long time)." %}</b></p>
151 <fieldset class="w500p">
152 <div class="row">
153 <label class="col w150p" for="password4deletinguser">{% trans "Type here your password" %}</label>
154 <input class="col" type="password" id="password4deletinguser" name="password4deletinguser" placeholder="{% trans "Password" %}">
155 </div>
156 <div class="row mts txtcenter">
157 <button type="submit">{% trans "Send" %}</button>
158 </div>
159 </form>
160 {% else %}<p>{% trans "You are the only user, you cannot delete your own account." %}<br />
161 {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}</p>{% endif %}
129{% endblock %} 162{% endblock %}