Add javascript var "baseurl"

Add field_richtext template
This commit is contained in:
Fabio Comuni
2011-06-30 16:42:27 +02:00
parent 8819c73ba1
commit 81e7535914
2 changed files with 45 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
<html>
<head>
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
</head>
<body>