Changeset 1496771
- Timestamp:
- 09/16/2016 09:15:21 AM (9 years ago)
- Location:
- server-status-for-minecraft-pc-pe/tags/1.0.0/templates
- Files:
-
- 3 edited
-
form.phtml (modified) (25 diffs)
-
partials/offline.phtml (modified) (1 diff)
-
partials/online.phtml (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
server-status-for-minecraft-pc-pe/tags/1.0.0/templates/form.phtml
r1496653 r1496771 4 4 </tr> 5 5 <tr> 6 <td colspan="2"><strong><?php _e( "Precautions", 'mcserverstatus'); ?></strong></td>6 <td colspan="2"><strong><?php _e('Precautions', 'mcserverstatus'); ?></strong></td> 7 7 </tr> 8 8 <tr> … … 11 11 <tr> 12 12 <td> 13 <?php _e( "This method uses GameSpy4 protocol, and requires enabling query listener in your server.properties like this:", 'mcserverstatus'); ?><br>13 <?php _e('This method uses GameSpy4 protocol, and requires enabling query listener in your server.properties like this:', 'mcserverstatus'); ?><br> 14 14 - <font color="red">enable-query=true</font><br> 15 15 - <font color="red">query.port=25565</font> … … 26 26 <table width="100%"> 27 27 <tr> 28 <td colspan="2"><strong><?php _e( "General options", 'mcserverstatus'); ?></strong></td>29 </tr> 30 <tr> 31 <td colspan="2"><hr class="minestatus"></td> 32 </tr> 33 <tr> 34 <td width="20%"><?php _e( "Title", 'mcserverstatus'); ?></td>28 <td colspan="2"><strong><?php _e('General options', 'mcserverstatus'); ?></strong></td> 29 </tr> 30 <tr> 31 <td colspan="2"><hr class="minestatus"></td> 32 </tr> 33 <tr> 34 <td width="20%"><?php _e('Title', 'mcserverstatus'); ?></td> 35 35 <td> 36 36 <input class="widefat" id="minestatus_title" name="<?php echo $this->get_field_name('title'); ?>" type="text" value="<?php echo $instance['title']; ?>"> … … 38 38 </tr> 39 39 <tr> 40 <td width="20%"><?php _e( "Host", 'mcserverstatus'); ?></td>40 <td width="20%"><?php _e('Host', 'mcserverstatus'); ?></td> 41 41 <td> 42 42 <input class="widefat" id="minestatus_host" name="<?php echo $this->get_field_name('host'); ?>" type="text" value="<?php echo $instance['host']; ?>"> … … 44 44 </tr> 45 45 <tr> 46 <td width="20%"><?php _e( "Port", 'mcserverstatus'); ?></td>46 <td width="20%"><?php _e('Port', 'mcserverstatus'); ?></td> 47 47 <td> 48 48 <input class="widefat" id="minestatus_port" name="<?php echo $this->get_field_name('port'); ?>" type="text" value="<?php echo $instance['port']; ?>"> … … 50 50 </tr> 51 51 <tr> 52 <td width="20%"><?php _e( "Player Avatar size", 'mcserverstatus'); ?></td>52 <td width="20%"><?php _e('Player Avatar size', 'mcserverstatus'); ?></td> 53 53 <td> 54 54 <input class="widefat" id="minestatus_avatar_size" name="<?php echo $this->get_field_name('avatar-size'); ?>" type="text" value="<?php echo $instance['avatar-size']; ?>"> … … 56 56 </tr> 57 57 <tr> 58 <td width="20%"><?php _e( "Web Site", 'mcserverstatus'); ?></td>58 <td width="20%"><?php _e('Web Site', 'mcserverstatus'); ?></td> 59 59 <td> 60 60 <input class="widefat" id="minestatus_website" name="<?php echo $this->get_field_name('website'); ?>" type="text" value="<?php echo $instance['website']; ?>"> … … 62 62 </tr> 63 63 <tr> 64 <td width="20%"><?php _e( "DynMap", 'mcserverstatus'); ?></td>64 <td width="20%"><?php _e('DynMap', 'mcserverstatus'); ?></td> 65 65 <td> 66 66 <input class="widefat" id="minestatus_dynmap" name="<?php echo $this->get_field_name('dynmap'); ?>" type="text" value="<?php echo $instance['dynmap']; ?>"> … … 77 77 <table width="100%"> 78 78 <tr> 79 <td colspan="2"><strong><?php _e( "Display options", 'mcserverstatus'); ?></strong></td>80 </tr> 81 <tr> 82 <td colspan="2"><hr class="minestatus"></td> 83 </tr> 84 <tr> 85 <td><?php _e( "Show Server MOTD", 'mcserverstatus'); ?></td>79 <td colspan="2"><strong><?php _e('Display options', 'mcserverstatus'); ?></strong></td> 80 </tr> 81 <tr> 82 <td colspan="2"><hr class="minestatus"></td> 83 </tr> 84 <tr> 85 <td><?php _e('Show Server MOTD', 'mcserverstatus'); ?></td> 86 86 <td style="text-align:right;"> 87 87 <input id="minestatus_show_server_motd" name="<?php echo $this->get_field_name('show_server_motd'); ?>" type="checkbox" value="on" <?php echo ($instance['show_server_motd'] == 'on') ? 'checked="checked"' : ''; ?>> … … 89 89 </tr> 90 90 <tr> 91 <td><?php _e( "Show status", 'mcserverstatus'); ?></td>91 <td><?php _e('Show status', 'mcserverstatus'); ?></td> 92 92 <td style="text-align:right;"> 93 93 <input id="minestatus_show_status" name="<?php echo $this->get_field_name('show_status'); ?>" type="checkbox" value="on" <?php echo ($instance['show_status'] == 'on') ? 'checked="checked"' : ''; ?>> … … 95 95 </tr> 96 96 <tr> 97 <td><?php _e( "Show host", 'mcserverstatus'); ?></td>97 <td><?php _e('Show host', 'mcserverstatus'); ?></td> 98 98 <td style="text-align:right;"> 99 99 <input id="minestatus_show_host" name="<?php echo $this->get_field_name('show_host'); ?>" type="checkbox" value="on" <?php echo ($instance['show_host'] == 'on') ? 'checked="checked"' : ''; ?>> … … 101 101 </tr> 102 102 <tr> 103 <td><?php _e( "Show port", 'mcserverstatus'); ?></td>103 <td><?php _e('Show port', 'mcserverstatus'); ?></td> 104 104 <td style="text-align:right;"> 105 105 <input id="minestatus_show_port" name="<?php echo $this->get_field_name('show_port'); ?>" type="checkbox" value="on" <?php echo ($instance['show_port'] == 'on') ? 'checked="checked"' : ''; ?>> … … 107 107 </tr> 108 108 <tr> 109 <td><?php _e( "Show server platform", 'mcserverstatus'); ?></td>109 <td><?php _e('Show server platform', 'mcserverstatus'); ?></td> 110 110 <td style="text-align:right;"> 111 111 <input id="minestatus_show_server_software" name="<?php echo $this->get_field_name('show_server_platform'); ?>" type="checkbox" value="on" <?php echo ($instance['show_server_platform'] == 'on') ? 'checked="checked"' : ''; ?>> … … 113 113 </tr> 114 114 <tr> 115 <td><?php _e( "Show server software", 'mcserverstatus'); ?></td>115 <td><?php _e('Show server software', 'mcserverstatus'); ?></td> 116 116 <td style="text-align:right;"> 117 117 <input id="minestatus_show_server_software" name="<?php echo $this->get_field_name('show_server_software'); ?>" type="checkbox" value="on" <?php echo ($instance['show_server_software'] == 'on') ? 'checked="checked"' : ''; ?>> … … 119 119 </tr> 120 120 <tr> 121 <td><?php _e( "Show game version", 'mcserverstatus'); ?></td>121 <td><?php _e('Show game version', 'mcserverstatus'); ?></td> 122 122 <td style="text-align:right;"> 123 123 <input id="minestatus_show_game_version" name="<?php echo $this->get_field_name('show_game_version'); ?>" type="checkbox" value="on" <?php echo ($instance['show_game_version'] == 'on') ? 'checked="checked"' : ''; ?>> … … 125 125 </tr> 126 126 <tr> 127 <td><?php _e( "Show plugins", 'mcserverstatus'); ?></td>127 <td><?php _e('Show plugins', 'mcserverstatus'); ?></td> 128 128 <td style="text-align:right;"> 129 129 <input id="minestatus_show_plugins" name="<?php echo $this->get_field_name('show_plugins'); ?>" type="checkbox" value="on" <?php echo ($instance['show_plugins'] == 'on') ? 'checked="checked"' : ''; ?>> … … 134 134 </tr> 135 135 <tr> 136 <td><?php _e( "Show players", 'mcserverstatus'); ?></td>136 <td><?php _e('Show players', 'mcserverstatus'); ?></td> 137 137 <td style="text-align:right;"> 138 138 <input id="minestatus_show_players" name="<?php echo $this->get_field_name('show_players'); ?>" type="checkbox" value="on" <?php echo ($instance['show_players'] == 'on') ? 'checked="checked"' : ''; ?>> … … 140 140 </tr> 141 141 <tr> 142 <td><?php _e( "Show players avatar", 'mcserverstatus'); ?> (<font color="red"><?php _e("MCPE will show Steve avatar", 'mcserverstatus'); ?></font>)</td>142 <td><?php _e('Show players avatar', 'mcserverstatus'); ?> (<font color="red"><?php _e('MCPE will show Steve avatar', 'mcserverstatus'); ?></font>)</td> 143 143 <td style="text-align:right;"> 144 144 <input id="minestatus_show_players" name="<?php echo $this->get_field_name('show_players_avatar'); ?>" type="checkbox" value="on" <?php echo ($instance['show_players_avatar'] == 'on') ? 'checked="checked"' : ''; ?>> … … 146 146 </tr> 147 147 <tr> 148 <td><?php _e( "Show player list automatically", 'mcserverstatus'); ?></td>148 <td><?php _e('Show player list automatically', 'mcserverstatus'); ?></td> 149 149 <td style="text-align:right;"> 150 150 <input id="minestatus_show_auto_players" name="<?php echo $this->get_field_name('show_auto_players'); ?>" type="checkbox" value="on" <?php echo ($instance['show_auto_players'] == 'on') ? 'checked="checked"' : ''; ?>> … … 161 161 </tr> 162 162 <tr> 163 <td colspan="2"><strong><?php _e( "Advanced options", 'mcserverstatus'); ?></strong></td>164 </tr> 165 <tr> 166 <td colspan="2"><hr class="minestatus"></td> 167 </tr> 168 <tr> 169 <td><?php _e( "Auto update status", 'mcserverstatus'); ?> (<font color="red">Beta</font>)</td>163 <td colspan="2"><strong><?php _e('Advanced options', 'mcserverstatus'); ?></strong></td> 164 </tr> 165 <tr> 166 <td colspan="2"><hr class="minestatus"></td> 167 </tr> 168 <tr> 169 <td><?php _e('Auto update status', 'mcserverstatus'); ?> (<font color="red">Beta</font>)</td> 170 170 <td style="text-align:right;"> 171 171 <input id="minestatus_auto_update_status" name="<?php echo $this->get_field_name('auto_update_status'); ?>" type="checkbox" value="on" <?php echo ($instance['auto_update_status'] == 'on') ? 'checked="checked"' : ''; ?>> … … 173 173 </tr> 174 174 <tr> 175 <td width="80%"><?php _e( "Set seconds", 'mcserverstatus'); ?> (<font color="red"><?php _e("The minimum can be set to 5 second", 'mcserverstatus'); ?></font>)</td>175 <td width="80%"><?php _e('Set seconds', 'mcserverstatus'); ?> (<font color="red"><?php _e('The minimum can be set to 5 second', 'mcserverstatus'); ?></font>)</td> 176 176 <td> 177 177 <input class="widefat" id="minestatus_set_seconds" name="<?php echo $this->get_field_name('set_seconds'); ?>" type="text" value="<?php echo $instance['set_seconds']; ?>"> … … 188 188 </tr> 189 189 <tr> 190 <td colspan="2"><strong><?php _e( "About", 'mcserverstatus'); ?></strong></td>190 <td colspan="2"><strong><?php _e('About', 'mcserverstatus'); ?></strong></td> 191 191 </tr> 192 192 <tr> … … 195 195 <tr> 196 196 <td> 197 <?php _e( "Author Facebook:", 'mcserverstatus'); ?> <a href="https://www.facebook.com/TPGoneTone/" target="_blank">https://www.facebook.com/TPGoneTone/</a><br>198 <?php _e( "Author Twitter:", 'mcserverstatus'); ?> <a href="https://twitter.com/TPGoneTone/" target="_blank">https://twitter.com/TPGoneTone/</a><br>199 <?php _e( "Author GitHub:", 'mcserverstatus'); ?> <a href="https://github.com/gonetone/" target="_blank">https://github.com/gonetone/</a><br><br>200 <?php _e( "Plugin GitHub:", 'mcserverstatus'); ?> <a href="https://github.com/GoneTone/MCServerStatus" target="_blank">https://github.com/gonetone/mcserverstatus</a>197 <?php _e('Author Facebook:', 'mcserverstatus'); ?> <a href="https://www.facebook.com/TPGoneTone/" target="_blank">https://www.facebook.com/TPGoneTone/</a><br> 198 <?php _e('Author Twitter:', 'mcserverstatus'); ?> <a href="https://twitter.com/TPGoneTone/" target="_blank">https://twitter.com/TPGoneTone/</a><br> 199 <?php _e('Author GitHub:', 'mcserverstatus'); ?> <a href="https://github.com/gonetone/" target="_blank">https://github.com/gonetone/</a><br><br> 200 <?php _e('Plugin GitHub:', 'mcserverstatus'); ?> <a href="https://github.com/GoneTone/MCServerStatus" target="_blank">https://github.com/gonetone/mcserverstatus</a> 201 201 </td> 202 202 </tr> … … 205 205 </tr> 206 206 <tr> 207 <td><strong><?php _e( "Donate:", 'mcserverstatus'); ?></strong></td>208 </tr> 209 <tr> 210 <td><font color="red"><?php _e( "Your Donate is our motivation!", 'mcserverstatus'); ?></font></td>207 <td><strong><?php _e('Donate:', 'mcserverstatus'); ?></strong></td> 208 </tr> 209 <tr> 210 <td><font color="red"><?php _e('Your Donate is our motivation!', 'mcserverstatus'); ?></font></td> 211 211 </tr> 212 212 <tr> … … 217 217 </tr> 218 218 <tr> 219 <td><font color="#0000FF"><?php _e( "Show donate info", 'mcserverstatus'); ?></font> (<font color="red"><?php _e("This option does not force checked, check it and we will be grateful that you", 'mcserverstatus'); ?></font>)</td>219 <td><font color="#0000FF"><?php _e('Show donate info', 'mcserverstatus'); ?></font> (<font color="red"><?php _e('This option does not force checked, check it and we will be grateful that you', 'mcserverstatus'); ?></font>)</td> 220 220 <td style="text-align:right;"> 221 221 <input id="minestatus_show_donate_info" name="<?php echo $this->get_field_name('show_donate_info'); ?>" type="checkbox" value="on" <?php echo ($instance['show_donate_info'] == 'on') ? 'checked="checked"' : ''; ?>> -
server-status-for-minecraft-pc-pe/tags/1.0.0/templates/partials/offline.phtml
r1496653 r1496771 5 5 <p> 6 6 <?php if (isset($instance['show_status']) && $instance['show_status'] == 'on'): ?> 7 <?php _e( "Status", 'mcserverstatus'); ?>: <span style="color:red;font-weight:bold"><?php _e("Offline", 'mcserverstatus'); ?></span><br>7 <?php _e('Status', 'mcserverstatus'); ?>: <span style="color:red;font-weight:bold"><?php _e('Offline', 'mcserverstatus'); ?></span><br> 8 8 <?php endif; ?> 9 9 10 10 <?php if (isset($instance['show_host']) && $instance['show_host'] == 'on'): ?> 11 <?php _e( "Host", 'mcserverstatus'); ?>: <strong><?php echo $instance['host'], ':', $instance['port']; ?></strong><br>11 <?php _e('Host', 'mcserverstatus'); ?>: <strong><?php echo $instance['host'], ':', $instance['port']; ?></strong><br> 12 12 <?php endif; ?> 13 13 14 14 <?php if (isset($instance['website']) && $instance['website']): ?> 15 <a href="<?php echo $instance['website']; ?>" target="_blank"><?php _e( "Website", 'mcserverstatus'); ?></a><br>15 <a href="<?php echo $instance['website']; ?>" target="_blank"><?php _e('Website', 'mcserverstatus'); ?></a><br> 16 16 <?php endif; ?> 17 17 18 18 <?php if (isset($instance['show_donate_info']) && $instance['show_donate_info']): ?> 19 <font color="red"><?php _e( "Download this plugin:", 'mcserverstatus'); ?></font> <a href="https://wordpress.org/plugins/server-status-for-minecraft-pc-pe" target="_blank"><?php _e("Server Status For Minecraft PC & PE", 'mcserverstatus'); ?></a><br>20 <font color="red"><?php _e( "Donate this plugin:", 'mcserverstatus'); ?></font> <a href="https://qr.allpay.com.tw/ffSH4" target="_blank"><?php _e("allPay", 'mcserverstatus'); ?></a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=42GN624D7ZLUN" target="_blank"><?php _e("PayPal", 'mcserverstatus'); ?></a><br>19 <font color="red"><?php _e('Download this plugin:', 'mcserverstatus'); ?></font> <a href="https://wordpress.org/plugins/server-status-for-minecraft-pc-pe" target="_blank"><?php _e('Server Status For Minecraft PC & PE', 'mcserverstatus'); ?></a><br> 20 <font color="red"><?php _e('Donate this plugin:', 'mcserverstatus'); ?></font> <a href="https://qr.allpay.com.tw/ffSH4" target="_blank"><?php _e('allPay', 'mcserverstatus'); ?></a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=42GN624D7ZLUN" target="_blank"><?php _e('PayPal', 'mcserverstatus'); ?></a><br> 21 21 <?php endif; ?> 22 22 </p> -
server-status-for-minecraft-pc-pe/tags/1.0.0/templates/partials/online.phtml
r1496653 r1496771 5 5 <p> 6 6 <?php if (isset($instance['show_server_motd']) && $instance['show_server_motd'] == 'on'): ?> 7 <?php _e( "Server MOTD", 'mcserverstatus'); ?>: <strong><span style="color:green;font-weight:bold"><refresh class="motd"><?php echo $server['server']['server_motd']; ?></refresh></span></strong><br>7 <?php _e('Server MOTD', 'mcserverstatus'); ?>: <strong><span style="color:green;font-weight:bold"><refresh class="motd"><?php echo $server['server']['server_motd']; ?></refresh></span></strong><br> 8 8 <?php endif; ?> 9 9 10 10 <?php if (isset($instance['show_status']) && $instance['show_status'] == 'on'): ?> 11 <?php _e( "Status", 'mcserverstatus'); ?>: <strong><span style="color:green;font-weight:bold"><?php _e("Online", 'mcserverstatus'); ?></span></strong><br>11 <?php _e('Status', 'mcserverstatus'); ?>: <strong><span style="color:green;font-weight:bold"><?php _e('Online', 'mcserverstatus'); ?></span></strong><br> 12 12 <?php endif; ?> 13 13 14 14 <?php if (isset($instance['show_host']) && $instance['show_host'] == 'on'): ?> 15 <?php _e( "Host", 'mcserverstatus'); ?>: <strong><?php echo $server['server']['host']; ?><?php if (isset($instance['show_port']) && $instance['show_port'] == 'on'): ?><?php echo ':', $server['server']['port']; ?><?php endif; ?></strong><br>15 <?php _e('Host', 'mcserverstatus'); ?>: <strong><?php echo $server['server']['host']; ?><?php if (isset($instance['show_port']) && $instance['show_port'] == 'on'): ?><?php echo ':', $server['server']['port']; ?><?php endif; ?></strong><br> 16 16 <?php endif; ?> 17 17 18 18 <?php if (isset($instance['show_server_platform']) && $instance['show_server_platform']): ?> 19 <?php _e( "Server platform", 'mcserverstatus'); ?>: <strong><?php echo $server['server']['server_platform']; ?></strong><br>19 <?php _e('Server platform', 'mcserverstatus'); ?>: <strong><?php echo $server['server']['server_platform']; ?></strong><br> 20 20 <?php endif; ?> 21 21 22 22 <?php if (isset($instance['show_server_software']) && $instance['show_server_software']): ?> 23 <?php _e( "Server software", 'mcserverstatus'); ?>: <strong><?php echo $server['server']['version']['software']; ?></strong><br>23 <?php _e('Server software', 'mcserverstatus'); ?>: <strong><?php echo $server['server']['version']['software']; ?></strong><br> 24 24 <?php endif; ?> 25 25 26 26 <?php if (isset($instance['show_game_version']) && $instance['show_game_version']): ?> 27 <?php _e( "Game version", 'mcserverstatus'); ?>: <strong><?php echo $server['server']['version']['version']; ?></strong><br>27 <?php _e('Game version', 'mcserverstatus'); ?>: <strong><?php echo $server['server']['version']['version']; ?></strong><br> 28 28 <?php endif; ?> 29 29 30 30 <?php if (isset($instance['website']) && $instance['website']): ?> 31 <a href="<?php echo $instance['website']; ?>" target="_blank"><?php _e( "Website", 'mcserverstatus'); ?></a><br>31 <a href="<?php echo $instance['website']; ?>" target="_blank"><?php _e('Website', 'mcserverstatus'); ?></a><br> 32 32 <?php endif; ?> 33 33 34 34 <?php if (isset($instance['dynmap']) && $instance['dynmap']): ?> 35 <a href="<?php echo $instance['dynmap']; ?>" target="_blank"><?php _e( "DynMap", 'mcserverstatus'); ?></a><br>35 <a href="<?php echo $instance['dynmap']; ?>" target="_blank"><?php _e('DynMap', 'mcserverstatus'); ?></a><br> 36 36 <?php endif; ?> 37 37 38 38 <?php if (isset($instance['show_plugins']) && $instance['show_plugins']): ?> 39 39 <?php if (count($server['plugins']) > 0) : ?> 40 <?php _e( "Plugins", 'mcserverstatus'); ?>:41 <strong><?php echo count($server['plugins']); ?></strong> (<a href="javascript:toggleMcsList(<?php echo $randomPlugins; ?>);"><?php echo __( "Plugins list", 'mcserverstatus'); ?></a>)<br>40 <?php _e('Plugins', 'mcserverstatus'); ?>: 41 <strong><?php echo count($server['plugins']); ?></strong> (<a href="javascript:toggleMcsList(<?php echo $randomPlugins; ?>);"><?php echo __('Plugins list', 'mcserverstatus'); ?></a>)<br> 42 42 <?php else : ?> 43 <?php _e( "Plugins: <strong>Not found</strong>", 'mcserverstatus'); ?><br>43 <?php _e('Plugins: <strong>Not found</strong>', 'mcserverstatus'); ?><br> 44 44 <?php endif; ?> 45 45 <?php endif; ?> … … 54 54 55 55 <?php if ($server['players'] > 0 && isset($instance['show_players']) && $instance['show_players'] == 'on') : ?> 56 <?php _e( "Players", 'mcserverstatus'); ?>:57 <strong><refresh class="players"><?php echo $server['server']['players_online']; ?>/<?php echo $server['server']['players_max']; ?></refresh></strong> (<a href="javascript:toggleMcsList(<?php echo $randomPlayerList; ?>);"><?php echo __( "Players list", 'mcserverstatus'); ?></a>)<br>56 <?php _e('Players', 'mcserverstatus'); ?>: 57 <strong><refresh class="players"><?php echo $server['server']['players_online']; ?>/<?php echo $server['server']['players_max']; ?></refresh></strong> (<a href="javascript:toggleMcsList(<?php echo $randomPlayerList; ?>);"><?php echo __('Players list', 'mcserverstatus'); ?></a>)<br> 58 58 <?php else : ?> 59 59 <?php if (isset($instance['show_players']) && $instance['show_players']) : ?> 60 <?php _e( "Players", 'mcserverstatus'); ?>: <strong><refresh class="players2"><?php echo $server['server']['players_online']; ?>/<?php echo $server['server']['players_max']; ?></refresh></strong>60 <?php _e('Players', 'mcserverstatus'); ?>: <strong><refresh class="players2"><?php echo $server['server']['players_online']; ?>/<?php echo $server['server']['players_max']; ?></refresh></strong> 61 61 <?php endif; ?> 62 62 <?php endif; ?> … … 88 88 89 89 <?php if (isset($instance['show_donate_info']) && $instance['show_donate_info']): ?> 90 <font color="red"><?php _e( "Download this plugin:", 'mcserverstatus'); ?></font> <a href="https://wordpress.org/plugins/server-status-for-minecraft-pc-pe" target="_blank"><?php _e("Server Status For Minecraft PC & PE", 'mcserverstatus'); ?></a><br>91 <font color="red"><?php _e( "Donate this plugin:", 'mcserverstatus'); ?></font> <a href="https://qr.allpay.com.tw/ffSH4" target="_blank"><?php _e("allPay", 'mcserverstatus'); ?></a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=42GN624D7ZLUN" target="_blank"><?php _e("PayPal", 'mcserverstatus'); ?></a><br>90 <font color="red"><?php _e('Download this plugin:', 'mcserverstatus'); ?></font> <a href="https://wordpress.org/plugins/server-status-for-minecraft-pc-pe" target="_blank"><?php _e('Server Status For Minecraft PC & PE', 'mcserverstatus'); ?></a><br> 91 <font color="red"><?php _e('Donate this plugin:', 'mcserverstatus'); ?></font> <a href="https://qr.allpay.com.tw/ffSH4" target="_blank"><?php _e('allPay', 'mcserverstatus'); ?></a> | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=42GN624D7ZLUN" target="_blank"><?php _e('PayPal', 'mcserverstatus'); ?></a><br> 92 92 <?php endif; ?> 93 93 </p>
Note: See TracChangeset
for help on using the changeset viewer.