Åbn hovedmenuen
Hjem
Tilfældig
Log på
Indstillinger
Om TNG_Wiki
Forbehold
TNG_Wiki
Søg
Ændringer
← Forrige ændring
Næste ændring →
Showfolio Mod
(vis kilde)
Versionen fra 9. jul 2023, 11:34
22 bytes tilføjet
,
9. jul 2023, 11:34
→Add Control File
Linje 305:
Linje 305:
<pre>
<pre>
<?php
<?php
−
/***********************************************
+
header("Location:../../showfolio.php?mediaID=1678");
−
FOLIO
CONTROL FILE (
folio.php)
:
+
/
**************************
***********************************************
−
************************************************/
+
FOLIO
: military/cw24/
folio.php
(Sat, 08 Aug 2015
)
−
# Cheney B. Bisbee Civil War Pension File
+
Cheney B. Bisbee Civil War Pension File
+
*************************
************************************************/
+
// Treat first page as cover sheet
+
$usecover=true;
// ignore any files in the folder with extensions .html or .htm
// ignore any files in the folder with extensions .html or .htm
$exclude[] = ".htm";
$exclude[] = ".htm";
$exclude[] = ".html";
$exclude[] = ".html";
−
−
// consider the first file in the folder a coversheet
−
$useCover=1;
// add link to download pdf from the site's private area
// add link to download pdf from the site's private area
$pdffetch ="cbisibee.pdf";
$pdffetch ="cbisibee.pdf";
−
−
// do not show the magnifier on image pages of this folio
−
$showMagnifier=false;
?>
?>
Kazooter
'''Experienced''', maintainer,
Administratorer
, sysops
5.027
redigeringer