Alle HTML-Ausgaben werden jetzt in index.php generiert (fixes #28)
This commit is contained in:
parent
f8a89b7ca1
commit
e756510d21
2 changed files with 51 additions and 38 deletions
13
index.php
13
index.php
|
@ -98,7 +98,10 @@ a:active {
|
|||
width="10" height="65" /></div>
|
||||
<div id="imgscroller"><div id="scrollable"><?php
|
||||
// zeigt die eingelesenen Thumnails an
|
||||
showThumbNails($thumbinfo);
|
||||
foreach (getAllThumbnails($thumbinfo) as $thumbdata) {
|
||||
printf('<div class="thumbnail"><img src="%s" alt="%s" %s /></div>',
|
||||
$thumbdata['src'], $thumbdata['alt'], $thumbdata['sizes']);
|
||||
}
|
||||
?></div></div>
|
||||
<div id="arrright"><img src="css/grafiken/aro-rt.png" alt="nach rechts"
|
||||
width="10" height="65" /></div>
|
||||
|
@ -108,7 +111,11 @@ a:active {
|
|||
<div id="content_main">
|
||||
<div class="bildposition"><?php
|
||||
// bindet die Bilder in den Hauptbereich ein
|
||||
showPreview($thumbinfo);
|
||||
$data = getFirstPreview($thumbinfo);
|
||||
printf('<a class="lightbox" title="%s" href="%s" rel="lightbox">' .
|
||||
'<img id="contentimg" src="%s" alt="%s" %s /></a>',
|
||||
$data['title'], $data['full'], $data['src'], $data['alt'],
|
||||
$data['sizes']);
|
||||
?></div>
|
||||
</div>
|
||||
<div id="content_nav">
|
||||
|
@ -119,7 +126,7 @@ a:active {
|
|||
</div>
|
||||
<div class="imgdescription" id="imagedescription"><?php
|
||||
// liest die Bildbeschreibung für das jeweilige Bild (wenn definiert)
|
||||
renderDescription($thumbinfo);
|
||||
print getFirstDescription($thumbinfo);
|
||||
?></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in a new issue