echo "<a href=\"#\" onclick=\"with (document.forms[0]) { sort_box.value='modify'; submit();}\" class=\"head\">" . $Translate[83] . "</a>\n"; echo "</td>\n"; echo "<td class=\"header-left\">\n"; // echo ("<a href=\"".$_SERVER[PHP_SELF]."?sort=owner\" class=\"head\">Owner</a>\n"); echo "<a href=\"#\" onclick=\"with (document.forms[0]) { sort_box.value='owner'; submit();}\" class=\"head\">" . $Translate[84] . "</a>\n"; echo "</td>\n"; echo "<td class=\"header-left\">\n"; // echo ("<a href=\"".$_SERVER[PHP_SELF]."?sort=group\" class=\"head\">Group</a>\n"); echo "<a href=\"#\" onclick=\"with (document.forms[0]) { sort_box.value='group'; submit();}\" class=\"head\">" . $Translate[85] . "</a>\n"; echo "</td>\n"; echo "<td class=\"last-header\">\n"; // echo ("<a href=\"".$_SERVER[PHP_SELF]."?sort=permission\" class=\"head\">Attributes</a>\n"); echo "<a href=\"#\" onclick=\"with (document.forms[0]) { sort_box.value='permission'; submit();}\" class=\"head\">" . $Translate[86] . "</a>\n"; echo "</td>\n"; echo "</tr>\n"; $dir2ectoryListing = new directorylist($dir2); if (strlen($dir2ectoryListing->error) != 0) { echo "<script language=\"JavaScript\" type=\"text/javascript\">\n"; echo "<!--\n\n"; echo " alert(\"" . $Translate[26] . "\");\n\n"; echo "-->\n"; echo "</script>\n"; } $dir2ectoryListing->order($sort, "ASC"); for ($iElement = 0; $iElement < $dir2ectoryListing->nrof_elements(); $iElement++) { $File = $dir2ectoryListing->directory_element($iElement); if ($File->Type() != 'DIRECTORYREFRESH') { echo "<tr bgcolor=\"#FFFFFF\">\n"; echo "<td class=\"left\" style=\"vertical-align:bottom\" title=\"" . $File->Name() . "\">"; if ($File->Type() == 'DIRECTORY' || $File->Type() == 'DIRECTORYUP') { echo "<a href=\"#\" onclick=\"with (document.forms[0]) { dir_box.value='" . $File->Path() . "';dir_box2.value='" . $File->Path() . "';saveScroll(); submit();}\">";