feedback_simple.tpl.php in Feedback Simple 6
Same filename and directory in other branches
Template file.
1 theme call to feedback_simple.tpl.php
- feedback_simple_footer in ./
feedback_simple.module - Implements hook_footer().
File
feedback_simple.tpl.phpView source
<?php
/**
* @file
* Template file.
*
* @param $link: link href.
* @param $align: left or right.
* @param $class: array of classes to apply to anchor tag.
* @param $top: distance from the top; include unit.
* @param $alt: alt text.
* @param $image: image href.
* @param $height: image height in pixels.
* @param $width: image width in pixels.
* @param $enabled: true or false.
*/
if ($enabled) {
?>
<div id='feedback_simple'>
<a
href='<?php
print $link;
?>'
class='feedback_simple-<?php
print $align;
?> <?php
print implode(' ', $class);
?>'
style='top: <?php
print $top;
?>; height: <?php
print $height;
?>px; width: <?php
print $width;
?>px;'>
<img
alt='<?php
print $alt;
?>'
src='<?php
print $image;
?>'
height='<?php
print $height;
?>'
width='<?php
print $width;
?>' />
</a>
</div>
<?php
}