Commit 2220c036 authored by Dries's avatar Dries
Browse files

- Patch #45206 by markus: attempt at making the node filters somewhat translatable.

parent a35ca55b
...@@ -1051,13 +1051,13 @@ function theme_node_filters(&$form) { ...@@ -1051,13 +1051,13 @@ function theme_node_filters(&$form) {
} }
} }
$output .= '<li><dl class="multiselect">' . (sizeof($form['current']) ? '<dt><em>and</em> where</dt>' : '') . '<dd class="a">'; $output .= '<li><dl class="multiselect">' . (sizeof($form['current']) ? '<dt><em>'. t('and') .'</em> '. t('where') .'</dt>' : '') . '<dd class="a">';
foreach(element_children($form['filter']) as $key) { foreach(element_children($form['filter']) as $key) {
$output .= form_render($form['filter'][$key]); $output .= form_render($form['filter'][$key]);
} }
$output .= '</dd>'; $output .= '</dd>';
$output .= '<dt>is</dt>' . '<dd class="b">'; $output .= '<dt>'. t('is') .'</dt>' . '<dd class="b">';
foreach(element_children($form['status']) as $key) { foreach(element_children($form['status']) as $key) {
$output .= form_render($form['status'][$key]); $output .= form_render($form['status'][$key]);
......
...@@ -1051,13 +1051,13 @@ function theme_node_filters(&$form) { ...@@ -1051,13 +1051,13 @@ function theme_node_filters(&$form) {
} }
} }
$output .= '<li><dl class="multiselect">' . (sizeof($form['current']) ? '<dt><em>and</em> where</dt>' : '') . '<dd class="a">'; $output .= '<li><dl class="multiselect">' . (sizeof($form['current']) ? '<dt><em>'. t('and') .'</em> '. t('where') .'</dt>' : '') . '<dd class="a">';
foreach(element_children($form['filter']) as $key) { foreach(element_children($form['filter']) as $key) {
$output .= form_render($form['filter'][$key]); $output .= form_render($form['filter'][$key]);
} }
$output .= '</dd>'; $output .= '</dd>';
$output .= '<dt>is</dt>' . '<dd class="b">'; $output .= '<dt>'. t('is') .'</dt>' . '<dd class="b">';
foreach(element_children($form['status']) as $key) { foreach(element_children($form['status']) as $key) {
$output .= form_render($form['status'][$key]); $output .= form_render($form['status'][$key]);
......
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