pview-php-commits Mailing List for Pview.php (Page 6)
Brought to you by:
vko
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(12) |
Jun
(60) |
Jul
(57) |
Aug
|
Sep
(26) |
Oct
|
Nov
(6) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(8) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Ville K. <vk...@us...> - 2001-06-11 18:16:53
|
Update of /cvsroot/pview-php/Pview.php/templates In directory usw-pr-cvs1:/tmp/cvs-serv9881/templates Modified Files: common-header.inc Log Message: in thumb view page title shows serie name, in image view serie name and short image description Index: common-header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/common-header.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** common-header.inc 2001/05/30 10:20:56 1.2 --- common-header.inc 2001/06/11 18:16:46 1.3 *************** *** 9,17 **** $title = ''; ! if (!empty($config['Pview']['title']['site'])) { $title .= $config['Pview']['title']['site']; } ?> ! <title><?php echo $title; ?></title> </head> <body> --- 9,21 ---- $title = ''; ! $title .= $config['Pview']['title']['site']; ! if (!empty($pathi[s])) ! $title .= " - " . $series[$pathi[s]][0][0]; ! if (!empty($pathi[i])) ! $title .= " - " . $series[$pathi[s]][$pathi[i]][1]; ?> ! <title><?= $title ?></title> </head> <body> |
From: Ville K. <vk...@us...> - 2001-06-11 17:15:58
|
Update of /cvsroot/pview-php/Pview.php/doc In directory usw-pr-cvs1:/tmp/cvs-serv29459/doc Modified Files: CHANGES Log Message: add information of serie to thumb.php view Index: CHANGES =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/CHANGES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** CHANGES 2001/06/08 13:49:11 1.2 --- CHANGES 2001/06/11 17:15:44 1.3 *************** *** 9,12 **** --- 9,13 ---- * move thumb and image views to their own files, so Pview.php shows just index, image.php just the image and thumb.php just thumbnails of series + * add information of serie to thumb.php view * small design changes |
From: Ville K. <vk...@us...> - 2001-06-11 17:15:55
|
Update of /cvsroot/pview-php/Pview.php/templates/thumb In directory usw-pr-cvs1:/tmp/cvs-serv29459/templates/thumb Modified Files: header.inc Log Message: add information of serie to thumb.php view Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/header.inc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** header.inc 2001/06/08 13:23:50 1.5 --- header.inc 2001/06/11 17:15:44 1.6 *************** *** 1,5 **** <table cellpadding="2" cellspacing="2" border="0" align="center"> <tr> ! <td align="center" colspan="<?= $config['Pview']['layout']['columns'] ?>"><span class="pieni"><?= $series[$pathi[s]][0][4] ?></span></td> </tr> <tr> --- 1,6 ---- <table cellpadding="2" cellspacing="2" border="0" align="center"> <tr> ! <td align="center" colspan="<?= $config['Pview']['layout']['columns'] ?>"><span class="pieni"><?= $series[$pathi[s]][0][4] ?></span><p> ! <?= $series[$pathi[s]][0][0] ?><br><span class="pieni">(<?= $series[$pathi[s]][0][3] ?>)</span></td> </tr> <tr> |
From: Ville K. <vk...@us...> - 2001-06-11 14:29:27
|
Update of /cvsroot/pview-php/Pview.php/admin In directory usw-pr-cvs1:/tmp/cvs-serv23527/admin Added Files: index.php Log Message: adding nearly empty file for future use --- NEW FILE: index.php --- <?php /* * $Id: index.php,v 1.1 2001/06/11 14:29:24 vko Exp $ * * Copyright 2001 Ville Koskinen <bl...@fi...> * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. */ ?> |
From: Ville K. <vk...@us...> - 2001-06-11 14:26:57
|
Update of /cvsroot/pview-php/Pview.php/admin In directory usw-pr-cvs1:/tmp/cvs-serv23097/admin Log Message: Directory /cvsroot/pview-php/Pview.php/admin added to the repository |
From: Ville K. <vk...@us...> - 2001-06-08 18:41:39
|
Update of /cvsroot/pview-php/Pview.php In directory usw-pr-cvs1:/tmp/cvs-serv7220 Modified Files: pco.php Log Message: comment some debug lines Index: pco.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/pco.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** pco.php 2001/06/07 11:18:59 1.2 --- pco.php 2001/06/08 18:41:27 1.3 *************** *** 23,31 **** include($config['Pview']['path']['template'] . '/common-header.inc'); ! if (isset ($Pviewphpcookie)) { ! while (list ($name, $value) = each ($Pviewphpcookie)) { ! echo "\"$name\" == \"$value\"<br>\n"; ! } ! } include($config['Pview']['path']['template'] . '/pco/pco.inc'); include($config['Pview']['path']['template'] . '/common-footer.inc'); --- 23,33 ---- include($config['Pview']['path']['template'] . '/common-header.inc'); ! # debug ! #if (isset ($Pviewphpcookie)) { ! # while (list ($name, $value) = each ($Pviewphpcookie)) { ! # echo "\"$name\" == \"$value\"<br>\n"; ! # } ! #} ! include($config['Pview']['path']['template'] . '/pco/pco.inc'); include($config['Pview']['path']['template'] . '/common-footer.inc'); |
From: Ville K. <vk...@us...> - 2001-06-08 13:49:14
|
Update of /cvsroot/pview-php/Pview.php/doc In directory usw-pr-cvs1:/tmp/cvs-serv14965/doc Modified Files: CHANGES README Log Message: updating docs Index: CHANGES =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/CHANGES,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** CHANGES 2001/06/07 11:18:59 1.1 --- CHANGES 2001/06/08 13:49:11 1.2 *************** *** 5,10 **** cvs --- ! * personal configuration script for users, ! stores configuration in cookies * small design changes --- 5,12 ---- cvs --- ! * personal configuration script for users, stores configuration in cookies ! * put stuff in functions and them to lib/pv.php ! * move thumb and image views to their own files, so Pview.php shows just ! index, image.php just the image and thumb.php just thumbnails of series * small design changes Index: README =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/README,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** README 2001/05/30 10:38:02 1.3 --- README 2001/06/08 13:49:11 1.4 *************** *** 7,15 **** someone wants to do it. ! -------------------------------------------------------------- FILES: ! Pview.php script itself (doh!) Pview.css style sheet index.php default is to redirect to Pview.php, --- 7,18 ---- someone wants to do it. ! ---------------------------------------------------------------------- FILES: ! Pview.php shows index of series ! thumb.php shows thumbnails of series ! image.php shows image from a serie ! pco.php personal configuration script for users Pview.css style sheet index.php default is to redirect to Pview.php, *************** *** 25,29 **** (you need imagemagick!) ! -------------------------------------------------------------- INSTALLATION: --- 28,32 ---- (you need imagemagick!) ! ---------------------------------------------------------------------- INSTALLATION: *************** *** 39,41 **** 6) Surf to http://<yourserver>/pview/ ! -------------------------------------------------------------- --- 42,44 ---- 6) Surf to http://<yourserver>/pview/ ! ---------------------------------------------------------------------- |
From: Ville K. <vk...@us...> - 2001-06-08 13:42:47
|
Update of /cvsroot/pview-php/Pview.php/templates In directory usw-pr-cvs1:/tmp/cvs-serv13392/templates Modified Files: common-footer.inc Log Message: move thumb and image views to their own files Index: common-footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/common-footer.inc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** common-footer.inc 2001/06/08 13:23:50 1.7 --- common-footer.inc 2001/06/08 13:42:40 1.8 *************** *** 12,18 **** # global variables for debugging ! foreach ($GLOBALS as $key=>$value) { ! print "\$GLOBALS[\"$key\"] == \"$value\"<br>"; ! } ?> --- 12,18 ---- # global variables for debugging ! #foreach ($GLOBALS as $key=>$value) { ! # print "\$GLOBALS[\"$key\"] == \"$value\"<br>"; ! #} ?> |
From: Ville K. <vk...@us...> - 2001-06-08 13:42:47
|
Update of /cvsroot/pview-php/Pview.php/templates/index In directory usw-pr-cvs1:/tmp/cvs-serv13392/templates/index Modified Files: series.inc Log Message: move thumb and image views to their own files Index: series.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/index/series.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** series.inc 2001/05/30 10:20:56 1.2 --- series.inc 2001/06/08 13:42:40 1.3 *************** *** 1,5 **** <tr> ! <td><a href="<?= $SCRIPT_NAME ?>/<?= $key ?>/"><?= $series[$key][0][0] ?></a></td> <td width="5"> </td> <td><?= $series[$key][0][2] ?></td> --- 1,5 ---- <tr> ! <td><a href="<?= $config['Pview']['path']['root'] ?>/thumb.php/<?= $key ?>/"><?= $series[$key][0][0] ?></a></td> <td width="5"> </td> <td><?= $series[$key][0][2] ?></td> |
From: Ville K. <vk...@us...> - 2001-06-08 13:42:47
|
Update of /cvsroot/pview-php/Pview.php/templates/thumb In directory usw-pr-cvs1:/tmp/cvs-serv13392/templates/thumb Modified Files: thumb.inc Log Message: move thumb and image views to their own files Index: thumb.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/thumb.inc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** thumb.inc 2001/06/08 13:23:50 1.5 --- thumb.inc 2001/06/08 13:42:40 1.6 *************** *** 1,4 **** <td valign="top" align="center" width="<?= 100/$config['Pview']['layout']['columns'] ?>%"> ! <a href="<?= $SCRIPT_NAME ?>/<?= $pathi[s] ?>/<?= $kuvaidnro ?>/"><img src="<?= empty($series[$pathi[s]][0][5]) ? $config['Pview']['path']['image'] : $series[$pathi[s]][0][5] ?>/<?= $pathi[s] ?>/thumb/<?= $image[0] ?>" border="0"><br><?= $image[1] ?></a></td> --- 1,4 ---- <td valign="top" align="center" width="<?= 100/$config['Pview']['layout']['columns'] ?>%"> ! <a href="<?= $config['Pview']['path']['root'] ?>/image.php/<?= $pathi[s] ?>/<?= $kuvaidnro ?>/"><img src="<?= empty($series[$pathi[s]][0][5]) ? $config['Pview']['path']['image'] : $series[$pathi[s]][0][5] ?>/<?= $pathi[s] ?>/thumb/<?= $image[0] ?>" border="0"><br><?= $image[1] ?></a></td> |
From: Ville K. <vk...@us...> - 2001-06-08 13:42:47
|
Update of /cvsroot/pview-php/Pview.php/templates/image In directory usw-pr-cvs1:/tmp/cvs-serv13392/templates/image Modified Files: footer.inc header.inc Log Message: move thumb and image views to their own files Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/footer.inc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** footer.inc 2001/06/08 13:23:50 1.5 --- footer.inc 2001/06/08 13:42:40 1.6 *************** *** 4,8 **** echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $prev . "/\">"); } ?>Previous<?php if ($pathi[i] > 1) { echo("</a>"); } ?> <a ! href="<?= $SCRIPT_NAME ?>/<?= $pathi[s] ?>/">Index</a> <?php if ($pathi[i] < count($series[$pathi[s]])-1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $next . "/\">"); } ?>Next<?php --- 4,8 ---- echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $prev . "/\">"); } ?>Previous<?php if ($pathi[i] > 1) { echo("</a>"); } ?> <a ! href="<?= $config['Pview']['path']['root'] ?>/thumb.php/<?= $pathi[s] ?>/">Index</a> <?php if ($pathi[i] < count($series[$pathi[s]])-1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $next . "/\">"); } ?>Next<?php Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/header.inc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** header.inc 2001/06/08 13:23:50 1.6 --- header.inc 2001/06/08 13:42:40 1.7 *************** *** 8,12 **** echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $prev . "/\">"); } ?>Previous<?php if ($pathi[i] > 1) { echo("</a>"); } ?> <a ! href="<?= $SCRIPT_NAME ?>/<?= $pathi[s] ?>/">Index</a> <?php if ($pathi[i] < count($series[$pathi[s]])-1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $next . "/\">"); } ?>Next<?php --- 8,12 ---- echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $prev . "/\">"); } ?>Previous<?php if ($pathi[i] > 1) { echo("</a>"); } ?> <a ! href="<?= $config['Pview']['path']['root'] ?>/thumb.php/<?= $pathi[s] ?>/">Index</a> <?php if ($pathi[i] < count($series[$pathi[s]])-1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $next . "/\">"); } ?>Next<?php |
From: Ville K. <vk...@us...> - 2001-06-08 13:42:46
|
Update of /cvsroot/pview-php/Pview.php In directory usw-pr-cvs1:/tmp/cvs-serv13392 Modified Files: Pview.php Added Files: image.php thumb.php Log Message: move thumb and image views to their own files --- NEW FILE: image.php --- <?php /* * $Id: image.php,v 1.1 2001/06/08 13:42:40 vko Exp $ * * Copyright 2001 Ville Koskinen <bl...@fi...> * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. */ /* include config files */ include_once 'config/config.php'; include_once 'config/series.php'; /* include common functions */ include_once 'lib/pv.php'; $pathi = expl_pathi(); include($config['Pview']['path']['template'] . '/common-header.inc'); $prev = $pathi[i] - 1; $next = $pathi[i] + 1; include($config['Pview']['path']['template'] . '/image/header.inc'); include($config['Pview']['path']['template'] . '/image/image.inc'); include($config['Pview']['path']['template'] . '/image/footer.inc'); include($config['Pview']['path']['template'] . '/common-footer.inc'); ?> --- NEW FILE: thumb.php --- <?php /* * $Id: thumb.php,v 1.1 2001/06/08 13:42:40 vko Exp $ * * Copyright 2001 Ville Koskinen <bl...@fi...> * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. */ /* include config files */ include_once 'config/config.php'; include_once 'config/series.php'; /* include common functions */ include_once 'lib/pv.php'; if (isset($Pviewphpcookie[columns])) $config['Pview']['layout']['columns'] = $Pviewphpcookie[columns]; if (isset($Pviewphpcookie[rows])) $config['Pview']['layout']['rows'] = $Pviewphpcookie[rows]; $pathi = expl_pathi(); include($config['Pview']['path']['template'] . '/common-header.inc'); $tr = 0; $kuvaidnro = 1; include($config['Pview']['path']['template'] . '/thumb/header.inc'); reset($series); while($image = $series[$pathi[s]][$kuvaidnro]): $prkl = $kuvaidnro + 1; include($config['Pview']['path']['template'] . '/thumb/thumb.inc'); $kuvaidnro++; $tr++; if (($tr == $config['Pview']['layout']['columns']) AND ($maara != $prkl)) { echo(" </tr>\n <tr>\n"); $tr = 0; } next($series); endwhile; include($config['Pview']['path']['template'] . '/thumb/footer.inc'); include($config['Pview']['path']['template'] . '/common-footer.inc'); ?> Index: Pview.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/Pview.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** Pview.php 2001/06/08 13:23:50 1.12 --- Pview.php 2001/06/08 13:42:40 1.13 *************** *** 18,72 **** include_once 'lib/pv.php'; - if (isset($Pviewphpcookie[columns])) - $config['Pview']['layout']['columns'] = $Pviewphpcookie[columns]; - if (isset($Pviewphpcookie[rows])) - $config['Pview']['layout']['rows'] = $Pviewphpcookie[rows]; - - $pathi = expl_pathi(); - include($config['Pview']['path']['template'] . '/common-header.inc'); - - if (empty($pathi[s])) { - - /* no series defined, show index page */ - - include($config['Pview']['path']['template'] . '/index/header.inc'); - reset($series); - while($key = key($series)): - include($config['Pview']['path']['template'] . '/index/series.inc'); - next($series); - endwhile; - include($config['Pview']['path']['template'] . '/index/footer.inc'); - - } elseif (!empty($pathi[s]) AND (empty($pathi[i]) OR $pathi[i] > count($series[$pathi[s]])-1)) { - - /* series defined but image not, show thumbindex of that series */ - - $tr = 0; $kuvaidnro = 1; - include($config['Pview']['path']['template'] . '/thumb/header.inc'); - reset($series); - while($image = $series[$pathi[s]][$kuvaidnro]): - $prkl = $kuvaidnro + 1; - include($config['Pview']['path']['template'] . '/thumb/thumb.inc'); - $kuvaidnro++; $tr++; - if (($tr == $config['Pview']['layout']['columns']) AND ($maara != $prkl)) { - echo(" </tr>\n <tr>\n"); - $tr = 0; - } - next($series); - endwhile; - include($config['Pview']['path']['template'] . '/thumb/footer.inc'); - - } else { - - /* if image defined, show it (duh!) */ - - $prev = $pathi[i] - 1; - $next = $pathi[i] + 1; - include($config['Pview']['path']['template'] . '/image/header.inc'); - include($config['Pview']['path']['template'] . '/image/image.inc'); - include($config['Pview']['path']['template'] . '/image/footer.inc'); - } include($config['Pview']['path']['template'] . '/common-footer.inc'); --- 18,30 ---- include_once 'lib/pv.php'; include($config['Pview']['path']['template'] . '/common-header.inc'); + include($config['Pview']['path']['template'] . '/index/header.inc'); + reset($series); + while($key = key($series)): + include($config['Pview']['path']['template'] . '/index/series.inc'); + next($series); + endwhile; + include($config['Pview']['path']['template'] . '/index/footer.inc'); include($config['Pview']['path']['template'] . '/common-footer.inc'); |
From: Ville K. <vk...@us...> - 2001-06-08 13:23:53
|
Update of /cvsroot/pview-php/Pview.php/templates/image In directory usw-pr-cvs1:/tmp/cvs-serv9784/templates/image Modified Files: footer.inc header.inc image.inc Log Message: put stuff in functions and them to lib/pv.php Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/footer.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** footer.inc 2001/06/07 11:18:59 1.4 --- footer.inc 2001/06/08 13:23:50 1.5 *************** *** 1,10 **** <tr> <td align="center"> ! <?php if ($imageid > 1) { ! echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $prev . "/\">"); } ?>Previous<?php ! if ($imageid > 1) { echo("</a>"); } ?> <a ! href="<?= $SCRIPT_NAME ?>/<?= $seriesid ?>/">Index</a> <?php ! if ($imageid < count($series[$seriesid])-1) { ! echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $next . "/\">"); } ?>Next<?php ! if ($imageid < count($series[$seriesid])-1) { echo("</a>"); } ?><br> </td> </tr> --- 1,10 ---- <tr> <td align="center"> ! <?php if ($pathi[i] > 1) { ! echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $prev . "/\">"); } ?>Previous<?php ! if ($pathi[i] > 1) { echo("</a>"); } ?> <a ! href="<?= $SCRIPT_NAME ?>/<?= $pathi[s] ?>/">Index</a> <?php ! if ($pathi[i] < count($series[$pathi[s]])-1) { ! echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $next . "/\">"); } ?>Next<?php ! if ($pathi[i] < count($series[$pathi[s]])-1) { echo("</a>"); } ?><br> </td> </tr> Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/header.inc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** header.inc 2001/06/07 11:18:59 1.5 --- header.inc 2001/06/08 13:23:50 1.6 *************** *** 1,17 **** <table cellpadding="2" cellspacing="2" border="0" width="100%"> <tr> ! <td align="center"><span class="pieni"><?= $series[$seriesid][0][4] ?></span><br> </td> </tr> <tr> <td align="center"> ! <?php if ($imageid > 1) { ! echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $prev . "/\">"); } ?>Previous<?php ! if ($imageid > 1) { echo("</a>"); } ?> <a ! href="<?= $SCRIPT_NAME ?>/<?= $seriesid ?>/">Index</a> <?php ! if ($imageid < count($series[$seriesid])-1) { ! echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $next . "/\">"); } ?>Next<?php ! if ($imageid < count($series[$seriesid])-1) { echo("</a>"); } ?><br> </td> </tr> <tr> ! <td align="center"><?= $series[$seriesid][$imageid][1] ?> <span class="pieni">pic <?= $imageid ?>/<?= count($series[$seriesid])-1 ?></span></td> </tr> --- 1,17 ---- <table cellpadding="2" cellspacing="2" border="0" width="100%"> <tr> ! <td align="center"><span class="pieni"><?= $series[$pathi[s]][0][4] ?></span><br> </td> </tr> <tr> <td align="center"> ! <?php if ($pathi[i] > 1) { ! echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $prev . "/\">"); } ?>Previous<?php ! if ($pathi[i] > 1) { echo("</a>"); } ?> <a ! href="<?= $SCRIPT_NAME ?>/<?= $pathi[s] ?>/">Index</a> <?php ! if ($pathi[i] < count($series[$pathi[s]])-1) { ! echo("<a href=\"" . $SCRIPT_NAME . "/" . $pathi[s] . "/" . $next . "/\">"); } ?>Next<?php ! if ($pathi[i] < count($series[$pathi[s]])-1) { echo("</a>"); } ?><br> </td> </tr> <tr> ! <td align="center"><?= $series[$pathi[s]][$pathi[i]][1] ?> <span class="pieni">pic <?= $pathi[i] ?>/<?= count($series[$pathi[s]])-1 ?></span></td> </tr> Index: image.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/image.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** image.inc 2001/06/07 11:18:59 1.4 --- image.inc 2001/06/08 13:23:50 1.5 *************** *** 1,7 **** <tr> <td align="center"><img ! src="<?= empty($series[$seriesid][0][5]) ? $config['Pview']['path']['image'] : $series[$seriesid][0][5]; ?>/<?= $seriesid ?>/normal/<?= $series[$seriesid][$imageid][0] ?>" alt="[IMAGE (<?= $series[$seriesid][$imageid][1] ?>)]"></td> </tr> <tr> ! <td align="center"><?= $series[$seriesid][$imageid][2] ?><br> </td> </tr> --- 1,7 ---- <tr> <td align="center"><img ! src="<?= empty($series[$pathi[s]][0][5]) ? $config['Pview']['path']['image'] : $series[$pathi[s]][0][5]; ?>/<?= $pathi[s] ?>/normal/<?= $series[$pathi[s]][$pathi[i]][0] ?>" alt="[IMAGE (<?= $series[$pathi[s]][$pathi[i]][1] ?>)]"></td> </tr> <tr> ! <td align="center"><?= $series[$pathi[s]][$pathi[i]][2] ?><br> </td> </tr> |
From: Ville K. <vk...@us...> - 2001-06-08 13:23:53
|
Update of /cvsroot/pview-php/Pview.php/templates/thumb In directory usw-pr-cvs1:/tmp/cvs-serv9784/templates/thumb Modified Files: header.inc thumb.inc Log Message: put stuff in functions and them to lib/pv.php Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/header.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** header.inc 2001/06/07 11:18:59 1.4 --- header.inc 2001/06/08 13:23:50 1.5 *************** *** 1,5 **** <table cellpadding="2" cellspacing="2" border="0" align="center"> <tr> ! <td align="center" colspan="<?= $config['Pview']['layout']['columns'] ?>"><span class="pieni"><?= $series[$seriesid][0][4] ?></span></td> </tr> <tr> --- 1,5 ---- <table cellpadding="2" cellspacing="2" border="0" align="center"> <tr> ! <td align="center" colspan="<?= $config['Pview']['layout']['columns'] ?>"><span class="pieni"><?= $series[$pathi[s]][0][4] ?></span></td> </tr> <tr> Index: thumb.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/thumb.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** thumb.inc 2001/06/07 11:18:59 1.4 --- thumb.inc 2001/06/08 13:23:50 1.5 *************** *** 1,4 **** <td valign="top" align="center" width="<?= 100/$config['Pview']['layout']['columns'] ?>%"> ! <a href="<?= $SCRIPT_NAME ?>/<?= $seriesid ?>/<?= $kuvaidnro ?>/"><img ! src="<?= empty($series[$seriesid][0][5]) ? $config['Pview']['path']['image'] : $series[$seriesid][0][5] ?>/<?= $seriesid ?>/thumb/<?= $image[0] ?>" border="0"><br><?= $image[1] ?></a></td> --- 1,4 ---- <td valign="top" align="center" width="<?= 100/$config['Pview']['layout']['columns'] ?>%"> ! <a href="<?= $SCRIPT_NAME ?>/<?= $pathi[s] ?>/<?= $kuvaidnro ?>/"><img ! src="<?= empty($series[$pathi[s]][0][5]) ? $config['Pview']['path']['image'] : $series[$pathi[s]][0][5] ?>/<?= $pathi[s] ?>/thumb/<?= $image[0] ?>" border="0"><br><?= $image[1] ?></a></td> |
From: Ville K. <vk...@us...> - 2001-06-08 13:23:53
|
Update of /cvsroot/pview-php/Pview.php/lib In directory usw-pr-cvs1:/tmp/cvs-serv9784/lib Added Files: pv.php Log Message: put stuff in functions and them to lib/pv.php --- NEW FILE: pv.php --- <?php /* * $Id: pv.php,v 1.1 2001/06/08 13:23:50 vko Exp $ * * Copyright 2001 Ville Koskinen <bl...@fi...> * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.fsf.org/copyleft/gpl.html. */ function expl_pathi() { if (!empty($GLOBALS['PATH_INFO'])) { $explpathinfo = explode ("/", $GLOBALS['PATH_INFO']); $temporary = array('s' => $explpathinfo[1], 'i' => $explpathinfo[2]); return $temporary; } } |
From: Ville K. <vk...@us...> - 2001-06-08 13:23:53
|
Update of /cvsroot/pview-php/Pview.php/templates In directory usw-pr-cvs1:/tmp/cvs-serv9784/templates Modified Files: common-footer.inc Log Message: put stuff in functions and them to lib/pv.php Index: common-footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/common-footer.inc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** common-footer.inc 2001/06/07 11:47:58 1.6 --- common-footer.inc 2001/06/08 13:23:50 1.7 *************** *** 12,18 **** # global variables for debugging ! #foreach ($GLOBALS as $key=>$value) { ! # print "\$GLOBALS[\"$key\"] == \"$value\"<br>"; ! #} ?> --- 12,18 ---- # global variables for debugging ! foreach ($GLOBALS as $key=>$value) { ! print "\$GLOBALS[\"$key\"] == \"$value\"<br>"; ! } ?> |
From: Ville K. <vk...@us...> - 2001-06-08 13:23:53
|
Update of /cvsroot/pview-php/Pview.php In directory usw-pr-cvs1:/tmp/cvs-serv9784 Modified Files: Pview.php Log Message: put stuff in functions and them to lib/pv.php Index: Pview.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/Pview.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** Pview.php 2001/06/07 11:47:58 1.11 --- Pview.php 2001/06/08 13:23:50 1.12 *************** *** 11,17 **** /* include config files */ ! include_once('config/config.php'); ! include_once('config/series.php'); if (isset($Pviewphpcookie[columns])) $config['Pview']['layout']['columns'] = $Pviewphpcookie[columns]; --- 11,21 ---- /* include config files */ ! include_once 'config/config.php'; ! include_once 'config/series.php'; + /* include common functions */ + + include_once 'lib/pv.php'; + if (isset($Pviewphpcookie[columns])) $config['Pview']['layout']['columns'] = $Pviewphpcookie[columns]; *************** *** 19,31 **** $config['Pview']['layout']['rows'] = $Pviewphpcookie[rows]; ! include($config['Pview']['path']['template'] . '/common-header.inc'); ! if (!empty($GLOBALS["PATH_INFO"])) { ! $explpathinfo = explode ("/", $GLOBALS["PATH_INFO"]); ! $seriesid = $explpathinfo[1]; ! $imageid = $explpathinfo[2]; ! } ! if (empty($seriesid)) { /* no series defined, show index page */ --- 23,31 ---- $config['Pview']['layout']['rows'] = $Pviewphpcookie[rows]; ! $pathi = expl_pathi(); ! include($config['Pview']['path']['template'] . '/common-header.inc'); ! if (empty($pathi[s])) { /* no series defined, show index page */ *************** *** 39,43 **** include($config['Pview']['path']['template'] . '/index/footer.inc'); ! } elseif (!empty($seriesid) AND (empty($imageid) OR $imageid > count($series[$seriesid])-1)) { /* series defined but image not, show thumbindex of that series */ --- 39,43 ---- include($config['Pview']['path']['template'] . '/index/footer.inc'); ! } elseif (!empty($pathi[s]) AND (empty($pathi[i]) OR $pathi[i] > count($series[$pathi[s]])-1)) { /* series defined but image not, show thumbindex of that series */ *************** *** 46,50 **** include($config['Pview']['path']['template'] . '/thumb/header.inc'); reset($series); ! while($image = $series[$seriesid][$kuvaidnro]): $prkl = $kuvaidnro + 1; include($config['Pview']['path']['template'] . '/thumb/thumb.inc'); --- 46,50 ---- include($config['Pview']['path']['template'] . '/thumb/header.inc'); reset($series); ! while($image = $series[$pathi[s]][$kuvaidnro]): $prkl = $kuvaidnro + 1; include($config['Pview']['path']['template'] . '/thumb/thumb.inc'); *************** *** 62,67 **** /* if image defined, show it (duh!) */ ! $prev = $imageid - 1; ! $next = $imageid + 1; include($config['Pview']['path']['template'] . '/image/header.inc'); include($config['Pview']['path']['template'] . '/image/image.inc'); --- 62,67 ---- /* if image defined, show it (duh!) */ ! $prev = $pathi[i] - 1; ! $next = $pathi[i] + 1; include($config['Pview']['path']['template'] . '/image/header.inc'); include($config['Pview']['path']['template'] . '/image/image.inc'); |
From: Ville K. <vk...@us...> - 2001-06-08 13:22:35
|
Update of /cvsroot/pview-php/Pview.php/lib In directory usw-pr-cvs1:/tmp/cvs-serv9689/lib Log Message: Directory /cvsroot/pview-php/Pview.php/lib added to the repository |
From: Ville K. <vk...@us...> - 2001-06-07 11:48:05
|
Update of /cvsroot/pview-php/Pview.php/templates In directory usw-pr-cvs1:/tmp/cvs-serv7200/templates Modified Files: common-footer.inc Log Message: forgot some debugging stuff Index: common-footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/common-footer.inc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** common-footer.inc 2001/06/07 11:18:59 1.5 --- common-footer.inc 2001/06/07 11:47:58 1.6 *************** *** 12,18 **** # global variables for debugging ! foreach ($GLOBALS as $key=>$value) { ! print "\$GLOBALS[\"$key\"] == \"$value\"<br>"; ! } ?> --- 12,18 ---- # global variables for debugging ! #foreach ($GLOBALS as $key=>$value) { ! # print "\$GLOBALS[\"$key\"] == \"$value\"<br>"; ! #} ?> |
From: Ville K. <vk...@us...> - 2001-06-07 11:48:04
|
Update of /cvsroot/pview-php/Pview.php In directory usw-pr-cvs1:/tmp/cvs-serv7200 Modified Files: Pview.php Log Message: forgot some debugging stuff Index: Pview.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/Pview.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** Pview.php 2001/06/07 11:18:59 1.10 --- Pview.php 2001/06/07 11:47:58 1.11 *************** *** 73,76 **** ?> - col "<?= $config['Pview']['layout']['columns'] ?>"<br> - row "<?= $config['Pview']['layout']['rows'] ?>" --- 73,74 ---- |
From: Ville K. <vk...@us...> - 2001-06-07 11:19:03
|
Update of /cvsroot/pview-php/Pview.php/templates/pco In directory usw-pr-cvs1:/tmp/cvs-serv3119/templates/pco Added Files: pco.inc Log Message: design fixes, adding CHANGES.. --- NEW FILE: pco.inc --- <form action="<?= $SCRIPT_NAME ?>" method="POST"> <input type="hidden" name="form_referer" value="<?= $GLOBALS["HTTP_REFERER"] ?>"> <table cellpadding="2" cellspacing="2" border="0"> <tr> <td>Columns in thumbnail view (min. 1, max. 9)</td> <td><input class="inputbox" type="text" name="form_columns" maxlength="1" size="1" value="<?= $Pviewphpcookie[columns] ?>"></td> </tr> <tr> <td>Rows in thumbnail view (0 = everything)</td> <td><input class="inputbox" type="text" name="form_rows" maxlength="2" size="1" value="<?= $Pviewphpcookie[rows] ?>"></td> <td> not working yet!</td> </tr> <tr> <td> </td> <td><input type="submit" value="Save"></td> </tr> </table> </form> |
From: Ville K. <vk...@us...> - 2001-06-07 11:19:03
|
Update of /cvsroot/pview-php/Pview.php/templates/thumb In directory usw-pr-cvs1:/tmp/cvs-serv3119/templates/thumb Modified Files: footer.inc header.inc thumb.inc Log Message: design fixes, adding CHANGES.. Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/footer.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** footer.inc 2001/06/06 18:17:46 1.3 --- footer.inc 2001/06/07 11:18:59 1.4 *************** *** 1,5 **** - </tr> - <tr> - <td height="50" align="center" colspan="<?= $config['Pview']['layout']['columns'] ?>"> - <span class="pieni"><a href="<?= $SCRIPT_NAME ?>/"><?= $config['Pview']['title']['site'] ?> frontpage</a></span></td> - </tr> --- 0 ---- Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/header.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** header.inc 2001/06/06 18:17:46 1.3 --- header.inc 2001/06/07 11:18:59 1.4 *************** *** 6,8 **** <td> </td> </tr> - <tr> --- 6,7 ---- Index: thumb.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/thumb.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** thumb.inc 2001/06/06 18:17:46 1.3 --- thumb.inc 2001/06/07 11:18:59 1.4 *************** *** 3,5 **** src="<?= empty($series[$seriesid][0][5]) ? $config['Pview']['path']['image'] : $series[$seriesid][0][5] ?>/<?= $seriesid ?>/thumb/<?= $image[0] ?>" border="0"><br><?= $image[1] ?></a></td> - --- 3,4 ---- |
From: Ville K. <vk...@us...> - 2001-06-07 11:19:02
|
Update of /cvsroot/pview-php/Pview.php/templates/image In directory usw-pr-cvs1:/tmp/cvs-serv3119/templates/image Modified Files: footer.inc header.inc image.inc Log Message: design fixes, adding CHANGES.. Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/footer.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** footer.inc 2001/05/30 16:00:31 1.3 --- footer.inc 2001/06/07 11:18:59 1.4 *************** *** 1,6 **** - <table cellpadding="2" cellspacing="2" border="0" width="100%"> <tr> ! <tr> ! <td height="40" align="center"> <?php if ($imageid > 1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $prev . "/\">"); } ?>Previous<?php --- 1,4 ---- <tr> ! <td align="center"> <?php if ($imageid > 1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $prev . "/\">"); } ?>Previous<?php *************** *** 9,15 **** if ($imageid < count($series[$seriesid])-1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $next . "/\">"); } ?>Next<?php ! if ($imageid < count($series[$seriesid])-1) { echo("</a>"); } ?></td> ! </tr> ! <tr> ! <td height="30" align="center"><a href="<?= $SCRIPT_NAME ?>/"><?= $config['Pview']['title']['site'] ?> frontpage</a></td> </tr> --- 7,10 ---- if ($imageid < count($series[$seriesid])-1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $next . "/\">"); } ?>Next<?php ! if ($imageid < count($series[$seriesid])-1) { echo("</a>"); } ?><br> </td> </tr> Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/header.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** header.inc 2001/06/04 11:37:43 1.4 --- header.inc 2001/06/07 11:18:59 1.5 *************** *** 1,8 **** <table cellpadding="2" cellspacing="2" border="0" width="100%"> <tr> ! <td align="center"><span class="pieni"><?= $series[$seriesid][0][4] ?></span></td> </tr> <tr> ! <td height="40" align="center"> <?php if ($imageid > 1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $prev . "/\">"); } ?>Previous<?php --- 1,8 ---- <table cellpadding="2" cellspacing="2" border="0" width="100%"> <tr> ! <td align="center"><span class="pieni"><?= $series[$seriesid][0][4] ?></span><br> </td> </tr> <tr> ! <td align="center"> <?php if ($imageid > 1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $prev . "/\">"); } ?>Previous<?php *************** *** 11,18 **** if ($imageid < count($series[$seriesid])-1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $next . "/\">"); } ?>Next<?php ! if ($imageid < count($series[$seriesid])-1) { echo("</a>"); } ?></td> </tr> <tr> <td align="center"><?= $series[$seriesid][$imageid][1] ?> <span class="pieni">pic <?= $imageid ?>/<?= count($series[$seriesid])-1 ?></span></td> </tr> - </table> --- 11,17 ---- if ($imageid < count($series[$seriesid])-1) { echo("<a href=\"" . $SCRIPT_NAME . "/" . $seriesid . "/" . $next . "/\">"); } ?>Next<?php ! if ($imageid < count($series[$seriesid])-1) { echo("</a>"); } ?><br> </td> </tr> <tr> <td align="center"><?= $series[$seriesid][$imageid][1] ?> <span class="pieni">pic <?= $imageid ?>/<?= count($series[$seriesid])-1 ?></span></td> </tr> Index: image.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/image.inc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -r1.3 -r1.4 *** image.inc 2001/06/04 11:37:43 1.3 --- image.inc 2001/06/07 11:18:59 1.4 *************** *** 1,3 **** - <table cellpadding="2" cellspacing="2" border="0" width="100%"> <tr> <td align="center"><img --- 1,2 ---- *************** *** 5,9 **** </tr> <tr> ! <td align="center" height="30"><?= $series[$seriesid][$imageid][2] ?></td> </tr> - </table> --- 4,7 ---- </tr> <tr> ! <td align="center"><?= $series[$seriesid][$imageid][2] ?><br> </td> </tr> |
From: Ville K. <vk...@us...> - 2001-06-07 11:19:02
|
Update of /cvsroot/pview-php/Pview.php/doc In directory usw-pr-cvs1:/tmp/cvs-serv3119/doc Added Files: CHANGES Log Message: design fixes, adding CHANGES.. --- NEW FILE: CHANGES --- $Id: CHANGES,v 1.1 2001/06/07 11:18:59 vko Exp $ cvs --- * personal configuration script for users, stores configuration in cookies * small design changes beta0-1 ------- * first public release |
From: Ville K. <vk...@us...> - 2001-06-07 11:19:02
|
Update of /cvsroot/pview-php/Pview.php/templates In directory usw-pr-cvs1:/tmp/cvs-serv3119/templates Modified Files: common-footer.inc Log Message: design fixes, adding CHANGES.. Index: common-footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/common-footer.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** common-footer.inc 2001/06/06 20:53:55 1.4 --- common-footer.inc 2001/06/07 11:18:59 1.5 *************** *** 3,7 **** <tr> <td align="center" class="pieni"> ! [ <a href="<?= $config['Pview']['path']['root'] ?>/pco.php">configure</a> ]<p> <a href="http://pview-php.sf.net/">Pview.php <?= $config['Pview']['version'] ?></a></td> </tr> --- 3,8 ---- <tr> <td align="center" class="pieni"> ! [ <a href="<?= $config['Pview']['path']['root'] ?>/Pview.php/"><?= $config['Pview']['title']['site'] ?> frontpage</a> ! | <a href="<?= $config['Pview']['path']['root'] ?>/pco.php">configure</a> ]<br> <a href="http://pview-php.sf.net/">Pview.php <?= $config['Pview']['version'] ?></a></td> </tr> |