-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.tpl
122 lines (117 loc) · 4.85 KB
/
header.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{*
* Common header
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright 2014-2019 Jacques Marneweck. All rights strictly reserved.
*}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="author" content="Wayv Global Ltd // www.wayvglobal.com">
<meta name="google-play-app" content="app-id=com.voxnimbus.imogo">
<meta name="copyright" content="2014-2019 I Am Fintech (Pty) Ltd and/or it's Licensors. All rights strictly reserved.">
<meta name="csrf-token" content="{$csrf_token}">
<meta name="csrf-param" content="{$csrf_key}">
<title>I AM Fintech — I AM Finance — {$title}</title>
{include file="_partials/header-bsfa.tpl"}
<link href="/css/iamfintech.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700|Roboto" rel="stylesheet">
<link type="text/plain" rel="author" href="/humans.txt">
{include file="_partials/header-shims.tpl"}
{literal}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-135086742-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-135086742-2');
</script>
{/literal}
</head>
<body>
<div class="container">
<div class="header hidden-print">
<ul class="nav nav-pills pull-right">
<li{if $nav == "accounts"} class="active"{/if}><a href="/accounts">Accounts</a></li>
<li{if $nav == "transfer"} class="active"{/if}><a href="/transfer">Transfer</a></li>
<li{if $nav == "beneficiaries"} class="active"{/if}><a href="/beneficiaries">Pay Beneficiary</a></li>
{if $globals.features.prepaid}
<li class="dropdown{if $nav == "prepaid"} active{/if}">
<a class="dropdown-toggle"
data-toggle="dropdown"
href="#">
Prepaid
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="/prepaid/airtime">Airtime</a></li>
<li><a href="/prepaid/electricity">Electricity</a></li>
</ul>
</li>
{/if}
{if $globals.features.sms}
<li{if $nav == "sms"} class="active"{/if}><a href="/sms">SMS</a></li>
{/if}
{if $smarty.session.show_biztools}
<li class="dropdown{if preg_match("!\/(agency?|debitorders?|payrolls?).+!", $smarty.server.REQUEST_URI)} active{/if}">
<a class="dropdown-toggle"
data-toggle="dropdown"
href="#">
My Biz Tools
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
{if in_array($smarty.session.user_id, $globals.admins)}
<li><a href="/agency"><i class="fa fa-pie-chart"></i> Agency</a></li>
{/if}
{if $globals.features.company}
<li><a href="/companies"><i class="fa fa-fw fa-building"></i> Company Dashboard</a></li>
{/if}
{if $globals.features.payrolls}
<li{if preg_match("!\/payrolls?.+!", $smarty.server.REQUEST_URI)} class="active"{/if}><a href="/payrolls">Payrolls</a></li>
{/if}
</ul>
</li>
{/if}
<li class="dropdown{if $nav == "settings"} active{/if}">
<a class="dropdown-toggle"
data-toggle="dropdown"
href="#">
Settings
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="/settings">Change Password</a></li>
{if $smarty.session.show_autoload}
<li><a href="/settings/autoload">Autoload Settings</a></li>
{/if}
<li><a href="/settings/tfa">Two Factor Authentication</a></li>
</ul>
</li>
{if $smarty.session.is_agent}
<li><a href="/agent"><i class="fa fa-wrench"></i> Agent</a></li>
{/if}
{if $smarty.session.is_admin}
<li><a href="/admin"><i class="fa fa-cogs"></i> Basecamp</a></li>
{/if}
</li>
<li><a href="/logout"><i class="fa fa-sign-out"></i> Logout</a></li>
</ul>
{if !(array_key_exists('brand', $smarty.session))}
<h3 class="text-muted"><img src="/images/brands/iamfintech/iamfintech.png" height="50"></h3>
{else}
<h3 class="text-muted"> </h3>
{/if}
</div>
<hr />
{if $smarty.session.fica_status eq 0}
<div class="alert alert-info">Please provide a certified copy of your ID before you are able to start transacting on the I AM Fintech system. Call centre: 021 201-6480.</div>
{/if}