*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
c43389f79a
commit
884f44ce94
108 changed files with 407 additions and 437 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<html>
|
||||
<head>
|
||||
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
|
||||
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
|
||||
<script>var baseurl="<?php echo App::get_baseurl() ?>";</script>
|
||||
<script type="text/javascript">
|
||||
function ScrollToBottom(){
|
||||
window.scrollTo(0,document.body.scrollHeight);
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ function smoothly_init(&$a) {
|
|||
|
||||
$cssFile = null;
|
||||
$ssl_state = null;
|
||||
$baseurl = $a->get_baseurl($ssl_state);
|
||||
$baseurl = App::get_baseurl($ssl_state);
|
||||
$a->page['htmlhead'] .= <<< EOT
|
||||
|
||||
<script>
|
||||
|
|
@ -114,7 +114,7 @@ if(! function_exists('_js_in_foot')) {
|
|||
*/
|
||||
$a = get_app();
|
||||
$ssl_state = null;
|
||||
$baseurl = $a->get_baseurl($ssl_state);
|
||||
$baseurl = App::get_baseurl($ssl_state);
|
||||
$bottom['$baseurl'] = $baseurl;
|
||||
$tpl = get_markup_template('bottom.tpl');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue