r1922 + another fix for NATv4
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 9 May 2008 20:18:53 +0000 (20:18 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 9 May 2008 20:18:53 +0000 (20:18 +0000)
+ fix images for account mgmt tab

inc/interface.php
inc/ophandlers.php

index 6bbd26e..c0b381f 100644 (file)
@@ -3383,8 +3383,8 @@ function printImageHREF ($tag, $title = '', $do_input = FALSE, $tabindex = 0)
        $image['useup']['path'] = 'pix/tango-edit-clear.png';
        $image['useup']['width'] = 16;
        $image['useup']['height'] = 16;
-       $image['blockuser'] = $image['reserve'];
-       $image['unblockuser'] = $image['useup'];
+       $image['blockuser'] = $image['inservice'];
+       $image['unblockuser'] = $image['notinservice'];
        $image['link']['path'] = 'pix/tango-network-wired.png';
        $image['link']['width'] = 16;
        $image['link']['height'] = 16;
index bc1c29e..a11b4ac 100644 (file)
@@ -94,7 +94,7 @@ function addPortForwarding ()
        $object_id = $_REQUEST['object_id'];
        $remoteport = $_REQUEST['remoteport'];
        if (empty ($remoteport))
-               $remoteport = $localport;
+               $remoteport = $_REQUEST['localport'];
 
        $retpage="${root}?page=${pageno}&tab=${tabno}&object_id=$object_id";