summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-16 18:37:12 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-16 18:37:12 +0000
commitfa447981d6a23279c74384f5e86cf4a18c39f132 (patch)
treeac5015e9e66147beb3e0564e1b516bb749555ea4 /themes
parent634893f2983ffabd8578dbf1b1e1285f4400ef92 (diff)
downloadbrdo-fa447981d6a23279c74384f5e86cf4a18c39f132.tar.gz
brdo-fa447981d6a23279c74384f5e86cf4a18c39f132.tar.bz2
- Moving theme marvin to the contributions repository. Will be replaced by pusbutton?
Diffstat (limited to 'themes')
-rw-r--r--themes/marvin/images/bullet.pngbin210 -> 0 bytes
-rw-r--r--themes/marvin/images/logo.pngbin8279 -> 0 bytes
-rw-r--r--themes/marvin/marvin.css112
-rw-r--r--themes/marvin/marvin.theme188
4 files changed, 0 insertions, 300 deletions
diff --git a/themes/marvin/images/bullet.png b/themes/marvin/images/bullet.png
deleted file mode 100644
index 937c8ed05..000000000
--- a/themes/marvin/images/bullet.png
+++ /dev/null
Binary files differ
diff --git a/themes/marvin/images/logo.png b/themes/marvin/images/logo.png
deleted file mode 100644
index 2b9903a4a..000000000
--- a/themes/marvin/images/logo.png
+++ /dev/null
Binary files differ
diff --git a/themes/marvin/marvin.css b/themes/marvin/marvin.css
deleted file mode 100644
index 921f5fd8a..000000000
--- a/themes/marvin/marvin.css
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id$ */
-
-body {
- margin: 10px;
- color: #000000;
- background-color: #fff;
- font-family: verdana, arial, helvetica, sans-serif;
- font-size: 76%;
-}
-a:link {
- color: #656
-}
-a:visited {
- color: #656
-}
-a:active {
- color: #ccc
-}
-h1 {
- font-size: 1.2em;
-}
-h2 {
- background-color: #eaeaea;
- border: solid 1px #777;
- font-size: 1.1em;
- margin: 0.5em 0em 0.5em 0em;
- padding: 0.5em;
-}
-h3, h4, h5, h6 {
- font-size: 1em;
-}
-table {
- width: 100%;
-}
-p {
- margin: 0 1em 1em 0;
- padding: 0;
-}
-table {
- font-size: 1em;
-}
-#help {
- font-size: 0.9em;
- margin-bottom: 1em;
-}
-.calendar .day-today {
- background-color: #ccc;
-}
-.calendar .day-selected {
- background-color: #bbb;
-}
-.calendar .header-month {
- background-color: #ddd;
-}
-.calendar .header-week {
- background-color: #ccc;
-}
-.calendar .day-blank {
- background-color: #ddd;
-}
-.calendar .day-link a {
- color: #000;
-}
-.calendar .row-week {
- color: #aaa;
-}
-.item-list ul li {
- list-style-image: url(images/bullet.png);
-}
-.path, .path a, .path a:visited {
- color: #888;
-}
-.block {
- margin-bottom: 10px;
- font-size: 0.9em;
-}
-.block h2.title {
- margin: 0;
-}
-.block .content {
- border: solid 1px #777;
- border-top: none;
- margin: 0;
- padding: 5px;
-}
-.message {
- margin-bottom: 1em;
-}
-.node h2.title {
- background-color: #fff;
- border: solid 1px #999;
- margin-top: 1em;
-}
-.node .submitted {
- color: #7c7c7c;
- font-size: 0.9em;
- float: left;
- padding: 0.5em 0em 0.5em 1em;
-}
-.node .taxonomy {
- color: #7c7c7c;
- font-size: 0.9em;
- float: right;
-}
-.node .content {
- clear: both;
- padding-left: 1em;
-}
-.node .links {
- padding: 1em;
-}
-
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
deleted file mode 100644
index ca7857222..000000000
--- a/themes/marvin/marvin.theme
+++ /dev/null
@@ -1,188 +0,0 @@
-<?php
-// $Id$
-
-function marvin_help($section) {
-
- $output = "";
-
- switch ($section) {
- case 'admin/system/themes#description':
- $output = t("A PHP theme");
- break;
- }
-
- return $output;
-}
-
-function marvin_page($content, $title = NULL, $breadcrumb = NULL) {
- if (isset($title)) {
- drupal_set_title($title);
- }
- if (isset($breadcrumb)) {
- drupal_set_breadcrumb($breadcrumb);
- }
-
- $output = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
- $output .= "<html>\n";
- $output .= "<head>\n";
- $output .= drupal_get_html_head();
- $output .= "<title>";
-
- if ($title = drupal_get_title()) {
- $output .= "$title - ". variable_get("site_name", "drupal");
- }
- else {
- $output .= variable_get("site_name", "drupal");
- $output .= ($slogan = variable_get("site_slogan", "")) ? " - $slogan" : "";
- }
-
- $output .= "</title>\n";
- $output .= "<style type=\"text/css\">\n @import \"themes/marvin/marvin.css\";\n</style>\n";
- $output .= "</head>\n";
- $output .= "<body ". theme_onload_attribute() .">\n";
-
- $output .= "<table border=\"0\" style=\"width: 100%\" cellpadding=\"8\" cellspacing=\"0\">\n";
- $output .= " <tr>\n";
- $output .= " <td><a href=\"". url() ."\"><img src=\"". path_to_theme() ."/images/logo.png\" style=\"border: 0px;\" alt=\"\" title=\"\" /></a></td>\n";
- $output .= " <td>&nbsp;</td>\n";
- $output .= " </tr>\n";
- $output .= " <tr>\n";
- $output .= " <td colspan=\"2\" style=\"text-align: right;\">". theme("links", link_page()) ."</td>\n";
- $output .= " </tr>\n";
- $output .= "</table>\n";
-
- $output .= "<table border=\"0\" style=\"width: 100%\" cellpadding=\"8\" cellspacing=\"0\">\n";
- $output .= " <tr>\n";
-
- $blocks = theme("blocks", "left");
- if ($blocks) {
- $output .= " <td style=\"width: 200px; vertical-align: top;\">\n";
- $output .= $blocks;
- $output .= " </td>\n";
- }
- $output .= " <td style=\"vertical-align: top; width: 85%;\">\n";
-
- if ($title = drupal_get_title()) {
- $output .= theme("breadcrumb", drupal_get_breadcrumb());
- $output .= "<h2>$title</h2>";
- }
-
- if ($help = menu_get_active_help()) {
- $output .= "<small>$help</small><hr />";
- }
-
- foreach (drupal_get_messages() as $message) {
- list($message, $type) = $message;
- $output .= "<strong>". t("Status") ."</strong>: $message<hr />";
- }
-
- $output .= "\n<!-- begin content -->\n";
- $output .= $content;
- $output .= "\n<!-- end content -->\n";
-
- $output .= " </td>\n";
- $blocks = theme("blocks", "right");
- if ($blocks) {
- $output .= " <td style=\"width: 200px; vertical-align: top;\">\n";
- $output .= $blocks;
- $output .= " </td>\n";
- }
- $output .= " </tr>\n</table>";
- $output .= "<table border=\"0\" style=\"width: 100%\" cellpadding=\"8\" cellspacing=\"0\">\n";
- $output .= " <tr>\n";
- $output .= " <td colspan=\"2\" style=\"text-align: center;\">";
- $output .= "<p>". theme("links", link_page()) ."</p><p>". variable_get("site_footer", "") ."</p>\n";
- $output .= " </td>\n";
- $output .= " </tr>\n";
- $output .= "</table>\n";
- $output .= theme_closure();
- $output .= "</body>\n</html>\n";
-
- return $output;
-}
-
-function marvin_node($node, $main = 0, $page = 0) {
-
- $output = "<div class=\"node\">\n";
- if (!$page) {
- $output .= "<h2 class=\"title\">". l($node->title, "node/view/$node->nid") ."</h2>\n";
- }
-
- $output .= "<div class=\"submitted\">". t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))) ."</div>";
-
- if (module_exist("taxonomy") && ($taxonomy = taxonomy_link("taxonomy terms", $node))) {
- $output .= "<div class=\"taxonomy\">". theme("links", $taxonomy) ."</div>";
- }
-
- $output .= "<div class=\"content\">";
-
- if ($main && $node->teaser) {
- $output .= $node->teaser;
- }
- else {
- $output .= $node->body;
- }
-
- $output .= "</div>\n";
-
- if ($links = link_node($node, $main)) {
- $output .= "<div class=\"links\">". theme("links", $links) ."</div>\n";
- }
-
- $output .= "</div>\n";
-
- return $output;
-
-}
-
-function marvin_comment($comment, $link = "") {
- // Create comment header:
- $output = "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color: #000000; width: 100%;\">\n";
- $output .= " <tr style=\"background-color: #000000;\">\n";
- $output .= " <td>\n";
- $output .= " <table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" style=\"width: 100%;\">\n";
- $output .= " <tr>\n";
- $output .= " <td style=\"background-color: #eaeaea;\">\n";
- $output .= " <table border=\"0\" cellpadding=\"2\" cellspacing=\"1\" style=\"width: 100%;\">\n";
- $output .= " <tr>\n";
-
- // Subject:
- $output .= " <td style=\"text-align: right; width: 5%;\"><strong>". t("Subject") .":</strong></td>\n";
- $output .= " <td style=\"width: 80%;\"><strong><div style=\"color: #666699;\">$comment->subject</div></strong></td>\n";
-
- $output .= " </tr>\n";
-
- // Author:
- $output .= " <tr>\n";
- $output .= " <td style=\"text-align: right; vertical-align: top;\">". t("Author") .":</td><td>". format_name($comment) ."</td>\n";
- $output .= " </tr>\n";
-
- // Date
- $output .= " <tr>\n";
- $output .= " <td style=\"text-align: right;\">". t("Date") .":</td><td>". format_date($comment->timestamp) ."</td>\n";
- $output .= " </tr>\n";
-
- $output .= " </table>\n";
- $output .= " </td>\n";
- $output .= " </tr>\n";
-
- // Print body of comment:
- if ($comment->comment) {
- $output .= " <tr><td style=\"background-color: #ffffff;\">$comment->comment</td></tr>\n";
- }
-
- // Print bottom link(s):
- $output .= " <tr><td style=\"background-color: #eaeaea; text-align: right;\">$link</td></tr>\n";
- $output .= " </table>\n";
- $output .= " </td>\n";
- $output .= " </tr>\n";
- $output .= "</table>\n";
- $output .= "<br />\n\n";
-
- return $output;
-}
-
-function marvin_links($links, $delimiter = " &middot; ") {
- return implode($delimiter, $links);
-}
-?>