f5008a77 by Jeff Balicki

e

1 parent 969c2151
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
21 // document.domain = 'gotenzing.com'; 21 // document.domain = 'gotenzing.com';
22 </script> 22 </script>
23 23
24 </head>
25 24
26 25
27 26
28 <body><div id="login"><?php 27
28 <?php
29 29
30 include_once("./config.php"); 30 include_once("./config.php");
31 include_once("includes/functions.php"); 31 include_once("includes/functions.php");
...@@ -52,7 +52,8 @@ ...@@ -52,7 +52,8 @@
52 $_SESSION['token'] = $gClient->getAccessToken(); 52 $_SESSION['token'] = $gClient->getAccessToken();
53 } else { 53 } else {
54 $authUrl = $gClient->createAuthUrl(); 54 $authUrl = $gClient->createAuthUrl();
55 } 55 } ?>
56 </head><body><div id="login"> <?php
56 echo '<img src="tenzing.gif" width="259" alt="Tenzing" /></br>'; 57 echo '<img src="tenzing.gif" width="259" alt="Tenzing" /></br>';
57 if(isset($authUrl)) { 58 if(isset($authUrl)) {
58 echo '<a href="'.$authUrl.'"><img width="259" style="padding:20px;" src="./images/glogin.png" alt=""/></a>'; 59 echo '<a href="'.$authUrl.'"><img width="259" style="padding:20px;" src="./images/glogin.png" alt=""/></a>';
......