mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Update pm_shortcodes.php
This commit is contained in:
@@ -645,11 +645,11 @@ if(!class_exists('plugin_pm_pm_shortcodes'))
|
|||||||
$pm_outbox = $this->pmManager->pm_getInfo('outbox');
|
$pm_outbox = $this->pmManager->pm_getInfo('outbox');
|
||||||
if($pm_outbox['outbox']['filled'] < 100)
|
if($pm_outbox['outbox']['filled'] < 100)
|
||||||
{
|
{
|
||||||
$link = $this->url('action/new');
|
// $link = $this->url('action/new');
|
||||||
// return "<a class='btn btn-mini btn-xs btn-default' href='{$link}'>".LAN_PLUGIN_PM_NEW."</a>";
|
// return "<a class='btn btn-mini btn-xs btn-default' href='{$link}'>".LAN_PLUGIN_PM_NEW."</a>";
|
||||||
return $link;
|
return $this->url('action/new');
|
||||||
}
|
}
|
||||||
return '';
|
// return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user