request()->getRequest(); $module = $request->getModule(); $controller = $request->getController(); $action = $request->getAction(); $indexPage = ($module == 'App' && $controller == 'Index' && $action == 'Index') ? true : false; $browsePage = ($module == 'Listings' && $controller == 'Browse' && $action == 'Index') ? true : false; $parentId = $request->getParam('parent_id'); $this->setGlobal('themeFolder', $this->baseUrl . '/' . $this->themesFolder . '/' . 'green'); $this->setGlobal('indexPage', $indexPage); $this->setGlobal('browsePage', $browsePage); ?>
headTitle(); ?> headMeta() ->appendName('viewport', 'width=device-width, initial-scale=1.0') ->appendHttpEquiv('X-UA-Compatible', 'IE=edge'); echo $this->headMeta(); /** add rtl bootstrap css if the case */ if ($htmlDir == \Cube\View\Helper\HtmlDir::RTL) { $this->script() ->addHeaderCode('') ->addHeaderCode(''); } $this->script()->addHeaderCode('') ->addHeaderCode('') ->addHeaderCode(''); ?> script()->displayHeaderCode(); ?>