diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-09-23 17:40:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-09-23 17:40:24 -0300 |
commit | eb3ffe89f4cdbe4c326e1b1bceabe18c13bd0ca0 (patch) | |
tree | 5bd287598d64be1df9b7d8b413f832f94cb8d8fa /muamba-powered.tpl.php | |
parent | 3b83a67933707f41ba03b763a1728aa4afd6176f (diff) | |
download | muamba-eb3ffe89f4cdbe4c326e1b1bceabe18c13bd0ca0.tar.gz muamba-eb3ffe89f4cdbe4c326e1b1bceabe18c13bd0ca0.tar.bz2 |
Adding powered block
Diffstat (limited to 'muamba-powered.tpl.php')
-rw-r--r-- | muamba-powered.tpl.php | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/muamba-powered.tpl.php b/muamba-powered.tpl.php new file mode 100644 index 0000000..587bce5 --- /dev/null +++ b/muamba-powered.tpl.php @@ -0,0 +1,46 @@ +<?php + +/** + * @file + * Show muamba sponsors. + */ + +// Add javascript and CSS files +$path = drupal_get_path('module', 'muamba'); +drupal_add_css($path .'/muamba.css'); + +print '<div class="muamba-powered">'; + +print theme('image', + array( + 'path' => $path .'/images/money-back-sticker.png', + 'alt' => t('Money back guarantee'), + 'title' => t('Money back guarantee'), + ) +); + +print theme('image', + array( + 'path' => $path .'/images/druplicon.png', + 'alt' => t('Powered by Drupal'), + 'title' => t('Powered by Drupal'), + ) +); + +print theme('image', + array( + 'path' => $path .'/images/earth-recycle.png', + 'alt' => t('Saving resources'), + 'title' => t('Saving resources'), + ) +); + +print theme('image', + array( + 'path' => $path .'/images/capitalism-kills.png', + 'alt' => t('Capitalism kills'), + 'title' => t('Capitalism kills'), + ) +); + +print '</div>'; |