Changeset 2410866
- Timestamp:
- 11/02/2020 07:15:07 AM (5 years ago)
- Location:
- cloudimage/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (2 diffs)
-
admin/partials/cloudimage-admin-advanced-display.php (modified) (12 diffs)
-
cloudimage.php (modified) (2 diffs)
-
includes/class-cloudimage.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cloudimage/trunk/README.txt
r2409035 r2410866 6 6 Tested up to: 5.5.1 7 7 Requires PHP: 5.6 8 Stable tag: 3.0. 08 Stable tag: 3.0.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 286 286 * Improving the loading for JS libraries by loading them through ultrafast CDN 287 287 288 = 3.0.1 = 289 * Fix an issue with some PHP version and Advanced tab 290 288 291 == Upgrade Notice == 289 292 * Upgrading from version 1 to 2 can show you warnings in the admin section -
cloudimage/trunk/admin/partials/cloudimage-admin-advanced-display.php
r2409035 r2410866 181 181 settings_fields($this->plugin_name); 182 182 ?> 183 <input type="hidden" name="advanced_settings" value="1" />183 <input type="hidden" name="advanced_settings" value="1"/> 184 184 <div class="cloudimg-box"> 185 185 <div class="content-container"> … … 189 189 <table class="form-table"> 190 190 <tbody> 191 <?php foreach ($JS_fields as $field) : ?>191 <?php foreach ($JS_fields as $field) : ?> 192 192 <tr> 193 193 <th scope="row" class="titledesc"> … … 195 195 <?php esc_attr_e($field['label'], 'cloudimage'); ?> 196 196 <div class="tooltip">? 197 <span class="tooltiptext"><?php esc_attr_e($field['tooltip'], 'cloudimage') ?></span> 198 </div> 199 </label> 200 </th> 201 <td class="forminp forminp-text"> 202 <input type="text" id="<?php echo $this->plugin_name . '-' . $field['id']; ?>" placeholder="<?php echo $field['placeholder']; ?>" 203 name="<?php echo $this->plugin_name . '[' . $field['id'] . ']'; ?>" 204 class="widefat" 205 value="<?php if (!empty($field['value'])) echo $field['value']; ?>"> 197 <span class="tooltiptext"><?php esc_attr_e($field['tooltip'], 'cloudimage'); ?></span> 198 </div> 199 </label> 200 </th> 201 <td class="forminp forminp-text"> 202 <input type="text" id="<?php echo $this->plugin_name . '-' . $field['id']; ?>" 203 placeholder="<?php echo $field['placeholder']; ?>" 204 name="<?php echo $this->plugin_name . '[' . $field['id'] . ']'; ?>" 205 class="widefat" 206 value="<?php if (!empty($field['value'])) echo $field['value']; ?>"> 206 207 <div class="cloudimage__description"> 207 <?php esc_attr_e($field['description'], 'cloudimage') ?>208 <?php esc_attr_e($field['description'], 'cloudimage'); ?> 208 209 </div> 209 210 </td> 210 211 </tr> 211 <?php endforeach; foreach ($JS_switches as $switch) : ?> 212 <?php endforeach; 213 foreach ($JS_switches as $switch) : ?> 212 214 <tr> 213 215 <th scope="row" class="titledesc"> … … 215 217 <?php esc_attr_e($switch['label'], 'cloudimage'); ?> 216 218 <div class="tooltip">? 217 <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage') ?></span>219 <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage'); ?></span> 218 220 </div> 219 221 </label> … … 222 224 <td class="forminp forminp-text"> 223 225 <label class="switch"> 224 <input type="checkbox" id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>" 225 name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> > 226 <input type="checkbox" 227 id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>" 228 name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> > 226 229 <span class="slider round"></span> 227 230 </label> … … 229 232 </td> 230 233 </tr> 231 <? endforeach; ?>234 <?php endforeach; ?> 232 235 </tbody> 233 236 </table> 234 237 </fieldset> 235 238 236 <hr />239 <hr/> 237 240 238 241 <fieldset> … … 240 243 <table class="form-table"> 241 244 <tbody> 242 <?php foreach ($backend_switches as $switch) : ?>245 <?php foreach ($backend_switches as $switch) : ?> 243 246 <tr> 244 247 <th scope="row" class="titledesc"> … … 246 249 <?php esc_attr_e($switch['label'], 'cloudimage'); ?> 247 250 <div class="tooltip">? 248 <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage') ?></span>251 <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage'); ?></span> 249 252 </div> 250 253 </label> … … 253 256 <td class="forminp forminp-text"> 254 257 <label class="switch"> 255 <input type="checkbox" id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>" 256 name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> > 258 <input type="checkbox" 259 id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>" 260 name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> > 257 261 <span class="slider round"></span> 258 262 </label> … … 260 264 </td> 261 265 </tr> 262 <? endforeach; foreach ($backend_fields as $field) : ?> 266 <?php endforeach; 267 foreach ($backend_fields as $field) : ?> 263 268 <tr> 264 269 <th scope="row" class="titledesc"> … … 266 271 <?php esc_attr_e($field['label'], 'cloudimage'); ?> 267 272 <div class="tooltip">? 268 <span class="tooltiptext"><?php esc_attr_e($field['tooltip'], 'cloudimage') ?></span> 269 </div> 270 </label> 271 </th> 272 <td class="forminp forminp-text"> 273 <input type="text" id="<?php echo $this->plugin_name . '-' . $field['id']; ?>" placeholder="<?php echo $field['placeholder']; ?>" 274 name="<?php echo $this->plugin_name . '[' . $field['id'] . ']'; ?>" 275 class="widefat" 276 value="<?php if (!empty($field['value'])) echo $field['value']; ?>"> 273 <span class="tooltiptext"><?php esc_attr_e($field['tooltip'], 'cloudimage'); ?></span> 274 </div> 275 </label> 276 </th> 277 <td class="forminp forminp-text"> 278 <input type="text" id="<?php echo $this->plugin_name . '-' . $field['id']; ?>" 279 placeholder="<?php echo $field['placeholder']; ?>" 280 name="<?php echo $this->plugin_name . '[' . $field['id'] . ']'; ?>" 281 class="widefat" 282 value="<?php if (!empty($field['value'])) echo $field['value']; ?>"> 277 283 <div class="cloudimage__description"> 278 <?php esc_attr_e($field['description'], 'cloudimage') ?>284 <?php esc_attr_e($field['description'], 'cloudimage'); ?> 279 285 </div> 280 286 </td> 281 287 </tr> 282 <?endforeach; ?>288 <?php endforeach; ?> 283 289 </tbody> 284 290 </table> 285 291 </fieldset> 286 292 287 <hr />293 <hr/> 288 294 289 295 <fieldset> … … 291 297 <table class="form-table"> 292 298 <tbody> 293 <?php foreach ($both_mode_switches as $switch) : ?>294 <tr> 295 <th scope="row" class="titledesc">296 <label for="<?php echo $this->plugin_name . '-' . $switch['id']; ?>">297 <?php esc_attr_e($switch['label'], 'cloudimage'); ?>298 <div class="tooltip">?299 <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage')?></span>300 </div>301 </label>302 </th>303 304 <td class="forminp forminp-text">305 <label class="switch">306 <input type="checkbox" id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>"307 name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> >308 <span class="slider round"></span>309 < /label>310 311 </td>312 </tr>313 <?endforeach; ?>299 <?php foreach ($both_mode_switches as $switch) : ?> 300 <tr> 301 <th scope="row" class="titledesc"> 302 <label for="<?php echo $this->plugin_name . '-' . $switch['id']; ?>"> 303 <?php esc_attr_e($switch['label'], 'cloudimage'); ?> 304 <div class="tooltip">? 305 <span class="tooltiptext"><?php esc_attr_e($switch['tooltip'], 'cloudimage'); ?></span> 306 </div> 307 </label> 308 </th> 309 310 <td class="forminp forminp-text"> 311 <label class="switch"> 312 <input type="checkbox" 313 id="<?php echo $this->plugin_name . '-' . $switch['id']; ?>" 314 name="<?php echo $this->plugin_name . '[' . $switch['id'] . ']'; ?>" <?php checked($switch['value'], 1); ?> > 315 <span class="slider round"></span> 316 </label> 317 </td> 318 </tr> 319 <?php endforeach; ?> 314 320 </tbody> 315 321 </table> -
cloudimage/trunk/cloudimage.php
r2409030 r2410866 12 12 * Plugin Name: Cloudimage - Responsive Images as a Service 13 13 * Description: The easiest way to <strong>deliver lightning fast images</strong> to your users. 14 * Version: 3.0. 014 * Version: 3.0.1 15 15 * Author: Cloudimage 16 16 * Author URI: https://cloudimage.io … … 30 30 * Start at version 1.0.0 31 31 */ 32 define('CLOUDIMAGE_VERSION', '3.0. 0');32 define('CLOUDIMAGE_VERSION', '3.0.1'); 33 33 34 34 /** -
cloudimage/trunk/includes/class-cloudimage.php
r2409030 r2410866 83 83 $this->version = CLOUDIMAGE_VERSION; 84 84 } else { 85 $this->version = '3.0. 0';85 $this->version = '3.0.1'; 86 86 } 87 87 $this->plugin_name = 'cloudimage';
Note: See TracChangeset
for help on using the changeset viewer.