{$this->lang->words['cf_management']}
HTML;
if( ! count( $rows ) )
{
$IPBHTML .= <<
{$this->lang->words['cf_nonefound']}
HTML;
}
else
{
$IPBHTML .= <<
HTML;
$incrementer = 1;
foreach( $rows as $group => $fields )
{
$IPBHTML .= <<
HTML;
foreach( $fields as $r )
{
$IPBHTML .= <<
|
|
HTML;
if( $r['pf_icon'] )
{
$IPBHTML .= " ";
}
$IPBHTML .= <<{$r['pf_title']}
HTML;
if( $r['pf_desc'] )
{
$IPBHTML .= << | {$r['pf_desc']}
HTML;
}
$IPBHTML .= <<
{$r['pf_type']}
|
|
|
|
|
|
HTML;
}
$IPBHTML .= <<
HTML;
$incrementer++;
}
}
$IPBHTML .= <<
HTML;
//--endhtml--//
return $IPBHTML;
}
/**
* Add/edit profile field form
*
* @access public
* @param int ID
* @param string Action
* @param string Button text
* @param array Field data
* @param string Page title
* @return string HTML
*/
public function customProfileFieldForm( $id, $do, $button, $data, $title )
{
$IPBHTML = "";
$IPBHTML .= <<
{$title}