* Invision Power Services * IP.Board v3.1.4 * ACP profile fields skin file * Last Updated: $Date: 2010-09-27 18:18:35 -0400 (Mon, 27 Sep 2010) $ * * * @author $Author: bfarber $ * @copyright (c) 2001 - 2009 Invision Power Services, Inc. * @license http://www.invisionpower.com/community/board/license.html * @package IP.Board * @subpackage Members * @link http://www.invisionpower.com * @since 20th February 2002 * @version $Rev: 6917 $ * */ class cp_skin_profilefields extends output { /** * Prevent our main destructor being called by this class * * @access public * @return void */ public function __destruct() { } /** * Add/edit a group * * @access public * @param int ID * @param array Group data * @param string Page title * @param string Action * @return string HTML */ public function groupForm( $id, $data, $title, $do ) { $IPBHTML = ""; //--starthtml--// $IPBHTML .= <<
| {$this->lang->words['cf_nonefound']} | HTML; } else { foreach( $rows as $r ) { $IPBHTML .= <<{$r['pf_group_name']} ({$r['pf_group_key']}) |
|
HTML;
}
}
$IPBHTML .= <<
HTML;
//--endhtml--//
return $IPBHTML;
}
/**
* List custom profile fields
*
* @access public
* @param array Fields
* @return string HTML
*/
public function customProfileFieldsList( $rows )
{
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<
|||||
| {$this->lang->words['cf_title']} | {$this->lang->words['cf_type']} | {$this->lang->words['cf_required']} | {$this->lang->words['cf_notpublic']} | {$this->lang->words['cf_showreg']} | {$this->lang->words['cf_adminonly']} |
|
|
HTML;
if( $r['pf_icon'] )
{
$IPBHTML .= " | {$r['pf_desc']}
HTML;
}
$IPBHTML .= <<
{$r['pf_type']} |
|
|
|
|
|
| {$this->lang->words['cf_removeto']} | {$title} |