diff --git a/bl-kernel/admin/views/dashboard.php b/bl-kernel/admin/views/dashboard.php index 7f05d649..881ff96d 100644 --- a/bl-kernel/admin/views/dashboard.php +++ b/bl-kernel/admin/views/dashboard.php @@ -24,148 +24,38 @@ }); -
+
-
- - -
-

- g('hello') ?> -

- -
- - -
- -
-
-
- -
-
-
- - -
- - +
-
+ +
-
    -
  • p('Notifications') ?>

  • +
      +
    • +

      p('Notifications') ?>

      +
    • db, 0, NOTIFICATIONS_AMOUNT); foreach ($logs as $log) { - $phrase = $L->g($log['dictionaryKey']); echo '
    • '; - echo $phrase; + echo '
      '; + echo $L->g($log['dictionaryKey']); if (!empty($log['notes'])) { echo ' « '.$log['notes'].' »'; } - echo '
      '; + echo '
      '; + echo '
      '; echo Date::format($log['date'], DB_DATE_FORMAT, NOTIFICATIONS_DATE_FORMAT); echo ' [ '.$log['username'] .' ]'; - echo '
      '; + echo '
'; echo ''; } ?> +
diff --git a/bl-kernel/js/api.js b/bl-kernel/js/api.js index 4fd57e6e..3e37e982 100644 --- a/bl-kernel/js/api.js +++ b/bl-kernel/js/api.js @@ -5,10 +5,10 @@ class API { constructor(apiURL, apiToken, apiAuth) { - this.apiURL = "http://localhost:9000/api/"; + this.apiURL = "http://localhost:8000/api/"; this.body = { token: '45643a4071fad6a12261bb0763550feb', - authentication: '18a8410f0043d004c2e87f404170e112' + authentication: '02707c99183896203b41d4a9b5c42692' } } diff --git a/bl-plugins/visits-stats/plugin.php b/bl-plugins/visits-stats/plugin.php index 6135093f..f75cea6f 100644 --- a/bl-plugins/visits-stats/plugin.php +++ b/bl-plugins/visits-stats/plugin.php @@ -51,22 +51,26 @@ class pluginVisitsStats extends Plugin { $labelUnique = $L->g('Unique'); return << -

$label

- +
+

$label

+