fp_mobile_template.php

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

File

themes/basic/fp_mobile_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 "
  8. <meta name='viewport' id='view' content='width=350;'/>
  9. <meta name='format-detection' content='telephone=no'>
  10. <link rel='stylesheet' type='text/css' href='$theme_location/style.css?$page_css_js_query_string' />
  11. <link rel='stylesheet' type='text/css' href='$theme_location/layout.css?$page_css_js_query_string' />
  12. <link rel='stylesheet' type='text/css' href='$theme_location/mobile.css?$page_css_js_query_string' />";
  13. // Load any extra CSS files which addon modules might have added.
  14. print $page_extra_css_files;
  15. // Load our custom.css last, so we can override whatever needs to be overwritten
  16. print "<link rel='stylesheet' type='text/css' href='$theme_location/custom.css?$page_css_js_query_string' />";
  17. print "<title>$page_title</title>";
  18. ?>
  19. <script src="<?php print base_path() ?>/inc/jquery-1.8.3.min.js" type="text/javascript"></script>
  20. <script src="<?php print base_path() ?>/inc/jquery-ui-1.9.2.custom.min.js" type="text/javascript"></script>
  21. <link rel='stylesheet' type='text/css' href='<?php print base_path() ?>/inc/jqueryui-css/ui-lightness/jquery-ui-1.9.2.custom.min.css'>
  22. <script type='text/javascript'>
  23. <?php print $page_extra_js_settings; ?>
  24. // perform any requested actions on page load...
  25. $(document).ready(function() { <?php print $page_on_load; ?> });
  26. </script>
  27. <?php print $page_extra_js_files; ?>
  28. <body class='<?php print $page_body_classes; ?>'>
  29. <!-- LOGO -->
  30. <img src='<?php print $theme_location; ?>/images/fp_banner_default_226px.png' alt='FlightPath' title='FlightPath'>
  31. <table border='0' width='100%' cellspacing='0' cellpadding='0'>
  32. <?php
  33. if ($page_tabs) {
  34. print "
  35. <tr>
  36. <td>
  37. <table width='100%' cellpadding='0' cellspacing='0' align='left'>
  38. <tr>
  39. <td align='left'>
  40. $page_tabs
  41. </td>
  42. </tr>
  43. </table>
  44. </td>
  45. </tr>
  46. ";
  47. }
  48. ?>
  49. <tr>
  50. <td valign='top'>
  51. <!-- PAGE CONTENT -->
  52. <?php print $page_content; ?>
  53. </td>
  54. </tr>
  55. </table>
  56. <!--
  57. <div class='fpcopy-notice'>
  58. &copy; <a href='http://www.ulm.edu' class='nounderline'>University of Louisiana at Monroe</a>
  59. </div>
  60. -->
  61. </body>