Commit 8c2e94ed authored by Leigh B. Stoller's avatar Leigh B. Stoller

Change "Title" to "Job Title" as per Jay's request (to reduce number

of people who put "Dr." for title!)
parent 84fc5612
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003, 2005 University of Utah and the Flux Group.
# Copyright (c) 2000-2003, 2005, 2006 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -199,7 +199,7 @@ function SPITFORM($formfields, $returning, $errors)
# Title/Position:
#
echo "<tr>
<td colspan=2>*Title/Position:</td>
<td colspan=2>*Job Title/Position:</td>
<td class=left>
<input type=text
name=\"formfields[usr_title]\"
......@@ -540,10 +540,10 @@ if (! $returning) {
if (!$forwikionly) {
if (!isset($formfields[usr_title]) ||
strcmp($formfields[usr_title], "") == 0) {
$errors["Title/Position"] = "Missing Field";
$errors["Job Title/Position"] = "Missing Field";
}
elseif (! TBvalid_title($formfields[usr_title])) {
$errors["Title/Position"] = TBFieldErrorString();
$errors["Job Title/Position"] = TBFieldErrorString();
}
if (!isset($formfields[usr_affil]) ||
strcmp($formfields[usr_affil], "") == 0) {
......@@ -933,7 +933,7 @@ if ($returning) {
"Emulab ID: $joining_uid\n".
"Email: $usr_email\n".
"User URL: $usr_URL\n".
"Title: $usr_title\n".
"Job Title: $usr_title\n".
"Affiliation: $usr_affil\n".
"Address 1: $usr_addr\n".
"Address 2: $usr_addr2\n".
......
......@@ -114,7 +114,7 @@ function SPITFORM($formfields, $errors)
# Title/Position:
#
echo "<tr>
<td colspan=2>${optfield}Title/Position:</td>
<td colspan=2>${optfield}Job Title/Position:</td>
<td class=left>
<input type=text
name=\"formfields[usr_title]\"
......@@ -487,7 +487,7 @@ if (!$wikionly) {
# WikiOnly can leave these fields blank, but must error check them anyway.
if (!isset($formfields[usr_title]) ||
strcmp($formfields[usr_title], "") == 0) {
$errors["Title/Position"] = "Missing Field";
$errors["Job Title/Position"] = "Missing Field";
}
if (!isset($formfields[usr_affil]) ||
strcmp($formfields[usr_affil], "") == 0) {
......@@ -496,7 +496,7 @@ if (!$wikionly) {
}
if (isset($formfields[usr_title]) &&
! TBvalid_title($formfields[usr_title])) {
$errors["Title/Position"] = TBFieldErrorString();
$errors["Job Title/Position"] = TBFieldErrorString();
}
if (isset($formfields[usr_affil]) &&
! TBvalid_affiliation($formfields[usr_affil])) {
......@@ -833,7 +833,7 @@ if (strcmp($defaults[usr_name], $formfields[usr_name]) ||
"ZIP/Postal Code: $usr_zip\n".
"Country: $usr_country\n".
"Phone: $usr_phone\n".
"Title: $usr_title\n".
"Job Title: $usr_title\n".
"Shell: $usr_shell\n",
"WikiOnly: $wikionly\n",
"From: $TBMAIL_OPS".
......
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003, 2005 University of Utah and the Flux Group.
# Copyright (c) 2000-2003, 2005, 2006 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -215,7 +215,7 @@ function SPITFORM($formfields, $returning, $errors)
# Title/Position:
#
echo "<tr>
<td colspan=2>*Title/Position:</td>
<td colspan=2>*Job Title/Position:</td>
<td class=left>
<input type=text
name=\"formfields[usr_title]\"
......@@ -650,10 +650,10 @@ if (! $returning) {
}
if (!isset($formfields[usr_title]) ||
strcmp($formfields[usr_title], "") == 0) {
$errors["Title/Position"] = "Missing Field";
$errors["Job Title/Position"] = "Missing Field";
}
elseif (! TBvalid_title($formfields[usr_title])) {
$errors["Title/Position"] = TBFieldErrorString();
$errors["Job Title/Position"] = TBFieldErrorString();
}
if (!isset($formfields[usr_name]) ||
strcmp($formfields[usr_name], "") == 0) {
......@@ -1155,7 +1155,7 @@ if ($returning || $FirstInitState) {
"Why Not Public: $proj_whynotpublic\n".
"Link to Us?: $proj_linked\n".
"Funders: $proj_funders\n".
"Title: $usr_title\n".
"Job Title: $usr_title\n".
"Affiliation: $usr_affil\n".
"Address 1: $usr_addr\n".
"Address 2: $usr_addr2\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