Adding link in the dashboard config page

skala
Julio Montoya 15 years ago
parent 2f43995130
commit 8e16553825
  1. 3
      main/inc/lib/dashboard.lib.php

@ -395,6 +395,9 @@ class DashboardManager
echo '</div>'; echo '</div>';
} else { } else {
echo '<div style="margin-top:20px">'.get_lang('ThereAreNoEnabledDashboardPlugins').'</div>'; echo '<div style="margin-top:20px">'.get_lang('ThereAreNoEnabledDashboardPlugins').'</div>';
if (api_is_platform_admin()) {
echo '<a href="'.api_get_path(WEB_CODE_PATH).'admin/settings.php?category=Plugins">'.get_lang('ConfigureDashboardPlugins').'</a>';
}
} }
} }

Loading…
Cancel
Save