Changeset 2579453
- Timestamp:
- 08/06/2021 05:03:16 PM (5 years ago)
- Location:
- super-simple-site-offline-beta/trunk
- Files:
-
- 6 edited
-
classes/forms.php (modified) (5 diffs)
-
classes/header.php (modified) (3 diffs)
-
classes/offline.php (modified) (3 diffs)
-
classes/track.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
simple-site-offline.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
super-simple-site-offline-beta/trunk/classes/forms.php
r2579448 r2579453 5 5 6 6 7 function input($arg){7 public static function input($arg){ 8 8 ?> 9 9 <div class="bcSOFF_input_wrapper"> … … 17 17 } 18 18 19 function select($arg){19 public static function select($arg){ 20 20 ?> 21 21 <div class="bcSOFF_select_wrapper"> … … 31 31 } 32 32 33 function check($arg, $label=''){33 public static function check($arg, $label=''){ 34 34 if ($arg['selected']==''){ 35 35 $arg['selected']=0; … … 51 51 52 52 53 function textarea($arg){53 public static function textarea($arg){ 54 54 ?> 55 55 <div class="bcSOFF_textarea_wrapper"> … … 63 63 64 64 65 function image($arg){65 public static function image($arg){ 66 66 $imgid =(isset( $arg[ 'selected' ] )) ? $arg[ 'selected' ] : ""; 67 67 $img = wp_get_attachment_image_src($imgid, 'thumbnail'); -
super-simple-site-offline-beta/trunk/classes/header.php
r2579448 r2579453 8 8 /* personality for services like Google. */ 9 9 10 function set($option,$url=false){10 public static function set($option,$url=false){ 11 11 12 12 // check the protocol … … 40 40 } 41 41 42 function location($url){42 public static function location($url){ 43 43 // when the user wants a redirect... 44 44 header( 'Location: '.$url ); … … 49 49 /* Check if the redirect header is active */ 50 50 51 function active(){51 public static function active(){ 52 52 53 53 if(get_option( 'bcSOFF_offline_redirect' )==1){ -
super-simple-site-offline-beta/trunk/classes/offline.php
r2579448 r2579453 8 8 /* Fetch image information by ID */ 9 9 10 function getImage($img_ID){10 public static function getImage($img_ID){ 11 11 12 12 … … 24 24 /* Quick check if we are on a login page */ 25 25 26 function loginPage() {26 public static function loginPage() { 27 27 28 28 // check if you are visiting the login page or register page … … 34 34 35 35 36 function runPage(){36 public static function runPage(){ 37 37 38 38 -
super-simple-site-offline-beta/trunk/classes/track.php
r2579448 r2579453 5 5 /* The Tracking tag for GA and TM */ 6 6 7 function tags($location='top'){7 public static function tags($location='top'){ 8 8 9 9 $the_google_id = esc_html(substr(get_option( 'bcSOFF_offline_analytics' ), 0,16)); -
super-simple-site-offline-beta/trunk/readme.txt
r2579448 r2579453 5 5 Tested up to: 5.8 6 6 Requires PHP: 7 7 Stable tag: 2.0 7 Stable tag: 2.0.1 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 50 50 51 51 == Changelog == 52 = 2.0.1 = 53 * Fixed a static class 54 52 55 = 2.0 = 53 56 This version is a major release. Please check all the functions and settings you've made earlier. -
super-simple-site-offline-beta/trunk/simple-site-offline.php
r2579448 r2579453 4 4 * Plugin URI: https://rikjanssen.info/plugins/super-simple-site-offline-for-wordpress/ 5 5 * Description: Hide or redirect your website in an instant! The Super Simple Site Offline Plugin does exactly that and is above all easy to customize and track via Google Analytics or Google Tagmanager. But for your visitor just a nice little maintenance message or redirect. Nothing more. 6 * Version: 2.0 6 * Version: 2.0.1 7 7 * Author: Rik Janssen 8 8 * Author URI: https://rikjanssen.info
Note: See TracChangeset
for help on using the changeset viewer.