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