projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
require instead of include_once
[squirrelmail.git]
/
src
/
printer_friendly_top.php
diff --git
a/src/printer_friendly_top.php
b/src/printer_friendly_top.php
index 33202e8fe6c9445ef1a62238ad95ce128a505f55..837e58c9668f92f72289e0ffc2bba99843e6bc15 100644
(file)
--- a/
src/printer_friendly_top.php
+++ b/
src/printer_friendly_top.php
@@
-6,23
+6,20
@@
* top frame of printer_friendly_main.php
* displays some javascript buttons for printing & closing
*
* top frame of printer_friendly_main.php
* displays some javascript buttons for printing & closing
*
- * @copyright
(c) 1999-2005
The SquirrelMail Project Team
+ * @copyright
© 1999-2006
The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
/**
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
*/
/**
- * Path for SquirrelMail required files.
- * @ignore
+ * Include the SquirrelMail initialization file.
*/
*/
-
define('SM_PATH','../
');
+
include('../include/init.php
');
-/* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
displayHtmlHeader( _("Printer Friendly"),
displayHtmlHeader( _("Printer Friendly"),
- "<script
language=\"javascript\"
type=\"text/javascript\">\n".
+ "<script type=\"text/javascript\">\n".
"<!--\n".
"function printPopup() {\n".
"parent.frames[1].focus();\n".
"<!--\n".
"function printPopup() {\n".
"parent.frames[1].focus();\n".
@@
-40,5
+37,5
@@
echo '<body text="'.$color[8].'" bgcolor="'.$color[3].'" link="'.$color[7].'" vl
'</form>',
'right' );
'</form>',
'right' );
-?>
-
</body></html
>
\ No newline at end of file
+$oTemplate->display('footer.tpl');
+
?
>
\ No newline at end of file