180
180
{{ forms.number("tweetDistance", title, "", helpText) }}
182
182
{% set title %}{% trans "Count" %}{% endset %}
183
{% set helpText %}{% trans "The number of Tweets to return (default = 15)." %}{% endset %}
183
{% set helpText %}{% trans "The number of Tweets to return." %}{% endset %}
184
184
{{ forms.number("tweetCount", title, "", helpText) }}
186
{% set title %}{% trans "Tweets Per Page" %}{% endset %}
187
{% set helpText %}{% trans "The number of Tweets to show per page (default = 5)." %}{% endset %}
188
{{ forms.number("itemsPerPage", title, "", helpText) }}
191
187
<div class="tab-pane" id="template">
193
189
{% set title %}{% trans "Template" %}{% endset %}
194
190
{% set helpText %}{% trans "Select the template you would like to apply. This can be overridden using the check box below." %}{% endset %}
195
{{ forms.dropdown("templateId", "single", title, module.getOption("templateId", "tweet-only"), module.templatesAvailable(),"id", "value", helptext, "template-selector-control selectPicker selectPickerWithImage", null, null, null, null, null, baseUrl, "image") }}
191
{{ forms.dropdown("templateId", "single", title, module.getOption("templateId", "tweet-only"), module.templatesAvailable(),"id", "value", helptext, "template-selector-control") }}
197
193
{% set title %}{% trans "Override the template?" %}{% endset %}
198
194
{% set helpText %}{% trans "Tick if you would like to override the template." %}{% endset %}
199
195
{{ forms.checkbox("overrideTemplate", title, module.getOption("overrideTemplate", 0), helpText) }}
201
{% set title %}{% trans "Original Width" %}{% endset %}
202
{% set helpText %}{% trans "This is the intended width of the template and is used to scale the Widget within its region when the template is applied." %}{% endset %}
203
{{ forms.number("widgetOriginalWidth", title, module.getOption("widgetOriginalWidth", undefined), helpText, "template-override-controls", "", "number") }}
205
{% set title %}{% trans "Original Height" %}{% endset %}
206
{% set helpText %}{% trans "This is the intended height of the template and is used to scale the Widget within its region when the template is applied." %}{% endset %}
207
{{ forms.number("widgetOriginalHeight", title, module.getOption("widgetOriginalHeight", undefined), helpText, "template-override-controls", "", "number") }}
209
{% set title %}{% trans "Original Padding" %}{% endset %}
210
{% set helpText %}{% trans "This is the intended padding of the template and is used to position the Widget within its region when the template is applied." %}{% endset %}
211
{{ forms.number("widgetOriginalPadding", title, module.getOption("widgetOriginalPadding", undefined), helpText, "template-override-controls", "", "number") }}
213
{% set title %}{% trans "Content Type" %}{% endset %}
214
{% set helpText %}{% trans "This is the intended tweet content type." %}{% endset %}
215
{% set allTweets %}{% trans "All Tweets" %}{% endset %}
216
{% set justText %}{% trans "Tweets with text only content" %}{% endset %}
217
{% set withImages %}{% trans "Tweets with text and image content" %}{% endset %}
219
{ contenttypeid: 0, type: allTweets },
220
{ contenttypeid: 1, type: justText },
221
{ contenttypeid: 2, type: withImages }
223
{{ forms.dropdown("resultContent", "single", title, module.getOption("resultContent", 0), options, "contenttypeid", "type", helpText,"template-override-controls", "required") }}
225
197
{% set helpText %}{% trans "Enter the template. Please note that the background colour has automatically coloured to your layout background colour." %}{% endset %}
226
198
{{ forms.textarea("ta_text", "", "", helpText, "template-override-controls", "", 10) }}
245
217
{% set shuffle %}{% trans "Shuffle" %}{% endset %}
246
218
{% set tileSlide %}{% trans "Tile Slide" %}{% endset %}
247
219
{% set tileBlind %}{% trans "Tile Blind" %}{% endset %}
220
{% set marqueeLeft %}{% trans "Marquee Left" %}{% endset %}
221
{% set marqueeRight %}{% trans "Marquee Right" %}{% endset %}
222
{% set marqueeUp %}{% trans "Marquee Up" %}{% endset %}
223
{% set marqueeDown %}{% trans "Marquee Down" %}{% endset %}
248
224
{% set options = [
249
{ effectid: "noAnim", effect: noneOption },
225
{ effectid: "none", effect: noneOption },
250
226
{ effectid: "fade", effect: fade },
251
227
{ effectid: "fadeout", effect: fadeout},
252
228
{ effectid: "scrollHorz", effect: scrollHorz},
255
231
{ effectid: "flipVert", effect: flipVert},
256
232
{ effectid: "shuffle", effect: shuffle},
257
233
{ effectid: "tileSlide", effect: tileSlide},
258
{ effectid: "tileBlind", effect: tileBlind}
234
{ effectid: "tileBlind", effect: tileBlind},
235
{ effectid: "marqueeLeft", effect: marqueeLeft},
236
{ effectid: "marqueeRight", effect: marqueeRight},
237
{ effectid: "marqueeUp", effect: marqueeUp},
238
{ effectid: "marqueeDown", effect: marqueeDown}
260
240
{{ forms.dropdown("effect", "single", title, module.getOption("effect"), options, "effectid", "effect", helpText) }}
262
242
{% set title %}{% trans "Speed" %}{% endset %}
263
{% set helpText %}{% trans "The transition speed of the selected effect in milliseconds (normal = 1000)." %}{% endset %}
243
{% set helpText %}{% trans "The transition speed of the selected effect in milliseconds (normal = 1000) or the Marquee Speed in a low to high scale (normal = 1)." %}{% endset %}
264
244
{{ forms.number("speed", title, "", helpText, "effect-controls") }}
267
247
<div class="tab-pane" id="advanced">
269
{% set title %}{% trans "Duration is per item" %}{% endset %}
270
{% set helpText %}{% trans "The duration specified is per item otherwise it is per feed." %}{% endset %}
271
{{ forms.checkbox("durationIsPerItem", title, 1, helpText) }}
273
249
{% set title %}{% trans "Background Colour" %}{% endset %}
274
250
{% set helpText %}{% trans "The selected effect works best with a background colour. Optionally add one here." %}{% endset %}
275
251
{{ forms.input("backgroundColor", title, "", helpText, "background-color-group") }}
282
258
{% set helpText %}{% trans "The format to apply to all dates returned by the ticker. In PHP date format: http://uk3.php.net/manual/en/function.date.php" %}{% endset %}
283
259
{{ forms.input("dateFormat", title, "d M", helpText) }}
285
{% set title %}{% trans "Remove Mentions?" %}{% endset %}
286
{% set helpText %}{% trans "Should mentions (@someone) be removed from the Tweet Text?" %}{% endset %}
287
{{ forms.checkbox("removeMentions", title, 0, helpText) }}
289
{% set title %}{% trans "Remove Hashtags?" %}{% endset %}
290
{% set helpText %}{% trans "Should Hashtags (#something) be removed from the Tweet Text?" %}{% endset %}
291
{{ forms.checkbox("removeHashtags", title, 0, helpText) }}
293
261
{% set title %}{% trans "Remove URLs?" %}{% endset %}
294
{% set helpText %}{% trans "Should URLs be removed from the Tweet Text? Most URLs do not compliment digital signage." %}{% endset %}
262
{% set helpText %}{% trans "Should URLs be removed from the Tweet Text. Most URLs do not compliment digital signage." %}{% endset %}
295
263
{{ forms.checkbox("removeUrls", title, 1, helpText) }}
297
265
{% set title %}{% trans "Update Interval (mins)" %}{% endset %}
298
266
{% set helpText %}{% trans "Please enter the update interval in minutes. This should be kept as high as possible. For example, if the data will only change once per hour this could be set to 60." %}{% endset %}
299
267
{{ forms.number("updateInterval", title, 60, helpText, "", "required") }}
301
{% set title %}{% trans "Optional JavaScript" %}{% endset %}
302
{{ forms.textarea("javaScript", "", module.getRawNode("javaScript"), title, "", "", 10) }}