"MDL-17316, non-js file manager, support externel authentication"

This commit is contained in:
dongsheng 2009-06-11 02:54:33 +00:00
parent a0c4bc65fc
commit 5e98ab966f
3 changed files with 29 additions and 13 deletions

View file

@ -122,13 +122,15 @@ case 'sign':
echo '<input type="submit" value="Upload" />';
echo '</form>';
} else {
foreach ($list['path'] as $p) {
echo '<form method="post" style="display:inline">';
echo '<input type="hidden" name="p" value="'.$p['path'].'"';
echo '<input type="hidden" name="action" value="list"';
echo '<input type="submit" value="'.$p['name'].'" />';
echo '</form>';
echo ' <strong>/</strong> ';
if (!empty($list['path'])) {
foreach ($list['path'] as $p) {
echo '<form method="post" style="display:inline">';
echo '<input type="hidden" name="p" value="'.$p['path'].'"';
echo '<input type="hidden" name="action" value="list"';
echo '<input type="submit" value="'.$p['name'].'" />';
echo '</form>';
echo ' <strong>/</strong> ';
}
}
echo '<table>';
foreach ($list['list'] as $item) {