diff options
Diffstat (limited to 'themes/default/config.twig')
-rwxr-xr-x | themes/default/config.twig | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/themes/default/config.twig b/themes/default/config.twig index bb39dea2..160f6046 100755 --- a/themes/default/config.twig +++ b/themes/default/config.twig | |||
@@ -126,4 +126,41 @@ | |||
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 "Fancy an E-Book ?" %}</h2> | ||
131 | <p>{% trans "Click on <a href=\"./?epub&method=all\" title=\"Generate ePub\">this link</a> to get all your articles in one ebook (ePub 3 format)." %} | ||
132 | <br>{% trans "This can <b>take a while</b> and can <b>even fail</b> if you have too many articles, depending on your server configuration." %}</p> | ||
133 | |||
134 | <h2>{% trans 'Add user' %}</h2> | ||
135 | <p>{% trans 'Add a new user :' %}</p> | ||
136 | <form method="post" action="?newuser"> | ||
137 | <fieldset class="w500p"> | ||
138 | <div class="row"> | ||
139 | <label class="col w150p" for="newusername">{% trans 'Login for new user' %}</label> | ||
140 | <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}"> | ||
141 | </div> | ||
142 | <div class="row"> | ||
143 | <label class="col w150p" for="password4newuser">{% trans "Password for new user" %}</label> | ||
144 | <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans "Password" %}"> | ||
145 | </div> | ||
146 | <div class="row mts txtcenter"> | ||
147 | <button type="submit">{% trans "Send" %}</button> | ||
148 | </div> | ||
149 | </fieldset> | ||
150 | </form> | ||
151 | |||
152 | <h2>{% trans "Delete account" %}</h2> | ||
153 | {% if not only_user %}<form method="post" action="?deluser"> | ||
154 | <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> | ||
155 | <fieldset class="w500p"> | ||
156 | <div class="row"> | ||
157 | <label class="col w150p" for="password4deletinguser">{% trans "Type here your password" %}</label> | ||
158 | <input class="col" type="password" id="password4deletinguser" name="password4deletinguser" placeholder="{% trans "Password" %}"> | ||
159 | </div> | ||
160 | <div class="row mts txtcenter"> | ||
161 | <button type="submit">{% trans "Send" %}</button> | ||
162 | </div> | ||
163 | </form> | ||
164 | {% else %}<p>{% trans "You are the only user, you cannot delete your own account." %}<br /> | ||
165 | {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}</p>{% endif %} | ||
129 | {% endblock %} | 166 | {% endblock %} |