17 require_once SQ_PACKAGES_PATH.
'/ipb/ipb_forum/ipb_forum_edit_fns.inc';
57 $ipb_bridge =& $GLOBALS[
'SQ_SYSTEM']->am->getAsset($asset->_ipbid);
58 $ipb =& $ipb_bridge->getIpbConn();
59 $tmp = explode(
':', $asset->id);
60 $forums = $ipb->getListOfForums($tmp[1]);
63 $o->openField(translate(
'list_of_root_forums'));
64 echo translate(
'no_forums_in_ipb');
67 $o->openField(translate(
'list_of_forums'));
69 <table
class=
"sq-backend-table">
71 <th style=
"width: 20%"><?php echo translate(
'name'); ?></th>
72 <th style=
"width: 50%"><?php echo translate(
'description'); ?></th>
73 <th style=
"width: 30%"><?php echo translate(
'asset'); ?></th>
76 foreach ($forums as $forum) {
77 $data = $ipb->getForumInfo($ipb_bridge->id.
':'.
'f_'.$forum[
'id']);
80 <td style=
"font-weight: bold;"><?php echo $data[
'name']; ?></td>
81 <td><?php echo $data[
'description']; ?></td>
82 <td><?php echo get_asset_tag_line($asset->_ipbid.
':'.
'r_'.$data[
'id']); ?></td>