fixup footer menu and fix syntax error in profile.php
darcs-hash:20080520210437-84dde-1a8472f5b5cdde042975d669b0fdca5d6984f330.gz
This commit is contained in:
parent
e1f04061b9
commit
41a149b74a
@ -84,7 +84,7 @@ class Profile extends DB_DataObject
|
|||||||
|
|
||||||
function validateHomepage() {
|
function validateHomepage() {
|
||||||
return (strlen($this->homepage) == 0) ||
|
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() {
|
function validateBio() {
|
||||||
|
@ -112,10 +112,10 @@ function common_show_header($pagetitle) {
|
|||||||
|
|
||||||
function common_show_footer() {
|
function common_show_footer() {
|
||||||
global $xw, $config;
|
global $xw, $config;
|
||||||
common_element_start('p', 'footer');
|
common_element_start('div', 'footer');
|
||||||
common_foot_menu();
|
common_foot_menu();
|
||||||
common_license_block();
|
common_license_block();
|
||||||
common_element_end('p');
|
common_element_end('div');
|
||||||
common_element_end('div');
|
common_element_end('div');
|
||||||
common_element_end('div');
|
common_element_end('div');
|
||||||
common_element_end('div');
|
common_element_end('div');
|
||||||
|
Loading…
Reference in New Issue
Block a user