Commit f7c7c3339f0f00a335a5feefa788db94d50a5758

Authored by Brad Shuttleworth
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
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(
... ...
resources/css/kt-framing.css
... ... @@ -225,7 +225,7 @@ a.main_nav_item {
225 225 }
226 226  
227 227 .noportlets #content {
228   - left: 0;
  228 + padding-left: 0;
229 229 }
230 230  
231 231 #content h1
... ...