]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixup footer menu and fix syntax error in profile.php
authorEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 21:04:37 +0000 (17:04 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 20 May 2008 21:04:37 +0000 (17:04 -0400)
darcs-hash:20080520210437-84dde-1a8472f5b5cdde042975d669b0fdca5d6984f330.gz

classes/Profile.php
lib/util.php

index d91bcf3ed3b5d43d817138530e4c12c1e8e285a9..9cb486a4886851396587fbdbe9d525e25e4609fd 100644 (file)
@@ -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() {
index 4fef45ec147e6b60dde3e1a373d727a4bdeba3c1..23b944333525be955be963ce5ec0aa6730bad1b4 100644 (file)
@@ -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');