diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-04 18:12:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-04 18:12:18 +0000 |
commit | e274f97c879bff059511472a4d14a3584941393e (patch) | |
tree | afc46696e9c6c3025babe52acd13c4d45cb3d876 /themes/bluemarine | |
parent | 0021293533d2bd9434f4b404b513e6d482069f03 (diff) | |
download | brdo-e274f97c879bff059511472a4d14a3584941393e.tar.gz brdo-e274f97c879bff059511472a4d14a3584941393e.tar.bz2 |
- Removed the Xtemplate engine and added the PHPTemplate engine.
- Converted the Bluemarine theme from XTemplate to PHPTemplate.
- Moved the the Pushbutton theme and the Xtemplate engine to the contributions repository.
Diffstat (limited to 'themes/bluemarine')
-rw-r--r-- | themes/bluemarine/block.tpl.php | 4 | ||||
-rw-r--r-- | themes/bluemarine/box.tpl.php | 5 | ||||
-rw-r--r-- | themes/bluemarine/comment.tpl.php | 9 | ||||
-rw-r--r-- | themes/bluemarine/node.tpl.php | 10 | ||||
-rw-r--r-- | themes/bluemarine/page.tpl.php | 63 | ||||
-rw-r--r-- | themes/bluemarine/style.css | 7 |
6 files changed, 92 insertions, 6 deletions
diff --git a/themes/bluemarine/block.tpl.php b/themes/bluemarine/block.tpl.php new file mode 100644 index 000000000..458a60af6 --- /dev/null +++ b/themes/bluemarine/block.tpl.php @@ -0,0 +1,4 @@ + <div class="block block-<?php print $block->module; ?>" id="block-<?php print $block->module; ?>-<?php print $block->delta; ?>"> + <h2 class="title"><?php print $block->title; ?></h2> + <div class="content"><?php print $block->content; ?></div> + </div> diff --git a/themes/bluemarine/box.tpl.php b/themes/bluemarine/box.tpl.php new file mode 100644 index 000000000..1e5280c3f --- /dev/null +++ b/themes/bluemarine/box.tpl.php @@ -0,0 +1,5 @@ + <div class="box"> + <h2 class="title"><?php print $title; ?></h2> + <div class="content"><?php print $content; ?></div> + </div> + diff --git a/themes/bluemarine/comment.tpl.php b/themes/bluemarine/comment.tpl.php new file mode 100644 index 000000000..be5149c24 --- /dev/null +++ b/themes/bluemarine/comment.tpl.php @@ -0,0 +1,9 @@ + <div class="comment"> + <?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; ?></div> + <div class="links">» <?php print $links; ?></div> + </div> diff --git a/themes/bluemarine/node.tpl.php b/themes/bluemarine/node.tpl.php new file mode 100644 index 000000000..60ae5dac4 --- /dev/null +++ b/themes/bluemarine/node.tpl.php @@ -0,0 +1,10 @@ + <div class="node<?php if ($sticky) { print " sticky"; } ?>"> + <?php if ($picture) { + print $picture; + }?> + <h2 class="title"><a href="<?php print $node_url?>"><?php print $title?></a></h2> + <span class="submitted"><?php print $submitted?></span> + <span class="taxonomy"><?php print $terms?></span> + <div class="content"><?php print $content?></div> + <div class="links">» <?php print $links?></div> + </div> diff --git a/themes/bluemarine/page.tpl.php b/themes/bluemarine/page.tpl.php new file mode 100644 index 000000000..f8fd5837a --- /dev/null +++ b/themes/bluemarine/page.tpl.php @@ -0,0 +1,63 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><?php global $theme ?> +<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>"> + +<head> + <title><?php print $head_title ?></title> + <?php print $head ?> + <?php print $styles ?> + <script type="text/javascript"> </script> +</head> + +<body<?php print $onload_attributes ?>> + +<table border="0" cellpadding="0" cellspacing="0" id="header"> + <tr> + <td id="logo"> + + <a href="./" title="Home"><img src="<?php print $logo ?>" alt="Home" border="0" /></a> + <h1 class='site-name'><a href="./" title="Home"><?php print $site_name ?></a></h1> + <div class='site-slogan'><?php print $site_slogan ?></div> + + </td> + <td id="menu"> + <div id="secondary"><?php print (is_array($secondary_links) && count($secondary_links) > 0) ? theme('links', $secondary_links) : l(t('edit secondary links'),'admin/themes/settings') ?></div> + <div id="primary"><?php print (is_array($primary_links) && count($primary_links) > 0) ? theme('links', $primary_links) : l(t('edit primary links'), 'admin/themes/settings') ?></div> + <?php if ($search_box) { ?><form action="<?php print $search_url ?>" method="post"> + <div id="search"> + <input class="form-text" type="text" size="15" value="" name="keys" alt="<?php print $search_description ?>" /> + <input class="form-submit" type="submit" value="<?php print $search_button_text ?>" /> + </div> + </form><?php } ?> + </td> + </tr> +</table> + +<table border="0" cellpadding="0" cellspacing="0" id="content"> + <tr> + <?php if ($sidebar_left) { ?><td id="sidebar-left"> + <?php print $sidebar_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> + <div id="help"><?php print $help ?></div> + <?php print $messages ?> + + <?php print $content; ?> + </div> + </td> + <?php if ($sidebar_right) { ?><td id="sidebar-right"> + <?php print $sidebar_right ?> + </td><?php } ?> + </tr> +</table> + +<div id="footer"> + <?php print $footer_message ?> +</div> +<?php print $closure ?> +</body> +</html> diff --git a/themes/bluemarine/style.css b/themes/bluemarine/style.css index 4f6e637d6..366f538d1 100644 --- a/themes/bluemarine/style.css +++ b/themes/bluemarine/style.css @@ -14,7 +14,7 @@ tr.dark td, tr.light td { padding: 0.3em; } h1, h2, h3, h4, h5, h6 { - margin-bottom: 0.5em; + margin: 0.5; } h1 { font-size: 1.3em; @@ -25,10 +25,6 @@ h2 { h3, h4, h5, h6 { font-size: 1.1em; } -p { - margin-top: 0.5em; - margin-bottom: 0.9em; -} a { text-decoration: none; font-weight: bold; @@ -87,7 +83,6 @@ table { #logo img { float: left; padding: 0em 1.0em 0em 1em; - border: 0; } #menu { padding: 0.5em 0.5em 0 0.5em; |