Commit 4c89ab8a authored by Kjartan's avatar Kjartan
Browse files

account.php

- real name is now shown to all users.

page.module
- improved the locale support.

comment.inc
- added a wrapper table for comment_thread_max() as suggested by nick.
parent 845888fe
......@@ -44,7 +44,7 @@ function page_status() {
function page_form($edit = array()) {
global $REQUEST_URI, $format, $op;
if ($op != "Preview" && $format[$edit[format]] == "PHP") {
if ($op != t("Preview") && $format[$edit[format]] == "PHP") {
$edit[body] = addslashes($edit[body]);
}
......@@ -60,11 +60,11 @@ function page_form($edit = array()) {
$form .= form_hidden("nid", $edit[nid]);
if ($edit[title]) {
$form .= form_submit("Preview");
$form .= form_submit("Submit");
$form .= form_submit(t("Preview"));
$form .= form_submit(t("Submit"));
}
else {
$form .= form_submit("Preview");
$form .= form_submit(t("Preview"));
}
return form($REQUEST_URI, $form);
......
......@@ -44,7 +44,7 @@ function page_status() {
function page_form($edit = array()) {
global $REQUEST_URI, $format, $op;
if ($op != "Preview" && $format[$edit[format]] == "PHP") {
if ($op != t("Preview") && $format[$edit[format]] == "PHP") {
$edit[body] = addslashes($edit[body]);
}
......@@ -60,11 +60,11 @@ function page_form($edit = array()) {
$form .= form_hidden("nid", $edit[nid]);
if ($edit[title]) {
$form .= form_submit("Preview");
$form .= form_submit("Submit");
$form .= form_submit(t("Preview"));
$form .= form_submit(t("Submit"));
}
else {
$form .= form_submit("Preview");
$form .= form_submit(t("Preview"));
}
return form($REQUEST_URI, $form);
......
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