Housekeeping stuff:
[openemr.git] / phpmyadmin / libraries / transformations / text_plain__link.inc.php
blobabe05f220ef59138ea9734bb01f353eb81c7aedf
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
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;