Version 3.3.4
This commit is contained in:
1 parent
78706903a2
commit
fb6b5baabc
2206 files changed
+409828
-382984
No files matched your search
@@ -1,269 +1,269 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* ACP ban filters skin file
|
||||
* Last Updated: $Date: 2011-08-19 20:27:50 -0400 (Fri, 19 Aug 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://hatynka.in
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 9401 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_banfilters
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ban filter overview screen
|
||||
*
|
||||
* @param array IPs
|
||||
* @param array Emails
|
||||
* @param array Usernames
|
||||
* @return string HTML
|
||||
*/
|
||||
public function banOverview( $ips, $emails, $names ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$canRemove = $this->registry->class_permissions->checkPermission( 'ban_remove' );
|
||||
|
||||
/* Ban types */
|
||||
$ban = array();
|
||||
$ban['bantype'] = $this->registry->output->formDropdown( 'bantype', array( array( 'ip', $this->lang->words['ban_ip'] ), array( 'email', $this->lang->words['ban_email'] ), array( 'name', $this->lang->words['ban_name'] ) ) );
|
||||
$ban['bantext'] = $this->registry->output->formSimpleInput( 'bantext', '', 50 );
|
||||
$ban['banreason'] = $this->registry->output->formSimpleInput( 'banreason', '', 50 );
|
||||
|
||||
/* Remove new lines from the type dropdown or JS won't be happy.. */
|
||||
$ban['bantype'] = IPSText::br2nl($ban['bantype']);
|
||||
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['ban_title']}</h2>
|
||||
<div class='ipsActionBar clearfix'>
|
||||
<ul>
|
||||
<li class='ipsActionButton'>
|
||||
<a href='#' id='add_banfilter' title='{$this->lang->words['ban_addnew']}'><img src='{$this->settings['skin_acp_url']}/images/icons/add.png' alt='' /> {$this->lang->words['ban_addnew']}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script tyle='text/javascript' src='{$this->settings['js_app_url']}acp.banfilters.js'></script>
|
||||
<form method='post' id='ban-delete' action='{$this->settings['base_url']}{$this->form_code}'>
|
||||
<input type='hidden' name='do' value='ban_delete' />
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->registry->adminFunctions->_admin_auth_key}' />
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['ban_bancontrol']}</h3>
|
||||
|
||||
<div id='tabstrip_banForm' class='ipsTabBar with_left with_right'>
|
||||
<span class='tab_left'>«</span>
|
||||
<span class='tab_right'>»</span>
|
||||
<ul>
|
||||
<li id='tab_BanIps'>{$this->lang->words['ban_ips']}</li>
|
||||
<li id='tab_BanEmails'>{$this->lang->words['ban_emails']}</li>
|
||||
<li id='tab_BanNames'>{$this->lang->words['ban_names']}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id='tabstrip_banForm_content' class='ipsTabBar_content'>
|
||||
|
||||
<!-- IP ADDRESSES -->
|
||||
<div id='tab_BanIps_content'>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<th width='1%'> </th>
|
||||
<th width='15%'>{$this->lang->words['ban_ip']}</th>
|
||||
<th width='60%'>{$this->lang->words['ban_form_reason']}</th>
|
||||
<th width='24%'>{$this->lang->words['ban_added_on']}</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array( $ips ) && count( $ips ) )
|
||||
{
|
||||
foreach( $ips as $r )
|
||||
{
|
||||
$checkbox = $canRemove ? "<input type='checkbox' name='banid_{$r['ban_id']}' value='1' />" : '';
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td>{$checkbox}</td>
|
||||
<td>{$r['ban_content']}</td>
|
||||
<td>{$r['ban_reason']}</td>
|
||||
<td>{$r['_date']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='4'>{$this->lang->words['ban_ips_none']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- EMAIL ADDRESSES -->
|
||||
<div id='tab_BanEmails_content'>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<th width='1%'> </th>
|
||||
<th width='20%'>{$this->lang->words['ban_email']}</th>
|
||||
<th width='55%'>{$this->lang->words['ban_form_reason']}</th>
|
||||
<th width='24%'>{$this->lang->words['ban_added_on']}</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array( $emails ) && count( $emails ) )
|
||||
{
|
||||
foreach( $emails as $r )
|
||||
{
|
||||
$checkbox = $canRemove ? "<input type='checkbox' name='banid_{$r['ban_id']}' value='1' />" : '';
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td>{$checkbox}</td>
|
||||
<td>{$r['ban_content']}</td>
|
||||
<td>{$r['ban_reason']}</td>
|
||||
<td>{$r['_date']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='4'>{$this->lang->words['ban_emails_none']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- NAMES -->
|
||||
<div id='tab_BanNames_content'>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<th width='1%'> </th>
|
||||
<th width='15%'>{$this->lang->words['ban_name']}</th>
|
||||
<th width='60%'>{$this->lang->words['ban_form_reason']}</th>
|
||||
<th width='24%'>{$this->lang->words['ban_added_on']}</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array( $names ) && count( $names ) )
|
||||
{
|
||||
foreach( $names as $r )
|
||||
{
|
||||
$checkbox = $canRemove ? "<input type='checkbox' name='banid_{$r['ban_id']}' value='1' />" : '';
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td>{$checkbox}</td>
|
||||
<td>{$r['ban_content']}</td>
|
||||
<td>{$r['ban_reason']}</td>
|
||||
<td>{$r['_date']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='4'>{$this->lang->words['ban_names_none']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<script type='text/javascript'>
|
||||
jQ("#tabstrip_banForm").ipsTabBar({ tabWrap: "#tabstrip_banForm_content" });
|
||||
</script>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
if ( $canRemove )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['ban_deletebutton']}' class='realbutton redbutton' />
|
||||
</div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script type='text/javascript'>
|
||||
ipb.templates['add_banfilter'] = "<div class='acp-box'><h3>{$this->lang->words['ban_addnew']}</h3><form action='{$this->settings['base_url']}{$this->form_code}do=ban_add' method='post'><table class='ipsTable double_pad'><tr><td class='field_title' style='min-width:100px;'><strong class='title'>{$this->lang->words['ban_form_type']}</strong></td><td class='field_field'>{$ban['bantype']}</td></tr><tr><td class='field_title' style='min-width:100px;'><strong class='title'>{$this->lang->words['ban_form_filter']}</strong></td><td class='field_field'>{$ban['bantext']}<br /><span class='desctext'>{$this->lang->words['ban_form_filter_desc']}</span></td></tr><tr><td class='field_title' style='min-width:100px;'><strong class='title'>{$this->lang->words['ban_form_reason']}</strong></td><td class='field_field'>{$ban['banreason']}<br /><span class='desctext'>{$this->lang->words['ban_form_reason_desc']}</span></td></tr></table><div class='acp-actionbar'><input type='submit' value='{$this->lang->words['ban_addnew']}' class='button primary' /></div></form></div>";
|
||||
</script>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* ACP ban filters skin file
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_banfilters
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ban filter overview screen
|
||||
*
|
||||
* @param array IPs
|
||||
* @param array Emails
|
||||
* @param array Usernames
|
||||
* @return string HTML
|
||||
*/
|
||||
public function banOverview( $ips, $emails, $names ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$canRemove = $this->registry->class_permissions->checkPermission( 'ban_remove' );
|
||||
|
||||
/* Ban types */
|
||||
$ban = array();
|
||||
$ban['bantype'] = $this->registry->output->formDropdown( 'bantype', array( array( 'ip', $this->lang->words['ban_ip'] ), array( 'email', $this->lang->words['ban_email'] ), array( 'name', $this->lang->words['ban_name'] ) ) );
|
||||
$ban['bantext'] = $this->registry->output->formSimpleInput( 'bantext', '', 50 );
|
||||
$ban['banreason'] = $this->registry->output->formSimpleInput( 'banreason', '', 50 );
|
||||
|
||||
/* Remove new lines from the type dropdown or JS won't be happy.. */
|
||||
$ban['bantype'] = IPSText::br2nl($ban['bantype']);
|
||||
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['ban_title']}</h2>
|
||||
<div class='ipsActionBar clearfix'>
|
||||
<ul>
|
||||
<li class='ipsActionButton'>
|
||||
<a href='#' id='add_banfilter' title='{$this->lang->words['ban_addnew']}'><img src='{$this->settings['skin_acp_url']}/images/icons/add.png' alt='' /> {$this->lang->words['ban_addnew']}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script tyle='text/javascript' src='{$this->settings['js_app_url']}acp.banfilters.js'></script>
|
||||
<form method='post' id='ban-delete' action='{$this->settings['base_url']}{$this->form_code}'>
|
||||
<input type='hidden' name='do' value='ban_delete' />
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->registry->adminFunctions->_admin_auth_key}' />
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['ban_bancontrol']}</h3>
|
||||
|
||||
<div id='tabstrip_banForm' class='ipsTabBar with_left with_right'>
|
||||
<span class='tab_left'>«</span>
|
||||
<span class='tab_right'>»</span>
|
||||
<ul>
|
||||
<li id='tab_BanIps'>{$this->lang->words['ban_ips']}</li>
|
||||
<li id='tab_BanEmails'>{$this->lang->words['ban_emails']}</li>
|
||||
<li id='tab_BanNames'>{$this->lang->words['ban_names']}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id='tabstrip_banForm_content' class='ipsTabBar_content'>
|
||||
|
||||
<!-- IP ADDRESSES -->
|
||||
<div id='tab_BanIps_content'>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<th width='1%'> </th>
|
||||
<th width='15%'>{$this->lang->words['ban_ip']}</th>
|
||||
<th width='60%'>{$this->lang->words['ban_form_reason']}</th>
|
||||
<th width='24%'>{$this->lang->words['ban_added_on']}</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array( $ips ) && count( $ips ) )
|
||||
{
|
||||
foreach( $ips as $r )
|
||||
{
|
||||
$checkbox = $canRemove ? "<input type='checkbox' name='banid_{$r['ban_id']}' value='1' />" : '';
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td>{$checkbox}</td>
|
||||
<td>{$r['ban_content']}</td>
|
||||
<td>{$r['ban_reason']}</td>
|
||||
<td>{$r['_date']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='4'>{$this->lang->words['ban_ips_none']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- EMAIL ADDRESSES -->
|
||||
<div id='tab_BanEmails_content'>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<th width='1%'> </th>
|
||||
<th width='20%'>{$this->lang->words['ban_email']}</th>
|
||||
<th width='55%'>{$this->lang->words['ban_form_reason']}</th>
|
||||
<th width='24%'>{$this->lang->words['ban_added_on']}</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array( $emails ) && count( $emails ) )
|
||||
{
|
||||
foreach( $emails as $r )
|
||||
{
|
||||
$checkbox = $canRemove ? "<input type='checkbox' name='banid_{$r['ban_id']}' value='1' />" : '';
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td>{$checkbox}</td>
|
||||
<td>{$r['ban_content']}</td>
|
||||
<td>{$r['ban_reason']}</td>
|
||||
<td>{$r['_date']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='4'>{$this->lang->words['ban_emails_none']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- NAMES -->
|
||||
<div id='tab_BanNames_content'>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<th width='1%'> </th>
|
||||
<th width='15%'>{$this->lang->words['ban_name']}</th>
|
||||
<th width='60%'>{$this->lang->words['ban_form_reason']}</th>
|
||||
<th width='24%'>{$this->lang->words['ban_added_on']}</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array( $names ) && count( $names ) )
|
||||
{
|
||||
foreach( $names as $r )
|
||||
{
|
||||
$checkbox = $canRemove ? "<input type='checkbox' name='banid_{$r['ban_id']}' value='1' />" : '';
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td>{$checkbox}</td>
|
||||
<td>{$r['ban_content']}</td>
|
||||
<td>{$r['ban_reason']}</td>
|
||||
<td>{$r['_date']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='4'>{$this->lang->words['ban_names_none']}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<script type='text/javascript'>
|
||||
jQ("#tabstrip_banForm").ipsTabBar({ tabWrap: "#tabstrip_banForm_content" });
|
||||
</script>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
if ( $canRemove )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['ban_deletebutton']}' class='realbutton redbutton' />
|
||||
</div>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script type='text/javascript'>
|
||||
ipb.templates['add_banfilter'] = "<div class='acp-box'><h3>{$this->lang->words['ban_addnew']}</h3><form action='{$this->settings['base_url']}{$this->form_code}do=ban_add' method='post'><table class='ipsTable double_pad'><tr><td class='field_title' style='min-width:100px;'><strong class='title'>{$this->lang->words['ban_form_type']}</strong></td><td class='field_field'>{$ban['bantype']}</td></tr><tr><td class='field_title' style='min-width:100px;'><strong class='title'>{$this->lang->words['ban_form_filter']}</strong></td><td class='field_field'>{$ban['bantext']}<br /><span class='desctext'>{$this->lang->words['ban_form_filter_desc']}</span></td></tr><tr><td class='field_title' style='min-width:100px;'><strong class='title'>{$this->lang->words['ban_form_reason']}</strong></td><td class='field_field'>{$ban['banreason']}<br /><span class='desctext'>{$this->lang->words['ban_form_reason_desc']}</span></td></tr></table><div class='acp-actionbar'><input type='submit' value='{$this->lang->words['ban_addnew']}' class='button primary' /></div></form></div>";
|
||||
</script>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,340 +1,327 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* ACP member forms skin file
|
||||
* Last Updated: $Date: 2011-09-20 18:16:05 -0400 (Tue, 20 Sep 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: rtissier $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://hatynka.in
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 9519 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_member_form
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ban member dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @param array Form data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_ban_member_form( $member, $form )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<form action='{$this->settings['base_url']}&module=members&section=members&do=ban_member&member_id={$member['member_id']}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['sm_banmanage']}</h3>
|
||||
<div class='fixed_inner'>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_banperm']}</strong></td>
|
||||
<td class='field_field'>{$form['member']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_movefrom']} '{$member['_group_title']}' {$this->lang->words['mf_to']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['groups_confirm']}
|
||||
{$form['groups']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_banemail']} '{$member['email']}'</strong></td>
|
||||
<td class='field_field'>{$form['email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_banname']} '{$member['name']}'</strong></td>
|
||||
<td class='field_field'>{$form['name']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
if( $form['ips'] && count( $form['ips'] ) )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr><th colspan='2'>{$this->lang->words['ipaddresses']}</tr>
|
||||
</table>
|
||||
<div style='max-height: 150px; overflow: auto;'>
|
||||
<table class='ipsTable double_pad'>
|
||||
EOF;
|
||||
|
||||
foreach( $form['ips'] as $ip => $form_field )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_banip']} '{$ip}'</strong></td>
|
||||
<td class='field_field'>{$form_field}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
<table class='ipsTable double_pad'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['mf_addnote']} <span style='font-weight:normal;'>[<a href='#' onclick="return acp.openWindow('{$this->settings['board_url']}/index.php?app=core&module=modcp&section=editmember&mid={$member['member_id']}&do=view&popup=1','980','600'); return false;">{$this->lang->words['mf_viewnotes']}</a>]</span></strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
{$form['note']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'>
|
||||
<div align='center'>{$form['note_field']}</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='2'><a href='{$this->settings['base_url']}&module=members&section=members&do=banmember&member_id={$member['member_id']}'>{$this->lang->words['mf_clickhere']}</a> {$this->lang->words['mf_tosuspend']}<br />
|
||||
{$this->lang->words['mf_justor']} <a href='#' onclick="new Effect.Fade( $('inlineFormWrap'), {duration: 0.3} ); acp.members.goToTab( 'tab_MEMBERS_7' ); return false;">{$this->lang->words['mf_clickhere']}</a> {$this->lang->words['mf_topostrestrict']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_alterban']}' class='button primary' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Edit email dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_email( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<form action='{$this->settings['base_url']}&module=members&section=editform&do=save_email&member_id={$member['member_id']}&secure_key={$this->member->form_hash}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_ajfo_email']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_ajfo_email1']}</strong></td>
|
||||
<td class='field_field'><input type='text' size='30' id='email' name='email' value="{$member['email']}" class='input_text' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Upload photo dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_form_new_photo( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<form action='{$this->settings['base_url']}&module=members&section=members&do=new_photo&member_id={$member['member_id']}' method='post' enctype='multipart/form-data'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_ajfo_photo']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_newphoto']}</strong></td>
|
||||
<td class='field_field'><input type='file' size='30' id='upload_photo' name='upload_photo' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Edit password dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_password( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$_form_new_salt = ipsRegistry::getClass('output')->formYesNo( "new_salt", 1 );
|
||||
$_form_new_pepper = ipsRegistry::getClass('output')->formYesNo( "new_key" , 1 );
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<form action='{$this->settings['base_url']}&module=members&section=editform&do=save_password&member_id={$member['member_id']}&secure_key={$this->member->form_hash}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_ajfo_password']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_ajfo_password1']}</strong></td>
|
||||
<td class='field_field'><input type='password' size='30' id='password' name='password' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_ajfo_password2']}</strong></td>
|
||||
<td class='field_field'><input type='password' size='30' id='password2' name='password2' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_afjo_new_key']}</strong></td>
|
||||
<td class='field_field'>{$_form_new_pepper}<br /><span class='desctext'>{$this->lang->words['mem_afjo_new_key_desc']}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_afjo_new_salt']}</strong></td>
|
||||
<td class='field_field'>{$_form_new_salt}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' id='MF__password_save' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Change name dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_form_name( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$_form_send_email = ipsRegistry::getClass('output')->formYesNo( "send_email", 1 );
|
||||
$_form_email_contents = ipsRegistry::getClass('output')->formTextarea( "email_contents", $this->lang->words['mem_afjo_email_contents'] );
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<form action='{$this->settings['base_url']}&module=members&section=editform&do=save_name&member_id={$member['member_id']}&secure_key={$this->member->form_hash}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_edit_login_name']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_ajfo_name']}</strong></td>
|
||||
<td class='field_field'><input type='text' size='30' id='name' name='name' value='{$member['name']}' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_afjo_send_email']}</strong></td>
|
||||
<td class='field_field'>{$_form_send_email}<br /><br />{$_form_email_contents}<br /><span class='desctext'>{$this->lang->words['mem_afjo_send_email_desc']}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' id='MF__name_save' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Change display name dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_form_display_name( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<form action='{$this->settings['base_url']}&module=members&section=editform&do=save_display_name&member_id={$member['member_id']}&secure_key={$this->member->form_hash}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_edit_display_name']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_display_name']}</strong></td>
|
||||
<td class='field_field'><input type='text' size='30' id='display_name' name='display_name' value='{$member['members_display_name']}' class='input_text' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' id='MF__member_display_name_save' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* ACP member forms skin file
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_member_form
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ban member dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @param array Form data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_ban_member_form( $member, $form )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<form action='{$this->settings['base_url']}&module=members&section=members&do=ban_member&member_id={$member['member_id']}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['sm_banmanage']}</h3>
|
||||
<div class='fixed_inner'>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_banperm']}</strong></td>
|
||||
<td class='field_field'>{$form['member']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_movefrom']} '{$member['_group_title']}' {$this->lang->words['mf_to']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['groups_confirm']}
|
||||
{$form['groups']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_banemail']} '{$member['email']}'</strong></td>
|
||||
<td class='field_field'>{$form['email']}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_banname']} '{$member['name']}'</strong></td>
|
||||
<td class='field_field'>{$form['name']}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
if( $form['ips'] && count( $form['ips'] ) )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr><th colspan='2'>{$this->lang->words['ipaddresses']}</tr>
|
||||
</table>
|
||||
<div style='max-height: 150px; overflow: auto;'>
|
||||
<table class='ipsTable double_pad'>
|
||||
EOF;
|
||||
|
||||
foreach( $form['ips'] as $ip => $form_field )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_banip']} '{$ip}'</strong></td>
|
||||
<td class='field_field'>{$form_field}</td>
|
||||
</tr>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
</table>
|
||||
</div>
|
||||
<table class='ipsTable double_pad'>
|
||||
EOF;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<tr>
|
||||
<td colspan='2'><a href='{$this->settings['base_url']}&module=members&section=members&do=banmember&member_id={$member['member_id']}'>{$this->lang->words['mf_clickhere']}</a> {$this->lang->words['mf_tosuspend']}<br />
|
||||
{$this->lang->words['mf_justor']} <a href='#' onclick="new Effect.Fade( $('inlineFormWrap'), {duration: 0.3} ); acp.members.goToTab( 'tab_MEMBERS_7' ); return false;">{$this->lang->words['mf_clickhere']}</a> {$this->lang->words['mf_topostrestrict']}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_alterban']}' class='button primary' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Edit email dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_email( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<form action='{$this->settings['base_url']}&module=members&section=editform&do=save_email&member_id={$member['member_id']}&secure_key={$this->member->form_hash}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_ajfo_email']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_ajfo_email1']}</strong></td>
|
||||
<td class='field_field'><input type='text' size='30' id='email' name='email' value="{$member['email']}" class='input_text' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Upload photo dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_form_new_photo( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<form action='{$this->settings['base_url']}&module=members&section=members&do=new_photo&member_id={$member['member_id']}' method='post' enctype='multipart/form-data'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_ajfo_photo']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mf_newphoto']}</strong></td>
|
||||
<td class='field_field'><input type='file' size='30' id='upload_photo' name='upload_photo' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Edit password dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_password( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$_form_new_salt = ipsRegistry::getClass('output')->formYesNo( "new_salt", 1 );
|
||||
$_form_new_pepper = ipsRegistry::getClass('output')->formYesNo( "new_key" , 1 );
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<form action='{$this->settings['base_url']}&module=members&section=editform&do=save_password&member_id={$member['member_id']}&secure_key={$this->member->form_hash}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_ajfo_password']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_ajfo_password1']}</strong></td>
|
||||
<td class='field_field'><input type='password' size='30' id='password' name='password' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_ajfo_password2']}</strong></td>
|
||||
<td class='field_field'><input type='password' size='30' id='password2' name='password2' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_afjo_new_key']}</strong></td>
|
||||
<td class='field_field'>{$_form_new_pepper}<br /><span class='desctext'>{$this->lang->words['mem_afjo_new_key_desc']}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_afjo_new_salt']}</strong></td>
|
||||
<td class='field_field'>{$_form_new_salt}</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' id='MF__password_save' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Change name dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_form_name( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$_form_send_email = ipsRegistry::getClass('output')->formYesNo( "send_email", 1 );
|
||||
$_form_email_contents = ipsRegistry::getClass('output')->formTextarea( "email_contents", $this->lang->words['mem_afjo_email_contents'] );
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<form action='{$this->settings['base_url']}&module=members&section=editform&do=save_name&member_id={$member['member_id']}&secure_key={$this->member->form_hash}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_edit_login_name']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_ajfo_name']}</strong></td>
|
||||
<td class='field_field'><input type='text' size='30' id='name' name='name' value='{$member['name']}' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_afjo_send_email']}</strong></td>
|
||||
<td class='field_field'>{$_form_send_email}<br /><br />{$_form_email_contents}<br /><span class='desctext'>{$this->lang->words['mem_afjo_send_email_desc']}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' id='MF__name_save' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Change display name dhtml window
|
||||
*
|
||||
* @param array Member data
|
||||
* @return string HTML
|
||||
*/
|
||||
public function inline_form_display_name( $member )
|
||||
{
|
||||
$IPBHTML = "";
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<form action='{$this->settings['base_url']}&module=members&section=editform&do=save_display_name&member_id={$member['member_id']}&secure_key={$this->member->form_hash}' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['mem_edit_display_name']}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['mem_display_name']}</strong></td>
|
||||
<td class='field_field'><input type='text' size='30' id='display_name' name='display_name' value='{$member['members_display_name']}' class='input_text' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['mf_save']}' class='button primary' id='MF__member_display_name_save' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
EOF;
|
||||
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,137 +1,137 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* ACP notification config skin file
|
||||
* Last Updated: $Date: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://hatynka.in
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 8644 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_notifications
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form to configure notification defaults
|
||||
*
|
||||
* @param array Application notification options
|
||||
* @param array Current configuration
|
||||
* @return string HTML
|
||||
*/
|
||||
public function showConfigurationOptions( $options, $config ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['notifications_config']}</h2>
|
||||
</div>
|
||||
|
||||
<div class='acp-box' style='margin-top: 4px;'>
|
||||
<h3>{$this->lang->words['notifications_config_title']}</h3>
|
||||
<form method='post' action='{$this->settings['base_url']}{$this->form_code}&do=save'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->registry->adminFunctions->_admin_auth_key}' />
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<th>{$this->lang->words['notificationtype_h']}</th>
|
||||
<th>{$this->lang->words['notificationdfs_h']}</th>
|
||||
<th>{$this->lang->words['notificationdo_h']}</th>
|
||||
<th>{$this->lang->words['notificationdms_h']}</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
$_options = array(
|
||||
array( 'email', $this->lang->words['notopt__email'] ),
|
||||
array( 'inline', $this->lang->words['notopt__inline'] ),
|
||||
array( 'mobile', $this->lang->words['notopt__mobile'] )
|
||||
);
|
||||
|
||||
foreach( $options as $option )
|
||||
{
|
||||
$_thisConfig = $config[ $option['key'] ];
|
||||
|
||||
if( !is_array($_thisConfig) OR !count($_thisConfig) )
|
||||
{
|
||||
$_thisConfig['selected'] = $option['default'];
|
||||
$_thisConfig['disabled'] = $option['disabled'];
|
||||
}
|
||||
|
||||
$_defaultOpt = $this->registry->output->formMultiDropdown( 'default_' . $option['key'] . '[]', $_options, $_thisConfig['selected'], 3, 'default_' . $option['key'] );
|
||||
$_disabledOpt = $this->registry->output->formMultiDropdown( 'disabled_' . $option['key'] . '[]', $_options, $_thisConfig['disabled'], 3,'disabled_' . $option['key'] );
|
||||
$_disableOver = $this->registry->output->formYesNo( 'disable_override_' . $option['key'], intval($_thisConfig['disable_override']) );
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td><strong>{$this->lang->words['notify__' . $option['key'] ]}</strong><div class='desctext' style='font-style: italic;'>{$this->lang->words['notify_key_pre']}{$option['key']}</div></td>
|
||||
<td>{$_defaultOpt}</td>
|
||||
<td>{$_disabledOpt}</td>
|
||||
<td>{$_disableOver}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['save_notify_config']}' class='realbutton' />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* ACP notification config skin file
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_notifications
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form to configure notification defaults
|
||||
*
|
||||
* @param array Application notification options
|
||||
* @param array Current configuration
|
||||
* @return string HTML
|
||||
*/
|
||||
public function showConfigurationOptions( $options, $config ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['notifications_config']}</h2>
|
||||
</div>
|
||||
|
||||
<div class='acp-box' style='margin-top: 4px;'>
|
||||
<h3>{$this->lang->words['notifications_config_title']}</h3>
|
||||
<form method='post' action='{$this->settings['base_url']}{$this->form_code}&do=save'>
|
||||
<input type='hidden' name='_admin_auth_key' value='{$this->registry->adminFunctions->_admin_auth_key}' />
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<th>{$this->lang->words['notificationtype_h']}</th>
|
||||
<th>{$this->lang->words['notificationdfs_h']}</th>
|
||||
<th>{$this->lang->words['notificationdo_h']}</th>
|
||||
<th>{$this->lang->words['notificationdms_h']}</th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
$_options = array(
|
||||
array( 'email', $this->lang->words['notopt__email'] ),
|
||||
array( 'inline', $this->lang->words['notopt__inline'] ),
|
||||
array( 'mobile', $this->lang->words['notopt__mobile'] )
|
||||
);
|
||||
|
||||
foreach( $options as $option )
|
||||
{
|
||||
$_thisConfig = $config[ $option['key'] ];
|
||||
|
||||
if( !is_array($_thisConfig) OR !count($_thisConfig) )
|
||||
{
|
||||
$_thisConfig['selected'] = $option['default'];
|
||||
$_thisConfig['disabled'] = $option['disabled'];
|
||||
}
|
||||
|
||||
$_defaultOpt = $this->registry->output->formMultiDropdown( 'default_' . $option['key'] . '[]', $_options, $_thisConfig['selected'], 3, 'default_' . $option['key'] );
|
||||
$_disabledOpt = $this->registry->output->formMultiDropdown( 'disabled_' . $option['key'] . '[]', $_options, $_thisConfig['disabled'], 3,'disabled_' . $option['key'] );
|
||||
$_disableOver = $this->registry->output->formYesNo( 'disable_override_' . $option['key'], intval($_thisConfig['disable_override']) );
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td><strong>{$this->lang->words['notify__' . $option['key'] ]}</strong><div class='desctext' style='font-style: italic;'>{$this->lang->words['notify_key_pre']}{$option['key']}</div></td>
|
||||
<td>{$_defaultOpt}</td>
|
||||
<td>{$_disabledOpt}</td>
|
||||
<td>{$_disableOver}</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['save_notify_config']}' class='realbutton' />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,233 +1,233 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* ACP ranks skin file
|
||||
* Last Updated: $Date: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://hatynka.in
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 8644 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_ranks
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ranks overview page
|
||||
*
|
||||
* @param array Rows
|
||||
* @return string HTML
|
||||
*/
|
||||
public function titlesOverview( $rows ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['rnk_titles']}</h2>
|
||||
</div>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['rnk_titles']}</h3>
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<th width='40%'>{$this->lang->words['rnk_title']}</th>
|
||||
<th width='20%'>{$this->lang->words['rnk_minposts']}</th>
|
||||
<th width='30%'>{$this->lang->words['rnk_pips']}</th>
|
||||
<th class='col_buttons'> </th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( count($rows) )
|
||||
{
|
||||
foreach( $rows as $rank )
|
||||
{
|
||||
$rank['img'] = "";
|
||||
|
||||
if( preg_match( "/[a-zA-Z]{1,}/", $rank['pips'] ) )
|
||||
{
|
||||
$rank['img'] = "<img src='" . $this->settings['public_dir'] . "style_extra/team_icons/{$rank['pips']}' />";
|
||||
}
|
||||
else
|
||||
{
|
||||
for ( $i = 1; $i <= $rank['pips']; $i++ )
|
||||
{
|
||||
$rank['img'] .= $rank['A_STAR'];
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr class='ipsControlRow'>
|
||||
<td>
|
||||
<strong class='larger_text'>
|
||||
<a href='{$this->settings['base_url']}{$this->form_code}&do=rank_edit&id={$rank['id']}'>{$rank['title']}</a>
|
||||
</strong>
|
||||
</td>
|
||||
<td>{$rank['posts']}</td>
|
||||
<td>{$rank['img']}</td>
|
||||
<td class='col_buttons'>
|
||||
<ul class='ipsControlStrip'>
|
||||
<li class='i_edit'>
|
||||
<a href='{$this->settings['base_url']}{$this->form_code}&do=rank_edit&id={$rank['id']}' title='{$this->lang->words['rnk_editlink']}'>{$this->lang->words['rnk_editlink']}</a>
|
||||
</li>
|
||||
<li class='i_delete'>
|
||||
<a href='#' onclick='return acp.confirmDelete( "{$this->settings['base_url']}{$this->form_code}&do=rank_delete&id={$rank['id']}" )' title='{$this->lang->words['rnk_deletelink']}'>{$this->lang->words['rnk_deletelink']}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<form action='{$this->settings['base_url']}{$this->form_code}&do=do_add_rank' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['rnk_addarank']}</h3>
|
||||
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rnk_ranktitle']}</strong></td>
|
||||
<td class='field_field'><input type='text' name='title' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rnk_minpostsneeded']}</strong></td>
|
||||
<td class='field_field'><input type='text' name='posts' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rnk_numpips']}</strong></td>
|
||||
<td class='field_field'><input type='text' name='pips' class='input_text' /><br /><span class='desctext'>{$this->lang->words['rnk_numpips_info']}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['rnk_addrank']}' class='button primary'/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ranks form
|
||||
*
|
||||
* @param array Rank data
|
||||
* @param string Action code
|
||||
* @param string Button text
|
||||
* @return string HTML
|
||||
*/
|
||||
public function titlesForm( $rank, $action, $button ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$button}</h2>
|
||||
</div>
|
||||
|
||||
<form action='{$this->settings['base_url']}{$this->form_code}&do={$action}' method='post'>
|
||||
<input type='hidden' name='id' value='{$rank['id']}' />
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$button}</h3>
|
||||
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['rnk_ranktitle']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='title' class='input_text' value='{$rank['title']}' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['rnk_minpostsneeded']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='posts' class='input_text' value='{$rank['posts']}' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['rnk_numpips']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pips' class='input_text' value='{$rank['pips']}' /><br />
|
||||
<span class='desctext'>{$this->lang->words['rnk_numpips_info']}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$button}' class='button primary' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* ACP ranks skin file
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 20th February 2002
|
||||
* @version $Rev: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_ranks
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ranks overview page
|
||||
*
|
||||
* @param array Rows
|
||||
* @return string HTML
|
||||
*/
|
||||
public function titlesOverview( $rows ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['rnk_titles']}</h2>
|
||||
</div>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['rnk_titles']}</h3>
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<th width='40%'>{$this->lang->words['rnk_title']}</th>
|
||||
<th width='20%'>{$this->lang->words['rnk_minposts']}</th>
|
||||
<th width='30%'>{$this->lang->words['rnk_pips']}</th>
|
||||
<th class='col_buttons'> </th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( count($rows) )
|
||||
{
|
||||
foreach( $rows as $rank )
|
||||
{
|
||||
$rank['img'] = "";
|
||||
|
||||
if( preg_match( "/[a-zA-Z]{1,}/", $rank['pips'] ) )
|
||||
{
|
||||
$rank['img'] = "<img src='" . $this->settings['public_dir'] . "style_extra/team_icons/{$rank['pips']}' />";
|
||||
}
|
||||
else
|
||||
{
|
||||
for ( $i = 1; $i <= $rank['pips']; $i++ )
|
||||
{
|
||||
$rank['img'] .= $rank['A_STAR'];
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr class='ipsControlRow'>
|
||||
<td>
|
||||
<strong class='larger_text'>
|
||||
<a href='{$this->settings['base_url']}{$this->form_code}&do=rank_edit&id={$rank['id']}'>{$rank['title']}</a>
|
||||
</strong>
|
||||
</td>
|
||||
<td>{$rank['posts']}</td>
|
||||
<td>{$rank['img']}</td>
|
||||
<td class='col_buttons'>
|
||||
<ul class='ipsControlStrip'>
|
||||
<li class='i_edit'>
|
||||
<a href='{$this->settings['base_url']}{$this->form_code}&do=rank_edit&id={$rank['id']}' title='{$this->lang->words['rnk_editlink']}'>{$this->lang->words['rnk_editlink']}</a>
|
||||
</li>
|
||||
<li class='i_delete'>
|
||||
<a href='#' onclick='return acp.confirmDelete( "{$this->settings['base_url']}{$this->form_code}&do=rank_delete&id={$rank['id']}" )' title='{$this->lang->words['rnk_deletelink']}'>{$this->lang->words['rnk_deletelink']}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
<br />
|
||||
<form action='{$this->settings['base_url']}{$this->form_code}&do=do_add_rank' method='post'>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['rnk_addarank']}</h3>
|
||||
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rnk_ranktitle']}</strong></td>
|
||||
<td class='field_field'><input type='text' name='title' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rnk_minpostsneeded']}</strong></td>
|
||||
<td class='field_field'><input type='text' name='posts' class='input_text' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rnk_numpips']}</strong></td>
|
||||
<td class='field_field'><input type='text' name='pips' class='input_text' /><br /><span class='desctext'>{$this->lang->words['rnk_numpips_info']}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['rnk_addrank']}' class='button primary'/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ranks form
|
||||
*
|
||||
* @param array Rank data
|
||||
* @param string Action code
|
||||
* @param string Button text
|
||||
* @return string HTML
|
||||
*/
|
||||
public function titlesForm( $rank, $action, $button ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$button}</h2>
|
||||
</div>
|
||||
|
||||
<form action='{$this->settings['base_url']}{$this->form_code}&do={$action}' method='post'>
|
||||
<input type='hidden' name='id' value='{$rank['id']}' />
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$button}</h3>
|
||||
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['rnk_ranktitle']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='title' class='input_text' value='{$rank['title']}' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['rnk_minpostsneeded']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='posts' class='input_text' value='{$rank['posts']}' />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'>
|
||||
<strong class='title'>{$this->lang->words['rnk_numpips']}</strong>
|
||||
</td>
|
||||
<td class='field_field'>
|
||||
<input type='text' name='pips' class='input_text' value='{$rank['pips']}' /><br />
|
||||
<span class='desctext'>{$this->lang->words['rnk_numpips_info']}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$button}' class='button primary' />
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,199 +1,199 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.2.3
|
||||
* ACP reputation skin file
|
||||
* Last Updated: $Date: 2011-05-05 07:03:47 -0400 (Thu, 05 May 2011) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: ips_terabyte $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license This is NULLED!
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://hatynka.in
|
||||
* @since 20th February 2002
|
||||
* @version $Revision: 8644 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_reputation
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reputation form
|
||||
*
|
||||
* @param int ID
|
||||
* @param string Action
|
||||
* @param string Title
|
||||
* @param array Form elements
|
||||
* @param array Errors
|
||||
* @return string HTML
|
||||
*/
|
||||
public function reputationForm( $id, $do, $title, $form, $errors ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
if( count( $errors ) )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<h2>{$this->lang->words['errors']}</h2>
|
||||
<div class='warning'>
|
||||
HTML;
|
||||
|
||||
foreach( $errors as $err )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<p>$err</p>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</div><br />
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<form action='{$this->settings['base_url']}{$this->form_code}' method='post'>
|
||||
<input type='hidden' name='do' value='{$do}'>
|
||||
<input type='hidden' name='id' value='{$id}'>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$title}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rep_form_title']}</strong></td>
|
||||
<td class='field_field'>{$form['level_title']}<br /><span class='desctext'>{$this->lang->words['rep_form_title_help']}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rep_form_image']}</strong></td>
|
||||
<td class='field_field'>{$form['level_image']}<br /><span class='desctext'>{$this->lang->words['rep_form_image_help']}{$this->settings['public_dir']}style_extra/reputation_icons/</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rep_form_points']}</strong></td>
|
||||
<td class='field_field'>{$form['level_points']}<br /><span class='desctext'>{$this->lang->words['rep_form_points_help']}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['rep_save_changes']}' class='button primary'/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reputation overview screen
|
||||
*
|
||||
* @param array Rep levels
|
||||
* @return string HTML
|
||||
*/
|
||||
public function reputationOverview( $levels=array() ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['rep_lvl_manage']}</h2>
|
||||
|
||||
<ul class='context_menu'>
|
||||
<li><a href='{$this->settings['base_url']}{$this->form_code}&do=add_level_form'><img src='{$this->settings['skin_acp_url']}/images/icons/add.png' alt='' /> {$this->lang->words['rep_level_new']}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['rep_lvl_manage']}</h3>
|
||||
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<th width='40%'>{$this->lang->words['rep_form_title']}</th>
|
||||
<th width='20%'>{$this->lang->words['rep_form_image']}</th>
|
||||
<th width='30%'>{$this->lang->words['rep_form_points']}</th>
|
||||
<th width='10%'> </th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array( $levels ) && count( $levels ) )
|
||||
{
|
||||
foreach( $levels as $r )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr class='ipsControlRow'>
|
||||
<td><span class='larger_text'>{$r['level_title']}</span></td>
|
||||
<td>{$r['level_image']}</td>
|
||||
<td>{$r['level_points']}</td>
|
||||
<td class='col_buttons'>
|
||||
<ul class='ipsControlStrip'>
|
||||
<li class='i_edit'><a href='{$this->settings['base_url']}{$this->form_code}&do=edit_level_form&id={$r['level_id']}' title='{$this->lang->words['edit']}'>{$this->lang->words['edit']}</a></li>
|
||||
<li class='i_delete'><a href='#' onclick='return acp.confirmDelete( "{$this->settings['base_url']}{$this->form_code}&do=delete_level&id={$r['level_id']}" );' title='{$this->lang->words['delete']}'>{$this->lang->words['delete']}</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='4'><em>{$this->lang->words['rep_no_levels']}</em></td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* ACP reputation skin file
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 20th February 2002
|
||||
* @version $Revision: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_reputation
|
||||
{
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reputation form
|
||||
*
|
||||
* @param int ID
|
||||
* @param string Action
|
||||
* @param string Title
|
||||
* @param array Form elements
|
||||
* @param array Errors
|
||||
* @return string HTML
|
||||
*/
|
||||
public function reputationForm( $id, $do, $title, $form, $errors ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
if( count( $errors ) )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<h2>{$this->lang->words['errors']}</h2>
|
||||
<div class='warning'>
|
||||
HTML;
|
||||
|
||||
foreach( $errors as $err )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<p>$err</p>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</div><br />
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<form action='{$this->settings['base_url']}{$this->form_code}' method='post'>
|
||||
<input type='hidden' name='do' value='{$do}'>
|
||||
<input type='hidden' name='id' value='{$id}'>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$title}</h3>
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rep_form_title']}</strong></td>
|
||||
<td class='field_field'>{$form['level_title']}<br /><span class='desctext'>{$this->lang->words['rep_form_title_help']}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rep_form_image']}</strong></td>
|
||||
<td class='field_field'>{$form['level_image']}<br /><span class='desctext'>{$this->lang->words['rep_form_image_help']}{$this->settings['public_dir']}style_extra/reputation_icons/</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['rep_form_points']}</strong></td>
|
||||
<td class='field_field'>{$form['level_points']}<br /><span class='desctext'>{$this->lang->words['rep_form_points_help']}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class='acp-actionbar'>
|
||||
<input type='submit' value='{$this->lang->words['rep_save_changes']}' class='button primary'/>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reputation overview screen
|
||||
*
|
||||
* @param array Rep levels
|
||||
* @return string HTML
|
||||
*/
|
||||
public function reputationOverview( $levels=array() ) {
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['rep_lvl_manage']}</h2>
|
||||
|
||||
<ul class='context_menu'>
|
||||
<li><a href='{$this->settings['base_url']}{$this->form_code}&do=add_level_form'><img src='{$this->settings['skin_acp_url']}/images/icons/add.png' alt='' /> {$this->lang->words['rep_level_new']}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['rep_lvl_manage']}</h3>
|
||||
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<th width='40%'>{$this->lang->words['rep_form_title']}</th>
|
||||
<th width='20%'>{$this->lang->words['rep_form_image']}</th>
|
||||
<th width='30%'>{$this->lang->words['rep_form_points']}</th>
|
||||
<th width='10%'> </th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if( is_array( $levels ) && count( $levels ) )
|
||||
{
|
||||
foreach( $levels as $r )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr class='ipsControlRow'>
|
||||
<td><span class='larger_text'>{$r['level_title']}</span></td>
|
||||
<td>{$r['level_image']}</td>
|
||||
<td>{$r['level_points']}</td>
|
||||
<td class='col_buttons'>
|
||||
<ul class='ipsControlStrip'>
|
||||
<li class='i_edit'><a href='{$this->settings['base_url']}{$this->form_code}&do=edit_level_form&id={$r['level_id']}' title='{$this->lang->words['edit']}'>{$this->lang->words['edit']}</a></li>
|
||||
<li class='i_delete'><a href='#' onclick='return acp.confirmDelete( "{$this->settings['base_url']}{$this->form_code}&do=delete_level&id={$r['level_id']}" );' title='{$this->lang->words['delete']}'>{$this->lang->words['delete']}</a></li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='4'><em>{$this->lang->words['rep_no_levels']}</em></td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,256 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* ACP Manage Warnings Reasons Skin
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $ (Original: Mark)
|
||||
* @copyright © 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 8th November 2011
|
||||
* @version $Rev: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_warnings_actions
|
||||
{
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Manage
|
||||
//===========================================================================
|
||||
function manage( $actions ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['warn_actions']}</h2>
|
||||
<div class='ipsActionBar clearfix'>
|
||||
<ul>
|
||||
<li class='ipsActionButton'><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['warn_actions_add']}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['warn_actions']}</h3>
|
||||
<table class='ipsTable'>
|
||||
<tr>
|
||||
<th width='3%'> </th>
|
||||
<th>{$this->lang->words['warn_actions_points']}</th>
|
||||
<th>{$this->lang->words['warn_actions_mq_short']}</th>
|
||||
<th>{$this->lang->words['warn_actions_rpa_short']}</th>
|
||||
<th>{$this->lang->words['warn_actions_suspend_short']}</th>
|
||||
<th class='col_buttons'> </th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if ( !empty( $actions ) )
|
||||
{
|
||||
|
||||
foreach ( $actions as $actionID => $data )
|
||||
{
|
||||
foreach ( array( 'mq', 'rpa', 'suspend' ) as $k )
|
||||
{
|
||||
$dbField = "wa_{$k}";
|
||||
$kWithUnit = "{$k}_unit";
|
||||
if ( $data[$dbField] == -1 )
|
||||
{
|
||||
$$kWithUnit = $this->lang->words['warnings_permanently'];
|
||||
}
|
||||
elseif ( $data[$dbField] == 0 )
|
||||
{
|
||||
$$kWithUnit = '--';
|
||||
}
|
||||
else
|
||||
{
|
||||
$$kWithUnit = $data[$dbField] . ' ' . ( ( $data[ $dbField . '_unit' ] == 'd' ) ? $this->lang->words['warnings_days'] : $this->lang->words['warnings_hours'] );
|
||||
}
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr class='ipsControlRow'>
|
||||
<td> </td>
|
||||
<td><span class='larger_text'><a href='{$this->settings['base_url']}{$this->form_code}do=edit&id={$actionID}'>{$data['wa_points']}</a></span></td>
|
||||
<td>{$mq_unit}</td>
|
||||
<td>{$rpa_unit}</td>
|
||||
<td>{$suspend_unit}</td>
|
||||
<td class='col_buttons'>
|
||||
<ul class='ipsControlStrip'>
|
||||
<li class='i_edit'>
|
||||
<a href='{$this->settings['base_url']}{$this->form_code}do=edit&id={$actionID}' title='{$this->lang->words['edit']}'>{$this->lang->words['edit']}</a>
|
||||
</li>
|
||||
<li class='i_delete'>
|
||||
<a href='#' onclick='return acp.confirmDelete("{$this->settings['base_url']}{$this->form_code}do=delete&id={$actionID}");' title='{$this->lang->words['delete']}'>{$this->lang->words['delete']}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='6' class='no_messages'>
|
||||
{$this->lang->words['warn_actions_empty']} <a href='{$this->settings['base_url']}{$this->form_code}do=add' class='mini_button'>{$this->lang->words['warn_actions_add']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Form
|
||||
//===========================================================================
|
||||
function form( $current ) {
|
||||
|
||||
if ( empty( $current ) )
|
||||
{
|
||||
$title = $this->lang->words['warn_actions_add'];
|
||||
$id = 0;
|
||||
$icon = 'add';
|
||||
}
|
||||
else
|
||||
{
|
||||
$title = $this->lang->words['warn_actions_add'];
|
||||
$id = $current['wa_id'];
|
||||
$icon = 'edit';
|
||||
}
|
||||
|
||||
$form['points'] = ipsRegistry::getClass('output')->formSimpleInput( 'points', ( empty( $current ) ? '' : $current['wa_points'] ) );
|
||||
$form['mq'] = ipsRegistry::getClass('output')->formSimpleInput( 'mq', ( empty( $current ) ? '' : $current['wa_mq'] ) );
|
||||
$form['mq_unit'] = ipsRegistry::getClass('output')->formDropdown( 'mq_unit', array( array( 'h', $this->lang->words['warnings_hours'] ), array( 'd', $this->lang->words['warnings_days'] ) ), ( empty( $current ) ? '' : $current['wa_mq_unit'] ) );
|
||||
$form['mq_perm'] = ipsRegistry::getClass('output')->formCheckbox( 'mq_perm', ( !empty( $current ) and $current['wa_mq'] == -1 ? 1 : 0 ) );
|
||||
$form['rpa'] = ipsRegistry::getClass('output')->formSimpleInput( 'rpa', ( empty( $current ) ? '' : $current['wa_rpa'] ) );
|
||||
$form['rpa_unit'] = ipsRegistry::getClass('output')->formDropdown( 'rpa_unit', array( array( 'h', $this->lang->words['warnings_hours'] ), array( 'd', $this->lang->words['warnings_days'] ) ), ( empty( $current ) ? '' : $current['wa_rpa_unit'] ) );
|
||||
$form['rpa_perm'] = ipsRegistry::getClass('output')->formCheckbox( 'rpa_perm', ( !empty( $current ) and $current['wa_rpa'] == -1 ? 1 : 0 ) );
|
||||
$form['suspend'] = ipsRegistry::getClass('output')->formSimpleInput( 'suspend', ( empty( $current ) ? '' : $current['wa_suspend'] ) );
|
||||
$form['suspend_unit'] = ipsRegistry::getClass('output')->formDropdown( 'suspend_unit', array( array( 'h', $this->lang->words['warnings_hours'] ), array( 'd', $this->lang->words['warnings_days'] ) ), ( empty( $current ) ? '' : $current['wa_suspend_unit'] ) );
|
||||
$form['suspend_perm'] = ipsRegistry::getClass('output')->formCheckbox( 'suspend_perm', ( !empty( $current ) and $current['wa_suspend'] == -1 ? 1 : 0 ) );
|
||||
$form['ban_group'] = ipsRegistry::getClass('output')->formCheckbox( 'ban_group', ( empty( $current ) ? '' : ( $current['wa_ban_group'] > 0 ? 1 : 0 ) ) );
|
||||
$form['override'] = ipsRegistry::getClass('output')->formYesNo( 'override', ( empty( $current ) ? '' : $current['wa_override'] ) );
|
||||
|
||||
$mq_extra_style = ( !empty( $current ) and $current['wa_mq'] == -1 ) ? 'display:none' : '';
|
||||
$rpa_extra_style = ( !empty( $current ) and $current['wa_rpa'] == -1 ) ? 'display:none' : '';
|
||||
$suspend_extra_style = ( !empty( $current ) and $current['wa_suspend'] == -1 ) ? 'display:none' : '';
|
||||
|
||||
$form['ban_group_id'] = ipsRegistry::getClass('output')->formDropdown( 'ban_group_id', '--groups--', ( empty( $current ) ? '' : $current['wa_ban_group'] ) );
|
||||
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$title}</h2>
|
||||
</div>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$title}</h3>
|
||||
<form action='{$this->settings['base_url']}{$this->form_code}do=save' method='post'>
|
||||
<input type='hidden' name='id' value='{$id}' />
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_actions_points']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['points']}<br />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_actions_mq']}</strong></td>
|
||||
<td class='field_field'>
|
||||
<label for='mq_perm'>{$form['mq_perm']} {$this->lang->words['warnings_permanently']}</label>
|
||||
<span id='mq_extra' style='{$mq_extra_style}'>{$this->lang->words['warnings_or_for']}<br /><br />{$form['mq']} {$form['mq_unit']}<br /></span>
|
||||
<br /><span class='desctext'>{$this->lang->words['warnings_content_desc']}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_actions_rpa']}</strong></td>
|
||||
<td class='field_field'>
|
||||
<label for='rpa_perm'>{$form['rpa_perm']} {$this->lang->words['warnings_permanently']}</label>
|
||||
<span id='rpa_extra' style='{$rpa_extra_style}'>{$this->lang->words['warnings_or_for']}<br /><br />{$form['rpa']} {$form['rpa_unit']}<br /></span>
|
||||
<br /><span class='desctext'>{$this->lang->words['warnings_content_desc']}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_actions_suspend']}</strong></td>
|
||||
<td class='field_field'>
|
||||
<label for='suspend_perm'>{$form['suspend_perm']} {$this->lang->words['warnings_permanently']}</label>
|
||||
<span id='suspend_extra' style='{$suspend_extra_style}'>{$this->lang->words['warnings_or_for']}<br /><br />{$form['suspend']} {$form['suspend_unit']}<br /></span>
|
||||
<br /><label for='ban_group'>{$form['ban_group']} {$this->lang->words['warn_actions_ban_group']} </label>{$form['ban_group_id']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_actions_override']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['override']}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="acp-actionbar">
|
||||
<input type='submit' value='{$this->lang->words['warnings_save']}' class='realbutton'>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type='text/javascript'>
|
||||
$('mq_perm').observe('click', change.bindAsEventListener( this, 'mq' ) );
|
||||
$('rpa_perm').observe('click', change.bindAsEventListener( this, 'rpa' ) );
|
||||
$('suspend_perm').observe('click', change.bindAsEventListener( this, 'suspend' ) );
|
||||
|
||||
function change( e, thing )
|
||||
{
|
||||
if( $( thing + '_perm' ).checked )
|
||||
{
|
||||
new Effect.Fade( $( thing + '_extra' ), { duration: 0.2 } );
|
||||
}
|
||||
else
|
||||
{
|
||||
new Effect.Appear( $( thing + '_extra' ), { duration: 0.2 } );
|
||||
}
|
||||
}
|
||||
</script>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,207 @@
|
||||
<?php
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.3.4
|
||||
* ACP Manage Warnings Reasons Skin
|
||||
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $ (Original: Mark)
|
||||
* @copyright © 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Members
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 8th November 2011
|
||||
* @version $Rev: 10914 $
|
||||
*
|
||||
*/
|
||||
|
||||
class cp_skin_warnings_reasons
|
||||
{
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Manage
|
||||
//===========================================================================
|
||||
function manage( $reasons ) {
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<div class='section_title'>
|
||||
<h2>{$this->lang->words['warn_reasons']}</h2>
|
||||
<div class='ipsActionBar clearfix'>
|
||||
<ul>
|
||||
<li class='ipsActionButton'><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['warn_reasons_add']}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$this->lang->words['warn_reasons']}</h3>
|
||||
<table class='ipsTable' id='warnReason_list'>
|
||||
<tr>
|
||||
<th width='3%'> </th>
|
||||
<th width='69%'>{$this->lang->words['warn_reasons_name']}</th>
|
||||
<th width='20%'>{$this->lang->words['warn_reasons_points']}</th>
|
||||
<th width='8%' class='col_buttons'> </th>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
if ( !empty( $reasons ) )
|
||||
{
|
||||
|
||||
foreach ( $reasons as $reasonID => $data )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr class='ipsControlRow isDraggable' id='reasons_{$reasonID}'>
|
||||
<td class='col_drag'><span class='draghandle'> </span></td>
|
||||
<td><span class='larger_text'><a href='{$this->settings['base_url']}{$this->form_code}do=edit&id={$reasonID}'>{$data['wr_name']}</a></span></td>
|
||||
<td>{$data['wr_points']}</td>
|
||||
<td class='col_buttons'>
|
||||
<ul class='ipsControlStrip'>
|
||||
<li class='i_edit'>
|
||||
<a href='{$this->settings['base_url']}{$this->form_code}do=edit&id={$reasonID}' title='{$this->lang->words['edit']}'>{$this->lang->words['edit']}</a>
|
||||
</li>
|
||||
<li class='i_delete'>
|
||||
<a href='#' onclick='return acp.confirmDelete("{$this->settings['base_url']}{$this->form_code}do=delete&id={$reasonID}");' title='{$this->lang->words['delete']}'>{$this->lang->words['delete']}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<tr>
|
||||
<td colspan='3' class='no_messages'>
|
||||
{$this->lang->words['warn_reasons_empty']} <a href='{$this->settings['base_url']}{$this->form_code}do=add' class='mini_button'>{$this->lang->words['warn_reasons_add']}</a>
|
||||
</td>
|
||||
</tr>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<script type='text/javascript'>
|
||||
jQ("#warnReason_list").ipsSortable( 'table', {
|
||||
url: "{$this->settings['base_url']}{$this->form_code_js}do=reorder&md5check={$this->registry->adminFunctions->getSecurityKey()}".replace( /&/g, '&' )
|
||||
});
|
||||
</script>
|
||||
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
// Form
|
||||
//===========================================================================
|
||||
function form( $current ) {
|
||||
|
||||
if ( empty( $current ) )
|
||||
{
|
||||
$title = $this->lang->words['warn_reasons_add'];
|
||||
$id = 0;
|
||||
$icon = 'add';
|
||||
}
|
||||
else
|
||||
{
|
||||
$title = $this->lang->words['warn_reasons_add'];
|
||||
$id = $current['wr_id'];
|
||||
$icon = 'edit';
|
||||
}
|
||||
|
||||
$form['name'] = ipsRegistry::getClass('output')->formInput( 'name', ( empty( $current ) ? '' : $current['wr_name'] ) );
|
||||
$form['points'] = ipsRegistry::getClass('output')->formSimpleInput( 'points', ( empty( $current ) ? '' : $current['wr_points'] ) );
|
||||
$form['points_override'] = ipsRegistry::getClass('output')->formYesNo( 'points_override', ( empty( $current ) ? '' : $current['wr_points_override'] ) );
|
||||
$form['remove'] = ipsRegistry::getClass('output')->formSimpleInput( 'remove', ( empty( $current ) ? '' : $current['wr_remove'] ) );
|
||||
$form['remove_unit'] = ipsRegistry::getClass('output')->formDropdown( 'remove_unit', array( array( 'h', $this->lang->words['warnings_hours'] ), array( 'd', $this->lang->words['warnings_days'] ) ), ( empty( $current ) ? '' : $current['wr_remove_unit'] ) );
|
||||
$form['remove_override'] = ipsRegistry::getClass('output')->formYesNo( 'remove_override', ( empty( $current ) ? '' : $current['wr_remove_override'] ) );
|
||||
|
||||
|
||||
$IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
|
||||
<div class='section_title'>
|
||||
<h2>{$title}</h2>
|
||||
</div>
|
||||
|
||||
<div class='acp-box'>
|
||||
<h3>{$title}</h3>
|
||||
<form action='{$this->settings['base_url']}{$this->form_code}do=save' method='post'>
|
||||
<input type='hidden' name='id' value='{$id}' />
|
||||
<table class='ipsTable double_pad'>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_reasons_name']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['name']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_reasons_points']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['points']}<br />
|
||||
<span class='desctext'>{$this->lang->words['warn_reasons_points_desc']}</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_reasons_points_override']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['points_override']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_reasons_remove']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['remove']} {$form['remove_unit']}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='field_title'><strong class='title'>{$this->lang->words['warn_reasons_remove_override']}</strong></td>
|
||||
<td class='field_field'>
|
||||
{$form['remove_override']}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="acp-actionbar">
|
||||
<input type='submit' value='{$this->lang->words['warnings_save']}' class='realbutton'>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
HTML;
|
||||
|
||||
//--endhtml--//
|
||||
return $IPBHTML;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
<html>
|
||||
<head><title>IP.Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: IP.Board -> Forbidden</h1>
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
<html>
|
||||
<head><title>IP.Board - Bulletin Board System</title></head>
|
||||
<body>
|
||||
<h1>403: IP.Board -> Forbidden</h1>
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user