* Move a few header() calls after including config.php3 so that we have access to the relevant
variables.
* Make pagesize 'all' work again. Bug found by apellido jr., wilfredo p.
+* Make 'Add NAS' function in the nas admin page more easily accessible
Ver 1.72:
* Move the xlat function to a separate file in lib/xlat.php3
* Add a lib/sql/nas_list.php3 to also get the nas list from sql (naslist.conf still works)
}
-if ($clear_fields == 1)
+if ($clear_fields == 1 || ($do_it == 0 && $select_nas == 0))
$selected_nas = $readonly = '';
else
$readonly = 'readonly';
<br>
<select name=action size=1>
<?php
-if ($clear_fields == 1)
+if ($clear_fields == 1 || ($do_it == 0 && $select_nas == 0))
echo "<option value=\"add_nas\">Add NAS\n";
-else
+if ($clear_fields == 0)
echo <<<EOM
<option value="change_nas">Change NAS Info
<option value="del_nas">Delete Selected NAS