debugging = TRUE; $map->ReadConfig($mapfile); if(1==0) { $nodename = "Centre"; $newnodename = "dave"; $newnode = $map->nodes[$nodename]; $newnode->name = $newnodename; $map->nodes[$newnodename] = $newnode; unset($map->nodes[$nodename]); foreach ($map->links as $link) { if($link->a->name == $nodename) { $map->links[$link->name]->a = $newnode; } if($link->b->name == $nodename) { $map->links[$link->name]->b = $newnode; } } // print_r($map->nodes['main']); } $map->WriteConfig("output.conf"); print "Wrote config\n"; // print_r($map); // vim:ts=4:sw=4: ?>
WebSVN - weathermap - Blame - Rev 110 - /test-rig.php
Català-Valencià - Catalan
Česky - Cesky
Dansk - Dansk
Dutch - Dutch
English - English
Finnish - Finnish
Français - Francais
Deutsch - German
עברית - Hebrew
Magyar - Hungarian
Bahasa Indonesia - Indonesian
Italiano - Italian
日本語 - Japanese
한국어 - Korean
Norsk - Norwegian
Polski - Polish
Português - Portuguese
Português - Brazilian Portuguese
Русский - Russian
中文 - Simplified Chinese
Slovenčina - Slovak
Slovenčina - Slovenian
Español - Spanish
Svenska - Swedish
中文 - Traditional Chinese
Türkçe - Turkish
Oëzbekcha - Uzbek
weathermap
Subversion Repositories:
banderdyn
centos.prosek.czf
crusader
czf4bfu
czf4bfu.prosek.czf
czfcentos
czfgmap
discover
fedora.prosek.czf
freenet-router
ftth
getonlineclouds
hotsanic
internet.prosek.czf
is
mapstats
meteolinger
netmap
qos
sedlo
sedlo.prosek.czf
switches
vbtobb
vlubnt
weathermap
weatherstats
websvn
wifidashboard
wifimon
www.prosek.czf
xenstats
[
/
] [
test-rig.php
] - Blame information for rev
110
Line No.
Rev
Author
Line
Powered by
WebSVN
2.2.1