1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="{$charset}">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <title>{$requestedAction} - {$companyname}</title>
8
9 <link href="{assetPath file='all.min.css'}" rel="stylesheet">
10 {assetExists file="custom.css"}
11 <link href="{$__assetPath__}" rel="stylesheet">
12 {/assetExists}
13 <link href="{assetPath file='oauth.css'}" rel="stylesheet">
14
15 <script>
16 var whmcsBaseUrl = "{\WHMCS\Utility\Environment\WebHelper::getBaseUrl()}";
17 </script>
18 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
19 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
20 <!--[if lt IE 9]>
21 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
22 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
23 <![endif]-->
24 </head>
25 <body>
26
27 <section id="header">
28 <div class="container">
29 <img src="{$logo}" />
30 <div class="pull-right text-right">
31 {if $loggedin}
32 <form method="post" action="{$issuerurl}oauth/authorize.php" id="frmLogout">
33 <input type="hidden" name="logout" value="1"/>
34 <input type="hidden" name="request_hash" value="{$request_hash}"/>
35 <p>
36 {lang key='oauth.currentlyLoggedInAs' firstName=$userInfo.firstName lastName=$userInfo.lastName}{if $userInfo.clientName} ({$userInfo.clientName}){/if}.
37 <a href="#" onclick="jQuery('#frmLogout').submit()">{lang key='oauth.notYou'}</a>
38 </p>
39 </form>
40 {/if}
41 <form method="post" action="{$issuerurl}oauth/authorize.php" id="frmCancelLogin">
42 <input type="hidden" name="return_to_app" value="1"/>
43 <input type="hidden" name="request_hash" value="{$request_hash}"/>
44 <button type="submit" class="btn btn-default">
45 {lang key='oauth.returnToApp' appName=$appName}
46 </button>
47 </form>
48 </div>
49 </div>
50 </section>
51
52 <section id="content">
53 {$content}
54 </section>
55
56 <section id="footer">
57 {lang key='oauth.copyrightFooter' dateYear=$date_year companyName=$companyname}
58 </section>
59
60 <script src="{assetPath file='scripts.min.js'}"></script>
61 </body>
62</html>
63