--- orig/services_captiveportal_filemanager.php	2011-02-16 10:55:47.000000000 +0100
+++ new/services_captiveportal_filemanager.php	2012-07-09 16:43:25.000000000 +0200
@@ -137,11 +137,15 @@
 <?php
 	$tab_array = array();
 	$tab_array[] = array(gettext("Captive portal"), false, "services_captiveportal.php");
+	$tab_array[] = array(gettext("Univnautes"), false, "pkg_edit.php?xml=univnautes.xml&id=0");
+	$tab_array[] = array(gettext("Univnautes UI"), false, "pkg_edit.php?xml=univnautes_texts.xml&id=0");
+	$tab_array[] = array(gettext("File Manager"), true, "services_captiveportal_filemanager.php");
 	$tab_array[] = array(gettext("Pass-through MAC"), false, "services_captiveportal_mac.php");
-	$tab_array[] = array(gettext("Allowed IP addresses"), false, "services_captiveportal_ip.php");
+	$tab_array[] = array(gettext("Allowed IP"), false, "services_captiveportal_ip.php");
+/* UNIVNAUTES
 	$tab_array[] = array(gettext("Allowed Hostnames"), false, "services_captiveportal_hostname.php");
 	$tab_array[] = array(gettext("Vouchers"), false, "services_captiveportal_vouchers.php");
-	$tab_array[] = array(gettext("File Manager"), true, "services_captiveportal_filemanager.php");
+UNIVNAUTES */
 	display_top_tabs($tab_array, true);
 ?>  </td></tr>
   <tr>
@@ -203,16 +207,11 @@
 	<?=gettext("Note:"); ?><br>
 	</strong></span>
 	<?=gettext("Any files that you upload here with the filename prefix of captiveportal- will " .
-	"be made available in the root directory of the captive portal HTTP(S) server. " .
+	"be made available in the /media/local/ directory of the captive portal HTTP(S) server. " .
 	"You may reference them directly from your portal page HTML code using relative paths. " .
 	"Example: you've uploaded an image with the name 'captiveportal-test.jpg' using the " .
 	"file manager. Then you can include it in your portal page like this:"); ?><br><br>
-	<tt>&lt;img src=&quot;captiveportal-test.jpg&quot; width=... height=...&gt;</tt>
-	<br><br>
-	<?=gettext("In addition, you can also upload .php files for execution.  You can pass the filename " .
-	"to your custom page from the initial page by using text similar to:"); ?>
-	<br><br>
-	<tt>&lt;a href="/captiveportal-aup.php?redirurl=$PORTAL_REDIRURL$"&gt;<?=gettext("Acceptable usage policy"); ?>&lt/a&gt;</tt>
+	<tt>&lt;img src=&quot;/media/local/captiveportal-test.jpg&quot; width=... height=...&gt;</tt>
 	<br><br>
 	<?php printf(gettext("The total size limit for all files is %s."), format_bytes($g['captiveportal_element_sizelimit']));?></span>
 </td>
