From: Evan Prodromou Date: Tue, 20 May 2008 21:04:37 +0000 (-0400) Subject: fixup footer menu and fix syntax error in profile.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=41a149b74a4628a67ed2fd85b63cb81ba48a63f9;p=quix0rs-gnu-social.git fixup footer menu and fix syntax error in profile.php darcs-hash:20080520210437-84dde-1a8472f5b5cdde042975d669b0fdca5d6984f330.gz --- diff --git a/classes/Profile.php b/classes/Profile.php index d91bcf3ed3..9cb486a488 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -84,7 +84,7 @@ class Profile extends DB_DataObject function validateHomepage() { return (strlen($this->homepage) == 0) || - Validate::uri($this->homepage, array('allowed_schemes' => array('http', 'https')))); + Validate::uri($this->homepage, array('allowed_schemes' => array('http', 'https'))); } function validateBio() { diff --git a/lib/util.php b/lib/util.php index 4fef45ec14..23b9443335 100644 --- a/lib/util.php +++ b/lib/util.php @@ -112,10 +112,10 @@ function common_show_header($pagetitle) { function common_show_footer() { global $xw, $config; - common_element_start('p', 'footer'); + common_element_start('div', 'footer'); common_foot_menu(); common_license_block(); - common_element_end('p'); + common_element_end('div'); common_element_end('div'); common_element_end('div'); common_element_end('div');