Translation update done using Pootle.
[phpmyadmin/dkf.git] / libraries / transformations / image_jpeg__link.inc.php
blob0d0b9a393eb3c504d1abb2d75a74070082fe54cc
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin-Transformation
5 */
7 function PMA_transformation_image_jpeg__link_info() {
8 return array(
9 'info' => __('Displays a link to download this image.'),
13 /**
16 function PMA_transformation_image_jpeg__link($buffer, $options = array(), $meta = '') {
17 require_once './libraries/transformations/global.inc.php';
19 $transform_options = array ('string' => '<a href="transformation_wrapper.php' . $options['wrapper_link'] . '" alt="[__BUFFER__]">[BLOB]</a>');
20 $buffer = PMA_transformation_global_html_replace($buffer, $transform_options);
22 return $buffer;