PluginProbe ʕ •ᴥ•ʔ
Custom Twitter Feeds – A Tweets Widget or X Feed Widget / 2.7.0
Custom Twitter Feeds – A Tweets Widget or X Feed Widget v2.7.0
2.8.0 2.7.0 2.6.1 2.6.0 1.0 1.0.1 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.2 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3 1.4 1.4.1 1.5 1.5.1 1.6 1.6.1 1.7 1.8 1.8.1 1.8.2 1.8.3 1.8.4 2.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1 2.1.1 2.1.2 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.5.4 2.5.5 trunk
custom-twitter-feeds / admin / views / settings / tab / feeds.php
custom-twitter-feeds / admin / views / settings / tab Last commit date
advanced.php 1 month ago feeds.php 1 month ago general.php 1 month ago translation.php 1 month ago
feeds.php
138 lines
1 <div v-if="selected === 'app-2'">
2 <!--
3 <div class="sb-tab-box sb-caching-box sb-reset-box-style clearfix">
4 <div class="tab-label">
5 <h3>{{feedsTab.cachingBox.title}}</h3>
6 </div>
7 <div class="ctf-tab-form-field">
8 <div class="sb-form-field">
9 <div class="mb-10 caching-form-fields-group">
10 <input type="number" id="ctf-caching-intervals" class="ctf-input-number size-sm mr-3" v-model="model.feeds.cacheTime" min="1" max="60" />
11 <select id="ctf-caching-cron-time" class="ctf-select size-xs mr-3" v-model="model.feeds.cacheTimeUnit">
12 <option v-for="(unit, unitKey) in feedsTab.cachingBox.cacheTimeUnits" :value="unitKey">{{unit}}</option>
13 </select>
14 <button type="button" class="ctf-btn sb-btn-lg ctf-caching-btn" @click="clearCache" :disabled="clearCacheStatus !== null">
15 <span v-html="clearCacheIcon()" :class="clearCacheStatus"></span>
16 {{feedsTab.cachingBox.clearCache}}
17 </button>
18 </div>
19 <div class="help-text help-text-green" v-html="cronNextCheck"></div>
20 </div>
21 </div>
22 </div>
23 -->
24 <div class="sb-tab-box sb-caching-box sb-reset-box-style clearfix">
25 <div class="tab-label">
26 <h3>{{feedsTab.cachingBox.title}}</h3>
27 </div>
28 <div class="ctf-tab-form-field">
29 <div class="sb-form-field">
30 <div class="mb-10 caching-form-fields-group">
31 <div style="display: none;">
32 <select id="ctf-caching-type" class="ctf-select size-xs mr-3" v-model="model.feeds.cachingType">
33 <option v-for="(unit, unitKey) in feedsTab.cachingBox.cacheTypeOptions" :value="unitKey">{{unit}}</option>
34 </select>
35 <input type="number" id="ctf-caching-intervals-page" class="ctf-input-number size-sm mr-3" v-model="model.feeds.cacheTime" min="1" max="60" v-if="model.feeds.cachingType === 'page'"/>
36 <select id="ctf-caching-cron-time-page" class="ctf-select size-xs mr-3" v-model="model.feeds.cacheTimeUnit" v-if="model.feeds.cachingType === 'page'">
37 <option v-for="(unit, unitKey) in feedsTab.cachingBox.cacheTimeUnits" :value="unitKey" :disabled="unitKey == 60">{{unit}}</option>
38 </select>
39 <select id="ctf-caching-intervals" class="ctf-select size-sm mr-3" v-model="model.feeds.cronInterval" v-if="model.feeds.cachingType === 'background'">
40 <option v-for="(name, key) in feedsTab.cachingBox.inTheBackgroundOptions" :value="key" :disabled="key === '30mins'">{{name}}</option>
41 </select>
42 <select id="ctf-caching-cron-time" class="ctf-select size-xs mr-3" v-model="model.feeds.cronTime" v-if="model.feeds.cachingType === 'background' && model.feeds.cronInterval !== '30mins' && model.feeds.cronInterval !== '1hour'">
43 <option v-for="index in 12" :value="index">{{index}}:00</option>
44 </select>
45 <select id="ctf-caching-cron-am-pm" class="ctf-select size-xs mr-3" v-model="model.feeds.cronAmPm" v-if="model.feeds.cachingType === 'background' && model.feeds.cronInterval !== '30mins' && model.feeds.cronInterval !== '1hour'">
46 <option value="am">{{feedsTab.cachingBox.am}}</option>
47 <option value="pm">{{feedsTab.cachingBox.pm}}</option>
48 </select>
49 </div>
50
51 <button type="button" class="ctf-btn sb-btn-lg ctf-caching-btn" @click="clearCache" :disabled="clearCacheStatus !== null">
52 <span v-html="clearCacheIcon()" :class="clearCacheStatus"></span>
53 {{feedsTab.cachingBox.clearCache}}
54 </button>
55 </div>
56 <div class="help-text help-text-green" v-html="cronNextCheck" v-if="model.feeds.cachingType === 'background'"></div>
57 </div>
58 </div>
59 <div v-if="licenseType == 'free'" class="ctf-caching-pro-cta clearfix">
60 <span>
61 <span class="ctf-notice-cach-text">{{feedsTab.cachingBox.noticeText}}</span>
62 <a :href="links.optimizeImagesLink" target="_blank">{{feedsTab.cachingBox.promoText}}
63 <span class="ctf-upgrade-cta-icon">
64 <svg width="7" height="10" viewBox="0 0 7 10" fill="none" xmlns="http://www.w3.org/2000/svg">
65 <path d="M1.8332 0L0.658203 1.175L4.47487 5L0.658203 8.825L1.8332 10L6.8332 5L1.8332 0Z" fill="#0068A0"/>
66 </svg>
67 </span>
68 </a>
69 </span>
70 </div>
71 </div>
72 <div class="sb-tab-box sb-gdpr-box clearfix">
73 <div class="tab-label">
74 <h3>
75 {{feedsTab.gdprBox.title}}
76 <span class="sb-tooltip-info gdpr-tooltip" id="ctf-tooltip" v-html="tooltipHelpSvg" @mouseover.prevent.default="toggleElementTooltip(feedsTab.gdprBox.tooltip, 'show', 'left')" @mouseleave.prevent.default="toggleElementTooltip('', 'hide')"></span>
77 </h3>
78 </div>
79 <div class="ctf-tab-form-field">
80 <div class="sb-form-field">
81 <div class="d-flex mb-10">
82 <select id="ctf-gdpr-options" class="ctf-select size-md" v-model="model.feeds.gdpr" @change="gdprOptions">
83 <option value="auto">{{feedsTab.gdprBox.automatic}}</option>
84 <option value="yes">{{feedsTab.gdprBox.yes}}</option>
85 <option value="no">{{feedsTab.gdprBox.no}}</option>
86 </select>
87 </div>
88 <div class="help-text" v-if="model.feeds.gdpr == 'auto'" :class="['gdpr-help-text-' + model.feeds.gdpr, {'sb-gdpr-active': model.feeds.gdprPlugin}]">
89 <span class="gdpr-active-icon" v-if="model.feeds.gdprPlugin">
90 <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
91 <path d="M10.0003 1.66667C5.41699 1.66667 1.66699 5.41667 1.66699 10C1.66699 14.5833 5.41699 18.3333 10.0003 18.3333C14.5837 18.3333 18.3337 14.5833 18.3337 10C18.3337 5.41667 14.5837 1.66667 10.0003 1.66667ZM8.33366 14.1667L4.16699 10L5.34199 8.82501L8.33366 11.8083L14.6587 5.48334L15.8337 6.66667L8.33366 14.1667Z" fill="#59AB46"/>
92 </svg>
93 </span>
94 <div v-html="feedsTab.gdprBox.infoAuto" :class="{'sb-text-bold': model.feeds.gdprPlugin}"></div>
95 <span v-html="feedsTab.gdprBox.someFacebook" v-if="model.feeds.gdprPlugin"></span>
96 <span v-html="feedsTab.gdprBox.whatLimited" @click="gdprLimited" class="sb-text-bold sb-gdpr-bold" v-if="model.feeds.gdprPlugin"></span>
97 </div>
98 <div class="help-text" v-if="model.feeds.gdpr == 'yes'" :class="'gdpr-help-text-' + model.feeds.gdpr">
99 <span v-html="feedsTab.gdprBox.infoYes"></span>
100 <span v-html="feedsTab.gdprBox.whatLimited" @click="gdprLimited" class="sb-text-bold sb-gdpr-bold"></span>
101 </div>
102 <div class="help-text" v-html="feedsTab.gdprBox.infoNo" v-if="model.feeds.gdpr == 'no'" :class="'gdpr-help-text-' + model.feeds.gdpr"></div>
103 <div class="sb-gdpr-info-tooltip" v-if="gdprInfoTooltip !== null">
104 <span class="sb-gdpr-info-headline">{{feedsTab.gdprBox.gdprTooltipFeatureInfo.headline}}</span>
105 <ul class="sb-gdpr-info-list">
106 <li v-for="feature in feedsTab.gdprBox.gdprTooltipFeatureInfo.features">{{feature}}</li>
107 </ul>
108 </div>
109 </div>
110 </div>
111 </div>
112 <div class="sb-tab-box sb-custom-css-box sb-reset-box-style clearfix">
113 <div class="tab-label">
114 <h3>{{feedsTab.customCSSBox.title}}</h3>
115 </div>
116 <div class="ctf-tab-form-field">
117 <div class="sb-form-field">
118 <div class="d-flex mb-15">
119 <textarea name="" class="ctf-textarea" v-model="model.feeds.customCSS" :placeholder="feedsTab.customCSSBox.placeholder"></textarea>
120 </div>
121 </div>
122 </div>
123 </div>
124 <div class="sb-tab-box sb-custom-js-box clearfix">
125 <div class="tab-label">
126 <h3>{{feedsTab.customJSBox.title}}</h3>
127 </div>
128 <div class="ctf-tab-form-field">
129 <div class="sb-form-field">
130 <div class="d-flex mb-15">
131 <textarea name="" class="ctf-textarea" v-model="model.feeds.customJS" :placeholder="feedsTab.customJSBox.placeholder"></textarea>
132 </div>
133 </div>
134 </div>
135 </div>
136 </div>
137 <!-- todo: this is just demo content and will be replaced once I work on this -->
138