Beispiel #1
0
		<?php 
// Hinweis hinzufügen
for ($i = 0; $i < count($FILES); $i++) {
    echo "document.getElementById('i1" . $i . "').title = tinyMCEPopup.getLang('smexplorer.file_menu_hint_1', '?'); document.getElementById('i2" . $i . "').title = tinyMCEPopup.getLang('smexplorer.file_menu_hint_2', '?'); document.getElementById('i3" . $i . "').title = tinyMCEPopup.getLang('smexplorer.file_menu_hint_3', '?');";
}
?>
		/* ]]> */
		</script>
	</form>
</div>

<div id="statusbar" class="statusbar">
	<div style="float:left; margin:2px;"><img src="img/icon_folder_20x20.png" border="0" /></div>
	<div id="statusbar_item1" style="float:left; padding-left:2px;"><?php 
GetCurrentPath($ROOT_FOLDER[$SESSION["treemenu"]], $SESSION["dir"]);
?>
</div><div id="statusbar_item2" style="float:right; padding-right:3px;"><script language="javascript" type="text/javascript">document.write(tinyMCEPopup.getLang('smexplorer.statusbar_item2_1', '?'));</script>:&nbsp;<?php 
echo count($FILES);
?>
</div>
</div>

<?php 
// Speicher freigeben
unset($FILES);
?>

<?php 
// Message-Box: Upload nicht erfolgreich
if (!$UPLOAD_RESULT) {
Beispiel #2
0
                echo "<script language=\"javascript\" type=\"text/javascript\">document.getElementById('i1" . $i . "').title = tinyMCEPopup.getLang('smimage.image_menu_hint_1', '?'); document.getElementById('i2" . $i . "').title = tinyMCEPopup.getLang('smimage.image_menu_hint_2', '?');</script>";
                $i++;
            }
            echo "</table></div>";
        }
        break;
    case 2:
        include "php/upload.php";
        break;
}
?>

<div id="statusbar" class="statusbar">
	<div style="float:left; margin:2px;"><img src="img/icon_folder_20x20.png" border="0" /></div>
	<div id="statusbar_item1" style="float:left; padding-left:2px;"><?php 
GetCurrentPath($SESSION["dir_root"], $SESSION["dir"]);
?>
</div>
	<div id="statusbar_item2" style="float:right; padding-right:3px;"><?php 
if ($SESSION["id"] == 1) {
    if ($SESSION["show_thumbnail"] == 1) {
        $p = ceil(count($FILES) / $SESSION["thumbnails_perpage"]);
        if ($p <= 0) {
            $p = 1;
        }
        echo "<script language=\"javascript\" type=\"text/javascript\">document.write(tinyMCEPopup.getLang('smimage.statusbar_item2_1', '?'));</script>:&nbsp;" . ($SESSION["page"] + 1) . "<span style=\"margin-left:3px; margin-right:3px;\">/</span>" . $p . " [<script language=\"javascript\" type=\"text/javascript\">document.write(tinyMCEPopup.getLang('smimage.statusbar_item2_2', '?'));</script>:&nbsp;" . count($FILES) . "]";
    } else {
        echo "[<script language=\"javascript\" type=\"text/javascript\">document.write(tinyMCEPopup.getLang('smimage.statusbar_item2_2', '?'));</script>:&nbsp;" . count($FILES) . "]";
    }
}
?>