Changeset 2114103
- Timestamp:
- 06/28/2019 10:14:57 AM (7 years ago)
- Location:
- powies-uptime-robot
- Files:
-
- 11 added
- 4 edited
-
tags/0.9.6 (added)
-
tags/0.9.6/languages (added)
-
tags/0.9.6/languages/powies-uptime-robot-de_DE.mo (added)
-
tags/0.9.6/languages/powies-uptime-robot-de_DE.po (added)
-
tags/0.9.6/languages/pum-de_DE.mo (added)
-
tags/0.9.6/languages/pum-de_DE.po (added)
-
tags/0.9.6/pum.css (added)
-
tags/0.9.6/pum.php (added)
-
tags/0.9.6/pum_settings.php (added)
-
tags/0.9.6/readme.txt (added)
-
tags/0.9.6/status-cloud-widget.php (added)
-
trunk/pum.php (modified) (5 diffs)
-
trunk/pum_settings.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/status-cloud-widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
powies-uptime-robot/trunk/pum.php
r1691760 r2114103 4 4 Plugin URI: https://powie.de/wordpress/powies-uptime-robot/ 5 5 Description: Powies Uptime Robot Plugin with Shortcode and Widget 6 Version: 0.9. 56 Version: 0.9.6 7 7 License: GPLv2 8 8 Author: Thomas Ehrhardt … … 15 15 define( 'PUM_PLUGIN_DIR', dirname( plugin_basename( __FILE__ ) ) ); 16 16 define( 'PUM_PLUGIN_URL', plugins_url( dirname( plugin_basename( __FILE__ ) ) ) ); 17 load_plugin_textdomain( 'p um', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );17 load_plugin_textdomain( 'powies-uptime-robot', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); 18 18 19 19 //call widgets file … … 57 57 //var_dump($json); 58 58 $sc = '<table class="pum"><tr> 59 <th>'.__('Status', 'p um').'</th>60 <th>'.__('Monitor Name', 'p um').'</th>61 <th>'.__('Uptime', 'p um').'</th></tr>';59 <th>'.__('Status', 'powies-uptime-robot').'</th> 60 <th>'.__('Monitor Name', 'powies-uptime-robot').'</th> 61 <th>'.__('Uptime', 'powies-uptime-robot').'</th></tr>'; 62 62 foreach ($json->monitors as $monitor) { 63 63 if ( isset($atts['monitor'])) { … … 77 77 } 78 78 $sc.='</table>'; 79 $sc.=__('Updated at', 'p um'). ' '.get_date_from_gmt( date('Y-m-d H:i:s' ,get_option( 'pum-time' )), get_option('time_format'));79 $sc.=__('Updated at', 'powies-uptime-robot'). ' '.get_date_from_gmt( date('Y-m-d H:i:s' ,get_option( 'pum-time' )), get_option('time_format')); 80 80 //$sc.=__('Updated at', 'pum'). ' '.date_i18n(get_option('time_format'), get_option( 'pum-time' )); 81 81 return $sc; … … 97 97 switch ($status) { 98 98 case 0: 99 $r = __('paused', 'p um');99 $r = __('paused', 'powies-uptime-robot'); 100 100 break; 101 101 case 1: 102 $r = __('not checked yet', 'p um');102 $r = __('not checked yet', 'powies-uptime-robot'); 103 103 break; 104 104 case 2: 105 $r = __('up', 'p um');105 $r = __('up', 'powies-uptime-robot'); 106 106 break; 107 107 case 8: 108 $r = __('seems down', 'p um');108 $r = __('seems down', 'powies-uptime-robot'); 109 109 break; 110 110 case 9: 111 $r = __('down', 'p um');111 $r = __('down', 'powies-uptime-robot'); 112 112 break; 113 113 default: 114 $r = __('unknown', 'p um');114 $r = __('unknown', 'powies-uptime-robot'); 115 115 } // switch 116 116 return $r; -
powies-uptime-robot/trunk/pum_settings.php
r1435436 r2114103 1 1 <div class="wrap"> 2 2 <div class="icon32" id="icon-options-general"></div> 3 <h2><?php _e('Uptime Robot Settings', 'p um') ?></h2>3 <h2><?php _e('Uptime Robot Settings', 'powies-uptime-robot') ?></h2> 4 4 <form method="post" action="options.php"> 5 5 <?php 6 6 settings_fields( 'pum-settings' ); 7 7 if ( get_option('postfield-legend') == '' ) { 8 update_option('postfield-legend',__('Post Content','p um'));8 update_option('postfield-legend',__('Post Content','powies-uptime-robot')); 9 9 } 10 10 ?> 11 11 <div id="poststuff"> 12 12 <div class="postbox"> 13 <h3><?php _e('API Settings', 'p um') ?></h3>13 <h3><?php _e('API Settings', 'powies-uptime-robot') ?></h3> 14 14 <div class="inside"> 15 15 <table class="form-table"> 16 16 <tr valign="top"> 17 <th scope="row"><?php _e('API Key', 'p um') ?></th>17 <th scope="row"><?php _e('API Key', 'powies-uptime-robot') ?></th> 18 18 <td><input type="text" size="50" name="pum-apikey" value="<?php echo get_option('pum-apikey'); ?>" /></td> 19 19 </tr> … … 25 25 <div id="poststuff"> 26 26 <div class="postbox"> 27 <h3><?php _e('Display Settings', 'p um') ?></h3>27 <h3><?php _e('Display Settings', 'powies-uptime-robot') ?></h3> 28 28 <div class="inside"> 29 29 <table class="form-table"> 30 30 <tr valign="top"> 31 <th scope="row"><?php _e('Hide Monitors', 'p um') ?></th>31 <th scope="row"><?php _e('Hide Monitors', 'powies-uptime-robot') ?></th> 32 32 <td><input type="text" size="80" name="pum-hidemonitors" value="<?php echo get_option('pum-hidemonitors'); ?>" /></td> 33 33 </tr> 34 34 </table> 35 <?php _e('Comma separated list of monitors to hide from displaying', 'p um') ?>35 <?php _e('Comma separated list of monitors to hide from displaying', 'powies-uptime-robot') ?> 36 36 </div> 37 37 </div> … … 44 44 <div id="poststuff"> 45 45 <div class="postbox"> 46 <h3><?php _e('Shortcode Usage', 'p um') ?></h3>46 <h3><?php _e('Shortcode Usage', 'powies-uptime-robot') ?></h3> 47 47 <div class="inside"> 48 <?php _e('Use the shortcode <code>[pum]</code> to show the status list on a page or post.', 'p um') ?><br />49 <?php _e('Use <code>[pum monitor=friendlyname]</code> to show the status of a single monitor only.', 'p um') ?>48 <?php _e('Use the shortcode <code>[pum]</code> to show the status list on a page or post.', 'powies-uptime-robot') ?><br /> 49 <?php _e('Use <code>[pum monitor=friendlyname]</code> to show the status of a single monitor only.', 'powies-uptime-robot') ?> 50 50 </div> 51 51 </div> 52 52 53 53 <div class="postbox"> 54 <h3><?php _e('About', 'p um') ?></h3>54 <h3><?php _e('About', 'powies-uptime-robot') ?></h3> 55 55 <div class="inside" style="overflow:auto"> 56 56 <div style="float:left;margin-right: 10px; display:inline;"> -
powies-uptime-robot/trunk/readme.txt
r1997859 r2114103 4 4 Tags: Uptime Robot, Server Monitoring, Widget, Shortcode 5 5 Requires at least: 4.0 6 Tested up to: 5. 0.17 Stable tag: 0.9. 56 Tested up to: 5.2.2 7 Stable tag: 0.9.6 8 8 License: GPLv2 9 9 … … 15 15 16 16 If you make a donation to this plugin we will put it directly to the UptimeRobot project. 17 18 = Demos =19 [Demo 1](https://be-webspace.de/systemstatus/)20 17 21 18 = Documentation = … … 42 39 43 40 == Changelog == 41 = 0.9.6 (28.06.2019) = 42 * 5.2.2 checks 43 * translation readiness 44 44 45 = 0.9.5 (06.07.2017) = 45 46 * API v2 -
powies-uptime-robot/trunk/status-cloud-widget.php
r1691725 r2114103 13 13 parent::__construct( 14 14 'pum-status-cloud', // Base ID 15 __( 'Uptime Robot Status Cloud', 'p um' ), // Name16 array( 'description' => __( 'Displays Uptime Robot Statuses on the sidebar', 'p um' ), ) // Args15 __( 'Uptime Robot Status Cloud', 'powies-uptime-robot' ), // Name 16 array( 'description' => __( 'Displays Uptime Robot Statuses on the sidebar', 'powies-uptime-robot' ), ) // Args 17 17 ); 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.