if(strpos($tags, '@[url') !== FALSE) {
// We have at least one @ tag
$template = $wallwall_template;
- $commentww = 'ww';
$matches = array();
preg_match_all('/\@\[url=([^\]]+)\]([^\[]+)\[\/url\]/', $tags, $matches, PREG_SET_ORDER);
$owner_url = zrl($r[0]['url']);
$owner_name = $r[0]['name'];
$owner_photo = $r[0]['photo'];
+ $commentww = 'ww';
break;
}
}
$owner_name = $matches[0][2];
// Use the nosign
$owner_photo = $a->get_baseurl() .'/images/nosign.jpg';
+ $commentww = 'ww';
}
}
}
if(strpos($tags, '@[url') !== FALSE) {
// We have at least one @ tag
$this->set_template('wall2wall');
- $this->wall_to_wall = true;
$matches = array();
preg_match_all('/\@\[url=([^\]]+)\]([^\[]+)\[\/url\]/', $tags, $matches, PREG_SET_ORDER);
$this->owner_url = zrl($r[0]['url']);
$this->owner_name = $r[0]['name'];
$this->owner_photo = $r[0]['photo'];
+ $this->wall_to_wall = true;
break;
}
}
$this->owner_name = $matches[0][2];
// Use the nosign
$this->owner_photo = $a->get_baseurl() .'/images/nosign.jpg';
+ $this->wall_to_wall = true;
}
}
}