diff --git a/plugins/add_index/admin/index.php b/plugins/add_index/admin/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/add_index/admin/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/add_index/admin/main_page.php b/plugins/add_index/admin/main_page.php deleted file mode 100644 index 47fcdd657..000000000 --- a/plugins/add_index/admin/main_page.php +++ /dev/null @@ -1,202 +0,0 @@ - 0) - { - while (list($galleries_url) = mysql_fetch_row($result)) - { - if (!url_is_remote($galleries_url)) - { - //echo $galleries_url.'
'; - foreach (get_add_index_directories($galleries_url) as $dir_galleries) - { - $file_dest = str_replace('//', '/', $dir_galleries.'/'.$conf['add_index_filename']); - if ($overwrite_file or !@file_exists($file_dest)) - { - if (copy($index_file_src, $file_dest)) - { - array_push($add_index_results, - sprintf(l10n('add_index_file_copied'), $file_dest)); - $count_copy++; - } - else - { - array_push($page['errors'], - sprintf(l10n('add_index_file_not_copied'), $file_dest)); - $count_error++; - } - } - else - { - $count_skip++; - } - } - } - else - { - if (!empty($site_id)) - { - array_push($page['errors'], - sprintf(l10n('add_index_not_local_site'), - $galleries_url, $site_id)); - } - } - } - } - - // Show always an result, defaut (0 copy, $count_copy == $count_skip == 0) - if (($count_copy != 0) or ($count_skip == 0)) - { - array_push($add_index_results, - l10n_dec('add_index_nb_copied_file', 'add_index_nb_copied_files', - $count_copy)); - } - if ($count_skip != 0) - { - array_push($add_index_results, - l10n_dec('add_index_nb_skipped_file', 'add_index_nb_skipped_files', - $count_skip)); - } - if ($count_error != 0) - { - array_push($page['errors'], - l10n_dec('add_index_nb_not_copied_file', 'add_index_nb_not_copied_files', - $count_error)); - } -} -else -{ - array_push($page['errors'], - sprintf(l10n('add_index_src_file_dont_exists'), $index_file_src)); -} - -// +-----------------------------------------------------------------------+ -// | template initialization | -// +-----------------------------------------------------------------------+ -$template->set_filenames(array('main_page' => dirname(__FILE__).'/main_page.tpl')); - -if (count($add_index_results) != 0) -{ - $template->assign('add_index_results', $add_index_results); -} - -// +-----------------------------------------------------------------------+ -// | Sending html code | -// +-----------------------------------------------------------------------+ -$template->assign_var_from_handle( 'ADMIN_CONTENT', 'main_page'); - -?> \ No newline at end of file diff --git a/plugins/add_index/admin/main_page.tpl b/plugins/add_index/admin/main_page.tpl deleted file mode 100644 index 4f2010389..000000000 --- a/plugins/add_index/admin/main_page.tpl +++ /dev/null @@ -1,14 +0,0 @@ - -
-

{'Add_Index'|@translate}

-
- -{if isset($add_index_results)} -
- -
-{/if} diff --git a/plugins/add_index/index.php b/plugins/add_index/index.php deleted file mode 100644 index 17747c927..000000000 --- a/plugins/add_index/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/plugins/add_index/language/de_DE/description.txt b/plugins/add_index/language/de_DE/description.txt deleted file mode 100644 index 185672de7..000000000 --- a/plugins/add_index/language/de_DE/description.txt +++ /dev/null @@ -1 +0,0 @@ -Fügt eine Datei index.php in jeden Unterordner der Galerie hinzu. \ No newline at end of file diff --git a/plugins/add_index/language/de_DE/help/advanced_feature.html b/plugins/add_index/language/de_DE/help/advanced_feature.html deleted file mode 100644 index 3f4f12048..000000000 --- a/plugins/add_index/language/de_DE/help/advanced_feature.html +++ /dev/null @@ -1,7 +0,0 @@ -

Funktionalität von AddIndex-Plugin:

-