$LabelDefault = Gdn_Format::Text(GetValue('labeldefault', $this->Data['MetaSpec'][$MetaI])); $Params = array_merge(array($this->User->Name, $this->Data['MetaSpec'][$MetaI]['name']), $Params); $MetaV = '<a href="' . $MetaV . '">' . vsprintf(T('MyMeta.' . $MetaI . '.Label', $LabelDefault ? $LabelDefault : '%2$s'), $Params) . '</a>'; } else { if ($this->Data['MetaSpec'][$MetaI]['urlformat'] && ValidateWebAddress($this->Data['MetaSpec'][$MetaI]['urlformat'])) { $LabelDefault = Gdn_Format::Text(GetValue('labeldefault', $this->Data['MetaSpec'][$MetaI])); $Params = array_merge(array($this->User->Name, $this->Data['MetaSpec'][$MetaI]['name']), $Params); $MetaV = '<a href="' . str_replace('[id]', $MetaV, $this->Data['MetaSpec'][$MetaI]['urlformat']) . '">' . vsprintf(T('MyMeta.' . $MetaI . '.Label', $LabelDefault ? $LabelDefault : '%2$s'), $Params) . '</a>'; } } } } $MetaV = $Flickr . $Picasa . $MetaV; break; case 'textbox': $MetaV = Gdn_Format::Auto($MetaV); break; case 'date': $MetaV = strftime(T('Date.DefaultFormat', '%B %e, %Y'), strtotime($MetaV)); break; } ?> <tr> <td class="Name"> <?php echo T($this->Data['MetaSpec'][$MetaI]['name']); ?> </td> <td> <?php echo $MetaV;