Broadband-Hamnet™ Forum :: Firmware
Welcome Guest   [Register]  [Login]
 Subject :small change to mesh cgi-bin.. 2015-01-20- 12:59:49 
WB6TAE
Member
Joined: 2014-05-01- 23:48:12
Posts: 70
Location

I wanted my "services" links to automatically open in a new window (rather than control clicking and selecting new window or tab). This way, my mesh status window stays open, and accessible. So, in the

foreach(`cat /var/run/services_olsr 2>/dev/null`)


code block (around line 140) I changed

$services{$host}{$name} = $port ? "<a href='$url'>$name</a>" : $name;
to:
$services{$host}{$name} = $port ? "<a href='$url' target='_blank'>$name</a>" : $name;

IP Logged
Last Edited On: 2015-01-20- 13:46:49 By WB6TAE for the Reason
Page # 


Powered by ccBoard


SPONSORED AD: