aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/baggy/config.twig
diff options
context:
space:
mode:
authorBob Maerten <bob.maerten@gmail.com>2014-03-07 16:44:05 +0100
committerBob Maerten <bob.maerten@gmail.com>2014-03-07 16:46:46 +0100
commit7c6aa8d826067ad2949952001ecf7197d8e4c011 (patch)
tree7be80cec6218d0c64ba5f64711f25d2739e6699a /themes/baggy/config.twig
parentb3f7b7d200dfb56334dd68135750739c3c55b05a (diff)
downloadwallabag-7c6aa8d826067ad2949952001ecf7197d8e4c011.tar.gz
wallabag-7c6aa8d826067ad2949952001ecf7197d8e4c011.tar.zst
wallabag-7c6aa8d826067ad2949952001ecf7197d8e4c011.zip
Changed text to clarify import process.
Diffstat (limited to 'themes/baggy/config.twig')
-rw-r--r--themes/baggy/config.twig9
1 files changed, 5 insertions, 4 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig
index 95db92fe..20ff9a00 100644
--- a/themes/baggy/config.twig
+++ b/themes/baggy/config.twig
@@ -44,7 +44,7 @@
44 <p>{% trans "Your user id:" %} <strong>{{user_id}}</strong></p> 44 <p>{% trans "Your user id:" %} <strong>{{user_id}}</strong></p>
45 <p>{% trans "You can regenerate your token: <a href='?feed&amp;action=generate'>generate!</a>." %}</p> 45 <p>{% trans "You can regenerate your token: <a href='?feed&amp;action=generate'>generate!</a>." %}</p>
46 {% endif %} 46 {% endif %}
47 47
48 <h2>{% trans "Change your theme" %}</h2> 48 <h2>{% trans "Change your theme" %}</h2>
49 <form method="post" action="?updatetheme" name="changethemeform"> 49 <form method="post" action="?updatetheme" name="changethemeform">
50 <fieldset class="w500p inline"> 50 <fieldset class="w500p inline">
@@ -105,7 +105,8 @@
105 {% endif %} 105 {% endif %}
106 106
107 <h2>{% trans "Import" %}</h2> 107 <h2>{% trans "Import" %}</h2>
108 <p>1. {% trans "Select a file on your computer and upload it." %}</p> 108 <p>{% trans "Importing from other services can be quite long, and webservers default configuration often prevents long scripts execution time, so it must be done in multiple parts." %}</p>
109 <p>1. {% trans "First, select the export file on your computer and upload it." %}</p>
109 <form method="post" action="?uploadfile" name="uploadfile" enctype="multipart/form-data"> 110 <form method="post" action="?uploadfile" name="uploadfile" enctype="multipart/form-data">
110 <fieldset class="w500p"> 111 <fieldset class="w500p">
111 <div class="row"> 112 <div class="row">
@@ -130,8 +131,8 @@
130 {% if token == '' %} 131 {% if token == '' %}
131 <p>{% trans "3. Your feed token is currently empty and must first be generated to fetch content. Click <a href='?feed&amp;action=generate'>here to generate it</a>." %}</p> 132 <p>{% trans "3. Your feed token is currently empty and must first be generated to fetch content. Click <a href='?feed&amp;action=generate'>here to generate it</a>." %}</p>
132 {% else %} 133 {% else %}
133 <p>3. {% trans "You can fetch content for imported items." %} <a href="cron.php?limit=10&amp;user-id={{ user_id }}&amp;token={{token}}" target="_blank">Click here</a> to fetch content for 10 articles.</p> 134 <p>3. {% trans "Finaly, you have to fetch content for imported items." %} <a href="cron.php?limit=10&amp;user-id={{ user_id }}&amp;token={{token}}" target="_blank">{% trans "Click here" %}</a> {% trans "to fetch content for 10 articles" %}.</p>
134 <p>{% trans "You can also create a cron task:" %}</p> 135 <p>{% trans "If you have console access to your server, you can also create a cron task:" %}</p>
135 <pre><code>0 */4 * * * cd /path/to/wallabag && php cron.php --limit=10 --user-id={{user_id}} --token={{token}} >/dev/null 2>&1</code></pre> 136 <pre><code>0 */4 * * * cd /path/to/wallabag && php cron.php --limit=10 --user-id={{user_id}} --token={{token}} >/dev/null 2>&1</code></pre>
136 {% endif %} 137 {% endif %}
137 138