Mercurial > hg > fapweb
diff 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 |
line wrap: on
line diff
--- a/show.php Tue Jan 24 16:44:30 2017 +0200 +++ b/show.php Tue Jan 24 17:25:48 2017 +0200 @@ -7,14 +7,14 @@ require_once "mconfig.inc.php"; require_once "msite.inc.php"; require_once "msession.inc.php"; -require_once "majax.inc.php"; $pageCSS = "css/show.css"; stSetupCacheControl(); -cmPrintPageHeader("PARTY INFORMATION DISPLAY SYSTEM", "", FALSE); -stCommonAJAX("showajax.php", "show.php"); +cmPrintPageHeader("PARTY INFORMATION DISPLAY SYSTEM", + " <script type=\"text/javascript\" src=\"showajax.js.php\"></script>\n". + " <script type=\"text/javascript\" src=\"genajax.js\"></script>\n", FALSE); ?> <noscript> @@ -30,7 +30,6 @@ <div class="showView" id="mainView"></div> -<script type="text/javascript" src="show.js"></script> <? cmPrintPageFooter(FALSE); ?> \ No newline at end of file