39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
/**
 | 
						|
 * @package Unlimited Elements
 | 
						|
 * @author unlimited-elements.com
 | 
						|
 * @copyright (C) 2021 Unlimited Elements, All Rights Reserved.
 | 
						|
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 | 
						|
 */
 | 
						|
 | 
						|
defined('UNLIMITED_ELEMENTS_INC') or die('Restricted access');
 | 
						|
 | 
						|
if(!isset($headerTitle))
 | 
						|
	UniteFunctionsUC::throwError("header template error: \$headerTitle variable not defined");
 | 
						|
 | 
						|
$headerPrefix = HelperUC::getText("addon_library");
 | 
						|
 | 
						|
if(!empty(GlobalsUC::$alterViewHeaderPrefix))
 | 
						|
	$headerPrefix = GlobalsUC::$alterViewHeaderPrefix;
 | 
						|
 | 
						|
$adminPageTitle = $headerTitle . " - " . $headerPrefix;
 | 
						|
 | 
						|
UniteProviderFunctionsUC::setAdminPageTitle($adminPageTitle);
 | 
						|
 | 
						|
?>
 | 
						|
 | 
						|
<div class="unite_header_wrapper">
 | 
						|
	<div class="title_line">
 | 
						|
		<div class="title_line_text">
 | 
						|
			<?php echo $headerTitle ?>
 | 
						|
		</div>
 | 
						|
		<?php if(isset($headerAddHtml)): ?>
 | 
						|
			<div class="title_line_add_html"><?php echo esc_html($headerAddHtml); ?></div>
 | 
						|
		<?php endif ?>
 | 
						|
	</div>
 | 
						|
	<div class="unite-clear"></div>
 | 
						|
</div>
 | 
						|
 | 
						|
<?php HelperHtmlUC::putHtmlAdminNotices() ?>
 |