Merge branch 'master' of github.com:jeena/seinheit.ch

This commit is contained in:
jeena 2013-07-10 14:50:25 +02:00
commit f95b70d17e
11 changed files with 146 additions and 126 deletions

View file

@ -1,9 +1,8 @@
<html>
<head>
<title>Swiss Didgeridoo Artwork</title>
<title>Seinheit</title>
<link rel="stylesheet" type="text/css" href="/style/main.css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Description" content="Swiss Didgeridoo Artwork - Online Shop" />
</head>
<body>
@ -18,8 +17,8 @@
<ul style="padding-left: 16px; list-style-type: none">
<?php foreach($this->files as $file): ?>
<li>
<a href="javascript: void(0);" onclick="window.open('/img/page/<?php echo $file; ?>', 'Bild', 'width=400,height=300,status=yes,scrollbars=yes,resizable=yes');"><img src="/img/page/<?php echo $file; ?>" width="50" height="50" /></a>
<a href="javascript: void(0);" onclick="opener.document.getElementById('src').value='/img/page/<?php echo $file; ?>'; window.close();" >Einf&uuml;gen</a>
<a href="javascript: void(0);" onclick="window.open('/img/page/<?php echo $file; ?>', 'Bild', 'width=400,height=300,status=yes,scrollbars=yes,resizable=yes');"><img src="/img/<?php echo $this->type; ?>/<?php echo $file; ?>" width="50" height="50" /></a>
<a href="javascript: void(0);" onclick="opener.document.getElementById('src').value='/img/<?php echo $this->type; ?>/<?php echo $file; ?>'; window.close();" >Einf&uuml;gen</a>
<a href="?delete=<?php echo $file ?>" style="float:right; margin-top: 35px">L&ouml;schen</a>
</li>

View file

@ -0,0 +1,10 @@
<h2>Das Hochladen war erfolgreich.</h2>
<script type="text/javascript">
opener.document.forms[0].header_image.value = '<?php echo $this->imagePath;?>';
setTimeout(function() {
window.self.close();
}, 800);
</script>