예제 #1
0
파일: theme.php 프로젝트: MenZil/pluck
<?php

//Make sure the file isn't accessed directly.
defined('IN_PLUCK') or exit('Access denied!');
?>
<!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">
<head>
<?php 
theme_meta();
?>
</head>

<body>
<div class="head">
	<div class="header">
		<div class="headerkop"><?php 
theme_sitetitle();
?>
</div>
		<div class="menu">
			<?php 
theme_menu('ul', 'li', 'active', 0);
?>
		</div>
	</div>

	<div class="content">
		<div class="submenu">
				<?php 
theme_menu('ul', 'li', 'active', 1, true);
예제 #2
0
 /**
  * get HTML page header depending on current required files meta
  * and dojo required components
  * 
  * @return string header tag contents (without the header tag itself)
  */
 function theme_head()
 {
     $CI =& get_instance();
     $head = theme_meta() . theme_title() . theme_css();
     if (!$CI->config->item('js_at_foot')) {
         $head .= theme_js() . theme_dojo();
     }
     return $head;
 }
예제 #3
0
파일: theme.php 프로젝트: MenZil/pluck
<?php

//Make sure the file isn't accessed directly.
defined('IN_PLUCK') or exit('Access denied!');
?>
<!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="<?php 
echo LANG;
?>
">
<head>
<?php 
theme_meta(true);
?>
</head>
<body>
<div id="container">
	<div id="header">
		<h1 title="<?php 
theme_sitetitle();
?>
"><?php 
theme_sitetitle();
?>
</h1>
		<?php 
theme_menu('ul', 'li', 'active', 1);
?>
	</div>
	<div id="content">
		<h2 title="<?php