Mercurial > hg > fapweb
comparison show.php @ 1069:5f92fa5e683a
Refactor how the "AJAX" stuff works.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 24 Jan 2017 17:25:48 +0200 |
parents | 511147c1e119 |
children | 76e11ae923a7 |
comparison
equal
deleted
inserted
replaced
1068:50d005dd22d8 | 1069:5f92fa5e683a |
---|---|
5 // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) | 5 // (C) Copyright 2012-2015 Tecnic Software productions (TNSP) |
6 // | 6 // |
7 require_once "mconfig.inc.php"; | 7 require_once "mconfig.inc.php"; |
8 require_once "msite.inc.php"; | 8 require_once "msite.inc.php"; |
9 require_once "msession.inc.php"; | 9 require_once "msession.inc.php"; |
10 require_once "majax.inc.php"; | |
11 | 10 |
12 $pageCSS = "css/show.css"; | 11 $pageCSS = "css/show.css"; |
13 | 12 |
14 stSetupCacheControl(); | 13 stSetupCacheControl(); |
15 | 14 |
16 cmPrintPageHeader("PARTY INFORMATION DISPLAY SYSTEM", "", FALSE); | 15 cmPrintPageHeader("PARTY INFORMATION DISPLAY SYSTEM", |
17 stCommonAJAX("showajax.php", "show.php"); | 16 " <script type=\"text/javascript\" src=\"showajax.js.php\"></script>\n". |
17 " <script type=\"text/javascript\" src=\"genajax.js\"></script>\n", FALSE); | |
18 ?> | 18 ?> |
19 | 19 |
20 <noscript> | 20 <noscript> |
21 <div class="notice"> | 21 <div class="notice"> |
22 <h1>Javascript required</h1> | 22 <h1>Javascript required</h1> |
28 </div> | 28 </div> |
29 </noscript> | 29 </noscript> |
30 | 30 |
31 <div class="showView" id="mainView"></div> | 31 <div class="showView" id="mainView"></div> |
32 | 32 |
33 <script type="text/javascript" src="show.js"></script> | |
34 <? | 33 <? |
35 cmPrintPageFooter(FALSE); | 34 cmPrintPageFooter(FALSE); |
36 ?> | 35 ?> |