- increased the "Authored by" field to max 60 chars to fit the length of valid
usernames.4.1.x
parent
36fca09232
commit
5f7e2f7ae0
|
@ -885,7 +885,7 @@ function node_form($edit, $error = NULL) {
|
||||||
|
|
||||||
if (user_access("administer nodes")) {
|
if (user_access("administer nodes")) {
|
||||||
$output .= "</td><td align=\"left\" valign=\"top\">";
|
$output .= "</td><td align=\"left\" valign=\"top\">";
|
||||||
$output .= form_textfield(t("Authored by"), "name", $edit->name, 20, 25, $error["name"]);
|
$output .= form_textfield(t("Authored by"), "name", $edit->name, 20, 60, $error["name"]);
|
||||||
$output .= form_textfield(t("Authored on"), "date", $edit->date, 20, 25, $error["date"]);
|
$output .= form_textfield(t("Authored on"), "date", $edit->date, 20, 25, $error["date"]);
|
||||||
$output .= "<br />";
|
$output .= "<br />";
|
||||||
$output .= form_select(t("Set public/published"), "status", $edit->status, array(t("Disabled"), t("Enabled")));
|
$output .= form_select(t("Set public/published"), "status", $edit->status, array(t("Disabled"), t("Enabled")));
|
||||||
|
|
|
@ -885,7 +885,7 @@ function node_form($edit, $error = NULL) {
|
||||||
|
|
||||||
if (user_access("administer nodes")) {
|
if (user_access("administer nodes")) {
|
||||||
$output .= "</td><td align=\"left\" valign=\"top\">";
|
$output .= "</td><td align=\"left\" valign=\"top\">";
|
||||||
$output .= form_textfield(t("Authored by"), "name", $edit->name, 20, 25, $error["name"]);
|
$output .= form_textfield(t("Authored by"), "name", $edit->name, 20, 60, $error["name"]);
|
||||||
$output .= form_textfield(t("Authored on"), "date", $edit->date, 20, 25, $error["date"]);
|
$output .= form_textfield(t("Authored on"), "date", $edit->date, 20, 25, $error["date"]);
|
||||||
$output .= "<br />";
|
$output .= "<br />";
|
||||||
$output .= form_select(t("Set public/published"), "status", $edit->status, array(t("Disabled"), t("Enabled")));
|
$output .= form_select(t("Set public/published"), "status", $edit->status, array(t("Disabled"), t("Enabled")));
|
||||||
|
|
Loading…
Reference in New Issue