first sorry for my approximative english
I'm using a long time Wamp in windows and Mamp under MacOS I've now change to Xampp
I'm propose for all OS version to add a litle script to xampp for list user applications in navibar
in htdocs/xampp/navi.php line 35 I've added
- Code: Select all
<span class=nh><?=$TEXT['navi-apps']?></span><br>
</td>
</tr>
<tr>
<td height="1" bgcolor="#fb7922" colspan="1" style="background-image:url(img/strichel.gif)" class="white"></td>
</tr>
<tr valign="top">
<td align="right" class="navi">
<?php include "apps.php"; ?>
<br>
in all language files line 22
- Code: Select all
$TEXT['navi-apps'] = "Applications";
and in htdocs/xampp directory this app.php script
- Code: Select all
<?php
$dir = dirname(dirname(__FILE__));
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if (is_dir($dir.'/'.$file)
&& $file != '.'
&& $file != '..'
&& $file != 'xampp'
&& $file != 'ZendApplications') {
echo '<a class="n" target="' . $file . '" onclick="h(this);" href="../' . $file . '">' . $file . '</a><br>';
} elseif (is_dir($dir.'/'.$file)
&& $file == 'ZendApplications') {
$dir2=$dir.'/'.$file;
if ($dh2 = opendir($dir2)) {
while (($file = readdir($dh2)) !== false) {
if (is_dir($dir2.'/'.$file)
&& $file != '.'
&& $file != '..'
) {
echo '<a class="n" target="' . $file . '" onclick="h(this);" href="../ZendApplications/' . $file . '">' . $file . '</a><br>';
}
}
closedir($dh2);
}
}
}
closedir($dh);
}
}
Now in my navibar I have an entry for each application in my htdocs folder.
I'm propose you to add this on the native xampp package
A+JYT