From fa447981d6a23279c74384f5e86cf4a18c39f132 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 16 Feb 2004 18:37:12 +0000 Subject: - Moving theme marvin to the contributions repository. Will be replaced by pusbutton? --- themes/marvin/images/bullet.png | Bin 210 -> 0 bytes themes/marvin/images/logo.png | Bin 8279 -> 0 bytes themes/marvin/marvin.css | 112 ------------------------ themes/marvin/marvin.theme | 188 ---------------------------------------- 4 files changed, 300 deletions(-) delete mode 100644 themes/marvin/images/bullet.png delete mode 100644 themes/marvin/images/logo.png delete mode 100644 themes/marvin/marvin.css delete mode 100644 themes/marvin/marvin.theme diff --git a/themes/marvin/images/bullet.png b/themes/marvin/images/bullet.png deleted file mode 100644 index 937c8ed05..000000000 Binary files a/themes/marvin/images/bullet.png and /dev/null differ diff --git a/themes/marvin/images/logo.png b/themes/marvin/images/logo.png deleted file mode 100644 index 2b9903a4a..000000000 Binary files a/themes/marvin/images/logo.png and /dev/null 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 @@ -\n"; - $output .= "\n"; - $output .= "\n"; - $output .= drupal_get_html_head(); - $output .= ""; - - 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 .= "\n"; - $output .= "\n"; - $output .= "\n"; - $output .= "\n"; - - $output .= "\n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - $output .= "
\"\" 
". theme("links", link_page()) ."
\n"; - - $output .= "\n"; - $output .= " \n"; - - $blocks = theme("blocks", "left"); - if ($blocks) { - $output .= " \n"; - } - $output .= " \n"; - $blocks = theme("blocks", "right"); - if ($blocks) { - $output .= " \n"; - } - $output .= " \n
\n"; - $output .= $blocks; - $output .= " \n"; - - if ($title = drupal_get_title()) { - $output .= theme("breadcrumb", drupal_get_breadcrumb()); - $output .= "

$title

"; - } - - if ($help = menu_get_active_help()) { - $output .= "$help
"; - } - - foreach (drupal_get_messages() as $message) { - list($message, $type) = $message; - $output .= "". t("Status") .": $message
"; - } - - $output .= "\n\n"; - $output .= $content; - $output .= "\n\n"; - - $output .= "
\n"; - $output .= $blocks; - $output .= "
"; - $output .= "\n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - $output .= "
"; - $output .= "

". theme("links", link_page()) ."

". variable_get("site_footer", "") ."

\n"; - $output .= "
\n"; - $output .= theme_closure(); - $output .= "\n\n"; - - return $output; -} - -function marvin_node($node, $main = 0, $page = 0) { - - $output = "
\n"; - if (!$page) { - $output .= "

". l($node->title, "node/view/$node->nid") ."

\n"; - } - - $output .= "
". t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))) ."
"; - - if (module_exist("taxonomy") && ($taxonomy = taxonomy_link("taxonomy terms", $node))) { - $output .= "
". theme("links", $taxonomy) ."
"; - } - - $output .= "
"; - - if ($main && $node->teaser) { - $output .= $node->teaser; - } - else { - $output .= $node->body; - } - - $output .= "
\n"; - - if ($links = link_node($node, $main)) { - $output .= "
". theme("links", $links) ."
\n"; - } - - $output .= "
\n"; - - return $output; - -} - -function marvin_comment($comment, $link = "") { - // Create comment header: - $output = "\n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - $output .= "
\n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - - // Print body of comment: - if ($comment->comment) { - $output .= " \n"; - } - - // Print bottom link(s): - $output .= " \n"; - $output .= "
\n"; - $output .= " \n"; - $output .= " \n"; - - // Subject: - $output .= " \n"; - $output .= " \n"; - - $output .= " \n"; - - // Author: - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - - // Date - $output .= " \n"; - $output .= " \n"; - $output .= " \n"; - - $output .= "
". t("Subject") .":
$comment->subject
". t("Author") .":". format_name($comment) ."
". t("Date") .":". format_date($comment->timestamp) ."
\n"; - $output .= "
$comment->comment
$link
\n"; - $output .= "
\n"; - $output .= "
\n\n"; - - return $output; -} - -function marvin_links($links, $delimiter = " · ") { - return implode($delimiter, $links); -} -?> -- cgit v1.2.3