Initial code using Drupal 6.38
8
themes/README.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
This directory is reserved for core theme files. Custom or contributed
|
||||
themes should be placed in their own subdirectory of the sites/all/themes
|
||||
directory. For multisite installations, they can also be placed in a subdirectory
|
||||
under /sites/{sitename}/themes/, where {sitename} is the name of your site
|
||||
(e.g., www.example.com). This will allow you to more easily update Drupal core files.
|
||||
|
||||
For more details, see: http://drupal.org/node/176043
|
||||
|
6
themes/bluemarine/block.tpl.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
?>
|
||||
<div class="block block-<?php print $block->module; ?>" id="block-<?php print $block->module; ?>-<?php print $block->delta; ?>">
|
||||
<h2 class="title"><?php print $block->subject; ?></h2>
|
||||
<div class="content"><?php print $block->content; ?></div>
|
||||
</div>
|
11
themes/bluemarine/bluemarine.info
Normal file
|
@ -0,0 +1,11 @@
|
|||
name = Bluemarine
|
||||
description = Table-based multi-column theme with a marine and ash color scheme.
|
||||
version = VERSION
|
||||
core = 6.x
|
||||
engine = phptemplate
|
||||
|
||||
; Information added by Drupal.org packaging script on 2016-02-24
|
||||
version = "6.38"
|
||||
project = "drupal"
|
||||
datestamp = "1456343372"
|
||||
|
7
themes/bluemarine/box.tpl.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
?>
|
||||
<div class="box">
|
||||
<?php if ($title) { ?><h2 class="title"><?php print $title; ?></h2><?php } ?>
|
||||
<div class="content"><?php print $content; ?></div>
|
||||
</div>
|
||||
|
19
themes/bluemarine/comment.tpl.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
?>
|
||||
<div class="comment<?php print ' '. $status; ?>">
|
||||
<?php if ($picture) {
|
||||
print $picture;
|
||||
} ?>
|
||||
<h3 class="title"><?php print $title; ?></h3><?php if ($new != '') { ?><span class="new"><?php print $new; ?></span><?php } ?>
|
||||
<div class="submitted"><?php print $submitted; ?></div>
|
||||
<div class="content">
|
||||
<?php print $content; ?>
|
||||
<?php if ($signature): ?>
|
||||
<div class="clear-block">
|
||||
<div>—</div>
|
||||
<?php print $signature ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="links">» <?php print $links; ?></div>
|
||||
</div>
|
BIN
themes/bluemarine/logo.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
12
themes/bluemarine/node.tpl.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
?>
|
||||
<div class="node<?php if ($sticky) { print " sticky"; } ?><?php if (!$status) { print " node-unpublished"; } ?>">
|
||||
<?php if ($picture) {
|
||||
print $picture;
|
||||
}?>
|
||||
<?php if ($page == 0) { ?><h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2><?php }; ?>
|
||||
<span class="submitted"><?php print $submitted?></span>
|
||||
<div class="taxonomy"><?php print $terms?></div>
|
||||
<div class="content"><?php print $content?></div>
|
||||
<?php if ($links) { ?><div class="links">» <?php print $links?></div><?php }; ?>
|
||||
</div>
|
62
themes/bluemarine/page.tpl.php
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
?><!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" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
|
||||
|
||||
<head>
|
||||
<?php print $head ?>
|
||||
<title><?php print $head_title ?></title>
|
||||
<?php print $styles ?>
|
||||
<?php print $scripts ?>
|
||||
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" id="header">
|
||||
<tr>
|
||||
<td id="logo">
|
||||
<?php if ($logo) { ?><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a><?php } ?>
|
||||
<?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
|
||||
<?php if ($site_slogan) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
|
||||
</td>
|
||||
<td id="menu">
|
||||
<?php if (isset($secondary_links)) { ?><?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnavlist')) ?><?php } ?>
|
||||
<?php if (isset($primary_links)) { ?><?php print theme('links', $primary_links, array('class' => 'links', 'id' => 'navlist')) ?><?php } ?>
|
||||
<?php print $search_box ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><div><?php print $header ?></div></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="0" cellpadding="0" cellspacing="0" id="content">
|
||||
<tr>
|
||||
<?php if ($left) { ?><td id="sidebar-left">
|
||||
<?php print $left ?>
|
||||
</td><?php } ?>
|
||||
<td valign="top">
|
||||
<?php if ($mission) { ?><div id="mission"><?php print $mission ?></div><?php } ?>
|
||||
<div id="main">
|
||||
<?php print $breadcrumb ?>
|
||||
<h1 class="title"><?php print $title ?></h1>
|
||||
<div class="tabs"><?php print $tabs ?></div>
|
||||
<?php if ($show_messages) { print $messages; } ?>
|
||||
<?php print $help ?>
|
||||
<?php print $content; ?>
|
||||
<?php print $feed_icons; ?>
|
||||
</div>
|
||||
</td>
|
||||
<?php if ($right) { ?><td id="sidebar-right">
|
||||
<?php print $right ?>
|
||||
</td><?php } ?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div id="footer">
|
||||
<?php print $footer_message ?>
|
||||
<?php print $footer ?>
|
||||
</div>
|
||||
<?php print $closure ?>
|
||||
</body>
|
||||
</html>
|
BIN
themes/bluemarine/screenshot.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
36
themes/bluemarine/style-rtl.css
Normal file
|
@ -0,0 +1,36 @@
|
|||
body {
|
||||
direction: rtl;
|
||||
}
|
||||
#logo img {
|
||||
float: right;
|
||||
}
|
||||
#menu {
|
||||
padding: 0.5em 0.5em 0 0.5em;
|
||||
text-align: left;
|
||||
}
|
||||
#navlist {
|
||||
padding: 0 0 1.2em 0.8em;
|
||||
}
|
||||
#subnavlist {
|
||||
padding: 0.5em 0 0.4em 1.2em;
|
||||
}
|
||||
ul.links li {
|
||||
border-right: 1px solid #9cf;
|
||||
border-left: none;
|
||||
}
|
||||
.block, .box {
|
||||
padding: 0 1.5em 0 0;
|
||||
}
|
||||
.node .taxonomy {
|
||||
padding-right: 1.5em;
|
||||
}
|
||||
.node .picture {
|
||||
float: left;
|
||||
}
|
||||
.comment .new {
|
||||
text-align: left;
|
||||
float: left;
|
||||
}
|
||||
.comment .picture {
|
||||
float: left;
|
||||
}
|
347
themes/bluemarine/style.css
Normal file
|
@ -0,0 +1,347 @@
|
|||
|
||||
/*
|
||||
** HTML elements
|
||||
*/
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #000;
|
||||
background-color: #fff;
|
||||
font: 76% Verdana, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
tr.odd td, tr.even td {
|
||||
padding: 0.3em;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
h3, h4, h5, h6 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
p {
|
||||
margin-top: 0.5em;
|
||||
margin-bottom: 0.9em;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
a:link {
|
||||
color: #39c;
|
||||
}
|
||||
a:visited {
|
||||
color: #369;
|
||||
}
|
||||
a:hover {
|
||||
color: #39c;
|
||||
text-decoration: underline;
|
||||
}
|
||||
fieldset {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
pre {
|
||||
background-color: #eee;
|
||||
padding: 0.75em 1.5em;
|
||||
font-size: 12px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
table {
|
||||
/* make <td> sizes relative to body size! */
|
||||
font-size: 1em;
|
||||
}
|
||||
.form-item label {
|
||||
font-size: 1em;
|
||||
color: #222;
|
||||
}
|
||||
.item-list .title {
|
||||
font-size: 1em;
|
||||
color: #222;
|
||||
}
|
||||
.links {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.comment .links {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
** Page layout blocks / IDs
|
||||
*/
|
||||
#header, #content {
|
||||
width: 100%;
|
||||
}
|
||||
#header {
|
||||
background-color: #69c;
|
||||
}
|
||||
#logo {
|
||||
vertical-align: middle;
|
||||
border: 0;
|
||||
}
|
||||
#logo img {
|
||||
float: left; /* LTR */
|
||||
padding: 0 1em;
|
||||
border: 0;
|
||||
}
|
||||
#menu {
|
||||
padding: 0.5em 0.5em 0 0.5em; /* LTR */
|
||||
text-align: right; /* LTR */
|
||||
vertical-align: middle;
|
||||
}
|
||||
#navlist {
|
||||
font-size: 1.0em;
|
||||
padding: 0 0.8em 1.2em 0; /* LTR */
|
||||
color: #9cf;
|
||||
}
|
||||
#navlist a {
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
}
|
||||
#subnavlist {
|
||||
padding: 0.5em 1.2em 0.4em 0; /* LTR */
|
||||
font-size: 0.8em;
|
||||
color: #9cf;
|
||||
}
|
||||
#subnavlist a {
|
||||
font-weight: bold;
|
||||
color: #9cf;
|
||||
}
|
||||
ul.links li {
|
||||
border-left: 1px solid #9cf; /* LTR */
|
||||
}
|
||||
ul.links li.first {
|
||||
border: none;
|
||||
}
|
||||
#search .form-text, #search .form-submit {
|
||||
border: 1px solid #369;
|
||||
font-size: 1.1em;
|
||||
height: 1.5em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
#search .form-text {
|
||||
width: 8em;
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
#mission {
|
||||
background-color: #369;
|
||||
padding: 1.5em 2em;
|
||||
color: #fff;
|
||||
}
|
||||
#mission a, #mission a:visited {
|
||||
color: #9cf;
|
||||
font-weight: bold;
|
||||
}
|
||||
.site-name {
|
||||
margin: 0.6em 0 0 ;
|
||||
padding: 0;
|
||||
font-size: 2em;
|
||||
}
|
||||
.site-name a:link, .site-name a:visited {
|
||||
color: #fff;
|
||||
}
|
||||
.site-name a:hover {
|
||||
color: #369;
|
||||
text-decoration: none;
|
||||
}
|
||||
.site-slogan {
|
||||
font-size: 1em;
|
||||
color: #eee;
|
||||
display: block;
|
||||
margin: 0;
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
#main {
|
||||
/* padding in px not ex because IE messes up 100% width tables otherwise */
|
||||
padding: 10px;
|
||||
}
|
||||
#mission, .node .content, .comment .content {
|
||||
line-height: 1.4em;
|
||||
}
|
||||
#help {
|
||||
font-size: 0.9em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.breadcrumb {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
.messages {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ccc;
|
||||
padding: 0.3em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.error {
|
||||
border-color: red;
|
||||
}
|
||||
#sidebar-left, #sidebar-right {
|
||||
background-color: #ddd;
|
||||
width: 16em;
|
||||
/* padding in px not ex because IE messes up 100% width tables otherwise */
|
||||
padding: 10px;
|
||||
vertical-align: top;
|
||||
}
|
||||
#footer {
|
||||
background-color: #eee;
|
||||
padding: 1em;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
/*
|
||||
** Common declarations for child classes of node, comment, block, box, etc.
|
||||
** If you want any of them styled differently for a specific parent, add
|
||||
** additional rules /with only the differing properties!/ to .parent .class.
|
||||
** See .comment .title for an example.
|
||||
*/
|
||||
.title, .title a {
|
||||
font-weight: bold;
|
||||
font-size: 1.3em;
|
||||
color: #777;
|
||||
margin: 0 auto; /* decrease default margins for h<x>.title */
|
||||
}
|
||||
.submitted {
|
||||
color: #999;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.links {
|
||||
color: #999;
|
||||
}
|
||||
.links a {
|
||||
font-weight: bold;
|
||||
}
|
||||
.block, .box {
|
||||
padding: 0 0 1.5em 0; /* LTR */
|
||||
}
|
||||
.block {
|
||||
border-bottom: 1px solid #bbb;
|
||||
padding-bottom: 0.75em;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
.block .title {
|
||||
margin-bottom: .25em;
|
||||
}
|
||||
.box .title {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.node {
|
||||
margin: .5em 0 2em; /* LTR */
|
||||
}
|
||||
.sticky {
|
||||
padding: .5em;
|
||||
background-color: #eee;
|
||||
border: solid 1px #ddd;
|
||||
}
|
||||
.node .content, .comment .content {
|
||||
margin: .5em 0 .5em;
|
||||
}
|
||||
.node .taxonomy {
|
||||
color: #999;
|
||||
font-size: 0.8em;
|
||||
padding-left: 1.5em; /* LTR */
|
||||
}
|
||||
.node .picture {
|
||||
border: 1px solid #ddd;
|
||||
float: right; /* LTR */
|
||||
margin: 0.5em;
|
||||
}
|
||||
.comment {
|
||||
border: 1px solid #abc;
|
||||
padding: .5em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.comment .title a {
|
||||
font-size: 1.1em;
|
||||
font-weight: normal;
|
||||
}
|
||||
.comment .new {
|
||||
text-align: right; /* LTR */
|
||||
font-weight: bold;
|
||||
font-size: 0.8em;
|
||||
float: right; /* LTR */
|
||||
color: red;
|
||||
}
|
||||
.comment .picture {
|
||||
border: 1px solid #abc;
|
||||
float: right; /* LTR */
|
||||
margin: 0.5em;
|
||||
}
|
||||
|
||||
/*
|
||||
** Module specific styles
|
||||
*/
|
||||
#aggregator .feed-source {
|
||||
background-color: #eee;
|
||||
border: 1px solid #ccc;
|
||||
padding: 1em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
#aggregator .news-item .categories, #aggregator .source, #aggregator .age {
|
||||
color: #999;
|
||||
font-style: italic;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
#aggregator .title {
|
||||
margin-bottom: 0.5em;
|
||||
font-size: 1em;
|
||||
}
|
||||
#aggregator h3 {
|
||||
margin-top: 1em;
|
||||
}
|
||||
#forum table {
|
||||
width: 100%;
|
||||
}
|
||||
#forum td {
|
||||
padding: 0.5em;
|
||||
}
|
||||
#forum td.forum, #forum td.posts {
|
||||
background-color: #eee;
|
||||
}
|
||||
#forum td.topics, #forum td.last-reply {
|
||||
background-color: #ddd;
|
||||
}
|
||||
#forum td.container {
|
||||
background-color: #ccc;
|
||||
}
|
||||
#forum td.container a {
|
||||
color: #555;
|
||||
}
|
||||
#forum td.statistics, #forum td.settings, #forum td.pager {
|
||||
height: 1.5em;
|
||||
border: 1px solid #bbb;
|
||||
}
|
||||
#forum td .name {
|
||||
color: #96c;
|
||||
}
|
||||
#forum td .links {
|
||||
padding-top: 0.7em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
#profile .profile {
|
||||
clear: both;
|
||||
border: 1px solid #abc;
|
||||
padding: .5em;
|
||||
margin: 1em 0em;
|
||||
}
|
||||
#profile .profile .name {
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
.block-forum h3 {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
div.admin-panel .description {
|
||||
color: #999;
|
||||
}
|
||||
div.admin-panel .body {
|
||||
background: #f4f4f4;
|
||||
}
|
||||
div.admin-panel h3 {
|
||||
background-color: #69c;
|
||||
color: #fff;
|
||||
padding: 5px 8px 5px;
|
||||
margin: 0;
|
||||
}
|
BIN
themes/chameleon/background.png
Normal file
After Width: | Height: | Size: 200 B |
18
themes/chameleon/chameleon.info
Normal file
|
@ -0,0 +1,18 @@
|
|||
name = Chameleon
|
||||
description = Minimalist tabled theme with light colors.
|
||||
regions[left] = Left sidebar
|
||||
regions[right] = Right sidebar
|
||||
features[] = logo
|
||||
features[] = favicon
|
||||
features[] = name
|
||||
features[] = slogan
|
||||
stylesheets[all][] = style.css
|
||||
stylesheets[all][] = common.css
|
||||
version = VERSION
|
||||
core = 6.x
|
||||
|
||||
; Information added by Drupal.org packaging script on 2016-02-24
|
||||
version = "6.38"
|
||||
project = "drupal"
|
||||
datestamp = "1456343372"
|
||||
|
181
themes/chameleon/chameleon.theme
Normal file
|
@ -0,0 +1,181 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* A slim, CSS-driven theme which does not depend on a template engine like phptemplate
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implementation of hook_theme. Auto-discover theme functions.
|
||||
*/
|
||||
function chameleon_theme($existing, $type, $theme, $path) {
|
||||
return drupal_find_theme_functions($existing, array($theme));
|
||||
}
|
||||
|
||||
function chameleon_page($content, $show_blocks = TRUE, $show_messages = TRUE) {
|
||||
$language = $GLOBALS['language']->language;
|
||||
$direction = $GLOBALS['language']->direction ? 'rtl' : 'ltr';
|
||||
|
||||
if (theme_get_setting('toggle_favicon')) {
|
||||
drupal_set_html_head('<link rel="shortcut icon" href="'. check_url(theme_get_setting('favicon')) .'" type="image/x-icon" />');
|
||||
}
|
||||
|
||||
$title = drupal_get_title();
|
||||
|
||||
// Get blocks before so that they can alter the header (JavaScript, Stylesheets etc.)
|
||||
$blocks_left = theme_blocks('left');
|
||||
$blocks_right = theme_blocks('right');
|
||||
|
||||
$output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
|
||||
$output .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"$language\" xml:lang=\"$language\" dir=\"$direction\">\n";
|
||||
$output .= "<head>\n";
|
||||
$output .= drupal_get_html_head();
|
||||
$output .= " <title>". ($title ? strip_tags($title) ." | ". variable_get("site_name", "Drupal") : variable_get("site_name", "Drupal") ." | ". variable_get("site_slogan", "")) ."</title>\n";
|
||||
$output .= drupal_get_css();
|
||||
$output .= drupal_get_js();
|
||||
$output .= "</head>";
|
||||
$output .= "<body>\n";
|
||||
$output .= " <div id=\"header\">";
|
||||
|
||||
if ($logo = theme_get_setting('logo')) {
|
||||
$output .= " <a href=\"". url() ."\" title=\"". t('Home') ."\"><img src=\"$logo\" alt=\"". t('Home') ."\" /></a>";
|
||||
}
|
||||
if (theme_get_setting('toggle_name')) {
|
||||
$output .= " <h1 class=\"site-name title\">". l(variable_get('site_name', 'drupal'), "") ."</h1>";
|
||||
}
|
||||
if (theme_get_setting('toggle_slogan')) {
|
||||
$output .= " <div class=\"site-slogan\">". variable_get('site_slogan', '') ."</div>";
|
||||
}
|
||||
|
||||
$output .= "</div>\n";
|
||||
|
||||
$primary_links = theme('links', menu_primary_links(), array('class' => 'links', 'id' => 'navlist'));
|
||||
$secondary_links = theme('links', menu_secondary_links(), array('class' => 'links', 'id' => 'subnavlist'));
|
||||
if (isset($primary_links) || isset($secondary_links)) {
|
||||
$output .= ' <div class="navlinks">';
|
||||
if (isset($primary_links)) {
|
||||
$output .= $primary_links;
|
||||
}
|
||||
if (isset($secondary_links)) {
|
||||
$output .= $secondary_links;
|
||||
}
|
||||
$output .= " </div>\n";
|
||||
}
|
||||
|
||||
$output .= " <table id=\"content\">\n";
|
||||
$output .= " <tr>\n";
|
||||
|
||||
if ($show_blocks && !empty($blocks_left)) {
|
||||
$output .= " <td id=\"sidebar-left\">$blocks_left</td>\n";
|
||||
}
|
||||
|
||||
$output .= " <td id=\"main\">\n";
|
||||
|
||||
if ($title) {
|
||||
$output .= theme("breadcrumb", drupal_get_breadcrumb());
|
||||
$output .= "<h2>$title</h2>";
|
||||
}
|
||||
|
||||
if ($tabs = theme('menu_local_tasks')) {
|
||||
$output .= $tabs;
|
||||
}
|
||||
|
||||
if ($show_messages) {
|
||||
$output .= theme('status_messages');
|
||||
}
|
||||
|
||||
$output .= theme('help');
|
||||
|
||||
$output .= "\n<!-- begin content -->\n";
|
||||
$output .= $content;
|
||||
$output .= drupal_get_feeds();
|
||||
$output .= "\n<!-- end content -->\n";
|
||||
|
||||
if ($footer = variable_get('site_footer', '')) {
|
||||
$output .= " <div id=\"footer\">$footer</div>\n";
|
||||
}
|
||||
|
||||
$output .= " </td>\n";
|
||||
|
||||
if ($show_blocks && !empty($blocks_right)) {
|
||||
$output .= " <td id=\"sidebar-right\">$blocks_right</td>\n";
|
||||
}
|
||||
|
||||
$output .= " </tr>\n";
|
||||
$output .= " </table>\n";
|
||||
|
||||
$output .= theme_closure();
|
||||
$output .= " </body>\n";
|
||||
$output .= "</html>\n";
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
function chameleon_node($node, $teaser = 0, $page = 0) {
|
||||
|
||||
$output = "<div class=\"node". ((!$node->status) ? ' node-unpublished' : '') . (($node->sticky) ? ' sticky' : '') ."\">\n";
|
||||
|
||||
if (!$page) {
|
||||
$output .= " <h2 class=\"title\">". ($teaser ? l($node->title, "node/$node->nid") : check_plain($node->title)) ."</h2>\n";
|
||||
}
|
||||
|
||||
$output .= " <div class=\"content\">\n";
|
||||
|
||||
if ($teaser && $node->teaser) {
|
||||
$output .= $node->teaser;
|
||||
}
|
||||
elseif (isset($node->body)) {
|
||||
$output .= $node->body;
|
||||
}
|
||||
|
||||
$output .= " </div>\n";
|
||||
|
||||
$submitted['node_submitted'] = theme_get_setting("toggle_node_info_$node->type") ? array(
|
||||
'title' => t("By !author at @date", array('!author' => theme('username', $node), '@date' => format_date($node->created, 'small'))),
|
||||
'html' => TRUE) : array();
|
||||
|
||||
$terms = array();
|
||||
if (module_exists('taxonomy')) {
|
||||
$terms = taxonomy_link("taxonomy terms", $node);
|
||||
}
|
||||
|
||||
$links = array_merge($submitted, $terms);
|
||||
if (isset($node->links)) {
|
||||
$links = array_merge($links, $node->links);
|
||||
}
|
||||
if (count($links)) {
|
||||
$output .= '<div class="links">'. theme('links', $links, array('class' => 'links inline')) ."</div>\n";
|
||||
}
|
||||
|
||||
$output .= "</div>\n";
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
function chameleon_comment($comment, $node, $links = array()) {
|
||||
$submitted['comment_submitted'] = array(
|
||||
'title' => t('By !author at @date', array('!author' => theme('username', $comment), '@date' => format_date($comment->timestamp, 'small'))),
|
||||
'html' => TRUE);
|
||||
|
||||
$output = "<div class=\"comment". ' '. $status ."\">\n";
|
||||
$output .= " <h3 class=\"title\">". l($comment->subject, $_GET['q'], array('fragment' => "comment-$comment->cid")) ."</h3>\n";
|
||||
$output .= " <div class=\"content\">". $comment->comment;
|
||||
if (!empty($signature)) {
|
||||
$output .= " <div class=\"clear-block\">";
|
||||
$output .= "<div>—</div>\n";
|
||||
$output .= $signature ."\n";
|
||||
$output .= " </div>\n";
|
||||
}
|
||||
$output .= " </div>\n";
|
||||
$output .= " <div class=\"links\">". theme('links', array_merge($submitted, $links)) ."</div>\n";
|
||||
$output .= "</div>\n";
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
function chameleon_help() {
|
||||
if ($help = menu_get_active_help()) {
|
||||
return '<div class="help">'. $help .'</div><hr />';
|
||||
}
|
||||
}
|
||||
|
18
themes/chameleon/common-rtl.css
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
body {
|
||||
direction: rtl;
|
||||
}
|
||||
.navlinks {
|
||||
padding: 0em 0em 1.5em 0.5em;
|
||||
}
|
||||
.primary a {
|
||||
padding: 0em 0em 0em 0.5em;
|
||||
}
|
||||
.secondary a {
|
||||
padding: 0em 0em 0em 0.5em;
|
||||
}
|
||||
|
||||
#header img {
|
||||
float: right;
|
||||
padding: 0em 0em .5em 2em;
|
||||
}
|
150
themes/chameleon/common.css
Normal file
|
@ -0,0 +1,150 @@
|
|||
|
||||
/*
|
||||
** HTML elements
|
||||
*/
|
||||
a, a:link, a:active {
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 3em;
|
||||
font-size: .9em;
|
||||
line-height: 1.3em;
|
||||
}
|
||||
blockquote {
|
||||
font-style: italic;
|
||||
}
|
||||
table {
|
||||
margin: 0;
|
||||
padding: .5em;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
code, pre {
|
||||
font-size: 1em;
|
||||
}
|
||||
pre {
|
||||
font-size: 0.8em;
|
||||
padding: 1em;
|
||||
background: #eee;
|
||||
}
|
||||
li {
|
||||
padding-bottom: .3em;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-bottom: .25em;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.3em;
|
||||
}
|
||||
h2 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
h3 {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
h4, h5, h6 {
|
||||
font-size: 1em;
|
||||
}
|
||||
p {
|
||||
margin: 0 0 .5em 0;
|
||||
}
|
||||
br {
|
||||
line-height: 0.6em;
|
||||
}
|
||||
|
||||
/*
|
||||
** Page layout blocks / IDs
|
||||
*/
|
||||
#header {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
#help {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
#content {
|
||||
clear: both;
|
||||
}
|
||||
#sidebar-left, #sidebar-right {
|
||||
vertical-align: top;
|
||||
padding: 10px;
|
||||
}
|
||||
#main {
|
||||
padding-left: 1em;
|
||||
padding-right: 1em;
|
||||
vertical-align: top;
|
||||
}
|
||||
#footer {
|
||||
font-size: 0.8em;
|
||||
padding-top: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*
|
||||
** Common declarations for child classes of node, comment, block, box etc
|
||||
*/
|
||||
.title {
|
||||
margin: 0 0 .25em 0;
|
||||
}
|
||||
.content {
|
||||
margin: 0 0 .5em 0;
|
||||
}
|
||||
ul.links.inline {
|
||||
font-size: 0.8em;
|
||||
line-height: 1.25em;
|
||||
}
|
||||
.block {
|
||||
width: 180px;
|
||||
}
|
||||
.messages {
|
||||
padding: 0.3em;
|
||||
margin: 0.5em 0em 0.5em 0em;
|
||||
}
|
||||
.status {
|
||||
border: 1px solid #3a3;
|
||||
color: #3a3;
|
||||
}
|
||||
.error, form-item input.error {
|
||||
border: 1px solid red;
|
||||
color: red;
|
||||
}
|
||||
|
||||
/*
|
||||
** Common navigation links added on the admin/build/themes/settings page
|
||||
*/
|
||||
.navlinks {
|
||||
padding: 0em 0.5em 1.5em 0em; /* LTR */
|
||||
clear: both;
|
||||
}
|
||||
.primary a {
|
||||
font-size: 1.0em;
|
||||
padding: 0em 0.5em 0em 0em; /* LTR */
|
||||
}
|
||||
.secondary a {
|
||||
font-size: 0.9em;
|
||||
padding: 0em 0.5em 0em 0em; /* LTR */
|
||||
}
|
||||
|
||||
/*
|
||||
** Logo Image Positioning
|
||||
*/
|
||||
#header img {
|
||||
float: left; /* LTR */
|
||||
padding: 0em 2em .5em 0em; /* LTR */
|
||||
}
|
||||
#header {
|
||||
clear: both;
|
||||
}
|
||||
/*
|
||||
** Module specific styles
|
||||
*/
|
||||
.form-item textarea {
|
||||
font-size: 1em;
|
||||
}
|
||||
#aggregator .feed-source {
|
||||
border: 1px solid gray;
|
||||
padding: 1em;
|
||||
}
|
BIN
themes/chameleon/logo.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
themes/chameleon/marvin/bullet.png
Normal file
After Width: | Height: | Size: 210 B |
BIN
themes/chameleon/marvin/druplicon-watermark-rtl.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
themes/chameleon/marvin/druplicon-watermark.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
themes/chameleon/marvin/logo.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
13
themes/chameleon/marvin/marvin.info
Normal file
|
@ -0,0 +1,13 @@
|
|||
name = Marvin
|
||||
description = Boxy tabled theme in all grays.
|
||||
regions[left] = Left sidebar
|
||||
regions[right] = Right sidebar
|
||||
version = VERSION
|
||||
core = 6.x
|
||||
base theme = chameleon
|
||||
|
||||
; Information added by Drupal.org packaging script on 2016-02-24
|
||||
version = "6.38"
|
||||
project = "drupal"
|
||||
datestamp = "1456343372"
|
||||
|
BIN
themes/chameleon/marvin/screenshot.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
32
themes/chameleon/marvin/style-rtl.css
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
body {
|
||||
background-image: url(druplicon-watermark-rtl.png);
|
||||
background-position: top left;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 1em 1em;
|
||||
}
|
||||
|
||||
ul.links li {
|
||||
border-left: none;
|
||||
border-right: 1px solid #888;
|
||||
}
|
||||
|
||||
/*
|
||||
** Common declarations for child classes of node, comment, block, box etc
|
||||
*/
|
||||
.node .submitted {
|
||||
float: right;
|
||||
padding: 0.5em 1em 0.5em 0;
|
||||
}
|
||||
.node .taxonomy {
|
||||
float: left;
|
||||
}
|
||||
.node .content {
|
||||
padding-left: 0;
|
||||
padding-right: 1em;
|
||||
}
|
||||
.node .links {
|
||||
padding: 1em 0.2em 1em 0;
|
||||
}
|
123
themes/chameleon/marvin/style.css
Normal file
|
@ -0,0 +1,123 @@
|
|||
|
||||
/*
|
||||
** HTML elements
|
||||
*/
|
||||
body {
|
||||
background: #fff url(druplicon-watermark.png) no-repeat top right; /* LTR */
|
||||
font-family: arial, helvetica, sans-serif;
|
||||
}
|
||||
a:link {
|
||||
color: #656
|
||||
}
|
||||
a:visited {
|
||||
color: #656
|
||||
}
|
||||
a:active {
|
||||
color: #ccc
|
||||
}
|
||||
h2 {
|
||||
background-color: #eaeaea;
|
||||
border: solid 1px #777;
|
||||
font-size: 1.1em;
|
||||
margin: 0.5em 0em 0.5em 0em;
|
||||
padding: 0.5em;
|
||||
}
|
||||
h2.title {
|
||||
background-color: #fff;
|
||||
border: solid 1px #888;
|
||||
margin-top: 1em;
|
||||
}
|
||||
p {
|
||||
margin: 0 1em 1em 0; /* LTR */
|
||||
padding: 0;
|
||||
}
|
||||
table {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/*
|
||||
** Page layout blocks / IDs
|
||||
*/
|
||||
#main {
|
||||
width: 80%;
|
||||
}
|
||||
#header .title {
|
||||
padding-top: .75em;
|
||||
}
|
||||
#subnavlist {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
ul.links li {
|
||||
border-left: 1px solid #888; /* LTR */
|
||||
}
|
||||
ul.links li.first {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/*
|
||||
** Common declarations for child classes of node, comment, block, box etc
|
||||
*/
|
||||
.node .submitted {
|
||||
color: #7c7c7c;
|
||||
font-size: 0.9em;
|
||||
float: left; /* LTR */
|
||||
padding: 0.5em 0em 0.5em 1em; /* LTR */
|
||||
}
|
||||
.node .taxonomy {
|
||||
color: #7c7c7c;
|
||||
font-size: 0.9em;
|
||||
float: right; /* LTR */
|
||||
}
|
||||
.node .content {
|
||||
clear: both;
|
||||
padding-left: 1em; /* LTR */
|
||||
}
|
||||
.node .links {
|
||||
padding: 1em 0 1em 0.2em; /* LTR */
|
||||
}
|
||||
.comment {
|
||||
border: solid 1px #777;
|
||||
margin: 0.5em 0;
|
||||
padding: 0.5em;
|
||||
}
|
||||
.block {
|
||||
margin-bottom: 10px;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.block .content {
|
||||
border: solid 1px #888;
|
||||
border-top: none;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
}
|
||||
.block h2.title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
** Administration page styles
|
||||
*/
|
||||
div.admin-panel .description {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
div.admin-panel .body {
|
||||
background: #f4f4f4;
|
||||
}
|
||||
|
||||
div.admin-panel h3 {
|
||||
background-color: #888;
|
||||
color: #fff;
|
||||
padding: 5px 8px 5px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
** Module specific styles
|
||||
*/
|
||||
.item-list ul li {
|
||||
list-style-image: url(bullet.png);
|
||||
}
|
||||
.path, .path a, .path a:visited {
|
||||
color: #888;
|
||||
}
|
BIN
themes/chameleon/screenshot.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
28
themes/chameleon/style-rtl.css
Normal file
|
@ -0,0 +1,28 @@
|
|||
|
||||
body {
|
||||
padding: 5em 3em 0 0;
|
||||
}
|
||||
/**
|
||||
* Yes - right is on the left and left is on the right!
|
||||
* Welcome to design by tables..
|
||||
*/
|
||||
#sidebar-left {
|
||||
border-right: none;
|
||||
border-left: 1px solid gray;
|
||||
}
|
||||
#sidebar-right {
|
||||
border-left: none;
|
||||
border-right: 1px solid gray;
|
||||
}
|
||||
|
||||
ul.links li {
|
||||
border-left: none;
|
||||
border-right: 1px solid #000;
|
||||
}
|
||||
ul.links li.first {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
div.links {
|
||||
text-align: left;
|
||||
}
|
114
themes/chameleon/style.css
Normal file
|
@ -0,0 +1,114 @@
|
|||
|
||||
/*
|
||||
** HTML elements
|
||||
*/
|
||||
a, a:link, a:active {
|
||||
color: #930;
|
||||
}
|
||||
a:visited {
|
||||
color: #630;
|
||||
}
|
||||
body {
|
||||
padding: 5em 0 0 3em; /* LTR */
|
||||
background-image: url(background.png);
|
||||
background-repeat: repeat-x;
|
||||
font-family: trebuchet ms, tahoma, verdana, arial, helvetica;
|
||||
border-top: 10px solid gray;
|
||||
}
|
||||
ul {
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
/*
|
||||
** Page layout blocks / IDs
|
||||
*/
|
||||
#main {
|
||||
width: 500px;
|
||||
}
|
||||
#sidebar-left {
|
||||
border-right: 1px solid gray; /* LTR */
|
||||
}
|
||||
#sidebar-right {
|
||||
border-left: 1px solid gray; /* LTR */
|
||||
}
|
||||
|
||||
/*
|
||||
** Common declarations for child classes of node, comment, block, box etc
|
||||
*/
|
||||
#header .title {
|
||||
font-size: 2em;
|
||||
font-weight: bold;
|
||||
padding-top: .75em;
|
||||
}
|
||||
#header .title a,
|
||||
#header .title a:link,
|
||||
#header .title a:visited,
|
||||
#header .title a:active {
|
||||
text-decoration: none;
|
||||
color: #aaa;
|
||||
}
|
||||
#header .title a:hover {
|
||||
color: #930;
|
||||
}
|
||||
#header .site-slogan {
|
||||
margin-top: -0.1em;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
#subnavlist {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
ul.links li {
|
||||
border-left: 1px solid #000; /* LTR */
|
||||
}
|
||||
ul.links li.first {
|
||||
border-left: none; /* LTR */
|
||||
}
|
||||
.node .title {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
.node .title a,
|
||||
.node .title a:link,
|
||||
.node .title a:active,
|
||||
.node .title a:visited {
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
}
|
||||
.node .title a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
div.links {
|
||||
margin: 1em 0 3em 0;
|
||||
text-align: right; /* LTR */
|
||||
}
|
||||
.comment .content, .block .content, .menu {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.block {
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
.block .title {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/*
|
||||
** Module specific styles
|
||||
*/
|
||||
.item-list ul li {
|
||||
list-style: square;
|
||||
}
|
||||
|
||||
/*
|
||||
** Administration page styles
|
||||
*/
|
||||
div.admin-panel .description {
|
||||
color: #999;
|
||||
}
|
||||
div.admin-panel .body {
|
||||
background: #eee;
|
||||
}
|
||||
div.admin-panel h3 {
|
||||
background-color: #999;
|
||||
color: #fff;
|
||||
padding: 5px 8px 5px;
|
||||
margin: 0;
|
||||
}
|
25
themes/engines/phptemplate/phptemplate.engine
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Handles integration of PHP templates with the Drupal theme system.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implementation of hook_init().
|
||||
*/
|
||||
function phptemplate_init($template) {
|
||||
$file = dirname($template->filename) .'/template.php';
|
||||
if (file_exists($file)) {
|
||||
include_once "./$file";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of hook_theme().
|
||||
*/
|
||||
function phptemplate_theme($existing, $type, $theme, $path) {
|
||||
$templates = drupal_find_theme_functions($existing, array('phptemplate', $theme));
|
||||
$templates += drupal_find_theme_templates($existing, '.tpl.php', $path);
|
||||
return $templates;
|
||||
}
|
10
themes/garland/block.tpl.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
?>
|
||||
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="clear-block block block-<?php print $block->module ?>">
|
||||
|
||||
<?php if (!empty($block->subject)): ?>
|
||||
<h2><?php print $block->subject ?></h2>
|
||||
<?php endif;?>
|
||||
|
||||
<div class="content"><?php print $block->content ?></div>
|
||||
</div>
|
BIN
themes/garland/color/base.png
Normal file
After Width: | Height: | Size: 29 KiB |
74
themes/garland/color/color.inc
Normal file
|
@ -0,0 +1,74 @@
|
|||
<?php
|
||||
|
||||
$info = array(
|
||||
|
||||
// Pre-defined color schemes.
|
||||
'schemes' => array(
|
||||
'#0072b9,#027ac6,#2385c2,#5ab5ee,#494949' => t('Blue Lagoon (Default)'),
|
||||
'#464849,#2f416f,#2a2b2d,#5d6779,#494949' => t('Ash'),
|
||||
'#55c0e2,#000000,#085360,#007e94,#696969' => t('Aquamarine'),
|
||||
'#d5b048,#6c420e,#331900,#971702,#494949' => t('Belgian Chocolate'),
|
||||
'#3f3f3f,#336699,#6598cb,#6598cb,#000000' => t('Bluemarine'),
|
||||
'#d0cb9a,#917803,#efde01,#e6fb2d,#494949' => t('Citrus Blast'),
|
||||
'#0f005c,#434f8c,#4d91ff,#1a1575,#000000' => t('Cold Day'),
|
||||
'#c9c497,#0c7a00,#03961e,#7be000,#494949' => t('Greenbeam'),
|
||||
'#ffe23d,#a9290a,#fc6d1d,#a30f42,#494949' => t('Mediterrano'),
|
||||
'#788597,#3f728d,#a9adbc,#d4d4d4,#707070' => t('Mercury'),
|
||||
'#5b5fa9,#5b5faa,#0a2352,#9fa8d5,#494949' => t('Nocturnal'),
|
||||
'#7db323,#6a9915,#b5d52a,#7db323,#191a19' => t('Olivia'),
|
||||
'#12020b,#1b1a13,#f391c6,#f41063,#898080' => t('Pink Plastic'),
|
||||
'#b7a0ba,#c70000,#a1443a,#f21107,#515d52' => t('Shiny Tomato'),
|
||||
'#18583d,#1b5f42,#34775a,#52bf90,#2d2d2d' => t('Teal Top'),
|
||||
),
|
||||
|
||||
// Images to copy over.
|
||||
'copy' => array(
|
||||
'images/menu-collapsed.gif',
|
||||
'images/menu-collapsed-rtl.gif',
|
||||
'images/menu-expanded.gif',
|
||||
'images/menu-leaf.gif',
|
||||
),
|
||||
|
||||
// CSS files (excluding @import) to rewrite with new color scheme.
|
||||
'css' => array(
|
||||
'style.css',
|
||||
),
|
||||
|
||||
// Coordinates of gradient (x, y, width, height).
|
||||
'gradient' => array(0, 37, 760, 121),
|
||||
|
||||
// Color areas to fill (x, y, width, height).
|
||||
'fill' => array(
|
||||
'base' => array(0, 0, 760, 568),
|
||||
'link' => array(107, 533, 41, 23),
|
||||
),
|
||||
|
||||
// Coordinates of all the theme slices (x, y, width, height)
|
||||
// with their filename as used in the stylesheet.
|
||||
'slices' => array(
|
||||
'images/body.png' => array(0, 37, 1, 280),
|
||||
'images/bg-bar.png' => array(202, 530, 76, 14),
|
||||
'images/bg-bar-white.png' => array(202, 506, 76, 14),
|
||||
'images/bg-tab.png' => array(107, 533, 41, 23),
|
||||
'images/bg-navigation.png' => array(0, 0, 7, 37),
|
||||
'images/bg-content-left.png' => array(40, 117, 50, 352),
|
||||
'images/bg-content-right.png' => array(510, 117, 50, 352),
|
||||
'images/bg-content.png' => array(299, 117, 7, 200),
|
||||
'images/bg-navigation-item.png' => array(32, 37, 17, 12),
|
||||
'images/bg-navigation-item-hover.png' => array(54, 37, 17, 12),
|
||||
'images/gradient-inner.png' => array(646, 307, 112, 42),
|
||||
|
||||
'logo.png' => array(622, 51, 64, 73),
|
||||
'screenshot.png' => array(0, 37, 400, 240),
|
||||
),
|
||||
|
||||
// Reference color used for blending. Matches the base.png's colors.
|
||||
'blend_target' => '#ffffff',
|
||||
|
||||
// Preview files.
|
||||
'preview_image' => 'color/preview.png',
|
||||
'preview_css' => 'color/preview.css',
|
||||
|
||||
// Base file for image generation.
|
||||
'base_image' => 'color/base.png',
|
||||
);
|
57
themes/garland/color/preview.css
Normal file
|
@ -0,0 +1,57 @@
|
|||
|
||||
/* Positioning */
|
||||
#preview {
|
||||
overflow: hidden;
|
||||
max-width: 100%;
|
||||
}
|
||||
#preview, #preview #img {
|
||||
width: 596px;
|
||||
height: 371px;
|
||||
}
|
||||
#preview #gradient {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 19px;
|
||||
height: 120px;
|
||||
z-index: 2;
|
||||
}
|
||||
#preview #text {
|
||||
position: absolute;
|
||||
left: 80px;
|
||||
width: 436px;
|
||||
top: 160px;
|
||||
height: 120px;
|
||||
z-index: 4;
|
||||
}
|
||||
#preview #img {
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
#preview #gradient .gradient-line {
|
||||
height: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Basic styles to match */
|
||||
#preview {
|
||||
font: 12px/170% Verdana;
|
||||
}
|
||||
#preview h2 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: normal;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-size: 160%;
|
||||
line-height: 130%;
|
||||
}
|
||||
#preview p {
|
||||
margin: .5em 0;
|
||||
}
|
||||
#preview a:link, #preview a:visited {
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
}
|
||||
#preview a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
BIN
themes/garland/color/preview.png
Normal file
After Width: | Height: | Size: 22 KiB |
32
themes/garland/comment.tpl.php
Normal file
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
?>
|
||||
<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
|
||||
|
||||
<div class="clear-block">
|
||||
<?php if ($submitted): ?>
|
||||
<span class="submitted"><?php print $submitted; ?></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($comment->new) : ?>
|
||||
<span class="new"><?php print drupal_ucfirst($new) ?></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php print $picture ?>
|
||||
|
||||
<h3><?php print $title ?></h3>
|
||||
|
||||
<div class="content">
|
||||
<?php print $content ?>
|
||||
<?php if ($signature): ?>
|
||||
<div class="clear-block">
|
||||
<div>—</div>
|
||||
<?php print $signature ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($links): ?>
|
||||
<div class="links"><?php print $links ?></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
62
themes/garland/fix-ie-rtl.css
Normal file
|
@ -0,0 +1,62 @@
|
|||
|
||||
body {
|
||||
/* Center layout */
|
||||
text-align: center;
|
||||
/* Allow text resizing */
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
#squeeze {
|
||||
zoom: 1;
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
#squeeze .left-corner{
|
||||
direction: rtl
|
||||
}
|
||||
|
||||
#header-region, #wrapper #container {
|
||||
/* Reset text alignment */
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#wrapper #container #center {
|
||||
/* Reduce amount of damage done by extremely wide content */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#wrapper #container #center .right-corner .left-corner {
|
||||
/* Because of the lack of min-height, we use height as an alternative */
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
/* Don't draw backgrounds on fieldsets in IE, as they look really bad. */
|
||||
background: none;
|
||||
}
|
||||
|
||||
/* Prevent fieldsets from shifting when changing collapsed state. */
|
||||
html.js fieldset.collapsible {
|
||||
position: relative;
|
||||
top: -1em;
|
||||
}
|
||||
|
||||
html.js fieldset.collapsed {
|
||||
top: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
tr.menu-disabled {
|
||||
/* Use filter to emulate CSS3 opacity */
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
#header-region {
|
||||
/* Because of the lack of min-height, we use height as an alternative */
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
#attach-hide label, #uploadprogress div.message {
|
||||
/* Fading elements in IE causes the text to bleed unless they have a background. */
|
||||
background-color: #ffffff;
|
||||
}
|
68
themes/garland/fix-ie.css
Normal file
|
@ -0,0 +1,68 @@
|
|||
|
||||
/**
|
||||
* Garland, for Drupal 6.x
|
||||
* Stefan Nagtegaal, iStyledThis [dot] nl
|
||||
* Steven Wittens, acko [dot] net
|
||||
*/
|
||||
|
||||
body {
|
||||
/* Center layout */
|
||||
text-align: center;
|
||||
/* Allow text resizing */
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
#header-region, #wrapper #container {
|
||||
/* Reset text alignment */
|
||||
text-align: left; /* LTR */
|
||||
}
|
||||
|
||||
#wrapper #container #center {
|
||||
/* Reduce amount of damage done by extremely wide content */
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#wrapper #container #center .right-corner .left-corner {
|
||||
/* Because of the lack of min-height, we use height as an alternative */
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
/* Don't draw backgrounds on fieldsets in IE, as they look really bad. */
|
||||
background: none;
|
||||
}
|
||||
|
||||
ul.primary {
|
||||
/* Fix missing top margin */
|
||||
position: relative; /* LTR */
|
||||
/* top: 0.5em; */
|
||||
}
|
||||
|
||||
/* Prevent fieldsets from shifting when changing collapsed state. */
|
||||
html.js fieldset.collapsible {
|
||||
position: relative;
|
||||
top: -1em;
|
||||
}
|
||||
html.js fieldset.collapsed {
|
||||
top: 0;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
tr.menu-disabled {
|
||||
/* Use filter to emulate CSS3 opacity */
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
#header-region {
|
||||
/* Because of the lack of min-height, we use height as an alternative */
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
tr.taxonomy-term-preview {
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
#attach-hide label, #uploadprogress div.message {
|
||||
/* Fading elements in IE causes the text to bleed unless they have a background. */
|
||||
background-color: #ffffff;
|
||||
}
|
13
themes/garland/garland.info
Normal file
|
@ -0,0 +1,13 @@
|
|||
name = Garland
|
||||
description = Tableless, recolorable, multi-column, fluid width theme (default).
|
||||
version = VERSION
|
||||
core = 6.x
|
||||
engine = phptemplate
|
||||
stylesheets[all][] = style.css
|
||||
stylesheets[print][] = print.css
|
||||
|
||||
; Information added by Drupal.org packaging script on 2016-02-24
|
||||
version = "6.38"
|
||||
project = "drupal"
|
||||
datestamp = "1456343372"
|
||||
|
BIN
themes/garland/images/bg-bar-white.png
Normal file
After Width: | Height: | Size: 110 B |
BIN
themes/garland/images/bg-bar.png
Normal file
After Width: | Height: | Size: 125 B |
BIN
themes/garland/images/bg-content-left.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
themes/garland/images/bg-content-right.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
themes/garland/images/bg-content.png
Normal file
After Width: | Height: | Size: 485 B |
BIN
themes/garland/images/bg-navigation-item-hover.png
Normal file
After Width: | Height: | Size: 441 B |
BIN
themes/garland/images/bg-navigation-item.png
Normal file
After Width: | Height: | Size: 502 B |
BIN
themes/garland/images/bg-navigation.png
Normal file
After Width: | Height: | Size: 104 B |
BIN
themes/garland/images/bg-tab.png
Normal file
After Width: | Height: | Size: 115 B |
BIN
themes/garland/images/body.png
Normal file
After Width: | Height: | Size: 712 B |
BIN
themes/garland/images/gradient-inner.png
Normal file
After Width: | Height: | Size: 189 B |
BIN
themes/garland/images/menu-collapsed-rtl.gif
Normal file
After Width: | Height: | Size: 176 B |
BIN
themes/garland/images/menu-collapsed.gif
Normal file
After Width: | Height: | Size: 176 B |
BIN
themes/garland/images/menu-expanded.gif
Normal file
After Width: | Height: | Size: 183 B |
BIN
themes/garland/images/menu-leaf.gif
Normal file
After Width: | Height: | Size: 175 B |
BIN
themes/garland/images/task-list.png
Normal file
After Width: | Height: | Size: 128 B |
BIN
themes/garland/logo.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
90
themes/garland/maintenance-page.tpl.php
Normal file
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file maintenance-page.tpl.php
|
||||
*
|
||||
* This is an override of the default maintenance page. Used for Garland and
|
||||
* Minnelli, this file should not be moved or modified since the installation
|
||||
* and update pages depend on this file.
|
||||
*
|
||||
* This mirrors closely page.tpl.php for Garland in order to share the same
|
||||
* styles.
|
||||
*/
|
||||
?><!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 print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
|
||||
<head>
|
||||
<?php print $head ?>
|
||||
<title><?php print $head_title ?></title>
|
||||
<?php print $styles ?>
|
||||
<?php print $scripts ?>
|
||||
<!--[if lt IE 7]>
|
||||
<?php print phptemplate_get_ie_styles(); ?>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body<?php print phptemplate_body_class($left, $right); ?>>
|
||||
|
||||
<!-- Layout -->
|
||||
<div id="header-region" class="clear-block"><?php print $header; ?></div>
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="container" class="clear-block">
|
||||
|
||||
<div id="header">
|
||||
<div id="logo-floater">
|
||||
<?php
|
||||
// Prepare header
|
||||
$site_fields = array();
|
||||
if ($site_name) {
|
||||
$site_fields[] = check_plain($site_name);
|
||||
}
|
||||
if ($site_slogan) {
|
||||
$site_fields[] = check_plain($site_slogan);
|
||||
}
|
||||
$site_title = implode(' ', $site_fields);
|
||||
if ($site_fields) {
|
||||
$site_fields[0] = '<span>'. $site_fields[0] .'</span>';
|
||||
}
|
||||
$site_html = implode(' ', $site_fields);
|
||||
|
||||
if ($logo || $site_title) {
|
||||
print '<h1><a href="'. check_url($base_path) .'" title="'. $site_title .'">';
|
||||
if ($logo) {
|
||||
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
|
||||
}
|
||||
print $site_html .'</a></h1>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div> <!-- /header -->
|
||||
|
||||
<?php if ($left): ?>
|
||||
<div id="sidebar-left" class="sidebar">
|
||||
<?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
|
||||
<?php print $left ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
|
||||
<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
|
||||
<?php print $help; ?>
|
||||
<?php print $messages; ?>
|
||||
<div class="clear-block">
|
||||
<?php print $content ?>
|
||||
</div>
|
||||
<div id="footer"><?php print $footer_message . $footer ?></div>
|
||||
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
|
||||
|
||||
<?php if ($right): ?>
|
||||
<div id="sidebar-right" class="sidebar">
|
||||
<?php print $right ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div> <!-- /container -->
|
||||
</div>
|
||||
<!-- /layout -->
|
||||
|
||||
</body>
|
||||
</html>
|
BIN
themes/garland/minnelli/color/base.png
Normal file
After Width: | Height: | Size: 29 KiB |
74
themes/garland/minnelli/color/color.inc
Normal file
|
@ -0,0 +1,74 @@
|
|||
<?php
|
||||
|
||||
$info = array(
|
||||
|
||||
// Pre-defined color schemes.
|
||||
'schemes' => array(
|
||||
'#0072b9,#027ac6,#2385c2,#5ab5ee,#494949' => t('Blue Lagoon (Default)'),
|
||||
'#464849,#2f416f,#2a2b2d,#5d6779,#494949' => t('Ash'),
|
||||
'#55c0e2,#000000,#085360,#007e94,#696969' => t('Aquamarine'),
|
||||
'#d5b048,#6c420e,#331900,#971702,#494949' => t('Belgian Chocolate'),
|
||||
'#3f3f3f,#336699,#6598cb,#6598cb,#000000' => t('Bluemarine'),
|
||||
'#d0cb9a,#917803,#efde01,#e6fb2d,#494949' => t('Citrus Blast'),
|
||||
'#0f005c,#434f8c,#4d91ff,#1a1575,#000000' => t('Cold Day'),
|
||||
'#c9c497,#0c7a00,#03961e,#7be000,#494949' => t('Greenbeam'),
|
||||
'#ffe23d,#a9290a,#fc6d1d,#a30f42,#494949' => t('Mediterrano'),
|
||||
'#788597,#3f728d,#a9adbc,#d4d4d4,#707070' => t('Mercury'),
|
||||
'#5b5fa9,#5b5faa,#0a2352,#9fa8d5,#494949' => t('Nocturnal'),
|
||||
'#7db323,#6a9915,#b5d52a,#7db323,#191a19' => t('Olivia'),
|
||||
'#12020b,#1b1a13,#f391c6,#f41063,#898080' => t('Pink Plastic'),
|
||||
'#b7a0ba,#c70000,#a1443a,#f21107,#515d52' => t('Shiny Tomato'),
|
||||
'#18583d,#1b5f42,#34775a,#52bf90,#2d2d2d' => t('Teal Top'),
|
||||
),
|
||||
|
||||
// Images to copy over.
|
||||
'copy' => array(
|
||||
'../images/menu-collapsed.gif',
|
||||
'../images/menu-collapsed-rtl.gif',
|
||||
'../images/menu-expanded.gif',
|
||||
'../images/menu-leaf.gif',
|
||||
),
|
||||
|
||||
// CSS files (excluding @import) to rewrite with new color scheme.
|
||||
'css' => array(
|
||||
'../style.css',
|
||||
),
|
||||
|
||||
// Coordinates of gradient (x, y, width, height).
|
||||
'gradient' => array(0, 37, 760, 121),
|
||||
|
||||
// Color areas to fill (x, y, width, height).
|
||||
'fill' => array(
|
||||
'base' => array(0, 0, 760, 568),
|
||||
'link' => array(107, 533, 41, 23),
|
||||
),
|
||||
|
||||
// Coordinates of all the theme slices (x, y, width, height)
|
||||
// with their filename as used in the stylesheet.
|
||||
'slices' => array(
|
||||
'../images/body.png' => array(0, 37, 1, 280),
|
||||
'../images/bg-bar.png' => array(202, 530, 76, 14),
|
||||
'../images/bg-bar-white.png' => array(202, 506, 76, 14),
|
||||
'../images/bg-tab.png' => array(107, 533, 41, 23),
|
||||
'../images/bg-navigation.png' => array(0, 0, 7, 37),
|
||||
'../images/bg-content-left.png' => array(40, 117, 50, 352),
|
||||
'../images/bg-content-right.png' => array(510, 117, 50, 352),
|
||||
'../images/bg-content.png' => array(299, 117, 7, 200),
|
||||
'../images/bg-navigation-item.png' => array(32, 37, 17, 12),
|
||||
'../images/bg-navigation-item-hover.png' => array(54, 37, 17, 12),
|
||||
'../images/gradient-inner.png' => array(646, 307, 112, 42),
|
||||
|
||||
'logo.png' => array(622, 51, 64, 73),
|
||||
'screenshot.png' => array(0, 37, 400, 240),
|
||||
),
|
||||
|
||||
// Reference color used for blending. Matches the base.png's colors.
|
||||
'blend_target' => '#ffffff',
|
||||
|
||||
// Preview files.
|
||||
'preview_image' => 'color/preview.png',
|
||||
'preview_css' => '../color/preview.css',
|
||||
|
||||
// Base file for image generation.
|
||||
'base_image' => 'color/base.png',
|
||||
);
|
BIN
themes/garland/minnelli/color/preview.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
themes/garland/minnelli/logo.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
19
themes/garland/minnelli/minnelli.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
/**
|
||||
* Minnelli, for Drupal 6.x
|
||||
* Stefan Nagtegaal, iStyledThis [dot] nl
|
||||
* Steven Wittens, acko [dot] net
|
||||
*/
|
||||
|
||||
body #wrapper #container {
|
||||
width: 560px;
|
||||
}
|
||||
|
||||
body.sidebars #wrapper #container {
|
||||
width: 980px;
|
||||
}
|
||||
|
||||
body.sidebar-left #wrapper #container,
|
||||
body.sidebar-right #wrapper #container {
|
||||
width: 770px;
|
||||
}
|
12
themes/garland/minnelli/minnelli.info
Normal file
|
@ -0,0 +1,12 @@
|
|||
name = Minnelli
|
||||
description = Tableless, recolorable, multi-column, fixed width theme.
|
||||
version = VERSION
|
||||
core = 6.x
|
||||
base theme = garland
|
||||
stylesheets[all][] = minnelli.css
|
||||
|
||||
; Information added by Drupal.org packaging script on 2016-02-24
|
||||
version = "6.38"
|
||||
project = "drupal"
|
||||
datestamp = "1456343372"
|
||||
|
BIN
themes/garland/minnelli/screenshot.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
31
themes/garland/node.tpl.php
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
?>
|
||||
<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?>">
|
||||
|
||||
<?php print $picture ?>
|
||||
|
||||
<?php if ($page == 0): ?>
|
||||
<h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($submitted): ?>
|
||||
<span class="submitted"><?php print $submitted; ?></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="content clear-block">
|
||||
<?php print $content ?>
|
||||
</div>
|
||||
|
||||
<div class="clear-block">
|
||||
<div class="meta">
|
||||
<?php if ($taxonomy): ?>
|
||||
<div class="terms"><?php print $terms ?></div>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
|
||||
<?php if ($links): ?>
|
||||
<div class="links"><?php print $links; ?></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
94
themes/garland/page.tpl.php
Normal file
|
@ -0,0 +1,94 @@
|
|||
<?php
|
||||
?><!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 print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
|
||||
<head>
|
||||
<?php print $head ?>
|
||||
<title><?php print $head_title ?></title>
|
||||
<?php print $styles ?>
|
||||
<?php print $scripts ?>
|
||||
<!--[if lt IE 7]>
|
||||
<?php print phptemplate_get_ie_styles(); ?>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body<?php print phptemplate_body_class($left, $right); ?>>
|
||||
|
||||
<!-- Layout -->
|
||||
<div id="header-region" class="clear-block"><?php print $header; ?></div>
|
||||
|
||||
<div id="wrapper">
|
||||
<div id="container" class="clear-block">
|
||||
|
||||
<div id="header">
|
||||
<div id="logo-floater">
|
||||
<?php
|
||||
// Prepare header
|
||||
$site_fields = array();
|
||||
if ($site_name) {
|
||||
$site_fields[] = check_plain($site_name);
|
||||
}
|
||||
if ($site_slogan) {
|
||||
$site_fields[] = check_plain($site_slogan);
|
||||
}
|
||||
$site_title = implode(' ', $site_fields);
|
||||
if ($site_fields) {
|
||||
$site_fields[0] = '<span>'. $site_fields[0] .'</span>';
|
||||
}
|
||||
$site_html = implode(' ', $site_fields);
|
||||
|
||||
if ($logo || $site_title) {
|
||||
print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
|
||||
if ($logo) {
|
||||
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
|
||||
}
|
||||
print $site_html .'</a></h1>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<?php if (isset($primary_links)) : ?>
|
||||
<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($secondary_links)) : ?>
|
||||
<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div> <!-- /header -->
|
||||
|
||||
<?php if ($left): ?>
|
||||
<div id="sidebar-left" class="sidebar">
|
||||
<?php if ($search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
|
||||
<?php print $left ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
|
||||
<?php print $breadcrumb; ?>
|
||||
<?php if ($mission): print '<div id="mission">'. $mission .'</div>'; endif; ?>
|
||||
<?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
|
||||
<?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
|
||||
<?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
|
||||
<?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
|
||||
<?php if ($show_messages && $messages): print $messages; endif; ?>
|
||||
<?php print $help; ?>
|
||||
<div class="clear-block">
|
||||
<?php print $content ?>
|
||||
</div>
|
||||
<?php print $feed_icons ?>
|
||||
<div id="footer"><?php print $footer_message . $footer ?></div>
|
||||
</div></div></div></div> <!-- /.left-corner, /.right-corner, /#squeeze, /#center -->
|
||||
|
||||
<?php if ($right): ?>
|
||||
<div id="sidebar-right" class="sidebar">
|
||||
<?php if (!$left && $search_box): ?><div class="block block-theme"><?php print $search_box ?></div><?php endif; ?>
|
||||
<?php print $right ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div> <!-- /container -->
|
||||
</div>
|
||||
<!-- /layout -->
|
||||
|
||||
<?php print $closure ?>
|
||||
</body>
|
||||
</html>
|
54
themes/garland/print.css
Normal file
|
@ -0,0 +1,54 @@
|
|||
|
||||
/**
|
||||
* Garland, for Drupal 5.0
|
||||
* Stefan Nagtegaal, iStyledThis [dot] nl
|
||||
* Steven Wittens, acko [dot] net`
|
||||
*
|
||||
* If you use a customized color scheme, you must regenerate it after
|
||||
* modifying this file.
|
||||
*/
|
||||
|
||||
body, input, textarea, select {
|
||||
color: #000;
|
||||
background: none;
|
||||
}
|
||||
|
||||
ul.primary-links, ul.secondary-links,
|
||||
#header-region, .sidebar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
body.sidebars, body.sidebar-left, body.sidebar-right, body {
|
||||
width: 640px;
|
||||
}
|
||||
|
||||
body.sidebar-left #center, body.sidebar-right #center, body.sidebars #center,
|
||||
body.sidebar-left #squeeze, body.sidebar-right #squeeze, body.sidebars #squeeze {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#wrapper,
|
||||
#wrapper #container .breadcrumb,
|
||||
#wrapper #container #center,
|
||||
#wrapper #container #center .right-corner,
|
||||
#wrapper #container #center .right-corner .left-corner,
|
||||
#wrapper #container #footer,
|
||||
#wrapper #container #center #squeeze {
|
||||
position: static;
|
||||
left: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: auto;
|
||||
float: none;
|
||||
clear: both;
|
||||
background: none;
|
||||
}
|
||||
|
||||
#wrapper #container #header {
|
||||
height: 130px;
|
||||
}
|
||||
|
||||
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {
|
||||
text-shadow: none;
|
||||
color: #000;
|
||||
}
|
BIN
themes/garland/screenshot.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
292
themes/garland/style-rtl.css
Normal file
|
@ -0,0 +1,292 @@
|
|||
|
||||
html {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generic elements
|
||||
*/
|
||||
body {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
ol li, ul li {
|
||||
margin: 0.4em .5em 0.4em 0;
|
||||
}
|
||||
|
||||
ul.menu, .item-list ul {
|
||||
margin: 0.35em -0.5em 0 0;
|
||||
}
|
||||
|
||||
ul.menu ul, .item-list ul ul {
|
||||
margin-left: 0;
|
||||
margin-right: 0em;
|
||||
}
|
||||
|
||||
ol li, ul li, ul.menu li, .item-list ul li, li.leaf {
|
||||
margin: 0.15em .5em 0.15em 0;
|
||||
}
|
||||
|
||||
ul li, ul.menu li, .item-list ul li, li.leaf {
|
||||
padding: 0 1.5em .2em 0;
|
||||
background: transparent url("images/menu-leaf.gif") no-repeat 100% .35em;
|
||||
}
|
||||
|
||||
ol li {
|
||||
margin-left: 0;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
ul li.expanded {
|
||||
background: transparent url("images/menu-expanded.gif") no-repeat 100% .35em;
|
||||
}
|
||||
|
||||
ul li.collapsed {
|
||||
background: transparent url("images/menu-collapsed-rtl.gif") no-repeat 100% .35em;
|
||||
}
|
||||
|
||||
ul.inline li {
|
||||
padding: 0 0 0 1em;
|
||||
}
|
||||
|
||||
ol.task-list {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
ol.task-list li {
|
||||
padding: 0.5em 2em 0.5em 1em;
|
||||
}
|
||||
|
||||
ol.task-list li.active {
|
||||
background: transparent url(images/task-list.png) no-repeat 97px 50%;
|
||||
}
|
||||
|
||||
ol.task-list li.done {
|
||||
background: transparent url(../../misc/watchdog-ok.png) no-repeat 100% 50%;
|
||||
}
|
||||
|
||||
ol.task-list li.active {
|
||||
margin-right: 0;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin: 0.5em 1.5em 1em 0;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
}
|
||||
|
||||
dl dd {
|
||||
margin: 0 1.5em .5em 0;
|
||||
}
|
||||
|
||||
.form-button, .form-submit {
|
||||
margin: 2em 0 1em 0.5em;
|
||||
}
|
||||
|
||||
#header-region h2 {
|
||||
margin: 0 0 0 1em;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
background: #edf5fa url("images/body.png") repeat-x 50% 0;
|
||||
}
|
||||
|
||||
#wrapper #container #header h1 img {
|
||||
padding-right: 0;
|
||||
padding-left: 20px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
#sidebar-left .block-region {
|
||||
margin: 0 0 0 15px;
|
||||
}
|
||||
|
||||
#sidebar-right .block-region {
|
||||
margin: 0 15px 0px 0;
|
||||
}
|
||||
|
||||
/* Now we add the backgrounds for the main content shading */
|
||||
#wrapper #container #center #squeeze {
|
||||
background: #fff url("images/bg-content.png") repeat-x 50% 0;
|
||||
}
|
||||
|
||||
#wrapper #container .breadcrumb {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 0;
|
||||
right: 35px;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
/**
|
||||
* Primary navigation
|
||||
*/
|
||||
ul.primary-links {
|
||||
float: left;
|
||||
width:70%;
|
||||
}
|
||||
|
||||
ul.primary-links li {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Secondary navigation
|
||||
*/
|
||||
ul.secondary-links {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
ul.secondary-links li {
|
||||
float: right;
|
||||
}
|
||||
|
||||
ul.primary {
|
||||
float: right;
|
||||
}
|
||||
ul.secondary {
|
||||
clear: both;
|
||||
text-align: right;
|
||||
}
|
||||
h2.with-tabs {
|
||||
float: right;
|
||||
margin: 0 0 0 2em;
|
||||
}
|
||||
|
||||
ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
|
||||
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
|
||||
margin: 0 1px 0 0;
|
||||
|
||||
}
|
||||
ul.primary li a:after {
|
||||
/* Fix Firefox 2 RTL bug. */
|
||||
content: " ";
|
||||
}
|
||||
|
||||
ul.links li, ul.inline li {
|
||||
padding-left: 1em;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.node .links, .comment .links {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.node .links ul.links li, .comment .links ul.links li {}
|
||||
.terms ul.links li {
|
||||
padding-right: 1em;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.picture, .comment .submitted {
|
||||
padding-left: 0;
|
||||
float: left;
|
||||
clear: left;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
.new {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.terms {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.indented {
|
||||
margin-left: 0;
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
html.js fieldset.collapsible legend a {
|
||||
padding-left: 0;
|
||||
padding-right: 2em;
|
||||
background: url("images/menu-expanded.gif") no-repeat 100% 50%;
|
||||
}
|
||||
|
||||
html.js fieldset.collapsed legend a {
|
||||
background: url("images/menu-collapsed-rtl.gif") no-repeat 100% 50%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Syndication Block
|
||||
*/
|
||||
#block-node-0 h2 {
|
||||
float: right;
|
||||
padding-right: 0;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
#block-node-0 img {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#block-node-0 .content {
|
||||
clear: left;
|
||||
}
|
||||
|
||||
/**
|
||||
* Login Block
|
||||
*/
|
||||
#user-login-form ul {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.admin .left {
|
||||
float: right;
|
||||
}
|
||||
|
||||
div.admin .right {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* Fix Opera, IE6 and IE7 header width */
|
||||
#wrapper #container #header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#wrapper #container #header #logo-floater {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
top:0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fixes for IE7 - Does not break other browsers
|
||||
*/
|
||||
|
||||
/* Position:relative on these breaks IE7. */
|
||||
ul.primary li a, ul.primary li.active a, ul.primary li a:hover, ul.primary li a:visited,
|
||||
ul.secondary li a, ul.secondary li.active a, ul.secondary li a:hover, ul.secondary li a:visited {
|
||||
position: static;
|
||||
}
|
||||
|
||||
/* Fix right and left cloumns position breaking on window resize */
|
||||
#container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#center {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#sidebar-right{
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply hasLayout to elements in IE7, using standard property "min-height"
|
||||
* (see http://www.satzansatz.de/cssd/onhavinglayout.html)
|
||||
*/
|
||||
|
||||
/* Fix background bleed in center column. */
|
||||
#squeeze,
|
||||
#squeeze .right-corner {
|
||||
min-height: 1%;
|
||||
}
|
1079
themes/garland/style.css
Normal file
104
themes/garland/template.php
Normal file
|
@ -0,0 +1,104 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Sets the body-tag class attribute.
|
||||
*
|
||||
* Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed.
|
||||
*/
|
||||
function phptemplate_body_class($left, $right) {
|
||||
if ($left != '' && $right != '') {
|
||||
$class = 'sidebars';
|
||||
}
|
||||
else {
|
||||
if ($left != '') {
|
||||
$class = 'sidebar-left';
|
||||
}
|
||||
if ($right != '') {
|
||||
$class = 'sidebar-right';
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($class)) {
|
||||
print ' class="'. $class .'"';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a themed breadcrumb trail.
|
||||
*
|
||||
* @param $breadcrumb
|
||||
* An array containing the breadcrumb links.
|
||||
* @return a string containing the breadcrumb output.
|
||||
*/
|
||||
function phptemplate_breadcrumb($breadcrumb) {
|
||||
if (!empty($breadcrumb)) {
|
||||
return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Override or insert PHPTemplate variables into the templates.
|
||||
*/
|
||||
function phptemplate_preprocess_page(&$vars) {
|
||||
$vars['tabs2'] = menu_secondary_local_tasks();
|
||||
|
||||
// Hook into color.module
|
||||
if (module_exists('color')) {
|
||||
_color_page_alter($vars);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a "Comments" heading above comments except on forum pages.
|
||||
*/
|
||||
function garland_preprocess_comment_wrapper(&$vars) {
|
||||
if ($vars['content'] && $vars['node']->type != 'forum') {
|
||||
$vars['content'] = '<h2 class="comments">'. t('Comments') .'</h2>'. $vars['content'];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the rendered local tasks. The default implementation renders
|
||||
* them as tabs. Overridden to split the secondary tasks.
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
function phptemplate_menu_local_tasks() {
|
||||
return menu_primary_local_tasks();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the themed submitted-by string for the comment.
|
||||
*/
|
||||
function phptemplate_comment_submitted($comment) {
|
||||
return t('!datetime — !username',
|
||||
array(
|
||||
'!username' => theme('username', $comment),
|
||||
'!datetime' => format_date($comment->timestamp)
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the themed submitted-by string for the node.
|
||||
*/
|
||||
function phptemplate_node_submitted($node) {
|
||||
return t('!datetime — !username',
|
||||
array(
|
||||
'!username' => theme('username', $node),
|
||||
'!datetime' => format_date($node->created),
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates IE CSS links for LTR and RTL languages.
|
||||
*/
|
||||
function phptemplate_get_ie_styles() {
|
||||
global $language;
|
||||
|
||||
$iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/fix-ie.css" />';
|
||||
if ($language->direction == LANGUAGE_RTL) {
|
||||
$iecss .= '<style type="text/css" media="all">@import "'. base_path() . path_to_theme() .'/fix-ie-rtl.css";</style>';
|
||||
}
|
||||
|
||||
return $iecss;
|
||||
}
|
BIN
themes/pushbutton/arrow-next-hover-rtl.png
Normal file
After Width: | Height: | Size: 249 B |
BIN
themes/pushbutton/arrow-next-hover.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
themes/pushbutton/arrow-next-rtl.png
Normal file
After Width: | Height: | Size: 249 B |
BIN
themes/pushbutton/arrow-next-visited-rtl.png
Normal file
After Width: | Height: | Size: 277 B |
BIN
themes/pushbutton/arrow-next-visited.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
themes/pushbutton/arrow-next.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
themes/pushbutton/arrow-prev-hover-rtl.png
Normal file
After Width: | Height: | Size: 265 B |
BIN
themes/pushbutton/arrow-prev-hover.png
Normal file
After Width: | Height: | Size: 174 B |
BIN
themes/pushbutton/arrow-prev-rtl.png
Normal file
After Width: | Height: | Size: 291 B |
BIN
themes/pushbutton/arrow-prev-visited-rtl.png
Normal file
After Width: | Height: | Size: 282 B |
BIN
themes/pushbutton/arrow-prev-visited.png
Normal file
After Width: | Height: | Size: 178 B |
BIN
themes/pushbutton/arrow-prev.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
themes/pushbutton/arrow-up-hover.png
Normal file
After Width: | Height: | Size: 175 B |
BIN
themes/pushbutton/arrow-up-visited.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
themes/pushbutton/arrow-up.png
Normal file
After Width: | Height: | Size: 173 B |
BIN
themes/pushbutton/background.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
6
themes/pushbutton/block.tpl.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
?>
|
||||
<div class="<?php print "block block-$block->module" ?>" id="<?php print "block-$block->module-$block->delta"; ?>">
|
||||
<div class="title"><h3><?php print $block->subject ?></h3></div>
|
||||
<div class="content"><?php print $block->content ?></div>
|
||||
</div>
|
8
themes/pushbutton/box.tpl.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
?>
|
||||
<div class="box">
|
||||
<?php if ($title): ?>
|
||||
<h2 class="title"><?php print $title ?></h2>
|
||||
<?php endif; ?>
|
||||
<div class="content"><?php print $content ?></div>
|
||||
</div>
|
21
themes/pushbutton/comment.tpl.php
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
?>
|
||||
<div class="comment<?php print ' '. $status; ?>">
|
||||
<?php if ($picture) : ?>
|
||||
<?php print $picture ?>
|
||||
<?php endif; ?>
|
||||
<h3 class="title"><?php print $title ?></h3>
|
||||
<div class="submitted"><?php print $submitted ?><?php if ($comment->new) : ?><span class="new"> *<?php print $new ?></span><?php endif; ?></div>
|
||||
<div class="content">
|
||||
<?php print $content ?>
|
||||
<?php if ($signature): ?>
|
||||
<div class="clear-block">
|
||||
<div>—</div>
|
||||
<?php print $signature ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- BEGIN: links -->
|
||||
<div class="links">» <?php print $links ?></div>
|
||||
<!-- END: links -->
|
||||
</div>
|
BIN
themes/pushbutton/forum-container-rtl.jpg
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
themes/pushbutton/forum-container.jpg
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
themes/pushbutton/forum-link-rtl.png
Normal file
After Width: | Height: | Size: 765 B |
BIN
themes/pushbutton/forum-link.png
Normal file
After Width: | Height: | Size: 711 B |
BIN
themes/pushbutton/header-a.jpg
Normal file
After Width: | Height: | Size: 440 B |
BIN
themes/pushbutton/header-b-rtl.jpg
Normal file
After Width: | Height: | Size: 4 KiB |
BIN
themes/pushbutton/header-b.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
themes/pushbutton/header-c.png
Normal file
After Width: | Height: | Size: 195 B |
BIN
themes/pushbutton/icon-block-rtl.png
Normal file
After Width: | Height: | Size: 366 B |
BIN
themes/pushbutton/icon-block.png
Normal file
After Width: | Height: | Size: 310 B |
BIN
themes/pushbutton/icon-comment-rtl.png
Normal file
After Width: | Height: | Size: 563 B |