18 require_once SQ_PACKAGES_PATH.
'/ipb/ipb_forum/ipb_forum_edit_fns.inc';
58 $starter_name = $asset->attr(
'starter_name');
59 if (!empty($starter_name)) {
61 $ipb_bridge =& $GLOBALS[
'SQ_SYSTEM']->am->getAsset($asset->_ipbid);
62 $ipb =& $ipb_bridge->getIpbConn();
63 $result = $ipb->getMemberInfoByName($starter_name);
65 $o->openField(translate(
'topic_started_by'));
66 echo get_asset_tag_line($asset->_ipbid.
':'.
'u_'.$result[
'id']);
71 $o->openField(translate(
'topic_started_by'));
72 echo translate(
'none');
94 $last_poster_name = $asset->attr(
'last_poster_name');
95 if (!empty($last_poster_name)) {
97 $ipb_bridge =& $GLOBALS[
'SQ_SYSTEM']->am->getAsset($asset->_ipbid);
98 $ipb =& $ipb_bridge->getIpbConn();
99 $result = $ipb->getMemberInfoByName($asset->attr(
'last_poster_name'));
101 $o->openField(translate(
'last_posted_by'));
102 echo get_asset_tag_line($asset->_ipbid.
':'.
'u_'.$result[
'id']);
107 $o->openField(translate(
'last_posted_by'));
108 echo translate(
'none');