summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-20 17:04:37 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-20 17:04:37 -0400
commit41a149b74a4628a67ed2fd85b63cb81ba48a63f9 (patch)
treefe583fa5b2585fd86d5304ae0b81449bd302ccbf
parente1f04061b9ea1261ed8805ee52cd8764fe4d9494 (diff)
fixup footer menu and fix syntax error in profile.php
darcs-hash:20080520210437-84dde-1a8472f5b5cdde042975d669b0fdca5d6984f330.gz
-rw-r--r--classes/Profile.php2
-rw-r--r--lib/util.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index d91bcf3ed..9cb486a48 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 4fef45ec1..23b944333 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');