示例#1
0
<?php

class_exists('XenForo_Application', false) || die('Invalid');
$_subView = (string) $_subView;
$_container = XenForo_Template_Install::getExtraContainerData();
?>


<div id="contentContainer">
	<div id="content">
		<div class="titleBar">
			<?php 
if (!empty($_container['title'])) {
    ?>

				<h1><?php 
    echo htmlspecialchars($_container['title']);
    ?>
</h1>
			<?php 
}
?>

		</div>

		<?php 
echo $_subView;
?>

	</div>
示例#2
0
 /**
  * Gets extra container data from template renders.
  */
 public function getExtraContainerData()
 {
     return XenForo_Template_Install::getExtraContainerData();
 }