Add missing require
This commit is contained in:
parent
3a52a91613
commit
b8be2a8cc9
@ -12,6 +12,8 @@ if (! defined('PHPMYADMIN')) {
|
||||
|
||||
/* Get the transformations interface */
|
||||
require_once "libraries/plugins/TransformationsPlugin.class.php";
|
||||
/* For PMA_transformation_global_html_replace */
|
||||
require_once 'libraries/transformations.lib.php';
|
||||
|
||||
/**
|
||||
* Provides common methods for all of the link transformations plugins.
|
||||
@ -84,4 +86,4 @@ abstract class ImageLinkTransformationsPlugin extends TransformationsPlugin
|
||||
return "Link";
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@ -12,6 +12,8 @@ if (! defined('PHPMYADMIN')) {
|
||||
|
||||
/* Get the transformations interface */
|
||||
require_once "libraries/plugins/TransformationsPlugin.class.php";
|
||||
/* For PMA_transformation_global_html_replace */
|
||||
require_once 'libraries/transformations.lib.php';
|
||||
|
||||
/**
|
||||
* Provides common methods for all of the inline transformations plugins.
|
||||
@ -98,4 +100,4 @@ abstract class InlineTransformationsPlugin extends TransformationsPlugin
|
||||
return "Inline";
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@ -12,6 +12,8 @@ if (! defined('PHPMYADMIN')) {
|
||||
|
||||
/* Get the transformations interface */
|
||||
require_once "libraries/plugins/TransformationsPlugin.class.php";
|
||||
/* For PMA_transformation_global_html_replace */
|
||||
require_once 'libraries/transformations.lib.php';
|
||||
|
||||
/**
|
||||
* Provides common methods for all of the image link transformations plugins.
|
||||
@ -91,4 +93,4 @@ abstract class TextImageLinkTransformationsPlugin extends TransformationsPlugin
|
||||
return "Image Link";
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
@ -12,6 +12,8 @@ if (! defined('PHPMYADMIN')) {
|
||||
|
||||
/* Get the transformations interface */
|
||||
require_once "libraries/plugins/TransformationsPlugin.class.php";
|
||||
/* For PMA_transformation_global_html_replace */
|
||||
require_once 'libraries/transformations.lib.php';
|
||||
|
||||
/**
|
||||
* Provides common methods for all of the link transformations plugins.
|
||||
@ -45,9 +47,9 @@ abstract class TextLinkTransformationsPlugin extends TransformationsPlugin
|
||||
*/
|
||||
public function applyTransformation($buffer, $options = array(), $meta = '')
|
||||
{
|
||||
|
||||
|
||||
$append_part = (isset($options[2]) && $options[2]) ? '' : $buffer;
|
||||
|
||||
|
||||
$transform_options = array (
|
||||
'string' => '<a href="'
|
||||
. PMA_linkURL((isset($options[0]) ? $options[0] : '') . $append_part)
|
||||
@ -93,4 +95,4 @@ abstract class TextLinkTransformationsPlugin extends TransformationsPlugin
|
||||
return "Link";
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user