本文整理匯總了PHP中gpOutput::Area方法的典型用法代碼示例。如果您正苦於以下問題:PHP gpOutput::Area方法的具體用法?PHP gpOutput::Area怎麽用?PHP gpOutput::Area使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類gpOutput
的用法示例。
在下文中一共展示了gpOutput::Area方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: array
<?php
$GP_GETALLGADGETS = true;
$link = common::Link('', '%s');
gpOutput::Area('header', '<h1>' . $link . '</h1>');
gpOutput::Area('link_label', '<h3>%s</h3>');
/*
* Settings for True WYSIWYG
* No longer needed with ckeditor 4
* @deprecated 3.6
*/
$GP_STYLES = array();
$GP_STYLES[] = '#content2';
$GP_STYLES[] = '.right_content';
$GP_STYLES[] = '.footer_col';
示例2: array
<?php
//tell the output preparation functions GetAllGadgets() is not being used in this template
//$GP_GETALLGADGETS = false;
/*
* True WYSIWYG
* This theme is configured to use True WYSIWYG editing in gpEasy
* If you modify the HTML or CSS for this theme, you may need to
* look at how the $GP_STYLES variable below affects editing
* See: http://docs.gpeasy.org/index.php/Main/True_WYSIWYG
*
*/
$GP_STYLES = array();
$GP_STYLES[] = '#container';
$GP_STYLES[] = '#footercontainer';
$GP_STYLES[] = '#header3';
gpOutput::Area('link_label', '<div class="links">%s</div>');