JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added admin_files, s/this_host/$host/, etc
[wfpl-cms.git] / code / cms.php
index eacff25..6111440 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 function cms_display($basename, &$tem) {
+       $tem->set('$host', this_host());
        $nav_items = db_get_assocs('cms_pages', "coalesce(nullif(nav_title,''), title) as title,filename", 'where navbar!=0 order by navbar');
        if($nav_items) {
                foreach($nav_items as &$nav_item) {