added Fabio to author, made station links open in a new tab/window
parent
02b04541e7
commit
f1a2214eb9
|
@ -1,9 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Name: Current Temperature
|
* Name: Current Temperature
|
||||||
* Description: Shows current temperature for user's location on their network page.<br />Find the location code for the station or airport nearest you at http://en.wikipedia.org/wiki/International_Air_Transport_Association_airport_code
|
* Description: Shows current temperature for user's location on their network page.<br />Find the location code for the station or airport nearest you <a href="http://en.wikipedia.org/wiki/International_Air_Transport_Association_airport_code" target="_blank">here</a>.
|
||||||
* Version: 1.0
|
* Version: 1.0
|
||||||
* Author: Tony Baldwin <t0ny@friendica.tonybaldwin.info>
|
* Author: Tony Baldwin <http://friendica.tonybaldwin.info/u/t0ny>
|
||||||
|
* Author: Fabio Comuni <http://kirkgroup.com/u/fabrixxm>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
require_once('addon/curtemp/getweather.php');
|
require_once('addon/curtemp/getweather.php');
|
||||||
|
@ -82,7 +83,7 @@ function curtemp_plugin_settings(&$a,&$s) {
|
||||||
$s .= '<div class="settings-block">';
|
$s .= '<div class="settings-block">';
|
||||||
$s .= '<h3>' . t('Current Temp Settings') . '</h3>';
|
$s .= '<h3>' . t('Current Temp Settings') . '</h3>';
|
||||||
$s .= '<div id="curtemp-settings-wrapper">';
|
$s .= '<div id="curtemp-settings-wrapper">';
|
||||||
$s .= '<p>Find the location code for the airport/weather station nearest you <a href="http://en.wikipedia.org/wiki/International_Air_Transport_Association_airport_code">here</a>.</p>';
|
$s .= '<p>Find the location code for the airport/weather station nearest you <a href="http://en.wikipedia.org/wiki/International_Air_Transport_Association_airport_code" target="_blank">here</a>.</p>';
|
||||||
$s .= '<label id="curtemp-location-label" for="curtemp_loc">' . t('Current Temp Location: ') . '</label>';
|
$s .= '<label id="curtemp-location-label" for="curtemp_loc">' . t('Current Temp Location: ') . '</label>';
|
||||||
$s .= '<input id="curtemp-location" type="text" name="curtemp_loc" value="' . $curtemp_loc . '"/>';
|
$s .= '<input id="curtemp-location" type="text" name="curtemp_loc" value="' . $curtemp_loc . '"/>';
|
||||||
$s .= '<div class="clear"></div>';
|
$s .= '<div class="clear"></div>';
|
||||||
|
|
Loading…
Reference in New Issue