Initial code using Drupal 6.38

This commit is contained in:
Manuel Cillero 2017-07-24 15:21:05 +02:00
commit 4824608a33
467 changed files with 90887 additions and 0 deletions

View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View 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',
);

View 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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View 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>

View 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
View 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;
}

View 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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 175 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

BIN
themes/garland/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View 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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View 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',
);

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View 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;
}

View 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"

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View 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>

View 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
View 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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

View 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

File diff suppressed because it is too large Load diff

104
themes/garland/template.php Normal file
View 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;
}