|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/astrosfm/old/manuals/pmwiki-2.2.0/pub/skins/print/ |
Upload File : |
<?php if (!defined('PmWiki')) exit();
/* Copyright 2004 Patrick R. Michaud ([email protected])
This file is part of PmWiki; 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 2 of the License, or
(at your option) any later version. See pmwiki.php for full details.
This script defines additional settings needed when the 'print'
skin is loaded (usually in response to ?action=print, as controlled
by the $ActionSkin['print'] setting. See scripts/skins.php for
more details.
The changes made are:
- Redefines the standard layout to a format suitable for printing
- Redefines internal links to keep ?action=print
- Changes the display of URL and mailto: links
- Uses GroupPrintHeader and GroupPrintFooter pages instead
of GroupHeader and GroupFooter
*/
global $LinkPageExistsFmt, $GroupPrintHeaderFmt,
$GroupPrintFooterFmt, $GroupHeaderFmt, $GroupFooterFmt;
$LinkPageExistsFmt = "<a class='wikilink' href='\$PageUrl?action=print'>\$LinkText</a>";
SDV($GroupPrintHeaderFmt,'(:include $Group.GroupPrintHeader:)(:nl:)');
SDV($GroupPrintFooterFmt,'(:nl:)(:include $Group.GroupPrintFooter:)');
$GroupHeaderFmt = $GroupPrintHeaderFmt;
$GroupFooterFmt = $GroupPrintFooterFmt;