Changeset 507234
- Timestamp:
- 02/19/2012 07:39:51 AM (14 years ago)
- Location:
- game-server-tracker/trunk
- Files:
-
- 2 edited
-
index.php (modified) (5 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
game-server-tracker/trunk/index.php
r457348 r507234 2 2 /* 3 3 Plugin Name: Game Server Tracker 4 Plugin URI: http://hannawerner.com/wordpress/game-server-tracker-version-1- 1/5 Description: Gets current stats of a Game Server from GameTracker.com and displays them in the sidebar. The Game Server Tracker supports all games supported by GameTracker.com.6 Version: 1. 14 Plugin URI: http://hannawerner.com/wordpress/game-server-tracker-version-1-5/ 5 Description: Gets current stats of a Game Server from GameTracker.com and displays them in the sidebar. The Game Server Tracker supports all games that are supported by GameTracker.com. 6 Version: 1.5 7 7 License: GPLv2 8 8 Author: Hanna Camille Werner … … 11 11 12 12 // Inspired by the built-in WP_Widget_Text class 13 14 $alttitle = $instance['alttitle']; 13 15 14 16 class HCW_Gameserver_Tracker extends WP_Widget { … … 24 26 $serverip = $instance['serverip']; 25 27 26 echo $before_widget; 28 echo $before_widget . $before_title; 29 echo $instance['alttitle']; 30 echo $after_title; 27 31 28 32 ?> … … 55 59 56 60 echo '<ul>'; 57 echo '<li><strong>'; 58 echo $instance['alttitle']; 59 echo '</strong><br /><strong>Game: </strong>'; 61 echo '<li><strong>Game: </strong>'; 60 62 echo $matchesgame[2]; 61 echo '<br /><strong>Server Status: </strong>'; 63 echo '</li><li><strong>IP: </strong>'; 64 echo $serverip; 65 echo '</li><li><strong>Server Status: </strong>'; 62 66 echo $matchesalive[2]; 63 echo '< br /><strong>Players: </strong>';67 echo '</li><li><strong>Players: </strong>'; 64 68 echo $matchesnumplayers[2]; 65 69 echo '/'; 66 70 echo $matchestotalplayers[2]; 67 echo '< br /><strong>Bots: </strong>';71 echo '</li><li><strong>Bots: </strong>'; 68 72 echo $matchesbots[2]; 69 echo '< br /><strong>Map: </strong>';70 echo $matchesmap[2];73 echo '</li><li><strong>Map: </strong>'; 74 71 75 ?> 72 <a class="moreserverinfo" href="javascript:ReverseDisplay('<?php echo $serverip; ?>')">< strong>↓</strong></a>73 <div class="content-sidebar" id="<?php echo $serverip; ?>" style="display:none; ">76 <a class="moreserverinfo" href="javascript:ReverseDisplay('<?php echo $serverip; ?>')"><?php echo $matchesmap[2]; ?> »</a> 77 <div class="content-sidebar" id="<?php echo $serverip; ?>" style="display:none; padding-top:5px;"> 74 78 <?php echo $matchesimgmap[2]; ?> 75 79 </div> … … 109 113 <label for="<?php echo $this->get_field_id('serverip'); ?>"> 110 114 <?php _e('Server IP and Port:'); ?> 111 <input class="widefat" id="<?php echo $this->get_field_id('serverip'); ?>" name="<?php echo $this->get_field_name('serverip'); ?>" type="text" value="<?php echo $instance['serverip']; ?>" /><br /> <small>e.g. 127.0.0.1:27960</small><br />115 <input class="widefat" id="<?php echo $this->get_field_id('serverip'); ?>" name="<?php echo $this->get_field_name('serverip'); ?>" type="text" value="<?php echo $instance['serverip']; ?>" /><br /> <small>e.g. 213.239.207.85:27960</small><br /> 112 116 </label> 113 117 </p> -
game-server-tracker/trunk/readme.txt
r457348 r507234 1 1 === Plugin Name === 2 2 Contributors: Sinopa 3 Tags: games, servers, details, tracker3 Tags: games, details, tracker, maps 4 4 Requires at least: 3.0 5 5 Tested up to: 3.2.1 6 Stable tag: 1. 16 Stable tag: 1.5 7 7 8 8 Gets current stats of a Game Server from GameTracker.com and displays them in the sidebar. … … 33 33 == Upgrade Notice == 34 34 35 = 1.5 = 36 * February 19, 2012 - 1.3 release. 37 * Removed some minor bugs. 38 39 35 40 = 1.1 = 36 41 * October 30, 2011 - 1.1 release. … … 42 47 == Screenshots == 43 48 44 Screenshots can be found at http://hannawerner.com/wordpress/game-server-tracker-version-1-1/49 Screenshots and demo can be found at http://hannawerner.com/wordpress/game-server-tracker-version-1-1/ 45 50 46 51 == Donate ==
Note: See TracChangeset
for help on using the changeset viewer.