JSlip  1.0
root_menu_err.tmplt
Go to the documentation of this file.
1 <?php
2 /**
3  * @link https://datagram.co.jp/source/bksj for the canonical source repository
4  * @copyright Copyright (c) 2006-2019 Datagram Ltd. (https://datagram.co.jp)
5  * @license https://datagram.co.jp/source/bksj/license.txt
6  */
7 
8 $view = $ctrl->view;
9 $err = $ctrl->err;
10 ?>
11 <script type="text/javascript">
12 
13  var my = {
14 
15  ans: null,
16  next: null,
17  func: null,
18 
19  btnNext: function(func) {
20  this.func.val(func);
21  this.next.submit();
22  return false;
23  },
24 
25  init: function() {
26  this.next = $('#next');
27  this.func = $('#func');
28  }
29  }
30 
31  $(function(){
32  my.init();
33  });
34 
35 </script>
36 
37 <form method="post" name="next" id="next" action="<?= $base ?>">
38  <input type="hidden" name="func" id="func">
39 </form>
40 
41 <table id="my_header" width="100%">
42  <tr>
43  <td align="left">&nbsp;</td>
44  <td align="right">
45  <button type="button" class="my_magenta" style="width: 120px;" onclick="return my.btnNext('Login'); ">ログアウト</button>
46  </td>
47  </tr>
48 </table>
49 <br>
50 <?= $view->str($err) ?>
51 <br>