Translation update done using Pootle.
[phpmyadmin/dkf.git] / libraries / transformations / text_plain__link.inc.php
blob9295de4e43bd044c295c13641a9c3b1cb546c9d6
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin-Transformation
5 * @version $Id$
6 */
8 /**
11 function PMA_transformation_text_plain__link($buffer, $options = array(), $meta = '') {
12 require_once './libraries/transformations/global.inc.php';
14 // $transform_options = array ('string' => '<a href="' . (isset($options[0]) ? $options[0] : '') . '%1$s" title="' . (isset($options[1]) ? $options[1] : '%1$s') . '">' . (isset($options[1]) ? $options[1] : '%1$s') . '</a>');
16 $transform_options = array ('string' => '<a href="' . (isset($options[0]) ? $options[0] : '') . $buffer . '" title="' . (isset($options[1]) ? $options[1] : '') . '">' . (isset($options[1]) ? $options[1] : $buffer) . '</a>');
18 $buffer = PMA_transformation_global_html_replace($buffer, $transform_options);
20 return $buffer;