<?php
/* ######### ######### ######### 注释 ######### ######### ######### */
$showBheadTop = ($this->countModules('bhead-top') || 0); //bhead-top
$showBheadMid = ($this->countModules('bhead-mid') || 0); //bhead-mid
$showBheadBtm = ($this->countModules('bhead-btm') || 0); //bhead-btm
/* ######### ######### 注释 ######### ######### */
$showBbodyTop = ($this->countModules('bbody-top') || 0); //bbody-top
/* ######### 注释 ######### */
$showSide     = ($this->countModules('side-top')  || $this->countModules('side-mid')  || $this->countModules('side-btm')  || 0);  //side
/* ### 注释 ### */
$showComTop   = ($this->countModules('com-top')   || 0); //com-top
$showComBtm   = ($this->countModules('com-btm')   || 0); //com-btm
/* ### 注释 ### */
$showAside    = ($this->countModules('aside-top') || $this->countModules('aside-mid') || $this->countModules('aside-btm') || 0); //aside
$showAside   &= JRequest::getCmd('layout') != 'form'; //基于1.5beez
$showAside   &= JRequest::getCmd('task')   != 'edit'; //基于1.5beez
/* ######### 注释 ######### */
$showBbodyBtm = ($this->countModules('bbody-btm') || 0); //bbody-btm
/* ######### ######### 注释 ######### ######### */
$showBfootTop = ($this->countModules('bfoot-top') || 0); //bfoot-top
$showBfootMid = ($this->countModules('bfoot-mid') || 0); //bfoot-mid
$showBfootBtm = ($this->countModules('bfoot-btm') || 0); //bfoot-btm
/* ######### ######### ######### 注释 ######### ######### ######### */
?>

  <positions>
    <position>debug</position>
    <position>crumbs</position>
    <position>search</position>
    <position>bhead-top</position>
    <position>bhead-mid</position>
    <position>bhead-btm</position>
    <position>bbody-top</position>
    <position>side-top</position>
    <position>side-mid</position>
    <position>side-btm</position>
    <position>com-top</position>
    <position>com-btm</position>
    <position>aside-top</position>
    <position>aside-mid</position>
    <position>aside-btm</position>
    <position>bbody-btm</position>
    <position>bfoot-top</position>
    <position>bfoot-mid</position>
    <position>bfoot-btm</position>
  </positions>

Last edited Jul 9, 2012 at 4:04 AM by bubujie, version 6

Comments

No comments yet.