mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 20:01:47 +02:00
Fix for SVG icon import.
This commit is contained in:
@@ -1481,6 +1481,8 @@ class pluginManager{
|
||||
$med = e107::getMedia();
|
||||
$icons = $med->listIcons(e_PLUGIN.$plug['plugin_path']);
|
||||
|
||||
$iconText = '';
|
||||
|
||||
if(count($icons)>0)
|
||||
{
|
||||
foreach($icons as $key=>$val)
|
||||
@@ -1488,6 +1490,8 @@ class pluginManager{
|
||||
$iconText .= "<img src='".$tp->replaceConstants($val)."' alt='' />";
|
||||
}
|
||||
|
||||
$iconText = '<div class="icon-pool-preview">'.$iconText.'</div>';
|
||||
|
||||
$opts['delete_ipool'] = array(
|
||||
'label' => EPL_ADLAN_231,
|
||||
'preview' => $iconText,
|
||||
@@ -1495,8 +1499,12 @@ class pluginManager{
|
||||
'itemList' => array(1=>LAN_YES,0=>LAN_NO),
|
||||
'itemDefault' => 1
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(is_readable(e_PLUGIN.$plug['plugin_path']."/".$plug['plugin_path']."_setup.php"))
|
||||
{
|
||||
include_once(e_PLUGIN.$plug['plugin_path']."/".$plug['plugin_path']."_setup.php");
|
||||
|
Reference in New Issue
Block a user