Archived
1
0
Fork 0

Lizenz- und Copyrightinformationen

* ungenutzte funktionen/menupunkte.php entfernt (fixes #14)
 * Lizenz- und Copyrightinformationen in allen eigenen Dateien des
   Projekts eingetragen (fixes #2, #7)
This commit is contained in:
Jan Dittberner 2008-08-26 20:27:24 +00:00
parent 9fd5cf2ee4
commit 05210f1ee1
19 changed files with 583 additions and 330 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 87 KiB

View file

@ -1,3 +1,29 @@
/*
* Copyright (c) 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
*
* 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/>.
*
* Version: $Id$
*/
#arrleft { #arrleft {
position:absolute; position:absolute;
top:0px; top:0px;
@ -74,4 +100,3 @@ position:relative;
margin-left:2px; margin-left:2px;
margin-bottom:2px; margin-bottom:2px;
} }

View file

@ -1,6 +1,30 @@
/*
* Copyright (c) 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
*
* 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/>.
*
* Version: $Id$
*/
@charset "UTF-8"; @charset "UTF-8";
/* CSS Document */
body { body {
font-family:Verdana; font-family:Verdana;
@ -66,8 +90,6 @@ left: 808px;
top: 0px; top: 0px;
} }
#content { #content {
position:absolute; position:absolute;
width:616px; width:616px;

View file

@ -1,5 +1,33 @@
/* Styles for scrolling layers /*
Specify width and height in hold and wn, and in clip for wn */ * Copyright (c) 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
*
* Styles for scrolling layers
*
* 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/>.
*
* Version: $Id$
*/
/* Specify width and height in hold and wn, and in clip for wn */
div#hold { div#hold {
position:relative; position:relative;
overflow:hidden; overflow:hidden;

View file

@ -6,7 +6,23 @@
* Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info> * Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions, * Jan Dittberner IT-Consulting & -Solutions,
* Cottbuser Str. 1, D-01129 Dresden * Cottbuser Str. 1, D-01129 Dresden
* All rights reserved. *
* 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/>.
* *
* Version: $Id$ * Version: $Id$
*/ */
@ -38,4 +54,3 @@ if (isset($_GET["imagename"])) {
header("Content-Type: text/plain; charset=UTF-8"); header("Content-Type: text/plain; charset=UTF-8");
print json_encode(getImgInfo($_GET["imagename"])); print json_encode(getImgInfo($_GET["imagename"]));
} }
?>

View file

@ -1,10 +1,32 @@
<?php <?php
/* /*
* Copyright (c) 2008 Jan Dittberner, Jeremias Arnstadt * Code for displaying image descriptions.
*
* Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
*
* 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/>.
* *
* Version: $Id$ * Version: $Id$
*/ */
include_once("fetchdescription.php"); include_once("fetchdescription.php");
$imginfo = getImgInfo($allfiles[0]); $imginfo = getImgInfo($allfiles[0]);
if (is_array($imginfo) && isset($imginfo["data"])) { if (is_array($imginfo) && isset($imginfo["data"])) {
@ -12,4 +34,3 @@ if (is_array($imginfo) && isset($imginfo["data"])) {
} else { } else {
print $imginfo; print $imginfo;
} }
?>

View file

@ -1,6 +1,33 @@
<?php <?php
/*
* Code for displaying the detail images.
*
* Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
*
* 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/>.
*
* Version: $Id$
*/
$width_middle = 311; $width_middle = 311;
printf("<a href=\"%s\" class=\"lightbox\" ><img id=\"contentimg\" src=\"%s\" alt=\"\" width=\"%s\" /></a>", printf("<a href=\"%s\" class=\"lightbox\" ><img id=\"contentimg\" src=\"%s\" alt=\"\" width=\"%s\" /></a>",
dirname($allfiles[0]) . DIRECTORY_SEPARATOR . basename($allfiles[0]), dirname($allfiles[0]) . DIRECTORY_SEPARATOR . basename($allfiles[0]),
$allfiles[0], $width_middle); $allfiles[0], $width_middle);
?>

View file

@ -1,4 +1,31 @@
<? <?
/*
* Code for calculating thumbnail image sizes.
*
* Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* 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/>.
*
* Version: $Id$
*/
$thumbsizes = array(); $thumbsizes = array();
$thumbwidthsum = 2; $thumbwidthsum = 2;
$thumbheight = 67; $thumbheight = 67;
@ -12,4 +39,3 @@ foreach ($allfiles as $filename) {
$thumbwidthsum = $thumbwidthsum + $thumbsize[0] + 3; $thumbwidthsum = $thumbwidthsum + $thumbsize[0] + 3;
} }
} }
?>

View file

@ -1,6 +1,31 @@
<?php <?php
/*
* Code for showing thumbnail images.
*
* Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* 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/>.
*
* Version: $Id$
*/
foreach ($thumbsizes as $thumbfile => $thumbsize) { foreach ($thumbsizes as $thumbfile => $thumbsize) {
printf("<div class=\"thumbnail\"><img src=\"%s\" alt=\"\" height=\"%s\" /></div>", printf("<div class=\"thumbnail\"><img src=\"%s\" alt=\"\" height=\"%s\" /></div>",
$thumbfile, $thumbheight); $thumbfile, $thumbheight);
} }
?>

View file

@ -1,10 +1,30 @@
<?php <?php
/* /*
* Copyright (c) 2008 Jan Dittberner, Jeremias Arnstadt * Copyright (c) 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
*
* 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/>.
* *
* Version: $Id$ * Version: $Id$
*/ */
// Pfad der Bilder für die jeweilige Kategorie // Pfad der Bilder für die jeweilige Kategorie
$allfiles = glob("./bilder/*.jpg"); $allfiles = glob("./bilder/*.jpg");
// Name des Menüpunktes // Name des Menüpunktes
@ -61,44 +81,35 @@ a:active {
<!-- container --> <!-- container -->
<div id="container"> <div id="container">
<div id="content"> <div id="content">
<div id="menu"><? include ("menu/menu.php"); ?></div> <div id="menu"><? include ("menu/menu.php"); ?></div>
<div id="content_container"> <div id="content_container">
<div id="slider"> <div id="slider">
<div id="arrleft"><img src="css/grafiken/aro-lft.png" alt="nach links" width="10" height="65" /></div> <div id="arrleft"><img src="css/grafiken/aro-lft.png" alt="nach links" width="10" height="65" /></div>
<div id="imgscroller"><div id="scrollable"> <div id="imgscroller"><div id="scrollable"><?php
<?php // zeigt die eingelesenen Thumnails an
include ("./funktionen/thumbnail_show.php"); // zeigt die eingelesenen Thumnails an include("./funktionen/thumbnail_show.php");
?></div></div>
<div id="arrright"><img src="css/grafiken/aro-rt.png" alt="nach rechts" width="10" height="65" /></div>
</div>
<div id="sub_menu"><?php
// bindet das Submenü mit definiertem Links ein.
include("submenu.php");
?></div> ?></div>
</div> </div>
<div id="arrright">
<img src="css/grafiken/aro-rt.png" alt="nach rechts" width="10" height="65" />
</div>
</div>
<div id="sub_menu"><? include ("submenu.php"); // bindet das Submenü mit definiertem Links ein.?></div>
</div>
<div id="content_sub"> <div id="content_sub">
<div id="content_main"> <div id="content_main">
<div class="bildposition"> <div class="bildposition"><?php
<?php // bindet die Bilder in den Hauptbereich ein
include ("./funktionen/show_pictures.php"); // bindet die Bilder in den Hauptbereich ein include ("./funktionen/show_pictures.php");
?></div> ?></div>
</div> </div>
<div id="content_nav"> <div id="content_nav">
<img id="backbtn" src="css/grafiken/back.jpg" alt="back" class="back" width="10" height="10" top="0"><img id="fwdbtn" src="css/grafiken/next.jpg" alt="next" class="next" width="10" height="10" top="0"> <img id="backbtn" src="css/grafiken/back.jpg" alt="back" class="back" width="10" height="10" top="0"><img id="fwdbtn" src="css/grafiken/next.jpg" alt="next" class="next" width="10" height="10" top="0">
</div> </div>
<div class="imgdescription" id="imagedescription"><?php
<div class="imgdescription" id="imagedescription"> // liest die Bildbeschreibung für das jeweilige Bild (wenn definiert)
<?php include ("funktionen/description.php");
include ("funktionen/description.php"); // liest die Bildbeschreibung für das jeweilige Bild (wenn definiert) ?></div>
?>
</div>
</div> </div>
</div> </div>
</div> </div>

View file

@ -1,4 +1,31 @@
<!-- <?php
/*
* Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
*
* 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/>.
*
* Version: $Id$
*/
/*
$verzeichnis = realpath($_SERVER['DOCUMENT_ROOT'] . "/bild_framework/"); $verzeichnis = realpath($_SERVER['DOCUMENT_ROOT'] . "/bild_framework/");
echo "<ol>"; echo "<ol>";
@ -18,4 +45,4 @@ if ( $handle = opendir ($verzeichnis))
} }
} }
echo "</ol>"; echo "</ol>";
--> */

View file

@ -4,7 +4,6 @@
* Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info> * Copyright (c) 2007, 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions * Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden * Cottbuser Str. 1, D-01129 Dresden
* All rights reserved.
* *
* This file is part of the ScrollingJQueryGallery component of the * This file is part of the ScrollingJQueryGallery component of the
* gnuviech-server.de Websitetools * gnuviech-server.de Websitetools

View file

@ -0,0 +1,27 @@
<?php
/*
* Copyright (c) 2008 Jan Dittberner <jan@dittberner.info>
* Jan Dittberner IT-Consulting & -Solutions
* Cottbuser Str. 1, D-01129 Dresden
*
* Copyright (c) 2008 Jeremias Arnstadt <douth024@googlemail.com>
*
* 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/>.
*
* Version: $Id$
*/