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/fp5_clean/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. // Add extra JS files.
  8. print $page_extra_js_files;
  9. print "<link rel='stylesheet' type='text/css' href='$theme_location/style.css?$page_css_js_query_string' /> \n";
  10. print "<link rel='stylesheet' type='text/css' href='$theme_location/layout.css?$page_css_js_query_string' /> \n";
  11. print $page_extra_css_files;
  12. // Load our custom.css last, so we can override whatever needs to be overwritten
  13. print "<link rel='stylesheet' type='text/css' href='$theme_location/custom.css?$page_css_js_query_string' />";
  14. print "<title>$page_title</title> ";
  15. ?>
  16. <script src="<?php print base_path() ?>/inc/jquery-1.8.3.min.js" type="text/javascript"></script>
  17. <script src="<?php print base_path() ?>/inc/jquery-ui-1.9.2.custom.min.js" type="text/javascript"></script>
  18. <body style='background-color: white;' class='<?php print $page_body_classes; ?>'>
  19. <!-- TEXT LOGO -->
  20. <table width='500' border='0'>
  21. <td valign='middle'>
  22. <span style='font-size: 10pt;'><i>
  23. electronic student advising system
  24. </i></span>
  25. </td>
  26. <td valign='middle'>
  27. <span style='font-family: Times New Roman; font-size: 30pt;'><i>flightpath</i>
  28. <font color='#660000'><?php print $GLOBALS["fp_system_settings"]["school_initials"]; ?></font></span>
  29. </td>
  30. </table>
  31. <!-- PRINT BUTTON -->
  32. <div style='margin-bottom:10px;' class='print-graphic hand' onClick='window.print();'>
  33. &nbsp;
  34. </div>
  35. <table border='0' width='650' cellspacing='0' cellpadding='0'>
  36. <td valign='top'>
  37. <!-- PAGE CONTENT -->
  38. <?php print $page_content; ?>
  39. </td>
  40. </table>
  41. </body>