@@ -21,31 +21,31 @@ protected function getBootstrapUri() {
2121
2222 protected function renderLinks () {
2323 $ webroot = $ this ->app ->request ->webRoot ;
24- $ rc = '<link rel="stylesheet" href=" ' .$ webroot .FontAwesome::getUri ().'" rel="stylesheet" type="text/css"> ' .
25- '<link rel="stylesheet" href=" ' .$ this ->getBootstrapUri ().'" rel="stylesheet" type="text/css"> ' ;
24+ $ rc = '<link rel="stylesheet" href=" ' .$ webroot .FontAwesome::getUri ().'" type="text/css"> ' .
25+ '<link rel="stylesheet" href=" ' .$ this ->getBootstrapUri ().'" type="text/css"> ' ;
2626 if ($ this ->theme ->hasFeature (BootstrapTheme::DATEPICKER )) {
27- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('bootstrap-datepicker.min.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
27+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('bootstrap-datepicker.min.css ' , TRUE ).'" type="text/css"> ' ;
2828 }
2929 if ($ this ->theme ->hasFeature (BootstrapTheme::MULTISELECT )) {
30- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('filter-multi-select.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
30+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('filter-multi-select.css ' , TRUE ).'" type="text/css"> ' ;
3131 }
3232 if ($ this ->theme ->hasFeature (BootstrapTheme::FILEUPLOAD )) {
33- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('bootstrap-datepicker.min.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
33+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('bootstrap-datepicker.min.css ' , TRUE ).'" type="text/css"> ' ;
3434 }
3535 if ($ this ->theme ->hasFeature (BootstrapTheme::MULTIIMAGEUPLOAD ) || $ this ->theme ->hasFeature (BootstrapTheme::IMAGEUPLOAD )) {
36- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('multi-image-upload.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
36+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('multi-image-upload.css ' , TRUE ).'" type="text/css"> ' ;
3737 }
3838 if ($ this ->theme ->hasFeature (BootstrapTheme::REMOTESEARCH )) {
39- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('remote-search.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
39+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('remote-search.css ' , TRUE ).'" type="text/css"> ' ;
4040 }
4141 if ($ this ->theme ->hasFeature (BootstrapTheme::DYNAMICFIELDS )) {
42- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('dynamic-fields.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
42+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('dynamic-fields.css ' , TRUE ).'" type="text/css"> ' ;
4343 }
4444 if ($ this ->theme ->hasFeature (BootstrapTheme::CROPPERJS )) {
45- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('cropper/cropper.min.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
46- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('cropper/cropper-ui.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
45+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('cropper/cropper.min.css ' , TRUE ).'" type="text/css"> ' ;
46+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('cropper/cropper-ui.css ' , TRUE ).'" type="text/css"> ' ;
4747 }
48- $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('bootstrap.css ' , TRUE ).'" rel="stylesheet" type="text/css"> ' ;
48+ $ rc .= '<link rel="stylesheet" href=" ' .Utils::getCssPath ('bootstrap.css ' , TRUE ).'" type="text/css"> ' ;
4949 $ rc .= parent ::renderLinks ();
5050 return $ rc ;
5151 }
@@ -92,7 +92,7 @@ protected function renderNavbarBrand() {
9292 }
9393
9494 protected function renderNavbarToggler () {
95- $ rc = '<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-content" aria-controls="navbarContent " aria-expanded="false" aria-label=" ' .I18N ::_ ('navbar_toggle_label ' ).'"><span class="navbar-toggler-icon"></span></button> ' ;
95+ $ rc = '<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-content" aria-controls="navbar-content " aria-expanded="false" aria-label=" ' .I18N ::_ ('navbar_toggle_label ' ).'"><span class="navbar-toggler-icon"></span></button> ' ;
9696 return $ rc ;
9797 }
9898
@@ -136,7 +136,7 @@ protected function renderNavbarContent() {
136136 $ rc .= '</ul> ' ;
137137 }
138138
139- $ rc .= '</nav > ' ;
139+ $ rc .= '</div > ' ;
140140 return $ rc ;
141141 }
142142
0 commit comments