本文整理匯總了PHP中aTools::getCurrentNonAdminPage方法的典型用法代碼示例。如果您正苦於以下問題:PHP aTools::getCurrentNonAdminPage方法的具體用法?PHP aTools::getCurrentNonAdminPage怎麽用?PHP aTools::getCurrentNonAdminPage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類aTools
的用法示例。
在下文中一共展示了aTools::getCurrentNonAdminPage方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: use_helper
<?php
use_helper('I18N');
// This is a copy of apostrophePlugin/modules/a/templates/layout.php
// It also makes a fine site-wide layout, which gives you global slots on non-page templates
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<?php
use_helper('a');
?>
<?php
// If this page is an admin page we don't want to present normal navigation relative to it.
?>
<?php
$page = aTools::getCurrentNonAdminPage();
?>
<head>
<?php
include_http_metas();
?>
<?php
include_metas();
?>
<?php
include_title();
?>
<?php
// 1.3 and up don't do this automatically (no common filter)
?>
<?php