You are here

function theme_text_resize_block in Text Resize 6

Same name and namespace in other branches
  1. 7 text_resize.module \theme_text_resize_block()
1 theme call to theme_text_resize_block()
text_resize_block in ./text_resize.module
Implementation of hook_block().

File

./text_resize.module, line 217
Creates a small block with jQuery links that resize text within the BODY tag.

Code

function theme_text_resize_block() {
  if (_get_text_resize_reset_button() == TRUE) {
    $output = t('<a href="javascript:;" class="changer" id="text_resize_decrease"><sup>-</sup>A</a> <a href="javascript:;" class="changer" id="text_resize_reset">A</a> <a href="javascript:;" class="changer" id="text_resize_increase"><sup>+</sup>A</a><div id="text_resize_clear"></div>');
  }
  else {
    $output = t('<a href="javascript:;" class="changer" id="text_resize_decrease"><sup>-</sup>A</a> <a href="javascript:;" class="changer" id="text_resize_increase"><sup>+</sup>A</a><div id="text_resize_clear"></div>');
  }
  return $output;
}