pview-php-commits Mailing List for Pview.php (Page 2)
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-09-10 13:43:23
|
Update of /cvsroot/pview-php/Pview.php/templates/index In directory usw-pr-cvs1:/tmp/cvs-serv29339/templates/index Modified Files: series.inc Log Message: thumb.php prev/next links to images Index: series.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/index/series.inc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** series.inc 2001/09/06 08:16:36 1.7 --- series.inc 2001/09/10 13:43:19 1.8 *************** *** 1,4 **** <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> --- 1,4 ---- <tr> ! <td><a href="<?= $config['Pview']['path']['root'] ?>/thumb.php/<?= $key ?>/0/"><?= $series[$key][0][0] ?></a></td> <td width="5"> </td> <td><?= $series[$key][0][2] ?></td> |
From: Ville K. <vk...@us...> - 2001-09-06 09:05:16
|
Update of /cvsroot/pview-php/Pview.php/doc In directory usw-pr-cvs1:/tmp/cvs-serv28735/doc Modified Files: CHANGES Log Message: update CHANGES Index: CHANGES =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/CHANGES,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** CHANGES 2001/09/06 08:26:09 1.18 --- CHANGES 2001/09/06 09:05:14 1.19 *************** *** 11,14 **** --- 11,15 ---- work right if images were in remote location * adding language config option + * tweak some html code |
From: Ville K. <vk...@us...> - 2001-09-06 09:02:37
|
Update of /cvsroot/pview-php/Pview.php/templates/thumb In directory usw-pr-cvs1:/tmp/cvs-serv28003/templates/thumb Modified Files: footer.inc Log Message: HTML output tweaking Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/footer.inc,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** footer.inc 2001/09/06 08:52:35 1.13 --- footer.inc 2001/09/06 09:02:34 1.14 *************** *** 38,39 **** --- 38,40 ---- } ?> + </table> |
From: Ville K. <vk...@us...> - 2001-09-06 09:02:36
|
Update of /cvsroot/pview-php/Pview.php/templates/pco In directory usw-pr-cvs1:/tmp/cvs-serv28003/templates/pco Modified Files: pco.inc Log Message: HTML output tweaking Index: pco.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/pco/pco.inc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** pco.inc 2001/09/06 08:16:36 1.12 --- pco.inc 2001/09/06 09:02:33 1.13 *************** *** 1,6 **** <table cellpadding="2" cellspacing="2" border="0"> <tr><td colspan="3" class="kesk"><span class="bold"><?= $lang[$config['Pview']['deflang']]['conf']['title'] ?></span><p></td></tr> - <form action="<?= $SCRIPT_NAME ?>" method="POST"> - <input type="hidden" name="form_referer" value="<?= $GLOBALS["HTTP_REFERER"] ?>"> <tr> <td><?= $lang[$config['Pview']['deflang']]['conf']['colview'] ?></td> --- 1,6 ---- + <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 colspan="3" class="kesk"><span class="bold"><?= $lang[$config['Pview']['deflang']]['conf']['title'] ?></span><p></td></tr> <tr> <td><?= $lang[$config['Pview']['deflang']]['conf']['colview'] ?></td> *************** *** 39,43 **** <td><span class="pieni"><?= $lang[$config['Pview']['deflang']]['conf']['strinfo'] ?></span></td> </tr> - </form> <tr> <td> </td> --- 39,42 ---- *************** *** 45,46 **** --- 44,46 ---- </tr> </table> + </form> |
From: Ville K. <vk...@us...> - 2001-09-06 09:02:36
|
Update of /cvsroot/pview-php/Pview.php/templates/index In directory usw-pr-cvs1:/tmp/cvs-serv28003/templates/index Modified Files: footer.inc Log Message: HTML output tweaking Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/index/footer.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** footer.inc 2001/06/06 20:53:55 1.2 --- footer.inc 2001/09/06 09:02:33 1.3 *************** *** 2,3 **** --- 2,4 ---- <td> </td> </tr> + </table> |
From: Ville K. <vk...@us...> - 2001-09-06 09:02:36
|
Update of /cvsroot/pview-php/Pview.php/templates/image In directory usw-pr-cvs1:/tmp/cvs-serv28003/templates/image Modified Files: footer.inc Log Message: HTML output tweaking Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/footer.inc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** footer.inc 2001/07/18 08:53:56 1.9 --- footer.inc 2001/09/06 09:02:33 1.10 *************** *** 3,4 **** --- 3,5 ---- <td align="center"><?php prevnextlinks(); ?></td> </tr> + </table> |
From: Ville K. <vk...@us...> - 2001-09-06 09:02:36
|
Update of /cvsroot/pview-php/Pview.php/templates In directory usw-pr-cvs1:/tmp/cvs-serv28003/templates Modified Files: common-footer.inc Log Message: HTML output tweaking Index: common-footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/common-footer.inc,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** common-footer.inc 2001/09/06 08:16:36 1.13 --- common-footer.inc 2001/09/06 09:02:33 1.14 *************** *** 1,3 **** - </table> <table width="100%" border="0"> <tr> --- 1,2 ---- |
From: Ville K. <vk...@us...> - 2001-09-06 08:52:39
|
Update of /cvsroot/pview-php/Pview.php In directory usw-pr-cvs1:/tmp/cvs-serv25726 Modified Files: pco.php thumb.php Log Message: fix thumb.php html output Index: pco.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/pco.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** pco.php 2001/09/06 08:16:36 1.11 --- pco.php 2001/09/06 08:52:35 1.12 *************** *** 37,41 **** // if coming to pco.php from pco.php cookie removal part, don't send user ! // back to it, or the cookies will be deleted again :) if (isset($form_columns) OR isset($form_rows)) { if (strstr($form_referer, "pco.php?rc")) --- 37,41 ---- // if coming to pco.php from pco.php cookie removal part, don't send user ! // back to it, or the cookie will be deleted again :) if (isset($form_columns) OR isset($form_rows)) { if (strstr($form_referer, "pco.php?rc")) Index: thumb.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/thumb.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** thumb.php 2001/09/06 08:16:36 1.7 --- thumb.php 2001/09/06 08:52:35 1.8 *************** *** 31,35 **** include($config['Pview']['path']['template'] . '/common-header.inc'); ! $tr = 0; $rows = 0; $imagecount = count($series[$pathi[s]]); --- 31,35 ---- include($config['Pview']['path']['template'] . '/common-header.inc'); ! $tr = 1; $rows = 0; $imagecount = count($series[$pathi[s]]); *************** *** 49,58 **** if ($rows == $config['Pview']['layout']['rows']) break; } include($config['Pview']['path']['template'] . '/thumb/thumb.inc'); $kuvaidnro++; $tr++; ! if ($tr == $config['Pview']['layout']['columns']) { ! echo(" </tr>\n <tr>\n"); ! $tr = 0; ! if ($config['Pview']['layout']['rows'] != '0') $rows++; } next($series); --- 49,57 ---- if ($rows == $config['Pview']['layout']['rows']) break; } + if ($tr == "0") echo(" </tr>\n <tr>\n"); include($config['Pview']['path']['template'] . '/thumb/thumb.inc'); $kuvaidnro++; $tr++; ! if ($tr == $config['Pview']['layout']['columns'] + 1) { ! $tr = 0; $rows++; } next($series); |
From: Ville K. <vk...@us...> - 2001-09-06 08:52:39
|
Update of /cvsroot/pview-php/Pview.php/templates/thumb In directory usw-pr-cvs1:/tmp/cvs-serv25726/templates/thumb Modified Files: footer.inc header.inc thumb.inc Log Message: fix thumb.php html output Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/footer.inc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** footer.inc 2001/09/06 08:16:36 1.12 --- footer.inc 2001/09/06 08:52:35 1.13 *************** *** 1,9 **** ! <tr> ! <td align="center" colspan="<?= $config['Pview']['layout']['columns'] ?>"> <?php if (!empty($config['Pview']['layout']['rows'])) { if ($kuvaidnro > ($config['Pview']['layout']['rows'] * $config['Pview']['layout']['columns'])) { ! $prev = $pathi[i] - 1; $next = $pathi[i] + 1; --- 1,13 ---- ! </tr> <?php if (!empty($config['Pview']['layout']['rows'])) { if ($kuvaidnro > ($config['Pview']['layout']['rows'] * $config['Pview']['layout']['columns'])) { ! ?> ! ! <tr> ! <td align="center" colspan="<?= $config['Pview']['layout']['columns'] ?>"> ! ! <?php $prev = $pathi[i] - 1; $next = $pathi[i] + 1; *************** *** 26,33 **** echo '</a>'; echo '</span>'; - } - } ?> </td> </tr> --- 30,39 ---- echo '</a>'; echo '</span>'; ?> </td> </tr> + + <?php } + } + ?> Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/header.inc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** header.inc 2001/07/18 08:53:56 1.9 --- header.inc 2001/09/06 08:52:35 1.10 *************** *** 9,10 **** --- 9,11 ---- <td> </td> </tr> + <tr> Index: thumb.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/thumb.inc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** thumb.inc 2001/06/08 13:42:40 1.6 --- thumb.inc 2001/09/06 08:52:35 1.7 *************** *** 2,4 **** <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> --- 2,4 ---- <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" alt="<?= $image[1] ?>"><br><?= $image[1] ?></a></td> |
From: Ville K. <vk...@us...> - 2001-09-06 08:26:11
|
Update of /cvsroot/pview-php/Pview.php/doc In directory usw-pr-cvs1:/tmp/cvs-serv19446/doc Modified Files: CHANGES README TODO Log Message: updates in doc/ Index: CHANGES =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/CHANGES,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -r1.17 -r1.18 *** CHANGES 2001/08/28 12:00:58 1.17 --- CHANGES 2001/09/06 08:26:09 1.18 *************** *** 10,13 **** --- 10,14 ---- * width and height options in <img> tags in image.php didn't work right if images were in remote location + * adding language config option Index: README =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/README,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** README 2001/08/21 19:53:17 1.7 --- README 2001/09/06 08:26:09 1.8 *************** *** 5,11 **** This documentation is just something that came in my head. It's _not_ complete and probably never will be, unless ! someone wants to do it. ! ---------------------------------------------------------------------- FILES: --- 5,11 ---- This documentation is just something that came in my head. It's _not_ complete and probably never will be, unless ! someone wants to do it, *hint*. ! ----------------------------------------------------------------------- FILES: *************** *** 29,35 **** Separate package testimages.tar.gz or testimages.tar.bz2 includes ! test-images. It should be extracter to images/. ! ---------------------------------------------------------------------- INSTALLATION: --- 29,35 ---- Separate package testimages.tar.gz or testimages.tar.bz2 includes ! optional test-images. It should be extracter to images/. ! ----------------------------------------------------------------------- INSTALLATION: *************** *** 43,54 **** 5) Run tools/convert.sh to make thumbnails of the images and to move them in right directories. ! 6) Surf to http://<yourserver>/pview/ ! ---------------------------------------------------------------------- TESTED: Development done with always latest unstable debian packages of Apache ! and PHP on Linux. Also tested with Apache 1.3.20 + PHP4.0.5 on Linux. ! ---------------------------------------------------------------------- --- 43,54 ---- 5) Run tools/convert.sh to make thumbnails of the images and to move them in right directories. ! 6) Surf to http://<yourserver>/<yourdir>/ ! ----------------------------------------------------------------------- TESTED: Development done with always latest unstable debian packages of Apache ! and PHP4 on Linux. Also tested with Apache 1.3.20 + PHP4.0.5 on Linux. ! ----------------------------------------------------------------------- Index: TODO =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/TODO,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -r1.16 -r1.17 *** TODO 2001/09/06 08:16:36 1.16 --- TODO 2001/09/06 08:26:09 1.17 *************** *** 4,8 **** * clean up that messy code (and try not do it anymore ;) - * add language config option * thumb.php prev/next links -> images * add width and height options to <img> tags in thumb.php --- 4,7 ---- *************** *** 10,15 **** * make tools/convert.sh work with other image types than jpeg * fix title generation - * config section for users, show all big pictures on one page, - show thumbnails etc. * multilingual * database support --- 9,12 ---- |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:39
|
Update of /cvsroot/pview-php/Pview.php/templates/thumb In directory usw-pr-cvs1:/tmp/cvs-serv17216/templates/thumb Modified Files: footer.inc Log Message: adding language config option Index: footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/thumb/footer.inc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** footer.inc 2001/07/13 12:48:38 1.11 --- footer.inc 2001/09/06 08:16:36 1.12 *************** *** 12,16 **** echo '<a href="' . $SCRIPT_NAME . '/' . $pathi[s] . '/' . $prev . '/">'; ! echo $lang[$config['Pview']['lang']]['gen']['Prev']; if ($pathi[i] >= 1) echo '</a>'; --- 12,16 ---- echo '<a href="' . $SCRIPT_NAME . '/' . $pathi[s] . '/' . $prev . '/">'; ! echo $lang[$config['Pview']['deflang']]['gen']['Prev']; if ($pathi[i] >= 1) echo '</a>'; *************** *** 21,25 **** echo '<a href="' . $SCRIPT_NAME . '/' . $pathi[s] . '/' . $next . '/">'; ! echo $lang[$config['Pview']['lang']]['gen']['Next']; if (($pathi[i] = 0) OR ($imagecount - 1 > $kuvaidnro - 1)) --- 21,25 ---- echo '<a href="' . $SCRIPT_NAME . '/' . $pathi[s] . '/' . $next . '/">'; ! echo $lang[$config['Pview']['deflang']]['gen']['Next']; if (($pathi[i] = 0) OR ($imagecount - 1 > $kuvaidnro - 1)) |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:39
|
Update of /cvsroot/pview-php/Pview.php/templates/image In directory usw-pr-cvs1:/tmp/cvs-serv17216/templates/image Modified Files: header.inc Log Message: adding language config option Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/image/header.inc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** header.inc 2001/07/18 08:53:56 1.12 --- header.inc 2001/09/06 08:16:36 1.13 *************** *** 9,13 **** </tr> <tr> ! <td align="center"><span class="bold"><?= $series[$pathi[s]][$pathi[i]][1] ?></span> <span class="pieni"><?= $lang[$config['Pview']['lang']]['gen']['image'] ?> <?= $pathi[i] ?>/<?= $imagecount - 1 ?></span></td> </tr> </table> --- 9,13 ---- </tr> <tr> ! <td align="center"><span class="bold"><?= $series[$pathi[s]][$pathi[i]][1] ?></span> <span class="pieni"><?= $lang[$config['Pview']['deflang']]['gen']['image'] ?> <?= $pathi[i] ?>/<?= $imagecount - 1 ?></span></td> </tr> </table> |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:39
|
Update of /cvsroot/pview-php/Pview.php/templates/index In directory usw-pr-cvs1:/tmp/cvs-serv17216/templates/index Modified Files: header.inc series.inc Log Message: adding language config option Index: header.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/index/header.inc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** header.inc 2001/07/13 18:23:45 1.6 --- header.inc 2001/09/06 08:16:36 1.7 *************** *** 1,12 **** <table cellpadding="1" cellspacing="1" border="0"> <tr> ! <td class="bold"><?= $lang[$config['Pview']['lang']]['index']['sdesc'] ?></td> <td width="5"> </td> ! <td class="bold"><?= $lang[$config['Pview']['lang']]['index']['place'] ?></td> <td width="5"> </td> ! <td class="bold"><?= $lang[$config['Pview']['lang']]['index']['date'] ?></td> <td width="5"> </td> ! <td class="bold"><?= $lang[$config['Pview']['lang']]['index']['nro'] ?></td> <td width="5"> </td> ! <td class="bold"><?= $lang[$config['Pview']['lang']]['index']['ldesc'] ?></td> </tr> --- 1,12 ---- <table cellpadding="1" cellspacing="1" border="0"> <tr> ! <td class="bold"><?= $lang[$config['Pview']['deflang']]['index']['sdesc'] ?></td> <td width="5"> </td> ! <td class="bold"><?= $lang[$config['Pview']['deflang']]['index']['place'] ?></td> <td width="5"> </td> ! <td class="bold"><?= $lang[$config['Pview']['deflang']]['index']['date'] ?></td> <td width="5"> </td> ! <td class="bold"><?= $lang[$config['Pview']['deflang']]['index']['nro'] ?></td> <td width="5"> </td> ! <td class="bold"><?= $lang[$config['Pview']['deflang']]['index']['ldesc'] ?></td> </tr> Index: series.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/index/series.inc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** series.inc 2001/07/09 08:26:01 1.6 --- series.inc 2001/09/06 08:16:36 1.7 *************** *** 6,10 **** <td><?= $series[$key][0][1] ?></td> <td width="5"> </td> ! <td><?= count($series[$key])-1 ?> <?= $lang[$config['Pview']['lang']]['gen']['images'] ?></td> <td width="5"> </td> <td><?= $series[$key][0][3] ?></td> --- 6,10 ---- <td><?= $series[$key][0][1] ?></td> <td width="5"> </td> ! <td><?= count($series[$key])-1 ?> <?= $lang[$config['Pview']['deflang']]['gen']['images'] ?></td> <td width="5"> </td> <td><?= $series[$key][0][3] ?></td> |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:39
|
Update of /cvsroot/pview-php/Pview.php/templates In directory usw-pr-cvs1:/tmp/cvs-serv17216/templates Modified Files: common-footer.inc Log Message: adding language config option Index: common-footer.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/common-footer.inc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** common-footer.inc 2001/07/12 09:29:00 1.12 --- common-footer.inc 2001/09/06 08:16:36 1.13 *************** *** 3,8 **** <tr> <td align="center" class="pieni"> ! [ <a href="<?= $config['Pview']['path']['root'] ?>/Pview.php/"><?= $config['Pview']['title']['site'] . ' ' . $lang[$config['Pview']['lang']]['gen']['index'] ?></a> ! | <a href="<?= $config['Pview']['path']['root'] ?>/pco.php"><?= $lang[$config['Pview']['lang']]['gen']['conf'] ?></a> ]<br> [ <b><a href="http://pview-php.sf.net/">Pview.php <?= $config['Pview']['version'] ?></a></b> ]</td> </tr> --- 3,8 ---- <tr> <td align="center" class="pieni"> ! [ <a href="<?= $config['Pview']['path']['root'] ?>/Pview.php/"><?= $config['Pview']['title']['site'] ?></a> | <a ! href="<?= $config['Pview']['path']['root'] ?>/pco.php"><?= $lang[$config['Pview']['deflang']]['gen']['conf'] ?></a> ]<br> [ <b><a href="http://pview-php.sf.net/">Pview.php <?= $config['Pview']['version'] ?></a></b> ]</td> </tr> |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:39
|
Update of /cvsroot/pview-php/Pview.php/templates/pco In directory usw-pr-cvs1:/tmp/cvs-serv17216/templates/pco Modified Files: pco-rc.inc pco.inc Log Message: adding language config option Index: pco-rc.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/pco/pco-rc.inc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** pco-rc.inc 2001/08/22 19:10:09 1.2 --- pco-rc.inc 2001/09/06 08:16:36 1.3 *************** *** 1 **** ! <div align="center" class="bold"><?= $lang[$config['Pview']['lang']]['conf']['removed'] ?></div><p> --- 1 ---- ! <div align="center" class="bold"><?= $lang[$config['Pview']['deflang']]['conf']['removed'] ?></div><p> Index: pco.inc =================================================================== RCS file: /cvsroot/pview-php/Pview.php/templates/pco/pco.inc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** pco.inc 2001/08/28 12:00:58 1.11 --- pco.inc 2001/09/06 08:16:36 1.12 *************** *** 1,8 **** <table cellpadding="2" cellspacing="2" border="0"> ! <tr><td colspan="3" class="kesk"><span class="bold"><?= $lang[$config['Pview']['lang']]['conf']['title'] ?></span><p></td></tr> <form action="<?= $SCRIPT_NAME ?>" method="POST"> <input type="hidden" name="form_referer" value="<?= $GLOBALS["HTTP_REFERER"] ?>"> <tr> ! <td><?= $lang[$config['Pview']['lang']]['conf']['colview'] ?></td> <td align="center"><select class="inputbox" name="form_columns"> <?php for ($num = 1; $num < 10; $num++) { --- 1,8 ---- <table cellpadding="2" cellspacing="2" border="0"> ! <tr><td colspan="3" class="kesk"><span class="bold"><?= $lang[$config['Pview']['deflang']]['conf']['title'] ?></span><p></td></tr> <form action="<?= $SCRIPT_NAME ?>" method="POST"> <input type="hidden" name="form_referer" value="<?= $GLOBALS["HTTP_REFERER"] ?>"> <tr> ! <td><?= $lang[$config['Pview']['deflang']]['conf']['colview'] ?></td> <td align="center"><select class="inputbox" name="form_columns"> <?php for ($num = 1; $num < 10; $num++) { *************** *** 15,19 **** </tr> <tr> ! <td><?= $lang[$config['Pview']['lang']]['conf']['rowview'] ?></td> <td align="center"><select class="inputbox" name="form_rows"> <?php for ($num = 0; $num < 10; $num++) { --- 15,19 ---- </tr> <tr> ! <td><?= $lang[$config['Pview']['deflang']]['conf']['rowview'] ?></td> <td align="center"><select class="inputbox" name="form_rows"> <?php for ($num = 0; $num < 10; $num++) { *************** *** 23,37 **** echo ">$num</option>\n"; } ?> </select></td> ! <td><span class="pieni">0 = <?= $lang[$config['Pview']['lang']]['gen']['all'] ?></span></td> </tr> <tr> <td> </td> ! <td align="center"><input type="submit" value="<?= $lang[$config['Pview']['lang']]['gen']['Save'] ?>"></td> ! <td><span class="pieni"><?= $lang[$config['Pview']['lang']]['conf']['strinfo'] ?></span></td> </tr> </form> <tr> <td> </td> ! <td colspan="2"><span class="pieni"><a href="<?= $SCRIPT_NAME ?>?rc=1"><?= $lang[$config['Pview']['lang']]['conf']['remcook'] ?></a></span></td> </tr> </table> --- 23,46 ---- echo ">$num</option>\n"; } ?> </select></td> ! <td><span class="pieni">0 = <?= $lang[$config['Pview']['deflang']]['gen']['all'] ?></span></td> </tr> <tr> + <td><?= $lang[$config['Pview']['deflang']]['conf']['language'] ?></td> + <td align="center"><select class="inputbox" name="form_lang"> + <?php foreach ($config['Pview']['lang'] as $key => $val) { + $sel = ($key == $config['Pview']['deflang']) ? ' selected="selected"' : ''; + echo " <option value=\"$key\"$sel>$val</option>\n"; + } ?> + </select></td> + </tr> + <tr> <td> </td> ! <td align="center"><input type="submit" value="<?= $lang[$config['Pview']['deflang']]['gen']['Save'] ?>"></td> ! <td><span class="pieni"><?= $lang[$config['Pview']['deflang']]['conf']['strinfo'] ?></span></td> </tr> </form> <tr> <td> </td> ! <td colspan="2"><span class="pieni"><a href="<?= $SCRIPT_NAME ?>?rc=1"><?= $lang[$config['Pview']['deflang']]['conf']['remcook'] ?></a></span></td> </tr> </table> |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:39
|
Update of /cvsroot/pview-php/Pview.php/lib In directory usw-pr-cvs1:/tmp/cvs-serv17216/lib Modified Files: pv.php Log Message: adding language config option Index: pv.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/lib/pv.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** pv.php 2001/08/28 11:49:13 1.11 --- pv.php 2001/09/06 08:16:36 1.12 *************** *** 32,36 **** if ($pathi[i] > 1) { ! echo '<a href="' . $SCRIPT_NAME . '/' . $pathi[s] . '/' . $prev . '/"><img src="' . $config['Pview']['path']['graphics'] . '/arrowl.gif" width="10" height="11" border="0" alt="' . $lang[$config['Pview']['lang']]['gen']['Prev'] . '"></a>'; } else { echo '<img src="' . $config['Pview']['path']['graphics'] . '/10x11emp.gif" width="10" height="11" border="0" alt="">'; --- 32,36 ---- if ($pathi[i] > 1) { ! echo '<a href="' . $SCRIPT_NAME . '/' . $pathi[s] . '/' . $prev . '/"><img src="' . $config['Pview']['path']['graphics'] . '/arrowl.gif" width="10" height="11" border="0" alt="' . $lang[$config['Pview']['deflang']]['gen']['Prev'] . '"></a>'; } else { echo '<img src="' . $config['Pview']['path']['graphics'] . '/10x11emp.gif" width="10" height="11" border="0" alt="">'; *************** *** 41,47 **** echo $indexpage; ! echo '"><img src="' . $config['Pview']['path']['graphics'] . '/arrowu.gif" width="10" height="11" border="0" alt="' . $lang[$config['Pview']['lang']]['gen']['Index'] . '"></a><img src="' . $config['Pview']['path']['graphics'] . '/10x11emp.gif" width="10" height="11" border="0" alt="">'; if ($pathi[i] < $imagecount - 1) { ! echo '<a href="' . $SCRIPT_NAME . '/' . $pathi[s] . '/' . $next . '/"><img src="' . $config['Pview']['path']['graphics'] . '/arrowr.gif" width="10" height="11" border="0" alt="' . $lang[$config['Pview']['lang']]['gen']['Next'] . '"></a>'; } else { echo '<img src="' . $config['Pview']['path']['graphics'] . '/10x11emp.gif" width="10" height="11" border="0" alt="">'; --- 41,47 ---- echo $indexpage; ! echo '"><img src="' . $config['Pview']['path']['graphics'] . '/arrowu.gif" width="10" height="11" border="0" alt="' . $lang[$config['Pview']['deflang']]['gen']['Index'] . '"></a><img src="' . $config['Pview']['path']['graphics'] . '/10x11emp.gif" width="10" height="11" border="0" alt="">'; if ($pathi[i] < $imagecount - 1) { ! echo '<a href="' . $SCRIPT_NAME . '/' . $pathi[s] . '/' . $next . '/"><img src="' . $config['Pview']['path']['graphics'] . '/arrowr.gif" width="10" height="11" border="0" alt="' . $lang[$config['Pview']['deflang']]['gen']['Next'] . '"></a>'; } else { echo '<img src="' . $config['Pview']['path']['graphics'] . '/10x11emp.gif" width="10" height="11" border="0" alt="">'; *************** *** 73,74 **** --- 73,90 ---- } } + + // + // use values from cookie if set + // + function cookieval() { + global $config, $$config['Pview']['cookiename']; + if (isset ($Pviewphp)) { + $unsercookie = unserialize($Pviewphp); + if (isset($unsercookie[col]) AND $unsercookie[col] >= 1 AND $unsercookie[col] <= 9) + $config['Pview']['layout']['columns'] = $unsercookie[col]; + if (isset($unsercookie[row]) AND $unsercookie[row] >= 0 AND $unsercookie[row] <= 9) + $config['Pview']['layout']['rows'] = $unsercookie[row]; + if (isset($unsercookie[lang])) + $config['Pview']['deflang'] = $unsercookie[lang]; + } + } \ No newline at end of file |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:39
|
Update of /cvsroot/pview-php/Pview.php/doc In directory usw-pr-cvs1:/tmp/cvs-serv17216/doc Modified Files: TODO Log Message: adding language config option Index: TODO =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/TODO,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** TODO 2001/08/22 19:10:09 1.15 --- TODO 2001/09/06 08:16:36 1.16 *************** *** 5,8 **** --- 5,9 ---- * clean up that messy code (and try not do it anymore ;) * add language config option + * thumb.php prev/next links -> images * add width and height options to <img> tags in thumb.php * add imageprot to thumb images |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:38
|
Update of /cvsroot/pview-php/Pview.php In directory usw-pr-cvs1:/tmp/cvs-serv17216 Modified Files: Pview.php image.php pco.php thumb.php Log Message: adding language config option Index: Pview.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/Pview.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -r1.15 -r1.16 *** Pview.php 2001/08/18 20:21:05 1.15 --- Pview.php 2001/09/06 08:16:36 1.16 *************** *** 17,20 **** --- 17,23 ---- include_once 'lib/pv.php'; + // use values from cookie if set + cookieval(); + include($config['Pview']['path']['template'] . '/common-header.inc'); Index: image.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/image.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** image.php 2001/08/21 18:52:44 1.6 --- image.php 2001/09/06 08:16:36 1.7 *************** *** 17,20 **** --- 17,23 ---- include_once 'lib/pv.php'; + // use values from cookie if set + cookieval(); + // explode $GLOBALS['PATH_INFO'] $pathi = expl_pathi(); Index: pco.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/pco.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** pco.php 2001/08/23 19:13:43 1.10 --- pco.php 2001/09/06 08:16:36 1.11 *************** *** 17,23 **** include_once 'lib/pv.php'; ! // remove cookies if called with 'rc=1' querystring if ($rc== '1') { ! setcookie('Pviewphp', '', ''); include($config['Pview']['path']['template'] . '/common-header.inc'); include($config['Pview']['path']['template'] . '/pco/pco-rc.inc'); --- 17,23 ---- include_once 'lib/pv.php'; ! // remove cookie if called with 'rc=1' querystring if ($rc== '1') { ! setcookie($config['Pview']['cookiename'], '', ''); include($config['Pview']['path']['template'] . '/common-header.inc'); include($config['Pview']['path']['template'] . '/pco/pco-rc.inc'); *************** *** 26,39 **** } ! // set cookies if form sent if (isset($form_columns)) $cookieinfo[col] = $form_columns; if (isset($form_rows)) $cookieinfo[row] = $form_rows; ! if (isset($form_columns) || isset($form_rows)) ! setcookie('Pviewphp', serialize($cookieinfo), time()+31536000); // if coming to pco.php from pco.php cookie removal part, don't send user ! // back to it, or the cookies will be deletet again :) if (isset($form_columns) OR isset($form_rows)) { if (strstr($form_referer, "pco.php?rc")) --- 26,41 ---- } ! // set cookie if form sent if (isset($form_columns)) $cookieinfo[col] = $form_columns; if (isset($form_rows)) $cookieinfo[row] = $form_rows; ! if (isset($form_lang)) ! $cookieinfo[lang] = $form_lang; ! if (isset($form_columns) || isset($form_rows) || isset ($form_lang)) ! setcookie($config['Pview']['cookiename'], serialize($cookieinfo), time()+31536000); // if coming to pco.php from pco.php cookie removal part, don't send user ! // back to it, or the cookies will be deleted again :) if (isset($form_columns) OR isset($form_rows)) { if (strstr($form_referer, "pco.php?rc")) *************** *** 42,59 **** } ! // use the default value from config.php if no cookies set, for the option lists ! if (isset ($Pviewphp)) { ! $unsercookie = unserialize($Pviewphp); ! if (isset($unsercookie[col]) AND $unsercookie[col] >= 1 AND $unsercookie[col] <= 9) ! $config['Pview']['layout']['columns'] = $unsercookie[col]; ! if (isset($unsercookie[row]) AND $unsercookie[row] >= 0 AND $unsercookie[row] <= 9) ! $config['Pview']['layout']['rows'] = $unsercookie[row]; ! } include($config['Pview']['path']['template'] . '/common-header.inc'); # debug ! #if (isset ($Pviewphpcookie)) { ! # while (list ($name, $value) = each ($Pviewphpcookie)) { # echo "\"$name\" == \"$value\"<br>\n"; # } --- 44,55 ---- } ! // use values from cookie if set ! cookieval(); include($config['Pview']['path']['template'] . '/common-header.inc'); # debug ! #if (isset ($$config['Pview']['cookiename'] )) { ! # while (list ($name, $value) = each ($$config['Pview']['cookiename'] )) { # echo "\"$name\" == \"$value\"<br>\n"; # } Index: thumb.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/thumb.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** thumb.php 2001/08/18 20:21:05 1.6 --- thumb.php 2001/09/06 08:16:36 1.7 *************** *** 17,20 **** --- 17,23 ---- include_once 'lib/pv.php'; + // use values from cookie if set + cookieval(); + // if user has used pco.php to configure his thumb view, use those values if (isset($Pviewphpcookie[columns]) AND $Pviewphpcookie[columns] >= 1 AND $Pviewphpcookie[columns] <= 9) |
From: Ville K. <vk...@us...> - 2001-09-06 08:16:38
|
Update of /cvsroot/pview-php/Pview.php/config In directory usw-pr-cvs1:/tmp/cvs-serv17216/config Modified Files: config.php lang.php Log Message: adding language config option Index: config.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/config/config.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** config.php 2001/08/22 19:11:14 1.18 --- config.php 2001/09/06 08:16:36 1.19 *************** *** 26,31 **** # language to use ! $config['Pview']['lang'] = 'en'; # 0/1: use image.php option that "creates" the # image and protects it from outside linking --- 26,35 ---- # language to use ! $config['Pview']['deflang'] = 'en'; + # available languages + $config['Pview']['lang']['en'] = 'English'; + $config['Pview']['lang']['fi'] = 'Suomi'; // Finnish + # 0/1: use image.php option that "creates" the # image and protects it from outside linking *************** *** 34,37 **** --- 38,44 ---- $config['Pview']['imageprot']['on'] = '0'; $config['Pview']['imageprot']['path'] = ''; + + # name for cookie + $config['Pview']['cookiename'] = 'Pviewphp'; # Pview.php version number, no need to change unless you want to fool someone Index: lang.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/config/lang.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** lang.php 2001/08/28 12:00:58 1.5 --- lang.php 2001/09/06 08:16:36 1.6 *************** *** 24,27 **** --- 24,28 ---- $lang['en']['conf']['colview'] = 'Columns in thumbnail view'; $lang['en']['conf']['rowview'] = 'Rows in thumbnail view'; + $lang['en']['conf']['language'] = 'Language'; $lang['en']['conf']['strinfo'] = 'Stores configuration info in cookies.'; $lang['en']['conf']['remcook'] = 'Remove this sites cookies.'; *************** *** 50,53 **** --- 51,55 ---- $lang['fi']['conf']['colview'] = 'Columns in thumbnail view'; $lang['fi']['conf']['rowview'] = 'Rows in thumbnail view'; + $lang['fi']['conf']['language'] = 'Kieli'; $lang['fi']['conf']['strinfo'] = 'Tallentaa asetukset cookieihin.'; $lang['fi']['conf']['remcook'] = 'Poista tämän palvelimen cookiet.'; |
From: Ville K. <vk...@us...> - 2001-07-18 19:29:44
|
Update of /cvsroot/pview-php/Pview.php/graphics In directory usw-pr-cvs1:/tmp/cvs-serv18242/graphics Modified Files: arrowl.gif arrowr.gif arrowu.gif Log Message: better arrow images, make road to 0.3 Index: arrowl.gif =================================================================== RCS file: /cvsroot/pview-php/Pview.php/graphics/arrowl.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsR2K7N8 and /tmp/cvsqD6er7 differ Index: arrowr.gif =================================================================== RCS file: /cvsroot/pview-php/Pview.php/graphics/arrowr.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvshFAsa8 and /tmp/cvsSHkE05 differ Index: arrowu.gif =================================================================== RCS file: /cvsroot/pview-php/Pview.php/graphics/arrowu.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsH1fpV9 and /tmp/cvs8zLJw9 differ |
From: Ville K. <vk...@us...> - 2001-07-18 19:29:44
|
Update of /cvsroot/pview-php/Pview.php/config In directory usw-pr-cvs1:/tmp/cvs-serv18242/config Modified Files: config.php Log Message: better arrow images, make road to 0.3 Index: config.php =================================================================== RCS file: /cvsroot/pview-php/Pview.php/config/config.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** config.php 2001/07/18 08:53:55 1.12 --- config.php 2001/07/18 19:29:39 1.13 *************** *** 36,40 **** # Pview.php version number, no need to change unless you want to fool someone ! $config['Pview']['version'] = '0.2'; ?> --- 36,40 ---- # Pview.php version number, no need to change unless you want to fool someone ! $config['Pview']['version'] = '0.3'; ?> |
From: Ville K. <vk...@us...> - 2001-07-18 19:29:44
|
Update of /cvsroot/pview-php/Pview.php/doc In directory usw-pr-cvs1:/tmp/cvs-serv18242/doc Modified Files: CHANGES Log Message: better arrow images, make road to 0.3 Index: CHANGES =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/CHANGES,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** CHANGES 2001/07/18 08:53:55 1.10 --- CHANGES 2001/07/18 19:29:39 1.11 *************** *** 5,8 **** --- 5,11 ---- cvs --- + + beta0-3 + ------- * pco.php inputboxes -> option lists * moving some/all text to lang.php to allow multilingual operation |
From: Ville K. <vk...@us...> - 2001-07-18 09:01:09
|
Update of /cvsroot/pview-php/Pview.php/graphics In directory usw-pr-cvs1:/tmp/cvs-serv2730/graphics Added Files: 10x11emp.gif arrowl.gif arrowr.gif arrowu.gif Log Message: add the images too --- NEW FILE: 10x11emp.gif --- GIF89a --- NEW FILE: arrowl.gif --- GIF89a --- NEW FILE: arrowr.gif --- GIF89a --- NEW FILE: arrowu.gif --- GIF89a |
From: Ville K. <vk...@us...> - 2001-07-18 09:00:31
|
Update of /cvsroot/pview-php/Pview.php/graphics In directory usw-pr-cvs1:/tmp/cvs-serv2570/graphics Log Message: Directory /cvsroot/pview-php/Pview.php/graphics added to the repository |
From: Ville K. <vk...@us...> - 2001-07-18 08:54:00
|
Update of /cvsroot/pview-php/Pview.php/doc In directory usw-pr-cvs1:/tmp/cvs-serv1291/doc Modified Files: CHANGES README TODO Log Message: * image.php prev/next links now images * some small desing changes Index: CHANGES =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/CHANGES,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -r1.9 -r1.10 *** CHANGES 2001/07/17 18:24:57 1.9 --- CHANGES 2001/07/18 08:53:55 1.10 *************** *** 9,12 **** --- 9,13 ---- * image.php "creates" the image so that no-one can link your image to their page, this behavior is as an option + * image.php prev/next links now images * design changes Index: README =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/README,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** README 2001/07/10 06:25:58 1.5 --- README 2001/07/18 08:53:55 1.6 *************** *** 43,44 **** --- 43,51 ---- ---------------------------------------------------------------------- + + TESTED: + + Development done with always latest unstable debian packages of Apache + and PHP on Linux. Also tested with Apache 1.3.20 + PHP4.0.5 on Linux. + + ---------------------------------------------------------------------- Index: TODO =================================================================== RCS file: /cvsroot/pview-php/Pview.php/doc/TODO,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** TODO 2001/07/17 18:24:57 1.11 --- TODO 2001/07/18 08:53:55 1.12 *************** *** 3,7 **** ! * clean up that messy code! * fix title generation * config section for users, show all big pictures on one page, --- 3,7 ---- ! * clean up that messy code (and try not do it anymore ;) * fix title generation * config section for users, show all big pictures on one page, *************** *** 11,12 **** --- 11,13 ---- * web administration * make it look nicer :) + * maybe switch to xhtml? |