diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-05-29 18:54:06 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-05-29 18:54:06 +0200 |
commit | a9f5e572dde4f986a498d2fbe92a38a1b22f9595 (patch) | |
tree | 80b5bfc9836ae92cc4929a4d72ae0b2730e568bc /themes/baggy/config.twig | |
parent | 96834a47b09985e1c82b82857fc108f20e8b8f2b (diff) | |
parent | 8038b38802769031e050c753fc0a388a2276629e (diff) | |
download | wallabag-a9f5e572dde4f986a498d2fbe92a38a1b22f9595.tar.gz wallabag-a9f5e572dde4f986a498d2fbe92a38a1b22f9595.tar.zst wallabag-a9f5e572dde4f986a498d2fbe92a38a1b22f9595.zip |
Merge pull request #712 from wallabag/dev1.7.0
1.7, call me "Premium version"
Diffstat (limited to 'themes/baggy/config.twig')
-rwxr-xr-x | themes/baggy/config.twig | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index d441de7c..46735f07 100755 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -124,8 +124,44 @@ | |||
124 | {% if constant('STORAGE') == 'sqlite' %} | 124 | {% if constant('STORAGE') == 'sqlite' %} |
125 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} | 125 | <p><a href="?download" target="_blank">{% trans "Click here" %}</a> {% trans "to download your database." %}</p>{% endif %} |
126 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> | 126 | <p><a href="?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> |
127 | |||
128 | <h2>{% trans "Fancy an E-Book ?" %}</h2> | ||
129 | <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)." %} | ||
130 | <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> | ||
127 | 131 | ||
128 | <h2>{% trans "Cache" %}</h2> | 132 | <h2>{% trans "Cache" %}</h2> |
129 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> | 133 | <p><a href="?empty-cache">{% trans "Click here" %}</a> {% trans "to delete cache." %}</p> |
130 | 134 | ||
135 | <h2>{% trans 'Add user' %}</h2> | ||
136 | <p>{% trans 'Add a new user :' %}</p> | ||
137 | <form method="post" action="?newuser"> | ||
138 | <fieldset class="w500p"> | ||
139 | <div class="row"> | ||
140 | <label class="col w150p" for="newusername">{% trans 'Login for new user' %}</label> | ||
141 | <input class="col" type="text" id="newusername" name="newusername" placeholder="{% trans 'Login' %}"> | ||
142 | </div> | ||
143 | <div class="row"> | ||
144 | <label class="col w150p" for="password4newuser">{% trans "Password for new user" %}</label> | ||
145 | <input class="col" type="password" id="password4newuser" name="password4newuser" placeholder="{% trans "Password" %}"> | ||
146 | </div> | ||
147 | <div class="row mts txtcenter"> | ||
148 | <button type="submit">{% trans "Send" %}</button> | ||
149 | </div> | ||
150 | </fieldset> | ||
151 | </form> | ||
152 | |||
153 | <h2>{% trans "Delete account" %}</h2> | ||
154 | {% if not only_user %}<form method="post" action="?deluser"> | ||
155 | <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> | ||
156 | <fieldset class="w500p"> | ||
157 | <div class="row"> | ||
158 | <label class="col w150p" for="password4deletinguser">{% trans "Type here your password" %}</label> | ||
159 | <input class="col" type="password" id="password4deletinguser" name="password4deletinguser" placeholder="{% trans "Password" %}"> | ||
160 | </div> | ||
161 | <div class="row mts txtcenter"> | ||
162 | <button type="submit">{% trans "Send" %}</button> | ||
163 | </div> | ||
164 | </form> | ||
165 | {% else %}<p>{% trans "You are the only user, you cannot delete your own account." %}<br /> | ||
166 | {% trans "To completely remove wallabag, delete the wallabag folder on your web server." %}</p>{% endif %} | ||
131 | {% endblock %} | 167 | {% endblock %} |