| Rev 1 |
|
Rev 10 |
| Line 93... |
|
Line 93... |
if ( (substr($ap_name, 0, 1) == "!") || (substr($ap_name, 0, 1) == "%") ) { |
|
if ( (substr($ap_name, 0, 1) == "!") || (substr($ap_name, 0, 1) == "%") ) { |
$ap_lat_show = 0; |
|
$ap_lat_show = 0; |
$ap_name_show = substr($ap_name, 1, (strlen($ap_name)-1)); // not needed if ! (already done in previous step) |
|
$ap_name_show = substr($ap_name, 1, (strlen($ap_name)-1)); // not needed if ! (already done in previous step) |
} |
|
} |
|
|
|
$ap_xsize = 100; |
|
$ap_xsize = 70; |
$ap_ysize = 35; |
|
$ap_ysize = 35; |
if ($ap_showip == 0) { $ap_ysize=17; } |
|
if ($ap_showip == 0) { $ap_ysize=17; } |
$ap_name_size = ImageFontWidth(3)*strlen($ap_name_show); |
|
$ap_name_size = ImageFontWidth(3)*strlen($ap_name_show); |
$ap_ip_size = ImageFontWidth(2)*strlen($ap_ip); |
|
$ap_ip_size = ImageFontWidth(2)*strlen($ap_ip); |
$ap_lat_size = ImageFontWidth(2)*strlen(round($ap_lat_show))+6; |
|
$ap_lat_size = ImageFontWidth(2)*strlen(round($ap_lat_show))+6; |