mirror of
https://github.com/e107inc/e107.git
synced 2025-06-18 06:54:39 +02:00
Legacy themes support
Legacy themes support
This commit is contained in:
@ -25,15 +25,22 @@
|
|||||||
|
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
|
|
||||||
//define('PM_INBOX_ICON', "<img src='".e_PLUGIN_ABS."pm/images/mail_get.png' class='icon S16' alt='".LAN_PLUGIN_PM_INBOX."' title='".LAN_PLUGIN_PM_INBOX."' />");
|
if(deftrue('BOOTSTRAP') && deftrue('FONTAWESOME'))
|
||||||
define('PM_INBOX_ICON', e107::getParser()->toGlyph('fa-inbox'));
|
{
|
||||||
//define('PM_OUTBOX_ICON', "<img src='".e_PLUGIN_ABS."pm/images/mail_send.png' class='icon S16' alt='".LAN_PLUGIN_PM_OUTBOX."' title='".LAN_PLUGIN_PM_OUTBOX."' />");
|
define('PM_INBOX_ICON', e107::getParser()->toGlyph('fa-inbox'));
|
||||||
// Icon candidate to stacked fontawesome icons...
|
// Icon candidate to stacked fontawesome icons...
|
||||||
define('PM_OUTBOX_ICON', e107::getParser()->toGlyph('fa-inbox').e107::getParser()->toGlyph('fa-arrow-up'));
|
define('PM_OUTBOX_ICON', e107::getParser()->toGlyph('fa-inbox').e107::getParser()->toGlyph('fa-arrow-up'));
|
||||||
|
// Icon candidate to animated fontawesome icons...
|
||||||
|
define('NEWPM_ANIMATION', e107::getParser()->toGlyph('fa-envelope'));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!defined('PM_INBOX_ICON')) define('PM_INBOX_ICON', "<img src='".e_PLUGIN_ABS."pm/images/mail_get.png' class='icon S16' alt='".LAN_PLUGIN_PM_INBOX."' title='".LAN_PLUGIN_PM_INBOX."' />");
|
||||||
|
if (!defined('PM_OUTBOX_ICON')) define('PM_OUTBOX_ICON', "<img src='".e_PLUGIN_ABS."pm/images/mail_send.png' class='icon S16' alt='".LAN_PLUGIN_PM_OUTBOX."' title='".LAN_PLUGIN_PM_OUTBOX."' />");
|
||||||
|
if (!defined('NEWPM_ANIMATION')) define('NEWPM_ANIMATION', "<img src='".e_PLUGIN_ABS."pm/images/newpm.gif' alt='' />");
|
||||||
|
}
|
||||||
|
|
||||||
//define('PM_SEND_LINK', LAN_PLUGIN_PM_NEW);
|
//define('PM_SEND_LINK', LAN_PLUGIN_PM_NEW);
|
||||||
//define('NEWPM_ANIMATION', "<img src='".e_PLUGIN_ABS."pm/images/newpm.gif' alt='' />");
|
|
||||||
// Icon candidate to animated fontawesome icons...
|
|
||||||
define('NEWPM_ANIMATION', e107::getParser()->toGlyph('fa-envelope'));
|
|
||||||
/*
|
/*
|
||||||
$sc_style['PM_SEND_PM_LINK']['pre'] = "<br /><br />";
|
$sc_style['PM_SEND_PM_LINK']['pre'] = "<br /><br />";
|
||||||
$sc_style['PM_SEND_PM_LINK']['post'] = "";
|
$sc_style['PM_SEND_PM_LINK']['post'] = "";
|
||||||
|
Reference in New Issue
Block a user