Version 3.2.3
This commit is contained in:
1 parent
ae5c01cc78
commit
78706903a2
2641 files changed
+228363
-201264
No files matched your search
@@ -2,39 +2,69 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.1.4
|
||||
* IP.Board v3.2.3
|
||||
* ACP profile fields skin file
|
||||
* Last Updated: $Date: 2010-09-27 18:18:35 -0400 (Mon, 27 Sep 2010) $
|
||||
* Last Updated: $Date: 2011-09-12 20:59:05 -0400 (Mon, 12 Sep 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @link http://hatynka.in
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 6917 $
|
||||
* @version $Rev: 9483 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_profilefields extends output
|
||||
class cp_skin_profilefields
|
||||
{
|
||||
|
||||
/**
|
||||
* Prevent our main destructor being called by this class
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
}
|
||||
/**
|
||||
* Registry Object Shortcuts
|
||||
*
|
||||
* @var $registry
|
||||
* @var $DB
|
||||
* @var $settings
|
||||
* @var $request
|
||||
* @var $lang
|
||||
* @var $member
|
||||
* @var $memberData
|
||||
* @var $cache
|
||||
* @var $caches
|
||||
*/
|
||||
protected $registry;
|
||||
protected $DB;
|
||||
protected $settings;
|
||||
protected $request;
|
||||
protected $lang;
|
||||
protected $member;
|
||||
protected $memberData;
|
||||
protected $cache;
|
||||
protected $caches;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param object $registry Registry object
|
||||
* @return @e void
|
||||
*/
|
||||
public function __construct( ipsRegistry $registry )
|
||||
{
|
||||
$this->registry = $registry;
|
||||
$this->DB = $this->registry->DB();
|
||||
$this->settings =& $this->registry->fetchSettings();
|
||||
$this->request =& $this->registry->fetchRequest();
|
||||
$this->member = $this->registry->member();
|
||||
$this->memberData =& $this->registry->member()->fetchMemberData();
|
||||
$this->cache = $this->registry->cache();
|
||||
$this->caches =& $this->registry->cache()->fetchCaches();
|
||||
$this->lang = $this->registry->class_localization;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add/edit a group
|
||||
*
|
||||
* @access public
|
||||
* @param int ID
|
||||
* @param array Group data
|
||||
* @param string Page title
|
||||
@@ -58,21 +88,28 @@ $IPBHTML .= <<<HTML
|
||||
<div class='acp-box'>
|
||||
<h3>{$title}</h3>
|
||||
|
||||
<ul class='acp-form alternate_rows'>
|
||||
<li>
|
||||
<label>{$this->lang->words['cf_g_name']}</label>
|
||||
<input type='text' name='pf_group_name' value="{$data['pf_group_name']}" size='30' class='textinput'>
|
||||
</li>
|
||||
<li>
|
||||
<label>{$this->lang->words['cf_g_key']}<span class='desctext'>{$this->lang->words['cf_g_key_desc']}</span></label>
|
||||
<input type='text' name='pf_group_key' value="{$data['pf_group_key']}" size='30' class='textinput'>
|
||||
</li>
|
||||
</ul>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_g_name']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pf_group_name' value="{$data['pf_group_name']}" size='30' class='textinput'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_g_key']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pf_group_key' value="{$data['pf_group_key']}" size='30' class='textinput'><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_g_key_desc']}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='acp-actionbar'>
|
||||
<div class='centeraction'>
|
||||
<input type='submit' value='{$this->lang->words['cf_g_save']}' class='button primary' accesskey='s'>
|
||||
</div>
|
||||
<input type='submit' value='{$this->lang->words['cf_g_save']}' class='button primary' accesskey='s'>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -82,72 +119,9 @@ HTML;
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* List all the gropus
|
||||
*
|
||||
* @access public
|
||||
* @param array Groups
|
||||
* @return string HTML
|
||||
*/
|
||||
public function groupList( $rows )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['cf_g_groups']}</h2>
|
||||
<ul class='context_menu'>
|
||||
<li><a href='{$this->settings['base_url']}{$this->form_code}do=group_form_add'><img src='{$this->settings['skin_acp_url']}/_newimages/icons/add.png' alt='' /> {$this->lang->words['cf_g_add']}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['cf_g_groups']}</h3>
|
||||
|
||||
<table class='alternate_rows' width='100%'>
|
||||
HTML;
|
||||
|
||||
if( ! count( $rows ) )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td>{$this->lang->words['cf_nonefound']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach( $rows as $r )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td width='95%'><strong>{$r['pf_group_name']}</strong><div class='graytext'>({$r['pf_group_key']})</div></td>
|
||||
<td width='5%'>
|
||||
<img class='ipbmenu' id="menu{$r['pf_group_id']}" src='{$this->settings['skin_acp_url']}/_newimages/menu_open.png' alt='{$this->lang->words['a_options']}' />
|
||||
<ul class='acp-menu' id='menu{$r['pf_group_id']}_menucontent'>
|
||||
<li class='icon edit'><a href='{$this->settings['base_url']}{$this->form_code}&do=group_form_edit&id={$r['pf_group_id']}'>{$this->lang->words['cf_g_edit']}</a></li>
|
||||
<li class='icon delete'><a href='#' onclick='return acp.confirmDelete("{$this->settings['base_url']}{$this->form_code}&do=group_form_delete&id={$r['pf_group_id']}")'>{$this->lang->words['cf_g_delete']}</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* List custom profile fields
|
||||
*
|
||||
* @access public
|
||||
* @param array Fields
|
||||
* @return string HTML
|
||||
*/
|
||||
@@ -160,135 +134,147 @@ $IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['cf_management']}</h2>
|
||||
<ul class='context_menu'>
|
||||
<li><a href='{$this->settings['base_url']}{$this->form_code}do=add'><img src='{$this->settings['skin_acp_url']}/_newimages/icons/add.png' alt='' /> {$this->lang->words['cf_addbutton']}</a></li>
|
||||
<li><a href='{$this->settings['base_url']}{$this->form_code}do=add'><img src='{$this->settings['skin_acp_url']}/images/icons/add.png' alt='' /> {$this->lang->words['cf_addbutton']}</a></li>
|
||||
<li><a href='{$this->settings['base_url']}{$this->form_code}do=group_form_add'><img src='{$this->settings['skin_acp_url']}/images/icons/folder_add.png' alt='' /> {$this->lang->words['cf_g_add']}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['cf_management']}</h3>
|
||||
<div>
|
||||
<table width='100%'>
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<td class='tablesubheader' style='width: 2%'> </td>
|
||||
<td class='tablesubheader' style='width: 24%'>{$this->lang->words['cf_title']}</td>
|
||||
<td class='tablesubheader' style='width: 20%'>{$this->lang->words['cf_type']}</td>
|
||||
<td class='tablesubheader' style='width: 13%; text-align: center;'>{$this->lang->words['cf_required']}</td>
|
||||
<td class='tablesubheader' style='width: 13%; text-align: center;'>{$this->lang->words['cf_notpublic']}</td>
|
||||
<td class='tablesubheader' style='width: 13%; text-align: center;'>{$this->lang->words['cf_showreg']}</td>
|
||||
<td class='tablesubheader' style='width: 13%; text-align: center;'>{$this->lang->words['cf_adminonly']}</td>
|
||||
<td class='tablesubheader' style='width: 2%; text-align: center;'> </td>
|
||||
<th style='width: 2%'> </td>
|
||||
<th style='width: 24%'>{$this->lang->words['cf_title']}</td>
|
||||
<th style='width: 12%'>{$this->lang->words['cf_type']}</td>
|
||||
<th style='width: 15%; text-align: center;'>{$this->lang->words['cf_required']}</td>
|
||||
<th style='width: 15%; text-align: center;'>{$this->lang->words['cf_notpublic']}</td>
|
||||
<th style='width: 15%; text-align: center;'>{$this->lang->words['cf_showreg']}</td>
|
||||
<th style='width: 15%; text-align: center;'>{$this->lang->words['cf_adminonly']}</td>
|
||||
<th class='col_buttons'> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
if( ! count( $rows ) )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<li style='width:100%; clear:both;'>
|
||||
<div style='width:100%;'>{$this->lang->words['cf_nonefound']}</div>
|
||||
</li>
|
||||
</ul>
|
||||
<tr>
|
||||
<td colspan='8' class='no_messages'>
|
||||
{$this->lang->words['cf_nonefound']}
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
</ul>
|
||||
HTML;
|
||||
|
||||
$incrementer = 1;
|
||||
|
||||
|
||||
foreach( $rows as $group => $fields )
|
||||
{
|
||||
if( is_array($fields) )
|
||||
{
|
||||
$_groupData = array_rand($fields, 1);
|
||||
$_id = $fields[ $_groupData ]['pf_group_id'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$_id = $fields;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<ul id='handle_{$incrementer}' class='alternate_rows'>
|
||||
<li class='tablesubsubheader'>
|
||||
<strong>{$group}</strong>
|
||||
</li>
|
||||
<tr>
|
||||
<td colspan='8' class='no_pad'>
|
||||
<table class='ipsTable' id='handle_{$incrementer}'>
|
||||
<tr class='ipsControlRow'>
|
||||
<th class='subhead col_drag'> </th>
|
||||
<th colspan='6' class='subhead'>{$group}</th>
|
||||
<th class='subhead col_buttons'>
|
||||
<ul class='ipsControlStrip'>
|
||||
<li class='i_edit'>
|
||||
<a href='{$this->settings['base_url']}{$this->form_code}&do=group_form_edit&id={$_id}'>{$this->lang->words['cf_g_edit']}</a>
|
||||
</li>
|
||||
<li class='i_delete'>
|
||||
<a href='#' onclick='return acp.confirmDelete("{$this->settings['base_url']}{$this->form_code}&do=group_form_delete&id={$_id}")'>{$this->lang->words['cf_g_delete']}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array($fields) AND count($fields) )
|
||||
{
|
||||
foreach( $fields as $r )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<li class='isDraggable' style='width:100%;' id='field_{$r['pf_id']}'>
|
||||
<table width='100%' cellpadding='0' cellspacing='0' class='double_pad'>
|
||||
<tr>
|
||||
<td style='width: 2%'>
|
||||
<div class='draghandle'><img src='{$this->settings['skin_acp_url']}/_newimages/drag_icon.png' alt='drag' /></div>
|
||||
</td>
|
||||
<td style='width: 24%'>
|
||||
<tr id='fields_{$r['pf_id']}' class='ipsControlRow isDraggable sortable_{$incrementer}'>
|
||||
<td class='col_drag'>
|
||||
<div class='draghandle'>Drag</div>
|
||||
</td>
|
||||
<td style='width: 24%'>
|
||||
HTML;
|
||||
if( $r['pf_icon'] )
|
||||
{
|
||||
$IPBHTML .= "<img src='{$this->settings['public_dir']}{$r['pf_icon']}' alt='Иконка' /> ";
|
||||
$IPBHTML .= "<img src='{$this->settings['public_dir']}{$r['pf_icon']}' alt='Icon' /> ";
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<a href="{$this->settings['base_url']}{$this->form_code}do=edit&id={$r['pf_id']}"><strong>{$r['pf_title']}</strong></a>
|
||||
<a href="{$this->settings['base_url']}{$this->form_code}do=edit&id={$r['pf_id']}"><span class='larger_text'>{$r['pf_title']}</span></a>
|
||||
HTML;
|
||||
if( $r['pf_desc'] )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<br /><span class='desctext'>{$r['pf_desc']}</span>
|
||||
<br /><span class='desctext'>{$r['pf_desc']}</span>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</td>
|
||||
<td style='width: 20%'>
|
||||
{$r['pf_type']}
|
||||
</td>
|
||||
<td style='width: 13%; text-align: center;'>
|
||||
<img src='{$this->settings['skin_acp_url']}/_newimages/icons/{$r['_req']}' alt='Иконка' />
|
||||
</td>
|
||||
<td style='width: 13%; text-align: center;'>
|
||||
<img src='{$this->settings['skin_acp_url']}/_newimages/icons/{$r['_hide']}' alt='Иконка' />
|
||||
</td>
|
||||
<td style='width: 13%; text-align: center;'>
|
||||
<img src='{$this->settings['skin_acp_url']}/_newimages/icons/{$r['_regi']}' alt='Иконка' />
|
||||
</td>
|
||||
<td style='width: 13%; text-align: center;'>
|
||||
<img src='{$this->settings['skin_acp_url']}/_newimages/icons/{$r['_admin']}' alt='Иконка' />
|
||||
</td>
|
||||
<td style='width: 2%'>
|
||||
<img class='ipbmenu' id="menu{$r['pf_id']}" src='{$this->settings['skin_acp_url']}/_newimages/menu_open.png' alt='{$this->lang->words['a_options']}' />
|
||||
<ul class='acp-menu' id='menu{$r['pf_id']}_menucontent'>
|
||||
<li class='icon edit'><a href="{$this->settings['base_url']}{$this->form_code}do=edit&id={$r['pf_id']}">{$this->lang->words['cf_edit']}</a></li>
|
||||
<li class='icon delete'><a href="{$this->settings['base_url']}{$this->form_code}do=delete&id={$r['pf_id']}">{$this->lang->words['cf_delete']}</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</td>
|
||||
<td style='width: 12%'>
|
||||
<span class='desctext'>{$r['pf_type']}</span>
|
||||
</td>
|
||||
<td style='width: 15%; text-align: center;'>
|
||||
<img src='{$this->settings['skin_acp_url']}/images/icons/{$r['_req']}' alt='Icon' />
|
||||
</td>
|
||||
<td style='width: 15%; text-align: center;'>
|
||||
<img src='{$this->settings['skin_acp_url']}/images/icons/{$r['_hide']}' alt='Icon' />
|
||||
</td>
|
||||
<td style='width: 15%; text-align: center;'>
|
||||
<img src='{$this->settings['skin_acp_url']}/images/icons/{$r['_regi']}' alt='Icon' />
|
||||
</td>
|
||||
<td style='width: 15%; text-align: center;'>
|
||||
<img src='{$this->settings['skin_acp_url']}/images/icons/{$r['_admin']}' alt='Icon' />
|
||||
</td>
|
||||
<td class='col_buttons'>
|
||||
<ul class='ipsControlStrip'>
|
||||
<li class='i_edit'>
|
||||
<a href="{$this->settings['base_url']}{$this->form_code}do=edit&id={$r['pf_id']}" title='{$this->lang->words['cf_edit']}'>{$this->lang->words['cf_edit']}</a>
|
||||
</li>
|
||||
<li class='i_delete'>
|
||||
<a href="{$this->settings['base_url']}{$this->form_code}do=delete&id={$r['pf_id']}" title='{$this->lang->words['cf_delete']}'>{$this->lang->words['cf_delete']}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</ul>
|
||||
<script type="text/javascript">
|
||||
dropItLikeItsHot{$incrementer} = function( draggableObject, mouseObject )
|
||||
{
|
||||
var options = {
|
||||
method : 'post',
|
||||
parameters : Sortable.serialize( 'handle_{$incrementer}', { tag: 'li', name: 'fields' } )
|
||||
};
|
||||
|
||||
new Ajax.Request( "{$this->settings['base_url']}&{$this->form_code_js}&do=reorder&md5check={$this->registry->adminFunctions->getSecurityKey()}".replace( /&/g, '&' ), options );
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
Sortable.create( 'handle_{$incrementer}', { only: 'isDraggable', revert: true, format: 'field_([0-9]+)', onUpdate: dropItLikeItsHot{$incrementer}, handle: 'draghandle' } );
|
||||
|
||||
</script>
|
||||
</table>
|
||||
<script type='text/javascript'>
|
||||
jQ("#handle_{$incrementer}").ipsSortable('table', { items: "tr.sortable_{$incrementer}", url: "{$this->settings['base_url']}&{$this->form_code_js}&do=reorder&md5check={$this->registry->adminFunctions->getSecurityKey()}".replace( /&/g, '&' )});
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
$incrementer++;
|
||||
}
|
||||
|
||||
$incrementer++;
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
|
||||
</table>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
@@ -299,7 +285,6 @@ return $IPBHTML;
|
||||
/**
|
||||
* Add/edit profile field form
|
||||
*
|
||||
* @access public
|
||||
* @param int ID
|
||||
* @param string Action
|
||||
* @param string Button text
|
||||
@@ -324,169 +309,169 @@ $IPBHTML .= <<<HTML
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['cf_settings']}</h3>
|
||||
|
||||
<table class='form_table double_pad alternate_rows' cellspacing='0' cellpadding='0'>
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<td style='width: 40%;'>
|
||||
<label>{$this->lang->words['cf_f_title']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_title']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pf_title' value="{$data['pf_title']}" size='30' class='input_text' maxlength='200' /><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_title_info']}</span>
|
||||
</td>
|
||||
<td style='width: 60%'>
|
||||
<input type='text' name='pf_title' value="{$data['pf_title']}" size='30' class='textinput' maxlength='200'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_desc']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_desc']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pf_desc' value="{$data['pf_desc']}" size='50' class='input_text' maxlength='250' /><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_desc_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type='text' name='pf_desc' value="{$data['pf_desc']}" size='50' class='textinput' maxlength='250'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_type']}</label>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_type']}</strong>
|
||||
</td>
|
||||
<td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_type']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_group']}</label>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_group']}</strong>
|
||||
</td>
|
||||
<td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_group_id']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_icon']}</label>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_icon']}</strong>
|
||||
</td>
|
||||
<td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_icon']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_key']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_key']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_key']}<br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_key_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
{$data['pf_key']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_max']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_max']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pf_max_input' value="{$data['pf_max_input']}" size='30' class='input_text' /><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_max_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type='text' name='pf_max_input' value="{$data['pf_max_input']}" size='30' class='textinput'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_order']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_order']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pf_position' value="{$data['pf_position']}" size='30' class='input_text' /><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_order_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type='text' name='pf_position' value="{$data['pf_position']}" size='30' class='textinput'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_form']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_form']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pf_input_format' value="{$data['pf_input_format']}" size='30' class='input_text' /><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_form_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
<input type='text' name='pf_input_format' value="{$data['pf_input_format']}" size='30' class='textinput'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_option']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_option']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<textarea name='pf_content' cols='45' rows='5' wrap='soft' id='pf_content' class='multitext'>{$data['pf_content']}</textarea><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_option_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
<textarea name='pf_content' cols='45' rows='5' wrap='soft' id='pf_content' class='multitext'>{$data['pf_content']}</textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_srch_type']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_srch_type']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_search_type']}<br />
|
||||
<span class='desctext'>{$this->lang->words['cf_srch_type_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
{$data['pf_search_type']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_filter_type']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_filter_type']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_filtering']}<br />
|
||||
<span class='desctext'>{$this->lang->words['cf_filter_type_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
{$data['pf_filtering']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_reg']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_reg']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_show_on_reg']}<br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_reg_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
{$data['pf_show_on_reg']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_must']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_must']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_not_null']}<br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_must_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
{$data['pf_not_null']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_edit']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_edit']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_member_edit']}<br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_edit_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
{$data['pf_member_edit']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_priv']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_priv']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_member_hide']}<br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_priv_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
{$data['pf_member_hide']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_admin']}</label><br />
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_admin']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$data['pf_admin_only']}<br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_admin_info']}</span>
|
||||
</td>
|
||||
<td>
|
||||
{$data['pf_admin_only']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label>{$this->lang->words['cf_f_view']}</label><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_view_info']}</span>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_f_view']}</strong>
|
||||
</td>
|
||||
<td>
|
||||
<textarea name='pf_topic_format' cols='60' rows='5' wrap='soft' id='pf_topic_format' class='multitext'>{$data['pf_topic_format']}</textarea>
|
||||
<td class='field_field'>
|
||||
<textarea name='pf_topic_format' cols='60' rows='5' wrap='soft' id='pf_topic_format' class='multitext'>{$data['pf_topic_format']}</textarea><br />
|
||||
<span class='desctext'>{$this->lang->words['cf_f_view_info']}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value=' {$button} ' class='realbutton' accesskey='s' />
|
||||
<input type='submit' value='{$button}' class='button primary' accesskey='s' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@@ -499,7 +484,6 @@ return $IPBHTML;
|
||||
/**
|
||||
* Delete field confirmation
|
||||
*
|
||||
* @access public
|
||||
* @param int ID
|
||||
* @param string Title
|
||||
* @return string HTML
|
||||
@@ -514,19 +498,22 @@ $IPBHTML .= <<<HTML
|
||||
<input type='hidden' name='id' value='{$id}' />
|
||||
<input type='hidden' name='_admin_auth_key' value='' />
|
||||
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>{$this->lang->words['cf_removeconf']}</div>
|
||||
|
||||
<table width='100%' align='center'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['cf_removeconf']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='tablerow1' width='40%' valign='middle'>{$this->lang->words['cf_removeto']}</td>
|
||||
<td class='tablerow2' width='60%' valign='middle'><b>{$title}</b></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align='center' class='tablesubheader' colspan='2' ><input type='submit' value='{$this->lang->words['cf_deletebutton']}' class='realbutton' accesskey='s'></td>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['cf_removeto']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$title}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['cf_deletebutton']}' class='button primary' accesskey='s' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
HTML;
|
||||
|
||||
Reference in new issue
Block a user