update javascript libraries (fixes #47)
* jQuery 1.3.2 * jQuery colorBlend 1.6.1 * balupton's jQuery_lightbox_bal 1.3.7 configurability improvements (addresses #49) * includes/galleryfunctions.php: - make gallery configurable - fix a PHP warning * gallery.ini - initial gallery configuration * index.php - render valid XHTML 1.0 strict markup (fixes #48)
This commit is contained in:
parent
51a78c1d3d
commit
7a00edd2f5
11 changed files with 6884 additions and 312 deletions
89
index.php
89
index.php
|
@ -1,40 +1,38 @@
|
|||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Startseite für ScrollingJQueryGallery. Diese Datei erledigt die
|
||||
* Ausgabe im Browser.
|
||||
*
|
||||
* @author Jan Dittberner <jan@dittberner.info>, Jeremias Arnstadt
|
||||
* <douth024@googlemail.com>
|
||||
* @version \$Id$
|
||||
*
|
||||
* Copyright (c) 2008 Jan Dittberner
|
||||
* Jan Dittberner IT-Consulting & -Solutions
|
||||
* Cottbuser Str. 1, D-01129 Dresden
|
||||
*
|
||||
* Copyright (c) 2008 Jeremias Arnstadt
|
||||
*
|
||||
* This file is part of the ScrollingJQueryGallery component of the
|
||||
* gnuviech-server.de Websitetools
|
||||
*
|
||||
* ScrollingJQueryGallery is free software: you can redistribute it
|
||||
* and/or modify it under the terms of the GNU General Public
|
||||
* License as published by the Free Software Foundation, either
|
||||
* version 3 of the License, or (at your option) any later version.
|
||||
*
|
||||
* ScrollingJQueryGallery is distributed in the hope that it will be
|
||||
* useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
* See the GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with ScrollingJQueryGallery. If not, see
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
/**
|
||||
* @file Startseite für ScrollingJQueryGallery. Diese Datei erledigt
|
||||
* die Ausgabe im Browser.
|
||||
*
|
||||
* @author Jan Dittberner <jan@dittberner.info>, Jeremias Arnstadt
|
||||
* <douth024@googlemail.com> @version \$Id$
|
||||
*
|
||||
* Copyright (c) 2008, 2009 Jan Dittberner
|
||||
* Jan Dittberner IT-Consulting & -Solutions
|
||||
* Cottbuser Str. 1, D-01129 Dresden
|
||||
*
|
||||
* Copyright (c) 2008 Jeremias Arnstadt
|
||||
*
|
||||
* This file is part of the ScrollingJQueryGallery component of the
|
||||
* gnuviech-server.de Websitetools
|
||||
*
|
||||
* ScrollingJQueryGallery is free software: you can redistribute it
|
||||
* and/or modify it under the terms of the GNU General Public License
|
||||
* as published by the Free Software Foundation, either version 3 of
|
||||
* the License, or (at your option) any later version.
|
||||
*
|
||||
* ScrollingJQueryGallery is distributed in the hope that it will be
|
||||
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
||||
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with ScrollingJQueryGallery. If not, see
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Inkludiert die Funktionsbibliothek.
|
||||
*/
|
||||
/**
|
||||
* Inkludiert die Funktionsbibliothek.
|
||||
*/
|
||||
require 'includes/galleryfunctions.php';
|
||||
|
||||
/**
|
||||
|
@ -48,17 +46,18 @@ $gallery = getCurrentGallery();
|
|||
$thumbinfo = getThumbNailInfo($gallery);
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC
|
||||
"-//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<title><?php print getGalleryTitle($thumbinfo); ?></title>
|
||||
<link rel="stylesheet" type="text/css" href="css/main.css" />
|
||||
<link rel="stylesheet" href="css/format.css" type="text/css" />
|
||||
<link rel="stylesheet" href="css/jquery.lightbox.css" type="text/css" />
|
||||
<script src="scripts/jquery.js" type="text/javascript" ></script>
|
||||
<script src="js/jQuery.colorBlend.pack.js" type="text/javascript"></script>
|
||||
<script src="js/jquery.lightbox.packed.js" type="text/javascript" ></script>
|
||||
<script src="js/jquery.js" type="text/javascript" ></script>
|
||||
<script src="js/jquery.colorBlend.js" type="text/javascript"></script>
|
||||
<script src="js/jquery.lightbox.js" type="text/javascript" ></script>
|
||||
<script src="scripts/ourhandlers.js" type="text/javascript" ></script>
|
||||
<style type="text/css">
|
||||
<?php
|
||||
|
@ -88,9 +87,10 @@ a:active {
|
|||
<div id="menu"><?php
|
||||
foreach (getGalleryLinks() as $data) {
|
||||
if ($data['gallery'] == $gallery) {
|
||||
$active = ' class="active"';
|
||||
$active = ' active';
|
||||
}
|
||||
printf('<a class="%s" href="%s"%s>%s </a>', menu, $data['url'], $active, $data['label']);
|
||||
printf('<a class="menu%s" href="%s">%s </a>', $active,
|
||||
$data['url'], $data['label']);
|
||||
} ?></div>
|
||||
<div id="content_container">
|
||||
<div id="slider">
|
||||
|
@ -119,10 +119,7 @@ a:active {
|
|||
?></div>
|
||||
</div>
|
||||
<div id="content_nav">
|
||||
<img id="backbtn" src="css/grafiken/back.png" alt="back" class="back"
|
||||
width="10" height="10" top="0"><img id="fwdbtn"
|
||||
src="css/grafiken/next.png" alt="next" class="next" width="10"
|
||||
height="10" top="0">
|
||||
<img id="backbtn" src="css/grafiken/back.png" alt="back" class="back" width="10" height="10" /><img id="fwdbtn" src="css/grafiken/next.png" alt="next" class="next" width="10" height="10" />
|
||||
</div>
|
||||
<div class="imgdescription" id="imagedescription"><?php
|
||||
// liest die Bildbeschreibung für das jeweilige Bild (wenn definiert)
|
||||
|
|
Reference in a new issue