Commit 896b4dc7 authored by Kjartan's avatar Kjartan
Browse files

locale.module

- renamed locale_search() locale_filter() so it does not show up on
  node searches.
parent 30ad2eff
......@@ -138,7 +138,7 @@ function locale_untranslated($language) {
return $output;
}
function locale_search() {
function locale_filter() {
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_search();
print locale_filter();
break;
case "Save translations":
print locale_save(check_input($id), $edit);
......
......@@ -138,7 +138,7 @@ function locale_untranslated($language) {
return $output;
}
function locale_search() {
function locale_filter() {
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_search();
print locale_filter();
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