fp_print_template.php

  1. 4.x themes/classic/fp_print_template.php
  2. 5.x themes/basic/fp_print_template.php
  3. 5.x themes/fp5_clean/fp_print_template.php
  4. 5.x themes/classic/fp_print_template.php

File

themes/classic/fp_print_template.php
View source
  1. <?php
  2. /*
  3. This is very similar to the fp_template, except this is formatted
  4. to be used with content which is supposed to get printed out.
  5. */
  6. $theme_location = fp_theme_location();
  7. print '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
  8. // Add extra JS files.
  9. print $page_extra_js_files;
  10. print "<link rel='stylesheet' type='text/css' href='$theme_location/style.css'>";
  11. print $page_extra_css_files;
  12. print "<title>$page_title</title> ";
  13. ?>
  14. <body style='background-color: white;' class='<?php print $page_body_classes; ?>'>
  15. <!-- TEXT LOGO -->
  16. <table width='500' border='0'>
  17. <td valign='middle'>
  18. <span style='font-size: 10pt;'><i>
  19. electronic student advising system
  20. </i></span>
  21. </td>
  22. <td valign='middle'>
  23. <span style='font-family: Times New Roman; font-size: 30pt;'><i>flightpath</i>
  24. <font color='#660000'><?php print $GLOBALS["fp_system_settings"]["school_initials"]; ?></font></span>
  25. </td>
  26. </table>
  27. <!-- PRINT BUTTON -->
  28. <div style='margin-bottom:10px;' class='print-graphic hand' onClick='window.print();'>
  29. &nbsp;
  30. </div>
  31. <table border='0' width='650' cellspacing='0' cellpadding='0'>
  32. <td valign='top'>
  33. <!-- PAGE CONTENT -->
  34. <?php print $page_content; ?>
  35. </td>
  36. </table>
  37. </body>