mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 04:09:55 +09:00
merge & tag 1.4.3
git-svn-id: http://xe-core.googlecode.com/svn/trunk@7597 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
762ebbf445
commit
289973781a
200 changed files with 2296 additions and 1827 deletions
|
|
@ -141,9 +141,9 @@
|
|||
$value = $this->_getTypeValue($this->type, $this->value);
|
||||
switch($this->type) {
|
||||
case 'homepage' :
|
||||
return sprintf('<a href="%s" onclick="window.open(this.href); return false;">%s</a>', $value, $value);
|
||||
return ($value)?sprintf('<a href="%s" onclick="window.open(this.href); return false;">%s</a>', $value, $value):"";
|
||||
case 'email_address' :
|
||||
return sprintf('<a href="mailto:%s">%s</a>', $value, $value);
|
||||
return ($value)?sprintf('<a href="mailto:%s">%s</a>', $value, $value):"";
|
||||
break;
|
||||
case 'tel' :
|
||||
return sprintf('%s - %s - %s', $value[0],$value[1],$value[2]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue