summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorbboldi <bboldi@gmail.com>2011-09-13 12:08:50 +0200
committerbboldi <bboldi@gmail.com>2011-09-13 12:08:50 +0200
commit9438279fd24e0309abd1f78a9442b149f7bd6bef (patch)
tree77d5495a6e2d94f625f9d23c5e2dcd26af2d1819 /templates
downloadnuvemdario-9438279fd24e0309abd1f78a9442b149f7bd6bef.tar.gz
nuvemdario-9438279fd24e0309abd1f78a9442b149f7bd6bef.tar.bz2
Initial commit.
Diffstat (limited to 'templates')
-rw-r--r--templates/comment-wrapper.tpl.php5
-rw-r--r--templates/html.tpl.php18
-rw-r--r--templates/region.tpl.php25
3 files changed, 48 insertions, 0 deletions
diff --git a/templates/comment-wrapper.tpl.php b/templates/comment-wrapper.tpl.php
new file mode 100644
index 0000000..adfce58
--- /dev/null
+++ b/templates/comment-wrapper.tpl.php
@@ -0,0 +1,5 @@
+<?php
+ $vars = get_defined_vars();
+ $view = get_artx_drupal_view();
+ $view->print_comment_wrapper($vars);
+?> \ No newline at end of file
diff --git a/templates/html.tpl.php b/templates/html.tpl.php
new file mode 100644
index 0000000..94bad82
--- /dev/null
+++ b/templates/html.tpl.php
@@ -0,0 +1,18 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"
+ <?php print $rdf_namespaces; ?>>
+
+<head profile="<?php print $grddl_profile; ?>">
+ <?php print $head; ?>
+ <title><?php print $head_title; ?></title>
+ <?php print $styles; ?>
+ <?php print $scripts; ?>
+ <!--[if IE 6]><link rel="stylesheet" href="<?php echo base_path() . $directory; ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
+ <!--[if IE 7]><link rel="stylesheet" href="<?php echo base_path() . $directory; ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
+</head>
+<body class="<?php print $classes; ?>" <?php print $attributes;?>>
+ <?php print $page_top; ?>
+ <?php print $page; ?>
+ <?php print $page_bottom; ?>
+</body>
+</html> \ No newline at end of file
diff --git a/templates/region.tpl.php b/templates/region.tpl.php
new file mode 100644
index 0000000..08cd625
--- /dev/null
+++ b/templates/region.tpl.php
@@ -0,0 +1,25 @@
+<?php if ($content): ?>
+ <div class="<?php print $classes; ?>">
+ <?php switch ($region) {
+ case "navigation":
+ print art_menu_worker($content, true, 'b2-hmenu');
+ break;
+ case "vnavigation_left":
+ case "vnavigation_right":
+foreach (array_keys($variables['elements']) as $name) {
+ $element = &$variables['elements'][$name];
+ if (is_array($element)
+ && isset($element['#block']) && isset($element['#block']->subject)
+ && isset($element['#children']) && is_string($element['#children']) && !empty($element['#children'])) {
+ $block_subject = $element['#block']->subject;
+ $block_content = $element['#children'];
+ art_vmenu_output($block_subject, $block_content); }
+ }
+
+ break;
+ default:
+ print $content;
+ break;
+ }?>
+ </div>
+<?php endif; ?> \ No newline at end of file