mirror of
https://github.com/e107inc/e107.git
synced 2025-07-12 18:46:20 +02:00
LANS Clean Up #6 - Printer Friendly Page
LANS Clean Up #6 - Printer Friendly Page
This commit is contained in:
@ -1,27 +1,26 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
+ ----------------------------------------------------------------------------+
|
* e107 website system
|
||||||
| e107 website system - Language File.
|
*
|
||||||
|
|
* Copyright (C) 2008-2017 e107 Inc (e107.org)
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/lan_print.php,v $
|
* Released under the terms and conditions of the
|
||||||
| $Revision$
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
| $Date$
|
*
|
||||||
| $Author$
|
* English language file - Printer Friendly Page
|
||||||
+----------------------------------------------------------------------------+
|
*
|
||||||
*/
|
*/
|
||||||
if (!defined("PAGE_NAME")) { define("PAGE_NAME", "Printer Friendly"); }
|
if (!defined("PAGE_NAME")) { define("PAGE_NAME", "Printer Friendly"); }
|
||||||
|
//define("LAN_PRINT_86", "Category:");//LAN_CATEGORY // NOT USED
|
||||||
define("LAN_PRINT_86", "Category:");
|
//efine("LAN_PRINT_87", "by ");//NOT USED
|
||||||
define("LAN_PRINT_87", "by ");
|
//define("LAN_PRINT_94", "Posted by");//LAN_POSTED_BY//NOT USED
|
||||||
define("LAN_PRINT_94", "Posted by");
|
//define("LAN_PRINT_135", "News Item: ");//NOT USED
|
||||||
define("LAN_PRINT_135", "News Item: ");
|
|
||||||
define("LAN_PRINT_303", "This news item is from ");
|
define("LAN_PRINT_303", "This news item is from ");
|
||||||
//define("LAN_PRINT_304", "Title: ");//LAN_TITLE
|
//define("LAN_PRINT_304", "Title: ");//LAN_TITLE
|
||||||
define("LAN_PRINT_305", "Subheading: ");
|
//define("LAN_PRINT_305", "Subheading: ");//NOT USED
|
||||||
define("LAN_PRINT_306", "This is from: ");
|
//define("LAN_PRINT_306", "This is from: ");//NOT USED
|
||||||
define("LAN_PRINT_307", "Print this page");
|
|
||||||
|
|
||||||
define("LAN_PRINT_1", "printer friendly");
|
define("LAN_PRINT_307", "Print this page");//TODO LANS GENERIC CANDIDATE
|
||||||
|
|
||||||
|
define("LAN_PRINT_1", "printer friendly");//TODO LANS GENERIC CANDIDATE
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
32
print.php
32
print.php
@ -1,21 +1,15 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
+ ----------------------------------------------------------------------------+
|
* e107 website system
|
||||||
| e107 website system
|
*
|
||||||
|
|
* Copyright (C) 2008-2017 e107 Inc (e107.org)
|
||||||
| Copyright (C) 2008-2009 e107 Inc
|
* Released under the terms and conditions of the
|
||||||
| http://e107.org
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
|
|
*
|
||||||
|
|
* Printer Friendly
|
||||||
| Released under the terms and conditions of the
|
*
|
||||||
| GNU General Public License (http://gnu.org).
|
|
||||||
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/print.php,v $
|
|
||||||
| $Revision$
|
|
||||||
| $Date$
|
|
||||||
| $Author$
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once("class2.php");
|
require_once("class2.php");
|
||||||
//include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
//include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_'.e_PAGE);
|
||||||
|
|
||||||
@ -69,7 +63,7 @@ if(strpos($source,'plugin:') !== FALSE)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "file missing.";
|
echo LAN_FILE_NOT_FOUND;
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -108,9 +102,9 @@ else
|
|||||||
$print_text = "<span style=\"font-size: 13px; color: black; font-family: tahoma, verdana, arial, helvetica; text-decoration: none\">
|
$print_text = "<span style=\"font-size: 13px; color: black; font-family: tahoma, verdana, arial, helvetica; text-decoration: none\">
|
||||||
<h2>".LAN_PRINT_135.$news_title."</h2>
|
<h2>".LAN_PRINT_135.$news_title."</h2>
|
||||||
<br />
|
<br />
|
||||||
(".LAN_PRINT_86." ".$tp->toHTML($category_name,FALSE,"defs").")
|
(".LAN_CATEGORY." ".$tp->toHTML($category_name,FALSE,"defs").")
|
||||||
<br />
|
<br />
|
||||||
".LAN_PRINT_94." ".$a_name."<br />
|
".LAN_POSTED_BY." ".$a_name."<br />
|
||||||
".$news_datestamp."
|
".$news_datestamp."
|
||||||
<br /><br />".
|
<br /><br />".
|
||||||
$news_body;
|
$news_body;
|
||||||
@ -168,4 +162,4 @@ else
|
|||||||
}
|
}
|
||||||
require_once(FOOTERF);
|
require_once(FOOTERF);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user