$output.=form_textfield("Name","site_name",variable_get("site_name","drupal"),55,55,"The name of this website.");
$output.=form_textfield("E-mail address","site_mail",variable_get("site_mail","root@localhost"),55,128,"A valid e-mail address for this website, used by the auto-mailer to create new user accounts.");
$output.=form_textfield("E-mail address","site_mail",variable_get("site_mail",ini_get("sendmail_from")),55,128,"A valid e-mail address for this website, used by the auto-mailer to create new user accounts.");
$output.=form_textfield("Slogan","site_slogan",variable_get("site_slogan",""),55,128,"The slogan of this website");
$output.=form_textarea("Mission","site_mission",variable_get("site_mission",""),55,5,"Your site's mission statement or focus.");
$output.=form_textarea("Footer message","site_footer",variable_get("site_footer",""),55,5,"This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages.");
$output.=form_textfield("Name","site_name",variable_get("site_name","drupal"),55,55,"The name of this website.");
$output.=form_textfield("E-mail address","site_mail",variable_get("site_mail","root@localhost"),55,128,"A valid e-mail address for this website, used by the auto-mailer to create new user accounts.");
$output.=form_textfield("E-mail address","site_mail",variable_get("site_mail",ini_get("sendmail_from")),55,128,"A valid e-mail address for this website, used by the auto-mailer to create new user accounts.");
$output.=form_textfield("Slogan","site_slogan",variable_get("site_slogan",""),55,128,"The slogan of this website");
$output.=form_textarea("Mission","site_mission",variable_get("site_mission",""),55,5,"Your site's mission statement or focus.");
$output.=form_textarea("Footer message","site_footer",variable_get("site_footer",""),55,5,"This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages.");
@@ -781,7 +781,7 @@ function user_pass($edit = array()) {
if($edit["name"]&&$edit["mail"]){
if($account=db_fetch_object(db_query("SELECT uid FROM users WHERE name = '".check_input($edit["name"])."' AND mail = '".check_input($edit["mail"])."'"))){
@@ -781,7 +781,7 @@ function user_pass($edit = array()) {
if($edit["name"]&&$edit["mail"]){
if($account=db_fetch_object(db_query("SELECT uid FROM users WHERE name = '".check_input($edit["name"])."' AND mail = '".check_input($edit["mail"])."'"))){