Commit 54a157ed authored by Dries's avatar Dries

- Fixed translation problem with comment module. Patch by Gobar.

parent 87fe2d42
......@@ -1278,7 +1278,7 @@ function comment_mode_form($mode) {
$modes = _comment_get_modes();
foreach ($modes as $key => $value) {
$options .= " <option value=\"$key\"". ($mode == $key ? " selected=\"selected\"" : "") .">". t($value) ."</option>\n";
$options .= " <option value=\"$key\"". ($mode == $key ? " selected=\"selected\"" : "") .">$value</option>\n";
}
return "<select name=\"mode\">$options</select>\n";
......@@ -1288,7 +1288,7 @@ function comment_order_form($order) {
$order = _comment_get_orders();
foreach ($order as $key=>$value) {
$options .= " <option value=\"$key\"". ($order == $key ? " selected=\"selected\"" : "") .">". t($value) ."</option>\n";
$options .= " <option value=\"$key\"". ($order == $key ? " selected=\"selected\"" : "") .">$value</option>\n";
}
return "<select name=\"order\">$options</select>\n";
......
......@@ -1278,7 +1278,7 @@ function comment_mode_form($mode) {
$modes = _comment_get_modes();
foreach ($modes as $key => $value) {
$options .= " <option value=\"$key\"". ($mode == $key ? " selected=\"selected\"" : "") .">". t($value) ."</option>\n";
$options .= " <option value=\"$key\"". ($mode == $key ? " selected=\"selected\"" : "") .">$value</option>\n";
}
return "<select name=\"mode\">$options</select>\n";
......@@ -1288,7 +1288,7 @@ function comment_order_form($order) {
$order = _comment_get_orders();
foreach ($order as $key=>$value) {
$options .= " <option value=\"$key\"". ($order == $key ? " selected=\"selected\"" : "") .">". t($value) ."</option>\n";
$options .= " <option value=\"$key\"". ($order == $key ? " selected=\"selected\"" : "") .">$value</option>\n";
}
return "<select name=\"order\">$options</select>\n";
......
Markdown is supported
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