diff --git a/friseurteam/api/autoload.inc.php b/friseurteam/api/autoload.inc similarity index 100% rename from friseurteam/api/autoload.inc.php rename to friseurteam/api/autoload.inc diff --git a/friseurteam/autoload.inc b/friseurteam/autoload.inc index 24db696..c9457cc 100644 --- a/friseurteam/autoload.inc +++ b/friseurteam/autoload.inc @@ -1,8 +1,8 @@ saimod_webcraft_gallery::getGalleryGalleria(1)); return \SYSTEM\PAGE\replace::replaceFile(\SYSTEM\SERVERPATH(new PPAGE(),'default_galerie/galerie.tpl'), $vars);} + + public static function css() { + return array(); + } + + public static function js() { + return array(); + } + + public static function meta() { + return NULL; + } + + public static function title() { + return NULL; + } } \ No newline at end of file diff --git a/friseurteam/page/default_page/autoload.inc b/friseurteam/page/default_page/autoload.inc new file mode 100644 index 0000000..78e17e6 --- /dev/null +++ b/friseurteam/page/default_page/autoload.inc @@ -0,0 +1,3 @@ +'. - ''. - ''. - ''. - ''. - ''. - '';*/ } + public static function css(){ return \SYSTEM\HTML\html::link(\LIB\lib_bootstrap::css()->WEBPATH(false)). \SYSTEM\HTML\html::link(\LIB\lib_flexslider::css()->WEBPATH(false)). @@ -31,8 +25,7 @@ class default_page implements SYSTEM\PAGE\DefaultPage { if(!$_escaped_fragment_){ $vars['js'] = self::js();} $vars['css'] = self::css(); - //$vars['default_gallery'] = saimod_webcraft_gallery::getGalleryGalleria(1); - $vars['default_content'] = (new default_content())->html(); + $vars['head_gallery'] = saimod_webcraft_gallery::getGalleryFlexslider(1); $vars = array_merge($vars, \SYSTEM\PAGE\text::tag('friseurteam'), \SYSTEM\PAGE\text::tag('basic')); return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_page/tpl/friseurteam.tpl'))->SERVERPATH(), $vars); diff --git a/friseurteam/page/default_page/js/default_page.js b/friseurteam/page/default_page/js/default_page.js index 920ee32..868751f 100644 --- a/friseurteam/page/default_page/js/default_page.js +++ b/friseurteam/page/default_page/js/default_page.js @@ -1,9 +1,7 @@ $(document).ready(function() { - $('#menu a').click(function(){ - $('#content_frame_frame').load('./?page='+$(this).attr('page')); - }); - $('#map_link').click(function(){ - $('#map_modal').modal(); - drawmap(); + new SYSTEM('./api.php',1,'start'); + + $('.navbar-collapse a').click(function(){ + $(".navbar-collapse").collapse('hide'); }); }); \ No newline at end of file diff --git a/friseurteam/page/default_page/tpl/friseurteam.tpl b/friseurteam/page/default_page/tpl/friseurteam.tpl index 96b2241..2983534 100644 --- a/friseurteam/page/default_page/tpl/friseurteam.tpl +++ b/friseurteam/page/default_page/tpl/friseurteam.tpl @@ -1,5 +1,5 @@ - + @@ -7,54 +7,56 @@ ${page_title} - ${js} - ${css} + - -