Commit f7c7c3339f0f00a335a5feefa788db94d50a5758
1 parent
1e264192
- handle the absence of portlets better in the UI by covering the whole screen.
- correct the .noportlets class ITO the #content fix. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4283 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
2 changed files
with
6 additions
and
1 deletions
lib/templating/kt3template.inc.php
| ... | ... | @@ -227,6 +227,11 @@ class KTPage { |
| 227 | 227 | $this->contents = $this->contents->render(); |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | + // if we have no portlets, make the ui a tad nicer. | |
| 231 | + if (empty($this->portlets)) { | |
| 232 | + $this->show_portlets = false; | |
| 233 | + } | |
| 234 | + | |
| 230 | 235 | $oTemplating = new KTTemplating; |
| 231 | 236 | $oTemplate = $oTemplating->loadTemplate("kt3/standard_page"); |
| 232 | 237 | $aTemplateData = array( | ... | ... |