More '<?$' => '<?php$'
[Trubanc.git] / client / template.php
blobcfe9dd200682e42998da35c6467cd7e4cd794741
1 <?php
3 // Template for client screens
4 // $title - Title string, default: A Trubanc Web Client
5 // $bankname - name of bank, default "Trubanc"
6 // $menu - html to go to the right of the logo
7 // $body - Body html to include, default: template identification text
8 // $onload - script to run onload, default: nothing
10 if (!$title) $title = "A Trubanc Web Client";
11 if (!$bankname) $bankname = "Trubanc";
12 if (!$menu) $menu = '';
13 if (!$body) $body = 'This is the template for Trubanc web client pages';
16 <html>
17 <head>
18 <title><?php echo $title; ?></title>
19 <meta name="viewport" content="width=device-width"/>
20 <link rel="apple-touch-icon" href="../site-icon.ico"/>
21 <link rel="shortcut icon" href="../site-icon.ico"/>
22 </head>
23 <body<?php if ($onload) echo " onload='$onload'"; ?>>
24 <p>
25 <a href="../">
26 <img style="vertical-align: middle;border: 1px white" src="../trubanc-logo-50x49.gif" alt="Trubanc" width="50" height="49"/></a>
27 <b><?php echo $bankname; ?></b>
28 <?php if ($menu) echo "&nbsp;&nbsp;$menu"; ?>
29 </p>
30 <?php echo bankline(); ?>
31 <?php echo idcode(); ?>
32 <?php echo $body; ?>
33 <?php echo $debug; ?>
34 </body>
35 </html>
36 <?php
38 // Copyright 2008 Bill St. Clair
40 // Licensed under the Apache License, Version 2.0 (the "License");
41 // you may not use this file except in compliance with the License.
42 // You may obtain a copy of the License at
44 // http://www.apache.org/licenses/LICENSE-2.0
46 // Unless required by applicable law or agreed to in writing, software
47 // distributed under the License is distributed on an "AS IS" BASIS,
48 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
49 // See the License for the specific language governing permissions
50 // and limitations under the License.