diff --git a/admin.php b/admin.php index b08343f24..ff5398616 100644 --- a/admin.php +++ b/admin.php @@ -106,7 +106,6 @@ $template->assign( 'U_SITES'=> $link_start.'remote_site', 'U_MAINTENANCE'=> $link_start.'maintenance', 'U_NOTIFICATION_BY_MAIL'=> $link_start.'notification_by_mail', - 'U_ADVANCED_FEATURE'=> $link_start.'advanced_feature', 'U_CONFIG_GENERAL'=> $link_start.'configuration', 'U_CONFIG_DISPLAY'=> $conf_link.'default', 'U_CONFIG_EXTENTS'=> $link_start.'extend_for_templates', diff --git a/admin/advanced_feature.php b/admin/advanced_feature.php deleted file mode 100644 index df88f970d..000000000 --- a/admin/advanced_feature.php +++ /dev/null @@ -1,108 +0,0 @@ - l10n('???'), - 'URL' => $start_url.'???' - ));*/ - -array_push($advanced_features, - array - ( - 'CAPTION' => l10n('Not linked elements'), - 'URL' => get_root_url().'admin.php?page=element_set&cat=not_linked' - )); - -array_push($advanced_features, - array - ( - 'CAPTION' => l10n('Files with same name in more than one physical category'), - 'URL' => get_root_url().'admin.php?page=element_set&cat=duplicates' - )); - -//$advanced_features is array of array composed of CAPTION & URL -$advanced_features = - trigger_event('get_admin_advanced_features_links', $advanced_features); - -// +-----------------------------------------------------------------------+ -// | Template init | -// +-----------------------------------------------------------------------+ - -$template->set_filename('advanced_feature', 'advanced_feature.tpl'); - -$start_url = get_root_url().'admin.php?page=advanced_feature&action='; - -$template->assign( - array - ( - 'U_HELP' => get_root_url().'popuphelp.php?page=advanced_feature', - 'U_ACTIVE_MENU' => 5 - )); - -// advanced_features -$template->assign('advanced_features', $advanced_features); - -// +-----------------------------------------------------------------------+ -// | Sending html code | -// +-----------------------------------------------------------------------+ - -$template->assign_var_from_handle('ADMIN_CONTENT', 'advanced_feature'); - -?> diff --git a/admin/include/functions.php b/admin/include/functions.php index 42ed056b6..618c65b99 100644 --- a/admin/include/functions.php +++ b/admin/include/functions.php @@ -1940,7 +1940,6 @@ function get_active_menu($menu_page) case 'stats': case 'history': case 'maintenance': - case 'advanced_feature': case 'thumbnail': return 4; diff --git a/admin/maintenance.php b/admin/maintenance.php index 78ac844bd..06dc67474 100644 --- a/admin/maintenance.php +++ b/admin/maintenance.php @@ -144,6 +144,36 @@ $template->assign( ) ); +// +-----------------------------------------------------------------------+ +// | Define advanced features | +// +-----------------------------------------------------------------------+ + +$advanced_features = array(); + +array_push( + $advanced_features, + array( + 'CAPTION' => l10n('Not linked elements'), + 'URL' => get_root_url().'admin.php?page=element_set&cat=not_linked' + ) + ); + +array_push( + $advanced_features, + array( + 'CAPTION' => l10n('Files with same name in more than one physical category'), + 'URL' => get_root_url().'admin.php?page=element_set&cat=duplicates' + ) + ); + +//$advanced_features is array of array composed of CAPTION & URL +$advanced_features = trigger_event( + 'get_admin_advanced_features_links', + $advanced_features + ); + +$template->assign('advanced_features', $advanced_features); + // +-----------------------------------------------------------------------+ // | sending html code | // +-----------------------------------------------------------------------+ diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index 9f2bde9e0..380248870 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -73,7 +73,6 @@ jQuery().ready(function(){ldelim}
Liste der speziellen Funktionen für Administratoren und Experten PWG:
- -Informationen werden mit der Zeit unbrauchbar. Sie von der Datenbank gibt den Speicherplatz frei.
+List special functionnalities for expert Piwigo administrators:
- -Some information become useless with time going by. Deleting this useless information from database make you save disk space.
+Lista de las funcionalidades especiales para los administradores expertos de PWG:
- -Informaciones se vuelven inútiles con tiempo. Suprimirlas de la base de datos liberara espacio en el disco.
+Liste des fonctionnalités spéciales pour les administrateurs experts de Piwigo :
- -Certaines informations deviennent inutiles avec le temps. Les supprimer de la base de données libère de l'espace disque.
+Popis posebnih funkcionalnosti za napredne PWG upravitelje:
- -Some informations become useless with time. Deleting this useless information from database make you save disk space.
+Speciális szakértői funkciók listázása a PWG rendszergazda számára:
-Elenco delle funzionalità speciali per gli amministratori esperti di PWG:
- -Alcune informazioni diventano inutili col tempo. Cancellare queste informazioni inutili dalla base base permette di liberare spazio sul disco.
+PWG管理エキスパート用の特別機能一覧です:
- -時間に関して、いくつかの情報が無用になる場合もあります。この無用な情報をデータベースから削除することで、 あなたはディスクスペースを減らすことができます。
+Lijst met speciale functies voor een deskundig PWG administrator:
- -Bepaalde informatie word door tijd nutteloos. Door de nutteloze informatie te verwijderen uit de database bespaar je ruimte.
+Lista specjalnych funkcjonalności dla zaawansowanego administratora PWG:
- -Niektóre informacje stają się wtedy bezużyteczne. Usuwanie tych bezużytecznych informacji pozwala zaoszczędzić przestrzeń na dysku.
+Показаны специальные возможности для продвинутых администраторов PWG:
- -Некоторая информации становится бесполезным со временем. Удаление этой бесполезной информации из базы данных позволит сохранить дисковое пространство.
+