当前位置: 首页>>代码示例>>PHP>>正文


PHP mslib_fe::htmlBox方法代码示例

本文整理汇总了PHP中mslib_fe::htmlBox方法的典型用法代码示例。如果您正苦于以下问题:PHP mslib_fe::htmlBox方法的具体用法?PHP mslib_fe::htmlBox怎么用?PHP mslib_fe::htmlBox使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在mslib_fe的用法示例。


在下文中一共展示了mslib_fe::htmlBox方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ceil

                $html = '<div class="main_category_box">' . "\n" . '
				<h2>' . $name . '</h2>' . "\n";
                $html .= $subcats_html . "\n" . '
				</div>';
            }
        }
        if ($html) {
            $cols[] = $html;
        }
    }
}
$content .= '<div id="menu_category_listing">';
$delimited = ceil(count($cols) / 3);
if ($delimited < 1) {
    $delimited = 1;
}
$counter = 0;
for ($col = 0; $col < 3; $col++) {
    $content .= '<div class="three_cols_wrapper">';
    for ($i = 0; $i < $delimited; $i++) {
        if ($cols[$counter]) {
            $content .= $cols[$counter];
        }
        $counter++;
    }
    $content .= '</div>';
}
$content .= '</div>';
if ($current['content_footer']) {
    $content .= '<div class="msCategoriesFooterDescription">' . mslib_fe::htmlBox('', $current['content_footer'], 2) . '</div>';
}
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:menu_without_products.php

示例2: die

 if (!count($products)) {
     if ($current['content'] and !$p) {
         $hide_no_products_message = 1;
         if ($current['content']) {
             $content .= mslib_fe::htmlBox($current['categories_name'], $current['content'], 1);
         } else {
             $show_default_header = 1;
         }
     }
     if (!$hide_no_products_message) {
         $content .= '<div class="emptyContent">' . $this->pi_getLL('no_products_available') . '</div>';
     }
     if ($current['content_footer'] and !$p) {
         $hide_no_products_message = 1;
         if ($current['content_footer']) {
             $content .= mslib_fe::htmlBox($current['categories_name'], $current['content_footer'], 1);
         } else {
             $show_default_header = 1;
         }
     }
 } else {
     if (strstr($this->ms['MODULES']['PRODUCTS_LISTING_TYPE'], "..")) {
         die('error in PRODUCTS_LISTING_TYPE value');
     } else {
         if (strstr($this->ms['MODULES']['PRODUCTS_LISTING_TYPE'], "/")) {
             require $this->DOCUMENT_ROOT . $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] . '.php';
         } else {
             if (!$this->ms['MODULES']['PRODUCTS_LISTING_TYPE']) {
                 $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] = 'default';
             }
             require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/front_pages/includes/products_listing/' . $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] . '.php';
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:products_listing.php

示例3:

                        $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] = 'default';
                    }
                    if (strstr($this->ms['MODULES']['PRODUCTS_LISTING_TYPE'], "/")) {
                        require $this->DOCUMENT_ROOT . $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] . '.php';
                    } else {
                        require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/front_pages/includes/products_listing/' . $this->ms['MODULES']['PRODUCTS_LISTING_TYPE'] . '.php';
                    }
                }
                // pagination
                if (!$this->hidePagination and $pageset['total_rows'] > $this->ms['MODULES']['PRODUCTS_LISTING_LIMIT']) {
                    if (!isset($this->ms['MODULES']['PRODUCTS_LISTING_PAGINATION_TYPE']) || $this->ms['MODULES']['PRODUCTS_LISTING_PAGINATION_TYPE'] == 'default') {
                        require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/front_pages/includes/products_listing_pagination.php';
                    } else {
                        require \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('multishop') . 'scripts/front_pages/includes/products_listing_pagination_with_number.php';
                    }
                }
                // pagination eof
            } else {
                $content .= '<div class="main-heading"><h2>' . $this->pi_getLL('no_products_found_heading') . '</h2></div>' . "\n";
                $content .= '<p>' . $this->pi_getLL('no_new_products_found_description') . '</p>' . "\n";
            }
            if ($current['content_footer'] and !$p) {
                $content .= mslib_fe::htmlBox('', $current['content_footer'], '', 'msFrontManufacturersProductsListingCmsBottom');
                //$content.=$current['content_footer'];
            }
        }
        if ($this->ms['MODULES']['CACHE_FRONT_END']) {
            $Cache_Lite->save($content);
        }
    }
}
开发者ID:bvbmedia,项目名称:multishop,代码行数:31,代码来源:manufacturers_products_listing.php

示例4: TypoBox

 public function TypoBox($header = '', $content = '', $id_name = '', $heading_type = 'h2')
 {
     return mslib_fe::htmlBox($header, $content);
 }
开发者ID:bvbmedia,项目名称:multishop,代码行数:4,代码来源:class.mslib_fe.php


注:本文中的mslib_fe::htmlBox方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。