diff -r fcf75e232c5b -r 0ff3ba646492 web/drupal/themes/garland/template.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/drupal/themes/garland/template.php Fri Aug 21 16:26:26 2009 +0000
@@ -0,0 +1,102 @@
+'. implode(' › ', $breadcrumb) .'';
+ }
+}
+
+/**
+ * Allow themable wrapping of all comments.
+ */
+function phptemplate_comment_wrapper($content, $node) {
+ if (!$content || $node->type == 'forum') {
+ return '
';
+ }
+ else {
+ return '';
+ }
+}
+
+/**
+ * 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);
+ }
+}
+
+/**
+ * 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();
+}
+
+function phptemplate_comment_submitted($comment) {
+ return t('!datetime — !username',
+ array(
+ '!username' => theme('username', $comment),
+ '!datetime' => format_date($comment->timestamp)
+ ));
+}
+
+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 = '';
+ if ($language->direction == LANGUAGE_RTL) {
+ $iecss .= '';
+ }
+
+ return $iecss;
+}