|
14 | 14 | require_once("./inc/config.php"); |
15 | 15 | header("Location: {$HTTPROOTADDRESS}schedule.php?mode=old&id={$_GET['s']}"); |
16 | 16 | die(); |
17 | | -} |
| 17 | +} |
18 | 18 |
|
19 | 19 | // REQUIRED FILES |
20 | 20 | $APP_ROOT = "./"; |
|
30 | 30 | if ($path[1] == 'schedule') { |
31 | 31 | $id = (empty($path[2]))? '': hexdec($path[2]); |
32 | 32 | if(!empty($id)) { |
33 | | - |
| 33 | + |
34 | 34 | // We are making the assumption that only new schedules with images |
35 | 35 | // will be shared. Due relative requires in api/schedule.php, I cannot |
36 | 36 | // check to see if the schedule has an image. #WONTFIX #WORKS4ME |
|
43 | 43 | <html prefix="og: http://ogp.me/ns#" ng-app="sm"> |
44 | 44 | <head> |
45 | 45 | <title><?= (!empty($TITLE)) ? $TITLE . " - " : "" ?>Schedule Maker</title> |
46 | | - |
| 46 | + |
47 | 47 | <!-- META DATA --> |
48 | 48 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
49 | 49 | <meta charset="utf-8"> |
50 | 50 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
51 | 51 | <meta name="apple-mobile-web-app-capable" content="yes"> |
52 | | - |
| 52 | + |
53 | 53 | <!-- STYLE SHEETS --> |
54 | 54 | <link rel="stylesheet" href="//brick.a.ssl.fastly.net/Roboto:300,700"> |
55 | 55 | <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.1/css/font-awesome.css"> |
56 | 56 | <link rel="stylesheet" href="<?=$ASSETROOTADDRESS?>assets/prod/<?=$APP_VERSION?>/modules/sm/dist.min.css"> |
57 | | - |
| 57 | + |
58 | 58 | <!-- OPEN GRAPH TAGS --> |
59 | | - <meta name="twitter:card" content="photo"> |
| 59 | + <meta name="twitter:card" content="photo"> |
60 | 60 | <meta property="og:title" content="<?= (!empty($TITLE)) ? $TITLE . " - " : "" ?>ScheduleMaker" /> |
61 | 61 | <meta property="og:type" content="website" /> |
62 | 62 | <meta property="og:description" content="CSH ScheduleMaker makes picking your RIT class schedule easy! Preview all permutations of your schedule, browse available courses, and search for any course, all with ScheduleMaker."> |
|
95 | 95 | <footer class="main default"> |
96 | 96 | <div class="container"> |
97 | 97 | <div class="csh"><a target="_blank" href="http://www.csh.rit.edu/"><img src="<?=$ASSETROOTADDRESS?>img/csh.png" alt="CSH" /></a></div> |
98 | | - Version: <?=$APP_VERSION?> | <a ui-sref="help">Help</a> | <a href="/status">Status</a> | <a target="_blank" href="https://github.com/ComputerScienceHouse/schedulemaker/issues">Report Issues</a> |
| 98 | + <a target="_blank" href="https://github.com/ComputerScienceHouse/schedulemaker">Version: <?=$APP_VERSION?></a> | <a ui-sref="help">Help</a> | <a href="/status">Status</a> | <a target="_blank" href="https://github.com/ComputerScienceHouse/schedulemaker/issues">Report Issues</a> |
99 | 99 | <div> |
100 | 100 | Development v3: Ben Grawi (bgrawi at csh.rit.edu)<br> |
101 | | - Development v2: Ben Russell (benrr101 at csh.rit.edu),<br> |
| 101 | + Development v2: Ben Russell (benrr101 at csh.rit.edu)<br> |
102 | 102 | Idea: John Resig (phytar at csh.rit.edu)<br> |
103 | 103 | Hosting: <a href="http://www.csh.rit.edu/">Computer Science House</a><br> |
104 | 104 | </div> |
|
107 | 107 | <footer class="main print"> |
108 | 108 | Made Using <a href='<?= $HTTPROOTADDRESS ?>'>CSH ScheduleMaker</a> |
109 | 109 | <a href="http://www.csh.rit.edu/"><img height="25" src="/img/csh_print.png"></a> |
110 | | - </footer> |
| 110 | + </footer> |
111 | 111 | </div> |
112 | 112 | <!-- LOAD SCRIPTS LAST --> |
113 | 113 | <script> |
|
116 | 116 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
117 | 117 | m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
118 | 118 | })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
119 | | - |
| 119 | + |
120 | 120 | ga('create', '<?= $GOOGLEANALYTICS ?>', 'rit.edu'); |
121 | 121 | </script> |
122 | 122 | <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script> |
|
129 | 129 | <script src="<?=$ASSETROOTADDRESS?>assets/prod/<?=$APP_VERSION?>/modules/sm/dist.min.js"></script> |
130 | 130 | </body> |
131 | 131 | </html> |
132 | | - |
0 commit comments