first import
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
##########################################################################################
|
||||
_ _ _ _
|
||||
__| | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ __ _ ___ ___| | _____
|
||||
/ _` |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| / _` |/ _ \/ _ \ |/ / __|
|
||||
| (_| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | (_| | __/ __/ <\__ \
|
||||
\__,_|\___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| \__, |\___|\___|_|\_\___/
|
||||
|_| |___/
|
||||
##########################################################################################
|
||||
|
||||
##########################################################################################
|
||||
##### Omega Theme
|
||||
##########################################################################################
|
||||
Informational: http://himer.us/omega960
|
||||
Documentation: http://himer.us/omega-docs
|
||||
Project Page: http://drupal.org/project/omega
|
||||
Issue Queue: http://drupal.org/project/issues/omega
|
||||
Usage Stats: http://drupal.org/project/usage/omega
|
||||
Twitter: http://twitter.com/Omeglicon
|
||||
##########################################################################################
|
||||
|
||||
The templates folder is here to organize any custom templates you have for your subhteme.
|
||||
The HTML5 Starterkit (and subthemes) uses all default templates in the Omega base theme,
|
||||
and is why this directory is empty.
|
||||
|
||||
Any page, node, etc. templates you need to customize can be copied here, and customized
|
||||
accordingly.
|
@@ -0,0 +1,13 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<div class="block-inner clearfix">
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if ($block->subject): ?>
|
||||
<h2<?php print $title_attributes; ?>><?php print $block->subject; ?></h2>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php print $content ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,40 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
|
||||
<?php print $unpublished; ?>
|
||||
|
||||
<div>
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if ($title): ?>
|
||||
<h3<?php print $title_attributes; ?>><?php print $title ?></h3>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
<?php if ($new): ?>
|
||||
<em class="new"><?php print $new ?></em>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php print $picture; ?>
|
||||
|
||||
<div class="comment-submitted">
|
||||
<?php
|
||||
print t('Submitted by !username on !datetime',
|
||||
array('!username' => $author, '!datetime' => '<time datetime="' . $datetime . '">' . $created . '</time>'));
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php
|
||||
hide($content['links']);
|
||||
print render($content);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if ($signature): ?>
|
||||
<div class="user-signature"><?php print $signature ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($content['links'])): ?>
|
||||
<div class="links comment-links clearfix"><?php print render($content['links']); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
|
||||
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"<?php print $rdf_namespaces; ?>>
|
||||
<head profile="<?php print $grddl_profile; ?>">
|
||||
<?php print $head; ?>
|
||||
<title><?php print $head_title; ?></title>
|
||||
<?php print $styles; ?>
|
||||
<?php print $scripts; ?>
|
||||
</head>
|
||||
<body<?php print $attributes;?>>
|
||||
<div id="skip-link">
|
||||
<a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
|
||||
</div>
|
||||
<?php print $page_top; ?>
|
||||
<?php print $page; ?>
|
||||
<?php print $page_bottom; ?>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,30 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<?php print $user_picture; ?>
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if (!$page && $title): ?>
|
||||
<div>
|
||||
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
<?php if ($display_submitted): ?>
|
||||
<div class="submitted"><?php print $date; ?> -- <?php print $name; ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php
|
||||
// We hide the comments and links now so that we can render them later.
|
||||
hide($content['comments']);
|
||||
hide($content['links']);
|
||||
print render($content);
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="clearfix">
|
||||
<?php if (!empty($content['links'])): ?>
|
||||
<div class="links node-links clearfix"><?php print render($content['links']); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php print render($content['comments']); ?>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,27 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<div class="branding-data clearfix">
|
||||
<?php if (isset($linked_logo_img)): ?>
|
||||
<div class="logo-img">
|
||||
<?php print $linked_logo_img; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($site_name || $site_slogan): ?>
|
||||
<?php $class = $site_name_hidden && $site_slogan_hidden ? ' element-invisible' : ''; ?>
|
||||
<div class="site-name-slogan<?php print $class; ?>">
|
||||
<?php $class = $site_name_hidden && !$site_slogan_hidden ? ' element-invisible' : ''; ?>
|
||||
<?php if ($is_front): ?>
|
||||
<h1 class="site-title<?php print $class; ?>"><?php print $linked_site_name; ?></h1>
|
||||
<?php else: ?>
|
||||
<h2 class="site-title<?php print $class; ?>"><?php print $linked_site_name; ?></h2>
|
||||
<?php endif; ?>
|
||||
<?php print ($site_slogan_hidden && !$site_name_hidden ? ' element-invisible' : ''); ?>
|
||||
<?php if ($site_slogan): ?>
|
||||
<h6 class="site-slogan<?php print $class; ?>"><?php print $site_slogan; ?></h6>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php print $content; ?>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,11 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php if ($main_menu || $secondary_menu): ?>
|
||||
<div class="navigation">
|
||||
<?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'inline', 'clearfix')), 'heading' => array('text' => t('Main menu'),'level' => 'h2','class' => array('element-invisible')))); ?>
|
||||
<?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'inline', 'clearfix')), 'heading' => array('text' => t('Secondary menu'),'level' => 'h2','class' => array('element-invisible')))); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php print $content; ?>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,5 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php print $content; ?>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,5 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<div<?php print $content_attributes; ?>>
|
||||
<?php print $content; ?>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,3 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<?php print $content; ?>
|
||||
</div>
|
@@ -0,0 +1,3 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<?php print $content; ?>
|
||||
</div>
|
@@ -0,0 +1,3 @@
|
||||
<div<?php print $attributes; ?>>
|
||||
<?php print $content; ?>
|
||||
</div>
|
Reference in New Issue
Block a user