diff --git a/_admin.php b/_admin.php index 54e1270..459f507 100644 --- a/_admin.php +++ b/_admin.php @@ -37,14 +37,14 @@ class cinecturlink2AdminBehaviors { public static function adminDashboardFavorites($core, $favs) { - $favs->register('cinecturlink2', [ - 'title' => __('My cinecturlink'), - 'url' => $core->adminurl->get('admin.plugin.cinecturlink2').'#links', - 'small-icon' => dcPage::getPF('cinecturlink2/icon.png'), - 'large-icon' => dcPage::getPF('cinecturlink2/icon-big.png'), - 'permissions' => $core->auth->check('contentadmin', $core->blog->id), + $favs->register('cinecturlink2', [ + 'title' => __('My cinecturlink'), + 'url' => $core->adminurl->get('admin.plugin.cinecturlink2').'#links', + 'small-icon' => dcPage::getPF('cinecturlink2/icon.png'), + 'large-icon' => dcPage::getPF('cinecturlink2/icon-big.png'), + 'permissions' => $core->auth->check('contentadmin', $core->blog->id), 'active_cb' => ['cinecturlink2AdminBehaviors', 'adminDashboardFavoritesActive'] - ]); + ]); } public static function adminDashboardFavoritesActive($request, $params) diff --git a/index.php b/index.php index 8786108..4978b87 100644 --- a/index.php +++ b/index.php @@ -553,7 +553,7 @@ if ($part == "links") { '

' . form::combo('catid', $categories_combo, $catid) . '

' . ''. - + '
' . '

' . form::combo('sortby', $sortby_combo, $sortby) . '

' . diff --git a/locales/fr/main.lang.php b/locales/fr/main.lang.php index f2b19ed..07caed4 100644 --- a/locales/fr/main.lang.php +++ b/locales/fr/main.lang.php @@ -338,5 +338,4 @@ $GLOBALS['__l10n']['Check to delete'] = 'Cocher pour supprimer'; $GLOBALS['__l10n']['Delete selection'] = 'Effacer la selection'; #index.php:773 -$GLOBALS['__l10n']['No link uses this category.'] = 'Aucun lien n\'utilise cette catégorie.'; - +$GLOBALS['__l10n']['No link uses this category.'] = 'Aucun lien n\'utilise cette catégorie.'; \ No newline at end of file