aboutsummaryrefslogtreecommitdiffstats
path: root/admin/batch_manager_global.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-10-10 11:07:45 +0000
committermistic100 <mistic@piwigo.org>2013-10-10 11:07:45 +0000
commitcfdfeb989d3a801e8131128bb2e4b53817278be5 (patch)
tree0f745218bb1d1151a4d461bf1b0cbe49395151b2 /admin/batch_manager_global.php
parent92d692a3349b0fb9b8e16d31085dc0a5e2ac9190 (diff)
feature 2969: Unified Batch Manager URL
git-svn-id: http://piwigo.org/svn/trunk@24834 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/batch_manager_global.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php
index f4ff53ed7..b64324b2d 100644
--- a/admin/batch_manager_global.php
+++ b/admin/batch_manager_global.php
@@ -112,7 +112,7 @@ DELETE
$tag_ids = get_tag_ids($_POST['add_tags']);
add_tags($tag_ids, $collection);
- if ('with no tag' == $page['prefilter'])
+ if ('no_tag' == $page['prefilter'])
{
redirect($redirect_url);
}
@@ -149,12 +149,12 @@ DELETE
);
// let's refresh the page because we the current set might be modified
- if ('with no album' == $page['prefilter'])
+ if ('no_album' == $page['prefilter'])
{
redirect($redirect_url);
}
- if ('with no virtual album' == $page['prefilter'])
+ if ('no_virtual_album' == $page['prefilter'])
{
$category_info = get_cat_info($_POST['associate']);
if (empty($category_info['dir']))
@@ -173,12 +173,12 @@ DELETE
);
// let's refresh the page because we the current set might be modified
- if ('with no album' == $page['prefilter'])
+ if ('no_album' == $page['prefilter'])
{
redirect($redirect_url);
}
- if ('with no virtual album' == $page['prefilter'])
+ if ('no_virtual_album' == $page['prefilter'])
{
$category_info = get_cat_info($_POST['move']);
if (empty($category_info['dir']))
@@ -435,17 +435,17 @@ $base_url = get_root_url().'admin.php';
$prefilters = array(
array('ID' => 'caddie', 'NAME' => l10n('Caddie')),
array('ID' => 'favorites', 'NAME' => l10n('Your favorites')),
- array('ID' => 'last import', 'NAME' => l10n('Last import')),
- array('ID' => 'with no album', 'NAME' => l10n('With no album')),
- array('ID' => 'with no tag', 'NAME' => l10n('With no tag')),
+ array('ID' => 'last_import', 'NAME' => l10n('Last import')),
+ array('ID' => 'no_album', 'NAME' => l10n('With no album')),
+ array('ID' => 'no_tag', 'NAME' => l10n('With no tag')),
array('ID' => 'duplicates', 'NAME' => l10n('Duplicates')),
- array('ID' => 'all photos', 'NAME' => l10n('All'))
+ array('ID' => 'all_photos', 'NAME' => l10n('All'))
);
if ($conf['enable_synchronization'])
{
array_push($prefilters,
- array('ID' => 'with no virtual album', 'NAME' => l10n('With no virtual album'))
+ array('ID' => 'no_virtual_album', 'NAME' => l10n('With no virtual album'))
);
}
@@ -460,7 +460,7 @@ $template->assign(
'all_elements' => $page['cat_elements_id'],
'START' => $page['start'],
'U_DISPLAY'=>$base_url.get_query_string_diff(array('display')),
- 'F_ACTION'=>$base_url.get_query_string_diff(array('cat','start','tag')),
+ 'F_ACTION'=>$base_url.get_query_string_diff(array('cat','start','tag','filter')),
)
);