? .project Index: themes/busy/images/body_bg.jpg =================================================================== RCS file: themes/busy/images/body_bg.jpg diff -N themes/busy/images/body_bg.jpg Binary files /dev/null and body_bg.jpg differ Index: themes/busy/images/body_bg_2.jpg =================================================================== RCS file: themes/busy/images/body_bg_2.jpg diff -N themes/busy/images/body_bg_2.jpg Binary files /dev/null and body_bg_2.jpg differ Index: themes/busy/busy.info =================================================================== RCS file: themes/busy/busy.info diff -N themes/busy/busy.info --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/busy.info 31 Jan 2010 21:49:18 -0000 @@ -0,0 +1,21 @@ +; $Id$ +name = Busy +description = The ultimate Drupal business theme. +package = Core +version = VERSION +core = 7.x +engine = phptemplate + +stylesheets[all][] = css/style.css +stylesheets[print][] = css/print.css + +regions[header] = Header +regions[page_top] = Page top +regions[help] = Help +regions[highlight] = Highlight +regions[content_top] = Content top +regions[content] = Content +regions[sidebar_first] = Sidebar first +regions[footer] = Footer +regions[page_bottom] = Page bottom +regions[page_footer] = Page footer Index: themes/busy/comment-wrapper.tpl.php =================================================================== RCS file: themes/busy/comment-wrapper.tpl.php diff -N themes/busy/comment-wrapper.tpl.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/comment-wrapper.tpl.php 31 Jan 2010 21:49:18 -0000 @@ -0,0 +1,42 @@ + +
> + + + +

+
+ +
+ +
Index: themes/busy/comment.tpl.php =================================================================== RCS file: themes/busy/comment.tpl.php diff -N themes/busy/comment.tpl.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/comment.tpl.php 31 Jan 2010 21:49:19 -0000 @@ -0,0 +1,97 @@ +created variable. + * - $changed: Formatted date and time for when the comment was last changed. + * Preprocess functions can reformat it by calling format_date() with the + * desired parameters on the $comment->changed variable. + * - $new: New comment marker. + * - $permalink: Comment permalink. + * - $picture: Authors picture. + * - $signature: Authors signature. + * - $status: Comment status. Possible values are: + * comment-unpublished, comment-published or comment-preview. + * - $title: Linked title. + * - $classes: String of classes that can be used to style contextually through + * CSS. It can be manipulated through the variable $classes_array from + * preprocess functions. The default values can be one or more of the following: + * - comment: The current template type, i.e., "theming hook". + * - comment-by-anonymous: Comment by an unregistered user. + * - comment-by-node-author: Comment by the author of the parent node. + * - comment-preview: When previewing a new or edited comment. + * The following applies only to viewers who are registered users: + * - comment-unpublished: An unpublished comment visible only to administrators. + * - comment-by-viewer: Comment by the user currently viewing the page. + * - comment-new: New comment since last the visit. + * - $title_prefix (array): An array containing additional output populated by + * modules, intended to be displayed in front of the main title tag that + * appears in the template. + * - $title_suffix (array): An array containing additional output populated by + * modules, intended to be displayed after the main title tag that appears in + * the template. + * + * These two variables are provided for context: + * - $comment: Full comment object. + * - $node: Node object the comments are attached to. + * + * Other variables: + * - $classes_array: Array of html class attribute values. It is flattened + * into a string within the variable $classes. + * + * @see template_preprocess() + * @see template_preprocess_comment() + * @see template_process() + * @see theme_comment() + */ +?> +
> + + > + + +
+ + + + + + + + +
> + + +
+ +
+ +
+ + +
+
+
Index: themes/busy/images/comment_add.png =================================================================== RCS file: themes/busy/images/comment_add.png diff -N themes/busy/images/comment_add.png Binary files /dev/null and comment_add.png differ Index: themes/busy/images/comment_background.png =================================================================== RCS file: themes/busy/images/comment_background.png diff -N themes/busy/images/comment_background.png Binary files /dev/null and comment_background.png differ Index: themes/busy/images/comments_count.png =================================================================== RCS file: themes/busy/images/comments_count.png diff -N themes/busy/images/comments_count.png Binary files /dev/null and comments_count.png differ Index: themes/busy/images/fieldset_legend.png =================================================================== RCS file: themes/busy/images/fieldset_legend.png diff -N themes/busy/images/fieldset_legend.png Binary files /dev/null and fieldset_legend.png differ Index: themes/busy/images/footer_bg.jpg =================================================================== RCS file: themes/busy/images/footer_bg.jpg diff -N themes/busy/images/footer_bg.jpg Binary files /dev/null and footer_bg.jpg differ Index: themes/busy/images/footer_seperator.png =================================================================== RCS file: themes/busy/images/footer_seperator.png diff -N themes/busy/images/footer_seperator.png Binary files /dev/null and footer_seperator.png differ Index: themes/busy/images/grid.png =================================================================== RCS file: themes/busy/images/grid.png diff -N themes/busy/images/grid.png Binary files /dev/null and grid.png differ Index: themes/busy/images/header_bg.jpg =================================================================== RCS file: themes/busy/images/header_bg.jpg diff -N themes/busy/images/header_bg.jpg Binary files /dev/null and header_bg.jpg differ Index: themes/busy/images/header_bottom_bg.jpg =================================================================== RCS file: themes/busy/images/header_bottom_bg.jpg diff -N themes/busy/images/header_bottom_bg.jpg Binary files /dev/null and header_bottom_bg.jpg differ Index: themes/busy/html.tpl.php =================================================================== RCS file: themes/busy/html.tpl.php diff -N themes/busy/html.tpl.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/html.tpl.php 31 Jan 2010 21:49:25 -0000 @@ -0,0 +1,57 @@ +language contains its textual representation. + * $language->dir contains the language direction. It will either be 'ltr' or 'rtl'. + * - $rdf_namespaces: All the RDF namespace prefixes used in the HTML document. + * - $grddl_profile: A GRDDL profile allowing agents to extract the RDF data. + * - $head_title: A modified version of the page title, for use in the TITLE tag. + * - $head: Markup for the HEAD section (including meta tags, keyword tags, and + * so on). + * - $styles: Style tags necessary to import all CSS files for the page. + * - $scripts: Script tags necessary to load the JavaScript files and settings + * for the page. + * - $page_top: Initial markup from any modules that have altered the + * page. This variable should always be output first, before all other dynamic + * content. + * - $page: The rendered page content. + * - $page_bottom: Final closing markup from any modules that have altered the + * page. This variable should always be output last, after all other dynamic + * content. + * - $classes String of classes that can be used to style contextually through + * CSS. + * + * @see template_preprocess() + * @see template_preprocess_html() + * @see template_process() + */ +?> +> + + + + <?php print $head_title; ?> + + + +> +
+ + + + +
+ + Index: themes/busy/images/ico_check.gif =================================================================== RCS file: themes/busy/images/ico_check.gif diff -N themes/busy/images/ico_check.gif Binary files /dev/null and ico_check.gif differ Index: themes/busy/images/ico_pdf.gif =================================================================== RCS file: themes/busy/images/ico_pdf.gif diff -N themes/busy/images/ico_pdf.gif Binary files /dev/null and ico_pdf.gif differ Index: themes/busy/images/ico_print.gif =================================================================== RCS file: themes/busy/images/ico_print.gif diff -N themes/busy/images/ico_print.gif Binary files /dev/null and ico_print.gif differ Index: themes/busy/images/ico_rss.gif =================================================================== RCS file: themes/busy/images/ico_rss.gif diff -N themes/busy/images/ico_rss.gif Binary files /dev/null and ico_rss.gif differ Index: themes/busy/images/ico_sendtofriend.gif =================================================================== RCS file: themes/busy/images/ico_sendtofriend.gif diff -N themes/busy/images/ico_sendtofriend.gif Binary files /dev/null and ico_sendtofriend.gif differ Index: themes/busy/images/ico_size.gif =================================================================== RCS file: themes/busy/images/ico_size.gif diff -N themes/busy/images/ico_size.gif Binary files /dev/null and ico_size.gif differ Index: themes/busy/images/ico_twitter.gif =================================================================== RCS file: themes/busy/images/ico_twitter.gif diff -N themes/busy/images/ico_twitter.gif Binary files /dev/null and ico_twitter.gif differ Index: themes/busy/images/inline_links_seperator.png =================================================================== RCS file: themes/busy/images/inline_links_seperator.png diff -N themes/busy/images/inline_links_seperator.png Binary files /dev/null and inline_links_seperator.png differ Index: themes/busy/images/login_bg.gif =================================================================== RCS file: themes/busy/images/login_bg.gif diff -N themes/busy/images/login_bg.gif Binary files /dev/null and login_bg.gif differ Index: themes/busy/logo.png =================================================================== RCS file: themes/busy/logo.png diff -N themes/busy/logo.png Binary files /dev/null and logo.png differ Index: themes/busy/maintenance-page.tpl.php =================================================================== RCS file: themes/busy/maintenance-page.tpl.php diff -N themes/busy/maintenance-page.tpl.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/maintenance-page.tpl.php 31 Jan 2010 21:49:25 -0000 @@ -0,0 +1,91 @@ + + + + <?php print $head_title ?> + + + + + + + +
+ +
+
+ + + + + + + +
+

+ + +
+ +
+ +
+ + + + + +
+
+ + + + Index: themes/busy/images/menu_collapsed.gif =================================================================== RCS file: themes/busy/images/menu_collapsed.gif diff -N themes/busy/images/menu_collapsed.gif Binary files /dev/null and menu_collapsed.gif differ Index: themes/busy/images/menu_expanded.gif =================================================================== RCS file: themes/busy/images/menu_expanded.gif diff -N themes/busy/images/menu_expanded.gif Binary files /dev/null and menu_expanded.gif differ Index: themes/busy/images/nav_seperator.gif =================================================================== RCS file: themes/busy/images/nav_seperator.gif diff -N themes/busy/images/nav_seperator.gif Binary files /dev/null and nav_seperator.gif differ Index: themes/busy/images/navigation_background.png =================================================================== RCS file: themes/busy/images/navigation_background.png diff -N themes/busy/images/navigation_background.png Binary files /dev/null and navigation_background.png differ Index: themes/busy/images/navigation_bg.jpg =================================================================== RCS file: themes/busy/images/navigation_bg.jpg diff -N themes/busy/images/navigation_bg.jpg Binary files /dev/null and navigation_bg.jpg differ Index: themes/busy/node.tpl.php =================================================================== RCS file: themes/busy/node.tpl.php diff -N themes/busy/node.tpl.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/node.tpl.php 31 Jan 2010 21:49:25 -0000 @@ -0,0 +1,124 @@ +body becomes $body. When needing to access + * a field's raw values, developers/themers are strongly encouraged to use these + * variables. Otherwise they will have to explicitly specify the desired field + * language, e.g. $node->body['en'], thus overriding any language negotiation + * rule that was previously applied. + * + * @see template_preprocess() + * @see template_preprocess_node() + * @see template_process() + */ +?> +
> + + + +
+ + + > + + + + +
+ + + + + +
+ +
+ + +
> + +
+ + + +
+ + +
+
Index: themes/busy/page.tpl.php =================================================================== RCS file: themes/busy/page.tpl.php diff -N themes/busy/page.tpl.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/page.tpl.php 31 Jan 2010 21:49:25 -0000 @@ -0,0 +1,120 @@ + +
+ +
+ + +
+
+ + + +
+ + +
+ + + +
+ + + + > + + + + +
+ + + + +
+ +
+ + +
+
+ + + +
+
+
+
+ + +
Index: themes/busy/css/print.css =================================================================== RCS file: themes/busy/css/print.css diff -N themes/busy/css/print.css --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/css/print.css 31 Jan 2010 21:49:25 -0000 @@ -0,0 +1,57 @@ +/* $Id: print.css,v 1.1.4.3 2009/03/21 00:52:31 couzinhub Exp $ +----------------------------------------------------------------------- + + Hartija Css Print Framework + * Version: 0.8 (2008-03-10) + * In use by BlueTripCSS + + Adapted to Drupal by CouzinHub + +-------------------------------------------------------------- */ + +body { +width:100% !important; +margin:0 !important; +padding:0 !important; +line-height: 1.4; +word-spacing:1.1pt; +letter-spacing:0.2pt; font-family: Garamond,"Times New Roman", serif; color: #000; background: none; font-size: 12pt; } + +/*Headings */ +h1,h2,h3,h4,h5,h6 { font-family: Helvetica, Arial, sans-serif; } +h1{font-size:19pt;} +h2{font-size:17pt;} +h3{font-size:15pt;} +h4,h5,h6{font-size:12pt;} + +code { font: 10pt Courier, monospace; } +blockquote { margin: 1.3em; padding: 1em; font-size: 10pt; } +hr { background-color: #ccc; } + +/* Images */ +img { float: left; margin: 1em 1.5em 1.5em 0; } +a img { border: none; } + +/* Links */ +a:link, a:visited { background: transparent; font-weight: 700; text-decoration: underline;color:#333; } +a:link[href^="http://"]:after, a[href^="http://"]:visited:after { content: " (" attr(href) ") "; font-size: 90%; } +a[href^="http://"] {color:#000; } + +/* Table */ +table { margin: 1px; text-align:left; } +th { border-bottom: 1px solid #333; font-weight: bold; } +td { border-bottom: 1px solid #333; } +th,td { padding: 4px 10px 4px 0; } +tfoot { font-style: italic; } +caption { background: #fff; margin-bottom:2em; text-align:left; } +thead {display: table-header-group;} +tr {page-break-inside: avoid;} + +/*hide various parts from the site*/ + +#header, #footer, #navigation, #sidebar-left, #sidebar-right, #switchgrid, .tabs, .links, #skip-nav, .breadcrumb +{display:none;} + +.container a.button, .container button { + display:none; +} Index: themes/busy/images/row_separator.png =================================================================== RCS file: themes/busy/images/row_separator.png diff -N themes/busy/images/row_separator.png Binary files /dev/null and row_separator.png differ Index: themes/busy/screenshot.png =================================================================== RCS file: themes/busy/screenshot.png diff -N themes/busy/screenshot.png Binary files /dev/null and screenshot.png differ Index: themes/busy/images/search_bg.gif =================================================================== RCS file: themes/busy/images/search_bg.gif diff -N themes/busy/images/search_bg.gif Binary files /dev/null and search_bg.gif differ Index: themes/busy/css/style.css =================================================================== RCS file: themes/busy/css/style.css diff -N themes/busy/css/style.css --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/css/style.css 31 Jan 2010 21:49:28 -0000 @@ -0,0 +1,530 @@ +/**************************************/ +/* GLOBALS */ +/**************************************/ +html { + font-size: 75%; +} + +body { + /*font: 12px/1.2em arial,helvetica,verdana,helvetica-neue,sans-serif; */ + font-size: 12px; + font-family: arial,helvetica,verdana,helvetica-neue,sans-serif; + color: #666666; + margin: 0; + padding: 0; +} + +h1 { + font-size: 1.5em; + font-weight: normal; + color: #1D4C7F; +} + +p { + line-height: 1.5; +} + +a { + color: #1D4C7F; +} +input, select { + cursor: pointer; + font-size: 100%; +} + +fieldset { + padding: 0 0 0 1em; + margin: 1em 0 2em 0; + border: none; + background: transparent url("../images/row_separator.png") no-repeat 0 bottom; +} +fieldset.collapsed { + background-image: none; +} +fieldset legend, fieldset legend a { + color: #1D4C7F; +} +html.js fieldset.collapsible legend a { + padding-left: 24px; + background: transparent url("../images/fieldset_legend.png") no-repeat left 0; + text-decoration: none; +} +fieldset .fieldset-content { + padding: 1em 1em 0 2em; + background: transparent url("../images/comment_background.png") repeat-x 0 0; +} +html.js fieldset.collapsed { + margin-bottom: 2em; +} + +.right { + text-align: right; +} + +#wrapper { + background: #D9D9D9 url("../images/body_bg_2.jpg") repeat-x 0 0; + margin: 0; +} +#main-wrapper { + margin-bottom: 2em; +} +#content-area .region-content { + padding-bottom: 1em; +} + +/** + * Skip link + */ +#skip-link a:link, #skip-link a:visited { + font-weight: bold; + background: #fff; + padding: 0px 5px; + text-decoration: none; + font-size: 80%; + text-align: right; + top: -99em; + left: auto; + position: absolute; +} + +#skip-link a:hover, #skip-link a:focus, #skip-link a:active { + height: auto; + width: auto; + overflow: visible; + top:0; + left:0; + position: fixed; + z-index: 1000; +} + +#search-block-form input[type=text], +.block #user-login-form input[type=text], +.block #user-login-form input[type=password] +{ + background: #F0F3F7 url("../images/search_bg.gif") no-repeat 0 bottom; + border: none; + width: 120px; +} +.block #user-login-form .form-item { + margin: 4px 0; +} +.block #user-login-form label { + font-weight: normal; + float: left; + padding: 4px 4px 0 0; + width: 64px; +} +.block #user-login-form a { + color: #ffffff; + text-decoration: none; +} + +.contextual-links-region-active { + outline-color: #1D4C7F; +} + +/**************************************/ +/* HEADER */ +/**************************************/ +#header { + color: #ffffff; +} + +#header-top { + background: #ffffff; + height: 110px; + vertical-align: bottom; + padding-top: 10px; +} + +#header-bottom { + height: 146px; + background: transparent url("../images/header_bottom_bg.jpg") no-repeat 0 0; +} +#header-bottom-left { + float: left; + width: 550px; + padding: 0; + margin-right: 10px; +} +#header-bottom-right { + float: left; + width: 350px; + padding-right: 40px; + margin-right: 0; +} +#header-top-right { + float: left; + width: 310px; + padding-right: 40px; + margin-right: 0; +} +#site-slogan { + font-size: 1.25em; + color: #3366cc; + padding-top: 80px; + text-align: right; +} + +#logo-floater { + float: left; + width: 510px; + padding: 0 40px; + margin: 10px 10px 0 0; +} +#logo-floater h1 { + margin: 0; +} +#branding a { + text-decoration: none; + font-weight: normal; + font-size: 2em; + color: #3366cc; +} + +#header-bottom .title-area { + margin-top: 30px; +} + +#header-bottom .title-area h2 { + margin-top: 0; + font-weight: normal; + font-size: 1.7em; + line-height: 1.15em; +} + + +/**************************************/ +/* NAVIGATION */ +/**************************************/ +#block-system-navigation { + background: transparent url("../images/navigation_background.png") repeat-x 0 0; + padding: 1.5em; +} +#block-system-navigation h2 { + font-weight: normal; + font-size: 1.5em; + color: #ffffff; + margin-top: 0; +} +#block-system-navigation ul.menu { + margin: 0; + padding: 0; +} +#block-system-navigation ul.menu li { + list-style-image: none; + list-style-type: none; + color: #ffffff; + margin: 0; + padding-left: 10px; +} +#block-system-navigation ul.menu li a { + color: #ffffff; + text-decoration: none; +} +#block-system-navigation ul.menu li a.active { + color: #5383B5; + text-decoration: none; +} +#block-system-navigation ul.menu li.collapsed { + background: transparent url("../images/menu_collapsed.gif") no-repeat left 0; +} +#block-system-navigation ul.menu li.expanded { + background: transparent url("../images/menu_expanded.gif") no-repeat left 0; +} + +/**************************************/ +/* MAIN CONTENT */ +/**************************************/ +#container { + width: 950px; + margin: 7px auto 0 auto; + padding-top: 37px; + background: #ffffff; +} + +#content_top { + height: 196px; +} +#content_main { + padding-top: 10px; +} +#navigation { + margin-bottom: 10px; +} +.breadcrumb { + font-size: 10px; + color: #666666; +} + +#content { + float: left; + width: 660px; + margin-right: 10px; + padding-left: 20px; +} + +#content-area { + float: left; + width: 620px; + padding-left: 40px; + margin-right: 10px; +} +#content-area .region-content { + padding-right: 60px; +} + +/**************************************/ +/* SIDEBAR */ +/**************************************/ +#wrapper #container .sidebar { + float: left; + width: 240px; + padding: 0 0 0 20px; + margin: 24px 0 12px 0; + position:relative; + z-index:2; +} +div.sidebar-first { + margin-right: 0; +} + +#wrapper #container .sidebar .block { + margin:0 0 1.5em; +} +#sidebar-first .block { + padding:0 15px 0 0; +} + +/**************************************/ +/* FOOTER */ +/**************************************/ +#page-footer { + background: #1E517D url("../images/footer_bg.jpg") repeat-x 0 0; + min-height: 135px; + margin-top: 12px; +} + +#page-footer .block { + float: left; + width: 205px; + padding: 10px 28px; + color: #ffffff; +} +#page-footer .block h2 { + font-size: 100%; + font-weight: normal; +} +#page-footer .block input { + font-size: 100%; +} + +#container textarea, #container input { + padding: 4px 5px 2px 5px; + margin: 0 0 4px 0; +} +input[type="text"], input[type="password"] { + cursor: text; +} + +/* pager */ +.item-list .pager li { + margin: 0; +} +.item-list .pager li a { + text-decoration: none; +} + +div.node { + background: transparent url("../images/row_separator.png") no-repeat 0 bottom; + padding-bottom: 1em; + margin-bottom: 2em; +} + +div.node h2 { + font-size: 1.25em; + color: #1D4C7F; +} +div.node h2 a, .node h2 a:link, .node h2 a:visited { + color: #1D4C7F; + text-decoration: none; + font-weight: normal; +} +div.node p { + color: #7A8894; + margin-bottom: 0; +} + +div.user-picture { + float: left; + margin: 0 20px 0 0; + padding: 3px 0 0 0; +} +div.user-picture img { + margin: 0; + padding: 0; + border: 0; + width: 75px; + height: 75px; +} +div.node.node-with-author-picture .content, div.node.node-with-author-picture div.links { + padding-left: 95px; +} +div.node.node-with-author-picture .comment .content, div.node.node-with-author-picture div.links div.links { + padding-left: 0; +} + +div.node div.links, div.comment div.links { + float: right; +} +div.node ul.links { + line-height: 1.75em; + padding: 0 1em 0 0; +} +div.node.node-teaser ul.links { + float: none; +} +div.node ul.links a { + text-decoration: none; + color: #1D4C7F; +} +ul.links.inline li { + padding: 0 12px; + background: transparent url("../images/inline_links_seperator.png") no-repeat right 0; +} +ul.links.inline li.first { + padding-left: 0; +} +ul.links.inline li.last { + padding-right: 0; + background-image: none; +} +ul.links .comment_add a, ul.links .comment_reply a { + padding-left: 15px; + background: transparent url("../images/comment_add.png") no-repeat 0 0; +} +ul.links .comments_count a, ul.links .comment_comments a, ul.links .comments_count span { + padding-left: 15px; + background: transparent url("../images/comments_count.png") no-repeat 0 0; +} + +div.node .field-name-taxonomy-tags { + display: block; +} +div.node .field-name-taxonomy-tags .field-label { + float: left; + margin-right: 0.5em; +} +div.node .field-name-taxonomy-tags .field-item { + float: left; + margin: 0 .2em; +} + +#comments { + margin-top: 3em; +} +div.comment h3 { + font-weight: normal; + margin: 0 0 .5em 0; +} +div.comment h3 a { + text-decoration: none; +} +div.comment { + background: transparent url("../images/row_separator.png") no-repeat 0 bottom; + margin-bottom: 2em; + padding-bottom: 1px; +} +div.node div.comment.comment-with-author-picture .content, div.node div.comment.comment-with-author-picture div.links { + padding-left: 95px; +} + +div.comment.comment-with-author-picture .submitted { + padding-left: 95px; + margin-bottom: 1em; +} +div.comment p { + margin: 0; +} +div.comment-inner { + background: transparent url("../images/comment_background.png") repeat-x 0 0; + padding: 20px 20px 0 20px; +} + +table { + width: 100%; +} +thead, tbody { + border: none; + background: transparent url("../images/row_separator.png") no-repeat 0 bottom; +} +thead th, tbody td { + border: none; + padding-left: 1em; + line-height: 1.75em; +} +thead th { + font-weight: normal; + color: #1D4C7F; +} +thead th a { + text-decoration: none; +} +tbody tr.even, tbody tr.odd { + background: transparent url("../images/row_separator.png") no-repeat 0 0; + border: none; +} +tfoot { + background: transparent url("../images/row_separator.png") no-repeat 0 top; + border: none; +} +tbody tr.odd { + background-color: #F0F3F7; +} +tbody td { + color: #788897; +} +tbody td a { + text-decoration: none; + padding: 0 .2em; + margin: 0 .2em; +} +tfoot td { + font-style: italic; +} + +.content table { + margin: 1em 0; +} + +ul.primary, ul.tabs.secondary { + padding: 0 0 5px 0; + background: transparent url("../images/row_separator.png") no-repeat 0 bottom; + border: none; +} +ul.primary li, ul.tabs.secondary li { + background: transparent url("../images/inline_links_seperator.png") no-repeat right 0; + margin: 0; + padding: 0; + border: none; +} +ul.primary li.last, ul.tabs.secondary li.last { + background-image: none; +} +ul.primary li a, ul.tabs.secondary li a { + color: #788897; + background: none; + border: none; + padding: 4px 10px; + margin: 0; +} +ul.primary li a:hover, ul.tabs.secondary li a:hover { + color: #1D4C7F; + background: none; + border: none; +} +ul.primary li.active a, ul.primary li.active a.active, ul.tabs.secondary li.active a, ul.tabs.secondary li.active a.active { + border: none; + background: none; + color: #1D4C7F; +} Index: themes/busy/template.php =================================================================== RCS file: themes/busy/template.php diff -N themes/busy/template.php --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ themes/busy/template.php 31 Jan 2010 21:49:28 -0000 @@ -0,0 +1,266 @@ +' . $site_fields[0] . ''; + } + $vars['site_html'] = implode(' ', $site_fields); + + // Set a variable for the site name title and logo alt attributes text. + $slogan_text = filter_xss_admin(variable_get('site_slogan', '')); + $site_name_text = filter_xss_admin(variable_get('site_name', 'Drupal')); + $vars['site_name_and_slogan'] = $site_name_text . ' ' . $slogan_text; +} + +/** + * Override or insert variables into the node template. + */ +function busy_preprocess_node(&$vars) { + if ($vars['page'] && isset($vars['content']['links']['comment'])) { + if (isset($vars['content']['links']['comment']['#links']['comment_add'])) { + $vars['content']['links']['comment']['#links']['comments_count'] = $vars['content']['links']['comment']['#links']['comment_add']; + } + $vars['content']['links']['comment']['#links']['comments_count']['title'] = t('@num_comments', array('@num_comments' => format_plural($vars['comment_count'], '1 comment', '@count comments'))); + $vars['content']['links']['comment']['#links']['comments_count']['attributes'] = array(); + } + if ($vars['picture']) { + $vars['classes_array'][] = 'node-with-author-picture'; + } +} + +/** + * Process variables for comment.tpl.php. + * + * @see comment.tpl.php + */ +function busy_preprocess_comment(&$vars) { + if ($vars['picture']) { + $vars['classes_array'][] = 'comment-with-author-picture'; + } +} + +/** + * Returns renderable local tasks. + * + * @ingroup themeable + */ +function busy_menu_local_tasks() { + $output = array(); + + if ($primary = menu_primary_local_tasks()) { + foreach ($primary as $key => $task) { + if (is_numeric($key) && $key == (count($primary) - 1)) { + $primary[$key]['#last'] = TRUE; + } + } + $primary['#prefix'] = ''; + $output[] = $primary; + } + if ($secondary = menu_secondary_local_tasks()) { + foreach ($secondary as $key => $task) { + if (is_numeric($key) && $key == (count($secondary) - 1)) { + $secondary[$key]['#last'] = TRUE; + } + } + $secondary['#prefix'] = ''; + $output[] = $secondary; + } + + return $output; +} + +function busy_menu_local_task($variables) { + $link = $variables['element']['#link']; + $link_text = $link['title']; + + if (!empty($variables['element']['#active'])) { + // Add text to indicate active tab for non-visual users. + $active = '' . t('(active tab)') . ''; + + // If the link does not contain HTML already, check_plain() it now. + // After we set 'html'=TRUE the link will not be sanitized by l(). + if (empty($link['localized_options']['html'])) { + $link['title'] = check_plain($link['title']); + } + $link['localized_options']['html'] = TRUE; + $link_text = t('!local-task-title !active', array('!local-task-title' => $link['title'], '!active' => $active)); + } + + $link_classes = array(); + if (!empty($variables['element']['#active'])) { + $link_classes[] = 'active'; + } + if (!empty($variables['element']['#last'])) { + $link_classes[] = 'last'; + } + return '' . l($link_text, $link['href'], $link['localized_options']) . "\n"; +} + +/** + * Format a query pager. + * + * Menu callbacks that display paged query results should call theme('pager') to + * retrieve a pager control so that users can view other results. + * Format a list of nearby pages with additional query results. + * + * @param $variables + * An associative array containing: + * - tags: An array of labels for the controls in the pager. + * - element: An optional integer to distinguish between multiple pagers on + * one page. + * - parameters: An associative array of query string parameters to append to + * the pager links. + * - quantity: The number of pages in the list. + * + * @return + * An HTML string that generates the query pager. + * + * @ingroup themeable + */ +function busy_pager($variables) { + $tags = $variables['tags']; + $element = $variables['element']; + $parameters = $variables['parameters']; + $quantity = $variables['quantity']; + global $pager_page_array, $pager_total; + + // Calculate various markers within this pager piece: + // Middle is used to "center" pages around the current page. + $pager_middle = ceil($quantity / 2); + // current is the page we are currently paged to + $pager_current = $pager_page_array[$element] + 1; + // first is the first page listed by this pager piece (re quantity) + $pager_first = $pager_current - $pager_middle + 1; + // last is the last page listed by this pager piece (re quantity) + $pager_last = $pager_current + $quantity - $pager_middle; + // max is the maximum page number + $pager_max = $pager_total[$element]; + // End of marker calculations. + + // Prepare for generation loop. + $i = $pager_first; + if ($pager_last > $pager_max) { + // Adjust "center" if at end of query. + $i = $i + ($pager_max - $pager_last); + $pager_last = $pager_max; + } + if ($i <= 0) { + // Adjust "center" if at start of query. + $pager_last = $pager_last + (1 - $i); + $i = 1; + } + // End of generation loop preparation. + + $li_first = theme('pager_first', array('text' => (isset($tags[0]) ? $tags[0] : t('« first')), 'element' => $element, 'parameters' => $parameters)); + $li_previous = theme('pager_previous', array('text' => (isset($tags[1]) ? $tags[1] : t('‹ previous')), 'element' => $element, 'interval' => 1, 'parameters' => $parameters)); + $li_next = theme('pager_next', array('text' => (isset($tags[3]) ? $tags[3] : t('next ›')), 'element' => $element, 'interval' => 1, 'parameters' => $parameters)); + $li_last = theme('pager_last', array('text' => (isset($tags[4]) ? $tags[4] : t('last »')), 'element' => $element, 'parameters' => $parameters)); + + if ($pager_total[$element] > 1) { + // When there is more than one page, create the pager list. + if ($i != $pager_max) { + // Now generate the actual pager piece. + for (; $i <= $pager_last && $i <= $pager_max; $i++) { + if ($i < $pager_current) { + $items[] = array( + 'class' => array('pager-item'), + 'data' => theme('pager_previous', array('text' => $i, 'element' => $element, 'interval' => ($pager_current - $i), 'parameters' => $parameters)), + ); + } + if ($i == $pager_current) { + $items[] = array( + 'class' => array('pager-current'), + 'data' => $i, + ); + } + if ($i > $pager_current) { + $items[] = array( + 'class' => array('pager-item'), + 'data' => theme('pager_next', array('text' => $i, 'element' => $element, 'interval' => ($i - $pager_current), 'parameters' => $parameters)), + ); + } + } + } + if ($li_first) { + $items[] = array( + 'class' => array('pager-first'), + 'data' => $li_first, + ); + } + if ($li_previous) { + $items[] = array( + 'class' => array('pager-previous'), + 'data' => $li_previous, + ); + } + // End generation. + if ($li_next) { + $items[] = array( + 'class' => array('pager-next'), + 'data' => $li_next, + ); + } + if ($li_last) { + $items[] = array( + 'class' => array('pager-last'), + 'data' => $li_last, + ); + } + return '

' . t('Pages') . '

' . theme('item_list', array('items' => $items, 'title' => NULL, 'type' => 'ul', 'attributes' => array('class' => array('pager')))); + } +} + +function busy_fieldset($variables) { + $element = $variables['element']; + + $output = ''; + if (!empty($element['#title'])) { + $output .= '' . $element['#title'] . ''; + } + $output .= '
' . "\n"; + if (!empty($element['#description'])) { + $output .= '
' . $element['#description'] . '
'; + } + $output .= $element['#children']; + if (isset($element['#value'])) { + $output .= $element['#value']; + } + $output .= "
\n\n"; + return $output; +}