Commit c45f994e authored by Kjartan's avatar Kjartan
Browse files

locale.module

- fixed the filter/search problem.
parent 73ff627d
......@@ -138,7 +138,7 @@ function locale_untranslated($language) {
return $output;
}
function locale_filter() {
function locale_seek() {
global $edit, $languages, $REQUEST_URI;
if (is_array($edit)) {
if ($edit[status]) {
......@@ -212,7 +212,7 @@ function locale_admin() {
break;
case "Search":
case "search":
print locale_filter();
print locale_seek();
break;
case "Save translations":
print locale_save(check_input($id), $edit);
......
......@@ -138,7 +138,7 @@ function locale_untranslated($language) {
return $output;
}
function locale_filter() {
function locale_seek() {
global $edit, $languages, $REQUEST_URI;
if (is_array($edit)) {
if ($edit[status]) {
......@@ -212,7 +212,7 @@ function locale_admin() {
break;
case "Search":
case "search":
print locale_filter();
print locale_seek();
break;
case "Save translations":
print locale_save(check_input($id), $edit);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment