You are here

smiley_span_smiley.tpl.php in Smiley 7.2

Displays an image smiley.

Available variables:

  • $image_path: The path to the image.
  • $replaced_text: The text that was replaced.
  • $classes: A string of classes to be applied to the image.
  • $classes_array: An array of classes that were serialized into the classes variable.

See also

template_preprocess_smiley()

File

smiley_span_smiley.tpl.php
View source
<?php

/**
 * @file
 * Displays an image smiley.
 *
 * Available variables:
 * - $image_path: The path to the image.
 * - $replaced_text: The text that was replaced.
 * - $classes: A string of classes to be applied to the image.
 * - $classes_array: An array of classes that were serialized into the classes
 *   variable.
 *
 * @see template_preprocess_smiley()
 *
 * @ingroup themeable
 */
?>
<span class="<?php

print $classes;
?>" style="background-image: url('<?php

print $image_path;
?>');">&#8195;</span>