From c55dbbc995e152af3f2c88662101b0643d2e171a Mon Sep 17 00:00:00 2001 From: vdigital Date: Fri, 23 May 2008 22:38:14 +0000 Subject: Removed file/folder git-svn-id: http://piwigo.org/svn/trunk@2358 68402e56-0260-453c-a942-63ccdbb3a9ee --- BSF/plugins/add_index/admin/index.php | 30 --- BSF/plugins/add_index/admin/main_page.php | 205 --------------------- BSF/plugins/add_index/admin/main_page.tpl | 15 -- BSF/plugins/add_index/index.php | 30 --- .../language/en_UK/help/advanced_feature.html | 7 - .../add_index/language/en_UK/help/index.php | 30 --- .../language/en_UK/help/site_manager.html | 7 - BSF/plugins/add_index/language/en_UK/index.php | 30 --- .../add_index/language/en_UK/plugin.lang.php | 39 ---- .../language/es_ES/help/advanced_feature.html | 7 - .../add_index/language/es_ES/help/index.php | 30 --- .../language/es_ES/help/site_manager.html | 7 - BSF/plugins/add_index/language/es_ES/index.php | 30 --- .../add_index/language/es_ES/plugin.lang.php | 39 ---- .../language/fr_FR/help/advanced_feature.html | 7 - .../add_index/language/fr_FR/help/index.php | 30 --- .../language/fr_FR/help/site_manager.html | 7 - BSF/plugins/add_index/language/fr_FR/index.php | 30 --- .../add_index/language/fr_FR/plugin.lang.php | 39 ---- BSF/plugins/add_index/language/index.php | 30 --- BSF/plugins/add_index/main.admin.inc.php | 93 ---------- BSF/plugins/add_index/main.base.inc.php | 39 ---- BSF/plugins/add_index/main.inc.php | 53 ------ BSF/plugins/add_index/main.normal.inc.php | 60 ------ 24 files changed, 894 deletions(-) delete mode 100644 BSF/plugins/add_index/admin/index.php delete mode 100644 BSF/plugins/add_index/admin/main_page.php delete mode 100644 BSF/plugins/add_index/admin/main_page.tpl delete mode 100644 BSF/plugins/add_index/index.php delete mode 100644 BSF/plugins/add_index/language/en_UK/help/advanced_feature.html delete mode 100644 BSF/plugins/add_index/language/en_UK/help/index.php delete mode 100644 BSF/plugins/add_index/language/en_UK/help/site_manager.html delete mode 100644 BSF/plugins/add_index/language/en_UK/index.php delete mode 100644 BSF/plugins/add_index/language/en_UK/plugin.lang.php delete mode 100644 BSF/plugins/add_index/language/es_ES/help/advanced_feature.html delete mode 100644 BSF/plugins/add_index/language/es_ES/help/index.php delete mode 100644 BSF/plugins/add_index/language/es_ES/help/site_manager.html delete mode 100644 BSF/plugins/add_index/language/es_ES/index.php delete mode 100644 BSF/plugins/add_index/language/es_ES/plugin.lang.php delete mode 100644 BSF/plugins/add_index/language/fr_FR/help/advanced_feature.html delete mode 100644 BSF/plugins/add_index/language/fr_FR/help/index.php delete mode 100644 BSF/plugins/add_index/language/fr_FR/help/site_manager.html delete mode 100644 BSF/plugins/add_index/language/fr_FR/index.php delete mode 100644 BSF/plugins/add_index/language/fr_FR/plugin.lang.php delete mode 100644 BSF/plugins/add_index/language/index.php delete mode 100644 BSF/plugins/add_index/main.admin.inc.php delete mode 100644 BSF/plugins/add_index/main.base.inc.php delete mode 100644 BSF/plugins/add_index/main.inc.php delete mode 100644 BSF/plugins/add_index/main.normal.inc.php (limited to 'BSF/plugins/add_index') diff --git a/BSF/plugins/add_index/admin/index.php b/BSF/plugins/add_index/admin/index.php deleted file mode 100644 index c15b15795..000000000 --- a/BSF/plugins/add_index/admin/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/BSF/plugins/add_index/admin/main_page.php b/BSF/plugins/add_index/admin/main_page.php deleted file mode 100644 index 35193af4e..000000000 --- a/BSF/plugins/add_index/admin/main_page.php +++ /dev/null @@ -1,205 +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 = $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) -{ - foreach ($add_index_results as $result) - { - $template->assign_block_vars('add_index_results.result', array('RESULT' => $result)); - } -} - -// +-----------------------------------------------------------------------+ -// | Sending html code | -// +-----------------------------------------------------------------------+ -$template->assign_var_from_handle( 'ADMIN_CONTENT', 'main_page'); - -?> \ No newline at end of file diff --git a/BSF/plugins/add_index/admin/main_page.tpl b/BSF/plugins/add_index/admin/main_page.tpl deleted file mode 100644 index 591ff7fc0..000000000 --- a/BSF/plugins/add_index/admin/main_page.tpl +++ /dev/null @@ -1,15 +0,0 @@ - - -
-

{lang:Add_Index}

-
- - -
- -
- diff --git a/BSF/plugins/add_index/index.php b/BSF/plugins/add_index/index.php deleted file mode 100644 index c15b15795..000000000 --- a/BSF/plugins/add_index/index.php +++ /dev/null @@ -1,30 +0,0 @@ - diff --git a/BSF/plugins/add_index/language/en_UK/help/advanced_feature.html b/BSF/plugins/add_index/language/en_UK/help/advanced_feature.html deleted file mode 100644 index 00d15b57c..000000000 --- a/BSF/plugins/add_index/language/en_UK/help/advanced_feature.html +++ /dev/null @@ -1,7 +0,0 @@ -

Functionality of AddIndex plugin:

-