diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index a5d3b4951..30c362f47 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -449,6 +449,12 @@ background-image: linear-gradient(to bottom, #882222, #111111);; case "calendar"; $this->calendarNavigationBar($extra); break; + default: + if($this->hasHook('pageNavigationBar')) { + $menubar = $this->callHook('pageNavigationBar', $pageType, $extra); + if(is_string($menubar)) + echo $menubar; + } } echo " \n"; echo " \n"; @@ -1054,14 +1060,14 @@ $(document).ready(function() { echo self::getFileChooserHtml($varname, $multiple, $accept); } /* }}} */ - function printDateChooser($defDate = '', $varName) { /* {{{ */ - echo self::getDateChooser($defDate, $varName); + function printDateChooser($defDate = '', $varName, $lang='', $dateformat='yyyy-mm-dd') { /* {{{ */ + echo self::getDateChooser($defDate, $varName, $lang, $dateformat); } /* }}} */ - function getDateChooser($defDate = '', $varName, $lang='') { /* {{{ */ + function getDateChooser($defDate = '', $varName, $lang='', $dateformat='yyyy-mm-dd') { /* {{{ */ $content = ' - - + + '; return $content;