Version 3.4.5

This commit is contained in:
Neo committed 2025-12-19 00:38:12 -08:00
1 parent fb6b5baabc
commit e4478369d8
1360 files changed
+228921 -179445

No files matched your search

@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Admin log skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-01-03 15:22:09 -0500 (Thu, 03 Jan 2013) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: AndyMillne $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 11780 $
*/
class cp_skin_adminlogs
@@ -185,7 +185,7 @@ $IPBHTML .= <<<HTML
<tr><td><a href='{$this->settings['base_url']}module=logs&amp;section=tasklogs'>{$this->lang->words['sched_error_logs']}</a></td></tr>
<tr><td><a href='{$this->settings['base_url']}module=logs&amp;section=loginlog&amp;do=show'>{$this->lang->words['al_error_logs']}</a></td></tr>
<tr><td><a href='{$this->settings['base_url']}module=logs&amp;section=spamlogs&amp;do=show'>{$this->lang->words['slog_spamlogs']}</a></td></tr>
<tr><td><a href='{$this->settings['base_url']}module=logs&amp;section=mobilelogs&amp;do=show'>{$this->lang->words['mlog_mobilelogs']}</a></td></tr>
<!--<tr><td><a href='{$this->settings['base_url']}module=logs&amp;section=mobilelogs&amp;do=show'>{$this->lang->words['mlog_mobilelogs']}</a></td></tr>-->
HTML;
if ( $this->registry->class_permissions->checkPermission( 'sqlerrorlogs_view' ) )
{
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* API users skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_api
File diff suppressed because it is too large. Load diff
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Badwords skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_badwords
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* BBcode skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-04-01 22:35:19 -0400 (Mon, 01 Apr 2013) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 12139 $
*/
class cp_skin_bbcode
@@ -386,7 +386,7 @@ $IPBHTML .= <<<EOF
</tr>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['bbcode_contdial']}</strong></td>
<td class='field_field'>{$form['bbcode_menu_content_text']} <br /><span class='desctext'>{$this->lang->words['bbcode_contdial_infp']}</span></td>
<td class='field_field'>{$form['bbcode_menu_content_text']} <br /><span class='desctext'>{$this->lang->words['bbcode_contdial_info']}</span></td>
</tr>
EOF;
File diff suppressed because it is too large. Load diff
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Email error logs
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_emailerrorlogs
@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Emoticon manager skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-24 16:20:59 -0400 (Thu, 24 May 2012) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10792 $
*/
class cp_skin_emoticons
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Error log skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_errorlogs
@@ -3,9 +3,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Group plugin skin functions
* Last Updated: $LastChangedDate: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $LastChangedDate: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -15,7 +15,7 @@
* @subpackage Forums
* @link http://www.invisionpower.com
* @since 14th May 2003
* @version $Rev: 10914 $
* @version $Rev: 10721 $
*/
class cp_skin_group_core
@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Manage help files skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-12-17 12:34:52 -0500 (Mon, 17 Dec 2012) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: AndyMillne $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 11719 $
*/
class cp_skin_help_files
@@ -70,7 +70,7 @@ class cp_skin_help_files
* @param string Button text
* @return string HTML
*/
public function helpFileForm( $do, $id, $form, $button )
public function helpFileForm( $do, $id, $form, $button, $editorHtml )
{
$IPBHTML = "";
//--starthtml--//
@@ -117,7 +117,7 @@ $IPBHTML .= <<<HTML
<strong class='title'>{$this->lang->words['h_filetext']}</strong>
</td>
<td class='field_field'>
<textarea id='editor_main' name='editor_main' style='width: 100%; height: 300px;'>{$form['text']}</textarea>
{$editorHtml}
</td>
</tr>
</table>
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Hooks export skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_hooks_export
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Look and feel skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_mobileapp
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Error log skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_mobilelogs
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Moderator log skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_modlogs
@@ -3,19 +3,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Dashboard skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-01-30 20:50:13 -0500 (Wed, 30 Jan 2013) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: AndyMillne $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 11920 $
*/
class cp_skin_mycp
@@ -182,12 +182,17 @@ $total_members = $this->registry->getClass('class_localization')->formatNumber(
$_lang = sprintf( $this->lang->words['reg_chart_stats'], 7 );
if ( $this->registry->getClass('class_permissions')->checkForModuleAccess( 'core', 'system' ) )
{
$IPBHTML .= <<<EOF
<div class='acp-box' style='background: #FFF'>
<div class='center section_title'><h2>{$_lang}</h2></div>
<div class='center' id='dashboard_graph' style='padding: 1px;'><img src="{$this->settings['base_url']}module=system&amp;section=charts&amp;days=7" alt="{$this->lang->words['reg_trends_chart']}" style='width:98%;' /></div>
</div>
<br /><br />
EOF;
}
$IPBHTML .= <<<EOF
<div class='acp-box'>
<h3>{$this->lang->words['cp_adminnotes']}</h3>
<form action='{$this->settings['base_url']}&amp;app=core&amp;module=mycp&amp;section=dashboard&amp;save=1' method='post'>
@@ -659,6 +664,81 @@ EOF;
return $IPBHTML;
}
/**
* Show a warning that the rebuild following the upgrade hasn't been completed
*
* @return string HTML
*/
public function tabsForm( $mainTabData, $otherTabData ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript" src='{$this->settings['js_main_url']}acp.jquery.tabprefs.js?ipbv={$this->registry->output->antiCacheHash}'></script>
<div class='section_title'>
<h2>{$this->lang->words['tp_title']}</h2>
<div class='section_info'>{$this->lang->words['tp_desc']}</div>
</div>
<div class='message warning' style='margin-bottom: 10px' id='tabPrefMsg'><h4></h4></div>
<div class='acp-box'>
<h3>{$this->lang->words['tp_tabs']}</h3>
<div class='acp_box ipsPad'>
<h4 class='ipsType_sectiontitle'>{$this->lang->words['tp_main_tab_bar']}</h4>
<ul id="tabBar" class="connectedSortable">
EOF;
foreach( $mainTabData as $tabKey => $tabData )
{
$class = '';
if ( $tabKey == 'other' )
{
$class = 'ui-state-disabled';
}
if ( ! $tabData['isEnabled'] || ! $tabData['permCheck'] )
{
continue;
}
$IPBHTML .= <<<EOF
<li id='mainTab_{$tabKey}' class="{$class}"><span>{$tabData['title']}</span></li>
EOF;
}
$IPBHTML .= <<<EOF
</ul>
<br />
<h4 class='ipsType_sectiontitle'>{$this->lang->words['tp_other_app_menu']}</h4>
<ul id="otherMenu" class="connectedSortable">
EOF;
foreach( $otherTabData as $tabKey => $tabData )
{
$class = '';
if ( ! $tabData['isEnabled'] || ! $tabData['permCheck'] )
{
continue;
}
$IPBHTML .= <<<EOF
<li id='otherMenu_{$tabKey}' class="{$class}"><span>{$tabData['title']}</span></li>
EOF;
}
$IPBHTML .= <<<EOF
</ul>
<br />
<div id='tabPrefSave'>
<input type='button' data-role='reset' value='{$this->lang->words['tp_button_reset']}' class='realbutton redbutton right'>
<input type='button' data-role='save' value='{$this->lang->words['tp_button_save']}' class='realbutton right'>
</div>
</div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
/**
* Show form to change details
*
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Performance mode skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_performance
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Question and answer skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_qanda
@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Cleanup and rebuild tools skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-09-26 11:03:29 -0400 (Wed, 26 Sep 2012) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: mmecham $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 11376 $
*/
class cp_skin_rebuild
@@ -365,8 +365,6 @@ if( count($rebuildSections) and $this->registry->class_permissions->checkPermiss
<h3>{$this->lang->words['re_rebuild']}</h3>
<table class='ipsTable double_pad'>
<tr>
<div style='overflow:auto'>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['re_rebuildbutton']}</strong></td>
<td class='field_field'><input type='radio' name='type' id='type_none' checked='checked' value='0' /> <label style='float:none;' for='type_none'>{$this->lang->words['remenu_none']}</label></td>
@@ -397,8 +395,6 @@ HTML;
<td class='field_title'><strong class='title'>{$this->lang->words['re_percycle']}</strong></td>
<td class='field_field'>{$form['pergo']}</td>
</tr>
</tr>
</table>
<div class='acp-actionbar'>
<input type='submit' value='{$this->lang->words['re_rebuildbutton']}' class='button primary' accesskey='s'>
@@ -591,10 +587,10 @@ $IPBHTML .= <<<HTML
<h3>{$this->lang->words['re_orph']}</h3>
<table class='ipsTable double_pad'>
<td>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['re_orph']}</strong></td>
<td class='field_field'>{$form['pergo']}&nbsp;{$this->lang->words['re_percycle']}<br /><span class='desctext'>{$this->lang->words['re_orph_info']}</span></td>
</td>
</tr>
</table>
<div class='acp-actionbar'>
<input type='submit' value='{$this->lang->words['re_orph']}' class='button primary' accesskey='s'>
@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Report center skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-02-14 19:17:38 -0500 (Thu, 14 Feb 2013) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: AndyMillne $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 11992 $
*/
class cp_skin_reports
@@ -168,63 +168,59 @@ $IPBHTML .= <<<EOF
<h2>{$this->lang->words['r_statmanager']}</h2>
<ul class='context_menu'>
<li><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=create_status'><img src='{$this->settings['skin_acp_url']}/images/icons/page_add.png' alt=''>{$this->lang->words['r_createnew']}</a></li>
<li><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=create_status'><img src='{$this->settings['skin_acp_url']}/images/icons/add.png' alt=''>{$this->lang->words['r_createnew']}</a></li>
</ul>
</div>
<div class="acp-box">
<h3>{$this->lang->words['r_repstatsev']}</h3>
<table class='ipsTable' id='statuses_list'>
<div class='ipsExpandable' id='statuses_list'>
EOF;
if ( is_array($statusRows) && count($statusRows) )
{
foreach( $statusRows as $data )
{
$newBadge = $data['is_new'] ? "<span class='ipsBadge badge_red' data-tooltip='{$this->lang->words['rbadge_default_desc']}'>{$this->lang->words['rbadge_default']}</span>" : "<a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=set_status&amp;status=new&amp;id={$data['status']}'><span class='ipsBadge badge_grey' data-tooltip='{$this->lang->words['rbadge_not_default_desc']}'>{$this->lang->words['rbadge_not_default']}</span></a>";
$completeBadge = $data['is_complete'] ? "<span class='ipsBadge badge_green' data-tooltip='{$this->lang->words['rbadge_complete_desc']}'>{$this->lang->words['rbadge_complete']}</span>" : "<a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=set_status&amp;status=complete&amp;id={$data['status']}'><span class='ipsBadge badge_grey' data-tooltip='{$this->lang->words['rbadge_not_complete_desc']}'>{$this->lang->words['rbadge_not_complete']}</span></a>";
$activeBadge = $data['is_active'] ? "<a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=set_status&amp;status=active&amp;id={$data['status']}'><span class='ipsBadge badge_purple' data-tooltip='{$this->lang->words['rbadge_active_desc']}'>{$this->lang->words['rbadge_active']}</span></a>" : "<a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=set_status&amp;status=active&amp;id={$data['status']}'><span class='ipsBadge badge_grey' data-tooltip='{$this->lang->words['rbadge_inactive_desc']}'>{$this->lang->words['rbadge_inactive']}</span></a>";
$IPBHTML .= <<<EOF
<tr id='status_{$data['status']}' class='ipsControlRow isDraggable'>
<td class='col_drag' valign='top' style='padding-top: 20px;'>
<span class='draghandle'>&nbsp;</span>
</td>
<td>
<table class='ipsTable'>
<tr>
<td style='width: 61%'>
<strong>{$data['title']}</strong>
</td>
<td style='width: 34%; text-align: right'>
<a href="{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=set_status&amp;status=new&amp;id={$data['status']}" title="{$this->lang->words['r_new_report']}"><img src='{$this->settings['skin_acp_url']}/images/report_new_{$data['_is_new']}.png' alt='{$this->lang->words['r_new_report']}' /></a>
<a href="{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=set_status&amp;status=complete&amp;id={$data['status']}" title="{$this->lang->words['r_complete_report']}"><img src='{$this->settings['skin_acp_url']}/images/report_complete_{$data['_is_complete']}.png' alt='{$this->lang->words['r_complete_report']}' /></a>
<a href="{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=set_status&amp;status=active&amp;id={$data['status']}" title="{$this->lang->words['r_active_report']}"><img src='{$this->settings['skin_acp_url']}/images/report_active_{$data['_is_active']}.png' alt='{$this->lang->words['r_active_report']}' /></a>
</td>
<td class='col_buttons'>
<ul class='ipsControlStrip'>
<li class='i_add'><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=add_image&amp;id={$data['status']}' title='{$this->lang->words['r_addimg']}' title='{$this->lang->words['r_addimg']}'>{$this->lang->words['r_addimg']}</a></li>
<li class='i_edit'><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=edit_status&amp;id={$data['status']}' title='{$this->lang->words['r_editstatus']}' title='{$this->lang->words['r_editstatus']}'>{$this->lang->words['r_editstatus']}</a></li>
<li class='ipsControlStrip_more ipbmenu' id="stat_menu{$data['status']}">
<a href='#'>&nbsp;</a>
</li>
</ul>
<ul class='acp-menu' id='stat_menu{$data['status']}_menucontent'>
<li class='icon delete'><a href='#' onclick='return acp.confirmDelete("{$this->settings['base_url']}{$this->form_code}&amp;do=remove_status&amp;id={$data['status']}");' title='{$this->lang->words['r_removestatus']}'>{$this->lang->words['r_removestatus']}</a></li>
</ul>
</td>
</tr>
{$data['status_images']}
</table>
</td>
</tr>
<div class='isDraggable' id='status_{$data['status']}'>
<div class='root_item item category clearfix ipsControlRow'>
<div class='col_buttons right' style='white-space: nowrap'>
<ul class='ipsControlStrip'>
<li class='i_add'><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=add_image&amp;id={$data['status']}' title='{$this->lang->words['r_addimg']}' title='{$this->lang->words['r_addimg']}'>{$this->lang->words['r_addimg']}</a></li>
<li class='i_edit'><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=edit_status&amp;id={$data['status']}' title='{$this->lang->words['r_editstatus']}' title='{$this->lang->words['r_editstatus']}'>{$this->lang->words['r_editstatus']}</a></li>
<li class='i_delete'><a href='#' onclick='return acp.confirmDelete("{$this->settings['base_url']}{$this->form_code}&amp;do=remove_status&amp;id={$data['status']}");' title='{$this->lang->words['r_removestatus']}'>{$this->lang->words['r_removestatus']}</a></li>
</ul>
</div>
<div class='draghandle'>&nbsp;</div>
<div class='item_info'>
<strong class='larger_text'>{$data['title']}</strong>
</div>
<div class='right' style='line-height: 1em; padding-right: 10px'>
{$newBadge}
{$completeBadge}
{$activeBadge}
</div>
</div>
<div class='item_wrap'>
{$data['status_images']}
</div>
</div>
EOF;
}
}
$IPBHTML .= <<<EOF
</table>
</div>
</div>
<script type='text/javascript'>
jQ("#statuses_list").ipsSortable( 'table', {
jQ("#statuses_list").ipsSortable( 'div', {
url: "{$this->settings['base_url']}{$this->form_code_js}&do=reorder&md5check={$this->registry->adminFunctions->getSecurityKey()}".replace( /&amp;/g, '&' )
});
</script>
@@ -242,17 +238,21 @@ return $IPBHTML;
public function report_status_image( $data ) {
$IPBHTML .= <<<EOF
<tr>
<td colspan='2'>
<img src='{$this->settings['public_dir']}{$data['img']}' alt='{$data['points']}' title="{$data['points']} {$this->lang->words['r_points_sufix']}" width="{$data['width']}" height="{$data['height']}" /> {$data['points']} {$this->lang->words['pointssuffix']}
</td>
<td class='col_buttons'>
<ul class='ipsControlStrip' id='statimg{$data['id']}_menucontent'>
<li class='i_edit'><a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=edit_image&amp;id={$data['id']}' title='{$this->lang->words['r_editimg']}'>{$this->lang->words['r_editimg']}</a></li>
<li class='i_delete'><a href='#' onclick='return acp.confirmDelete("{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=remove_image&amp;id={$data['id']}");' title='{$this->lang->words['r_removeimg']}'>{$this->lang->words['r_removeimg']}</a></li>
</ul>
</td>
</tr>
<div class='item ipsControlRow'>
<table style='width: 100%'>
<tr>
<td colspan='2'>
<img src='{$this->settings['public_dir']}{$data['img']}' alt='{$data['points']}' title="{$data['points']} {$this->lang->words['r_points_sufix']}" width="{$data['width']}" height="{$data['height']}" /> {$data['points']} {$this->lang->words['pointssuffix']}
</td>
<td class='col_buttons'>
<ul class='ipsControlStrip' id='statimg{$data['id']}_menucontent'>
<li class='i_edit'><a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=edit_image&amp;id={$data['id']}' title='{$this->lang->words['r_editimg']}'>{$this->lang->words['r_editimg']}</a></li>
<li class='i_delete'><a href='#' onclick='return acp.confirmDelete("{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=remove_image&amp;id={$data['id']}");' title='{$this->lang->words['r_removeimg']}'>{$this->lang->words['r_removeimg']}</a></li>
</ul>
</td>
</tr>
</table>
</div>
EOF;
return $IPBHTML;
@@ -296,13 +296,13 @@ foreach( ipsRegistry::$applications as $app_dir => $app_data )
$plug_data = (is_array($plug_data) AND count($plug_data)) ? $plug_data : $this->request;
$form = array();
$form['plugi_title'] = $this->registry->output->formInput('plugi_title', $plug_data['class_title']);
$form['plugi_version'] = $this->registry->output->formInput('plugi_version', $plug_data['pversion']);
$form['plugi_desc'] = $this->registry->output->formInput('plugi_desc', htmlspecialchars($plug_data['class_desc'], ENT_QUOTES));
$form['plugi_author_url'] = $this->registry->output->formInput('plugi_author_url', $plug_data['author_url']);
$form['plugi_author'] = $this->registry->output->formInput('plugi_author', $plug_data['author']);
$form['plugi_title'] = $this->registry->output->formInput('plugi_title', ( $this->request['plugi_title'] ) ? $this->request['plugi_title'] : $plug_data['class_title']);
$form['plugi_version'] = $this->registry->output->formInput('plugi_version', ( $this->request['plugi_version'] ) ? $this->request['plugi_version'] : $plug_data['pversion']);
$form['plugi_desc'] = $this->registry->output->formInput('plugi_desc', ( $this->request['plugi_desc'] ) ? $this->request['plugi_desc'] : htmlspecialchars($plug_data['class_desc'], ENT_QUOTES));
$form['plugi_author_url'] = $this->registry->output->formInput('plugi_author_url', ( $this->request['plugi_author_url'] ) ? $this->request['plugi_author_url'] : $plug_data['author_url']);
$form['plugi_author'] = $this->registry->output->formInput('plugi_author', ( $this->request['plugi_author'] ) ? $this->request['plugi_author'] : $plug_data['author']);
$form['plugi_file'] = $this->registry->output->formInput('plugi_file', ( $plug_data['my_class'] ? $plug_data['my_class'] : 'default' ));
$form['plugi_app'] = $this->registry->output->formDropdown( 'appPlugin', $apps, $plug_data['app'] );
$form['plugi_app'] = $this->registry->output->formDropdown( 'appPlugin', ( $this->request['plugi_app'] ) ? $this->request['plugi_app'] : $apps, $plug_data['app'] );
$IPBHTML = "";
//--starthtml--//
@@ -443,10 +443,6 @@ $IPBHTML .= <<<EOF
<div class="acp-box">
<h3>{$this->lang->words['r_editplugin']}: {$plug_data['class_title']}</h3>
<table class='ipsTable double_pad'>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['r_app']}</strong></td>
<td class='field_field'>{$form['plugi_app']}</td>
</tr>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['r_groups_submit']}</strong></td>
<td class='field_field'>{$form['plugi_can_report']}<br /><span class="desctext">{$this->lang->words['r_groups_submit_info']}</span></td>
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Security skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-04-02 20:05:02 -0400 (Tue, 02 Apr 2013) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 12144 $
*/
class cp_skin_security
@@ -376,7 +376,7 @@ $IPBHTML .= <<<EOF
<span class='desctext'>{$desc}</span>
</td>
<td style='width: 20%'>
<a href='{$this->settings['base_url']}{$url}' class='realbutton'>{$button}</a>
<a href='{$url}' class='realbutton'>{$button}</a>
</td>
</tr>
@@ -411,7 +411,7 @@ $IPBHTML .= <<<EOF
<span class='desctext'>{$desc}</span>
</td>
<td style='width: 20%'>
<a href='{$this->settings['base_url']}{$url}' class='realbutton'>{$button}</a>
<a href='{$url}' class='realbutton'>{$button}</a>
</td>
</tr>
@@ -446,7 +446,7 @@ $IPBHTML .= <<<EOF
<span class='desctext'>{$desc}</span>
</td>
<td style='width: 20%'>
<a href='{$this->settings['base_url']}{$url}' class='realbutton'>{$button}</a>
<a href='{$url}' class='realbutton'>{$button}</a>
</td>
</tr>
@@ -587,7 +587,7 @@ $IPBHTML .= <<<EOF
{$this->lang->words['sec_locate_the_admin_directory_cho']}
<br />
<br />
<strong>Step 2:</strong>
<strong>{$this->lang->words['sec_step_2']}</strong>
{$this->lang->words['sec_locate_the_initdataphp_file_th']}
<br />
<br />
@@ -0,0 +1,954 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.SEO ACP Skin - SEO
* Last Updated: $Date: 2012-05-10 21:10:13 +0100 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2010-2011 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.SEO
* @link http://www.invisionpower.com
* @version $Revision: 10721 $
*/
class cp_skin_seo
{
/**
* Constructor
*
* @param object Registry object
* @return 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 Dashboard
//===========================================================================
function dashboard( $messages, $ignores ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$this->lang->words['attention_title']}</h2>
HTML;
if ( !empty( $ignores ) )
{
$IPBHTML .= <<<HTML
<div class='ipsActionBar clearfix'>
<ul>
<li class='ipsActionButton'><a href='{$this->settings['base_url']}app=core&module=seo&section=advice&do=clear_warnings'><img src='{$this->settings['skin_acp_url']}/images/icons/arrow_refresh.png' /> {$this->lang->words['attention_clear_warnings']}</a></li>
</ul>
</div>
HTML;
}
$IPBHTML .= <<<HTML
</div>
<div class='acp-box'>
<h3>{$this->lang->words['attention_title']}</h3>
<table class='ipsTable'>
HTML;
if ( !empty( $messages ) )
{
foreach ( $messages as $message )
{
$IPBHTML .= <<<HTML
<tr class='ipsControlRow'>
<td style='width: 18px'><img src='{$this->settings['skin_app_url']}images/{$message['level']}.png' /></td>
<td><span class='larger_text'>{$this->lang->words[ 'atn_' . $message['key'] . '_title' ]}</span><br /><span class='desctext'>{$this->lang->words[ 'atn_' . $message['key'] . '_desc' ]}</span></td>
<td class='col_buttons'>
<ul class='ipsControlStrip'>
<li class='i_cog'><a href='{$this->settings['base_url']}{$message['fix']}' title='{$this->lang->words['attention_fix']}'>{$this->lang->words['attention_fix']}</a></li>
<li class='i_delete'><a href='{$this->settings['base_url']}app=core&module=seo&section=advice&do=ignore&key={$message['key']}' title='{$this->lang->words['attention_ignore']}'>{$this->lang->words['attention_ignore']}</a></li>
</ul>
</td>
</tr>
HTML;
}
}
else
{
$IPBHTML .= <<<HTML
<tr>
<td class='no_messages'>{$this->lang->words['attention_none']}</td>
</tr>
HTML;
}
$IPBHTML .= <<<HTML
</table>
</div>
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Meta Tags
//===========================================================================
function metaTags( $metaTags ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$this->lang->words['meta_title']}</h2>
<div class='ipsActionBar clearfix'>
<ul>
<li class='ipsActionButton'><a href='{$this->settings['base_url']}app=core&module=templates&section=meta&do=add'><img src='{$this->settings['skin_acp_url']}/images/icons/add.png' /> {$this->lang->words['meta_add']}</a></li>
<li class='ipsActionButton'><a href='{$this->settings['public_url']}app=core&module=global&section=meta&do=init' target='_blank'><img src='{$this->settings['skin_app_url']}/images/wand.png' /> {$this->lang->words['meta_magic']}</a></li>
</ul>
</div>
</div>
<div class='acp-box'>
<h3>{$this->lang->words['meta_title']}</h3>
<table class='ipsTable'>
HTML;
HTML;
if ( !empty( $metaTags ) )
{
foreach ( $metaTags as $page => $tags )
{
$encodedPage = IPSText::base64_encode_urlSafe( $page );
$IPBHTML .= <<<HTML
<tr class='ipsControlRow'>
<th class='subhead' colspan='2'>{$page}</th>
<th class='subhead col_buttons'>
<ul class='ipsControlStrip'>
<li class='i_edit'><a href='{$this->settings['base_url']}app=core&module=templates&section=meta&do=edit&page={$encodedPage}'>&nbsp;</a></li>
<li class='i_delete'><a href='{$this->settings['base_url']}app=core&module=templates&section=meta&do=delete&page={$encodedPage}'>&nbsp;</a></li>
</ul>
</th>
</tr>
HTML;
foreach ( $tags as $title => $content )
{
$IPBHTML .= <<<HTML
<tr>
<td>{$title}</td>
<td>{$content}</td>
<td class='col_buttons'>&nbsp;</th>
</tr>
HTML;
}
}
}
else
{
$IPBHTML .= <<<HTML
<tr>
<td class='no_messages'>{$this->lang->words['meta_none']} <a href='{$this->settings['base_url']}app=core&module=templates&section=meta&do=add' class='mini_button'>{$this->lang->words['meta_none_add']}</a></td>
</tr>
HTML;
}
$IPBHTML .= <<<HTML
</table>
</div>
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Meta Tag Form
//===========================================================================
function metaTagForm( $page, $tags ) {
$form['page'] = $this->registry->output->formInput( 'page', $page );
$startID = 0;
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<form id='tags-form' action='{$this->settings['base_url']}&amp;module=templates&amp;section=meta&amp;do=save' method='post'>
<input type='hidden' name='old-page' value='{$page}' />
<div class='section_title'>
<h2>{$this->lang->words['meta_add']}</h2>
<div class='ipsActionBar clearfix'>
<ul>
<li class='ipsActionButton'><a href='#' onclick="$('tags-form').submit();"><img src='{$this->settings['skin_acp_url']}/images/icons/tick.png' alt='' /> {$this->lang->words['meta_save']}</a></li>
</ul>
</div>
</div>
<div class='acp-box'>
<h3>{$this->lang->words['meta_page']}</h3>
<table class='ipsTable double_pad'>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['meta_page']}</strong></td>
<td class='field_field'>
{$form['page']}<br />
<span class='desctext'>{$this->lang->words['meta_page_desc']}</td>
</td>
</tr>
</table>
</div>
<br />
<div class='acp-box'>
<h3>{$this->lang->words['meta_tags']}</h3>
<table class='ipsTable double_pad' id='tags'>
<tr>
<th style='width='2%'>&nbsp;</th>
<th>{$this->lang->words['meta_tag_title']}<br /><span class='desctext'>{$this->lang->words['meta_tag_title_desc']}</span></th>
<th>{$this->lang->words['meta_tag_content']}</th>
<th class='col_buttons'>&nbsp;</th>
</tr>
HTML;
foreach ( $tags as $title => $content )
{
$IPBHTML .= <<<HTML
<tr class='ipsControlRow' id='tag_{$startID}'>
<td>&nbsp;</td>
<td id='display-title-{$startID}'><input name='title-{$startID}' id='title-{$startID}' value='{$title}' /></td>
<td id='display-content-{$startID}'><textarea name='content-{$startID}' id='content-{$startID}' rows='10' cols='40'>{$content}</textarea></td>
<td>
<ul class='ipsControlStrip'>
<li class='i_delete'><a href='#' onclick='removeTag({$startID})'>&nbsp;</a></li>
</ul>
</td>
</tr>
HTML;
$startID++;
}
$IPBHTML .= <<<HTML
</table>
<div class='acp-actionbar'>
<a href='#' class='button' onclick='addTag()'>{$this->lang->words['meta_tag_add']}</a>
</div>
</div>
</form>
<script type='text/javascript'>
var next = {$startID};
function addTag()
{
var row = $('tags').insertRow( $('tags').rows.length );
row.id = 'tag_' + next;
row.className = 'ipsControlRow';
row.style.display = 'none';
var cell_blank = row.insertCell(0);
var cell_title = row.insertCell(1);
cell_title.id = 'display-title-' + _popup;
cell_title.innerHTML = "<input name='title-"+next+"' id='title-"+next+"' />";
var cell_content = row.insertCell(2);
cell_content.id = 'display-content-' + _popup;
cell_content.innerHTML = "<textarea name='content-"+next+"' id='content-"+next+"' rows='10' cols='40'></textarea>";
var cell_delete = row.insertCell(3);
cell_delete.innerHTML = "<ul class='ipsControlStrip'><li class='i_delete'><a onclick='removeTag("+next+")' style='cursor:pointer'>&nbsp;</a></li></ul>";
new Effect.Appear( row, {duration:0.5} );
next++;
}
function removeTag( id )
{
$( 'title-' + id ).value = '';
$( 'content-' + id ).value = '';
new Effect.Fade( $('tag_'+id), {duration:0.5} );
}
</script>
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Add Meta Tag
//===========================================================================
function addTag( $popup, $title='', $content='' ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='acp-box'>
<h3>
HTML;
if ( $title )
{
$IPBHTML .= <<<HTML
{$this->lang->words['meta_tag_edit']}
HTML;
}
else
{
$IPBHTML .= <<<HTML
{$this->lang->words['meta_tag_add']}
HTML;
}
$IPBHTML .= <<<HTML
</h3>
<table class="ipsTable double_pad" style='width:100%'>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['meta_tag_title']}</strong></td>
<td class='field_field'>
<input id='input-title-{$popup}' value='{$title}' /><br />-{$popup}-
<span class='desctext'>{$this->lang->words['meta_tag_title_desc']}</span>
</td>
</tr>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['meta_tag_content']}</strong></td>
<td class='field_field'><textarea id='input-content-{$popup}' rows='10' cols='40'>{$content}</textarea></td>
</tr>
</table>
<div class='acp-actionbar'>
HTML;
if ( $title )
{
$IPBHTML .= <<<HTML
<input type='button' id='popup-save' onclick='doEditTag()' value='{$this->lang->words['meta_save']}' class='realbutton' />
HTML;
}
else
{
$IPBHTML .= <<<HTML
<input type='button' id='popup-save' onclick='saveTag()' value='{$this->lang->words['meta_save']}' class='realbutton' />
HTML;
}
$IPBHTML .= <<<HTML
</div>
</div>
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Acronyms
//===========================================================================
function acronyms( $acronyms ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$this->lang->words['acronyms']}</h2>
<div class='ipsActionBar clearfix'>
<ul>
<li class='ipsActionButton'><a href='{$this->settings['base_url']}app=core&module=posts&section=acronyms&do=add'><img src='{$this->settings['skin_acp_url']}/images/icons/add.png' /> {$this->lang->words['acronyms_add']}</a></li>
</ul>
</div>
</div>
<div class='acp-box'>
<h3>{$this->lang->words['acronyms']}</h3>
<table class='ipsTable'>
<tr>
<th width='2%'>&nbsp;</th>
<th>{$this->lang->words['acronyms_short']}</th>
<th>{$this->lang->words['acronyms_long']}</th>
<th>{$this->lang->words['acronyms_semantic']}</th>
<th>{$this->lang->words['acronyms_casesensitive']}</th>
<th class='col_buttons'>&nbsp;</th>
</tr>
HTML;
if ( !empty( $acronyms ) )
{
foreach ( $acronyms as $id => $data )
{
$semantic = $data['a_semantic'] ? 'tick' : 'cross';
$case = $data['a_casesensitive'] ? 'tick' : 'cross';
$IPBHTML .= <<<HTML
<tr class='ipsControlRow'>
<td>&nbsp;</td>
<td>{$data['a_short']}</td>
<td>{$data['a_long']}</td>
<td><img src='{$this->settings['skin_acp_url']}/images/icons/{$semantic}.png' /></td>
<td><img src='{$this->settings['skin_acp_url']}/images/icons/{$case}.png' /></td>
<td>
<ul class='ipsControlStrip'>
<li class='i_edit'>
<a href='{$this->settings['base_url']}app=core&module=posts&section=acronyms&do=edit&amp;id={$data['a_id']}'>{$this->registry->getClass('class_localization')->words['edit']}</a>
</li>
<li class='i_delete' id='menu{$data['queue_id']}'>
<a onclick="if ( !confirm('{$this->registry->getClass('class_localization')->words['acronym_delete_confirm']}' ) ) { return false; }" href='{$this->settings['base_url']}app=core&module=posts&section=acronyms&do=delete&amp;id={$data['a_id']}'>{$this->registry->getClass('class_localization')->words['delete']}...</a>
</li>
</ul>
</td>
</tr>
HTML;
}
}
else
{
$IPBHTML .= <<<HTML
<tr>
<td colspan='5' class='no_messages'>{$this->lang->words['acronyms_none']} <a href='{$this->settings['base_url']}app=core&module=posts&section=acronyms&do=add' class='mini_button'>{$this->lang->words['acronyms_none_add']}</a></td>
</tr>
HTML;
}
$IPBHTML .= <<<HTML
</table>
</div>
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Acronym Form
//===========================================================================
function acronymForm( $current ) {
if ( empty( $current ) )
{
$title = $this->lang->words['acronyms_add'];
$id = 0;
}
else
{
$title = $this->lang->words['acronyms_edit'];
$id = $current['a_id'];
}
$form['short'] = $this->registry->output->formInput( 'short', ( empty( $current ) ? '' : $current['a_short'] ), '', '30', 'text', '', '', '255' );
$form['long'] = $this->registry->output->formInput( 'long', ( empty( $current ) ? '' : $current['a_long'] ), '', '30', 'text', '', '', '255' );
$form['semantic'] = $this->registry->output->formYesNo( 'semantic', ( empty( $current ) ? 1 : $current['a_semantic'] ) );
$form['casesensitive'] = $this->registry->output->formYesNo( 'casesensitive', ( empty( $current ) ? 0 : $current['a_casesensitive'] ) );
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$title}</h2>
</div>
<form id='tags-form' action='{$this->settings['base_url']}&amp;module=posts&amp;section=acronyms&amp;do=save' method='post'>
<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['acronyms_short']}</strong></td>
<td class='field_field'>
{$form['short']}<br />
<span class='desctext'>{$this->lang->words['acronyms_short_desc']}</td>
</td>
</tr>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['acronyms_long']}</strong></td>
<td class='field_field'>
{$form['long']}
</td>
</tr>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['acronyms_semantic']}</strong></td>
<td class='field_field'>
{$form['semantic']}<br />
<span class='desctext'>{$this->lang->words['acronyms_semantic_desc']}</td>
</td>
</tr>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['acronyms_casesensitive']}</strong></td>
<td class='field_field'>
{$form['casesensitive']}<br />
<span class='desctext'>{$this->lang->words['acronyms_casesensitive_desc']}</td>
</td>
</tr>
</table>
<div class='acp-actionbar'>
<input type='submit' class='button' value='{$title}' />
</div>
</div>
</form>
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Show Keywords
//===========================================================================
function keywords( $pagination, $keywords ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$this->lang->words['keywords_title']}</h2>
</div>
<div class='information-box'>
{$this->lang->words['keywords_blurb']}
</div>
<br />
<div class='acp-box'>
<h3>{$this->lang->words['keywords_title']}</h3>
<table class='ipsTable'>
<tr>
<th>{$this->lang->words['keywords_keyword']}</th>
<th>{$this->lang->words['keywords_count']}</th>
</tr>
HTML;
if ( !empty( $keywords ) )
{
foreach ( $keywords as $keyword )
{
$IPBHTML .= <<<HTML
<tr>
<td><a href="{$this->settings['base_url']}module=seo&section=activity&do=visitors&keyword={$keyword['keyword']}">{$keyword['keyword']}</a></td>
<td>{$keyword['count']}</td>
</tr>
HTML;
}
}
else
{
$IPBHTML .= <<<HTML
<tr>
<td colspan='2' class='no_messages'>{$this->lang->words['keywords_none']}</td>
</tr>
HTML;
}
$IPBHTML .= <<<HTML
</table>
</div>
<br />
{$pagination}
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Show Keywords
//===========================================================================
function visitors( $pagination, $visitors ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$this->lang->words['visitors_title']}</h2>
</div>
<div class='information-box'>
{$this->lang->words['visitors_blurb']}
</div>
<br />
<div class='acp-box'>
<h3>{$this->lang->words['visitors_title']}</h3>
<table class='ipsTable'>
<tr>
<th>{$this->lang->words['visitors_member']}</th>
<th>{$this->lang->words['visitors_date']}</th>
<th>{$this->lang->words['visitors_keywords']}</th>
<th>{$this->lang->words['visitors_engine']}</th>
<th>{$this->lang->words['visitors_page']}</th>
</tr>
HTML;
if ( !empty( $visitors ) )
{
foreach ( $visitors as $visitor )
{
$IPBHTML .= <<<HTML
<tr>
<td>
HTML;
if ( $visitor['member_id'] )
{
$IPBHTML .= <<<HTML
<a href="{$this->settings['base_url']}app=members&module=members&section=members&do=viewmember&member_id={$visitor['member_id']}">{$visitor['members_display_name']}</a>
HTML;
}
else
{
$IPBHTML .= <<<HTML
{$this->lang->words['global_guestname']}
HTML;
}
$IPBHTML .= <<<HTML
</td>
<td>{$visitor['date']}</td>
<td><a href="{$this->settings['base_url']}module=seo&amp;section=activity&amp;do=visitors&amp;keyword={$visitor['keywords']}">{$visitor['keywords']}</a></td>
<td><a href="{$this->settings['base_url']}module=seo&amp;section=activity&amp;do=visitors&amp;engine={$visitor['engine']}">{$visitor['engine']}</a></td>
<td><a target="_blank" href="{$this->settings['public_url']}{$visitor['url']}">{$visitor['page']}</a></td>
</tr>
HTML;
}
}
else
{
$IPBHTML .= <<<HTML
<tr>
<td colspan='5' class='no_messages'>{$this->lang->words['visitors_none']}</td>
</tr>
HTML;
}
$IPBHTML .= <<<HTML
</table>
</div>
<br />
{$pagination}
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Activity Dashboard
//===========================================================================
function activity( $keywords, $spiders, $visitors ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$this->lang->words['dashboard_title']}</h2>
<div class='ipsActionBar clearfix'>
<ul>
<li class='ipsActionButton'><a href='#' class='ipbmenu' id='date'><img src='{$this->settings['skin_app_url']}images/calendar.png' /> {$this->lang->words['dashboard_graphs_date']}<img src='{$this->settings['skin_acp_url']}/images/dropdown.png' /></a></li>
</ul>
</div>
</div>
<ul class='ipbmenu_content' id='date_menucontent' style='display: none'>
<li><img src='{$this->settings['skin_app_url']}images/calendar-d.png' /> <a href='{$this->settings['base_url']}module=seo&section=activity&do=dashboard&days=1' style='text-decoration: none' >{$this->lang->words['dashboard_graphs_day']}</a></li>
<li><img src='{$this->settings['skin_app_url']}images/calendar-w.png' /> <a href='{$this->settings['base_url']}module=seo&section=activity&do=dashboard&days=7' style='text-decoration: none' >{$this->lang->words['dashboard_graphs_week']}</a></li>
<li><img src='{$this->settings['skin_app_url']}images/calendar-m.png' /> <a href='{$this->settings['base_url']}module=seo&section=activity&do=dashboard&days=28' style='text-decoration: none' >{$this->lang->words['dashboard_graphs_month']}</a></li>
</ul>
<div class='acp-box'>
<h3>{$this->lang->words['dashboard_visitors']}</h3>
<div style='padding: 5px; text-align: center'>
<img src="{$this->settings['base_url']}module=seo&section=activity&do=search_chart&days={$this->request['days']}" />
</div>
</div>
<br />
<div class='acp-box'>
<h3>{$this->lang->words['dashboard_spiders']}</h3>
<div style='padding: 5px; text-align: center'>
<img src="{$this->settings['base_url']}module=seo&section=activity&do=spider_chart&days={$this->request['days']}" />
</div>
</div>
<br />
<div style='width: 49%; float: left'>
<div class='acp-box'>
<h3>{$this->lang->words['dashboard_keywords']}</h3>
<table class='ipsTable'>
<tr>
<th>{$this->lang->words['keywords_keyword']}</th>
<th>{$this->lang->words['keywords_count']}</th>
</tr>
HTML;
if ( !empty( $keywords ) )
{
foreach ( $keywords as $keyword )
{
$IPBHTML .= <<<HTML
<tr>
<td><a href="{$this->settings['base_url']}module=seo&section=activity&do=visitors&keyword={$keyword['keyword']}">{$keyword['keyword']}</a></td>
<td>{$keyword['count']}</td>
</tr>
HTML;
}
}
else
{
$IPBHTML .= <<<HTML
<tr>
<td colspan='2' class='no_messages'>{$this->lang->words['keywords_none']}</td>
</tr>
HTML;
}
$IPBHTML .= <<<HTML
</table>
HTML;
if ( !empty( $keywords ) )
{
$IPBHTML .= <<<HTML
<div class='acp-actionbar'>
<a href='{$this->settings['base_url']}module=seo&section=activity&do=keywords' class='button'>{$this->lang->words['dashboard_all']}</a>
</div>
HTML;
}
$IPBHTML .= <<<HTML
</div>
<br />
</div>
<div style='width: 49%; float: right'>
<div class='acp-box'>
<h3>{$this->lang->words['dashboard_spiders']}</h3>
<table class='ipsTable'>
<tr>
<th>{$this->lang->words['spiders_spider']}</th>
<th>{$this->lang->words['spiders_date']}</th>
<th>{$this->lang->words['spiders_page']}</th>
</tr>
HTML;
if ( !empty( $spiders ) )
{
foreach ( $spiders as $spider )
{
$IPBHTML .= <<<HTML
<tr>
<td><a href="{$this->settings['base_url']}module=seo&section=activity&engine={$spider['bot']}">{$spider['bot']}</a></td>
<td>{$spider['entry_date']}</td>
<td><a target="_blank" href="{$this->settings['public_url']}{$spider['url']}">{$spider['page']}</a></td>
</tr>
HTML;
}
}
else
{
$IPBHTML .= <<<HTML
<tr>
<td colspan='3' class='no_messages'>{$this->lang->words['spiders_none']}</td>
</tr>
HTML;
}
$IPBHTML .= <<<HTML
</table>
HTML;
if ( !empty( $spiders ) )
{
$IPBHTML .= <<<HTML
<div class='acp-actionbar'>
<a href='{$this->settings['base_url']}app=core&module=logs&section=spiderlogs' class='button'>{$this->lang->words['dashboard_all']}</a>
</div>
HTML;
}
$IPBHTML .= <<<HTML
</div>
<br />
</div>
<br style='clear: both' />
<div class='acp-box'>
<h3>{$this->lang->words['dashboard_visitors']}</h3>
<table class='ipsTable'>
<tr>
<th>{$this->lang->words['visitors_member']}</th>
<th>{$this->lang->words['visitors_date']}</th>
<th>{$this->lang->words['visitors_keywords']}</th>
<th>{$this->lang->words['visitors_engine']}</th>
<th>{$this->lang->words['visitors_page']}</th>
</tr>
HTML;
if ( !empty( $visitors ) )
{
foreach ( $visitors as $visitor )
{
$IPBHTML .= <<<HTML
<tr>
<td>
HTML;
if ( $visitor['member_id'] )
{
$IPBHTML .= <<<HTML
<a href="{$this->settings['base_url']}app=members&module=members&section=members&do=viewmember&member_id={$visitor['member_id']}">{$visitor['members_display_name']}</a>
HTML;
}
else
{
$IPBHTML .= <<<HTML
{$this->lang->words['global_guestname']}
HTML;
}
$IPBHTML .= <<<HTML
</td>
<td>{$visitor['date']}</td>
<td><a href="{$this->settings['base_url']}module=seo&section=activity&do=visitors&keyword={$visitor['keywords']}">{$visitor['keywords']}</a></td>
<td><a href="{$this->settings['base_url']}module=seo&section=activity&do=visitors&engine={$visitor['engine']}">{$visitor['engine']}</a></td>
<td><a target="_blank" href="{$this->settings['public_url']}{$visitor['url']}">{$visitor['page']}</a></td>
</tr>
HTML;
}
}
else
{
$IPBHTML .= <<<HTML
<tr>
<td colspan='5' class='no_messages'>{$this->lang->words['visitors_none']}</td>
</tr>
HTML;
}
$IPBHTML .= <<<HTML
</table>
HTML;
if ( !empty( $keywords ) )
{
$IPBHTML .= <<<HTML
<div class='acp-actionbar'>
<a href='{$this->settings['base_url']}module=seo&section=activity&do=visitors' class='button'>{$this->lang->words['dashboard_all']}</a>
</div>
HTML;
}
$IPBHTML .= <<<HTML
</div>
HTML;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// Upgrade Splash
//===========================================================================
function upgradeSplash() {
$oldPath = ( ( array_key_exists( '_', $_SERVER ) ? $_SERVER['_'] : '/usr/bin/php' ) . ' ' . IPS_ROOT_PATH . 'applications_addon/ips/ipseo/sources/cron.php' );
$task = $this->DB->buildAndFetch( array( 'select' => '*', 'from' => 'task_manager', 'where' => "task_application='core' AND task_key='ipseo_sitemap_generator'" ) );
$newPath = DOC_IPS_ROOT_PATH . 'interface/task.php ' . $task['task_cronkey'];
$application = $this->DB->buildAndFetch( array( 'select' => '*', 'from' => 'core_applications', 'where' => "app_directory='ipseo'" ) );
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$this->lang->words['ipseo_upgrade_title']}</h2>
</div>
<div class='acp-box'>
<h3>{$this->lang->words['ipseo_upgrade_title']}</h3>
<table class='ipsTable'>
<tr>
<td>
{$this->lang->words['ipseo_upgrade_intro']}
HTML;
if ( $this->settings['task_use_cron'] )
{
$IPBHTML .= <<<HTML
{$this->lang->words['ipseo_upgrade_cronmode']}
<input value="{$oldPath}" style="width:100%" /><br /><br />
HTML;
}
else
{
$IPBHTML .= <<<HTML
{$this->lang->words['ipseo_upgrade_1']}
<input value="{$oldPath}" style="width:100%" /><br /><br />
{$this->lang->words['ipseo_upgrade_2']}
<input value="{$newPath}" style="width:100%" /><br /><br />
HTML;
}
$IPBHTML .= <<<HTML
{$this->lang->words['ipseo_upgrade_finish']}
</td>
</tr>
</table>
<div class='acp-actionbar'>
<a href='{$this->settings['base_url']}app=core&module=applications&section=applications&do=application_remove&app_id={$application['app_id']}' class='realbutton'>{$this->lang->words['ipseo_upgrade_continue']}</a>
</div>
</div>
HTML;
//--endhtml--//
return $IPBHTML;
}
}
File diff suppressed because it is too large. Load diff
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Setup skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_setup
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Error log skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_spamlogs
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Spiderlogs skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 10721 $
*/
class cp_skin_spiderlogs
@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* SQL Toolbox skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-01-17 15:51:17 -0500 (Thu, 17 Jan 2013) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: AndyMillne $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 11859 $
*/
class cp_skin_sql
@@ -69,28 +69,11 @@ class cp_skin_sql
* @param array Rows
* @return string HTML
*/
public function sqlToolResult( $title, $columns, $rows ) {
public function sqlToolResult( $columns, $rows ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
<div class='acp-box'>
<h3>{$title}</h3>
<table class='ipsTable'>
<tr>
HTML;
foreach( $columns as $r )
{
$IPBHTML .= <<<HTML
<th>{$r}</th>
HTML;
}
$IPBHTML .= <<<HTML
</tr>
<tr>
HTML;
@@ -104,9 +87,6 @@ HTML;
$IPBHTML .= <<<HTML
</tr>
</table>
</div>
<br />
HTML;
//--endhtml--//
@@ -118,7 +98,7 @@ return $IPBHTML;
*
* @return string HTML
*/
public function sqlToolResultHeader() {
public function sqlToolResultHeader( $columns ) {
$IPBHTML = "";
//--starthtml--//
@@ -128,12 +108,46 @@ $IPBHTML .= <<<HTML
<div class='section_title'>
<h2>{$title}</h2>
</div>
<div class='acp-box'>
<h3>{$this->request['tool']}</h3>
<table class='ipsTable'>
<tr>
HTML;
foreach( $columns as $r )
{
$IPBHTML .= <<<HTML
<th>{$r}</th>
HTML;
}
$IPBHTML .= <<<HTML
</tr>
HTML;
//--endhtml--//
return $IPBHTML;
}
/**
* Show the footer for an SQL tool result
*
* @return string HTML
*/
public function sqlToolResultFooter() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<HTML
</table>
</div>
HTML;
//--endhtml--//
return $IPBHTML;
}
/**
* Splash screen to create an SQL backup
*
@@ -155,7 +169,7 @@ $IPBHTML .= <<<HTML
<p>{$this->lang->words['my_simple_backup']}</p>
<p>{$this->lang->words['my_simple_text']}</p>
<p><b><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=dosafebackup&amp;create_tbl={$this->request['create_tbl']}&amp;addticks={$this->request['addticks']}&amp;skip={$this->request['skip']}&amp;enable_gzip={$this->request['enable_gzip']}'>{$this->lang->words['my_start_backup']}</a></b></p>
<p><b><a href='{$this->settings['base_url']}{$this->form_code}&amp;do=dosafebackup&amp;create_tbl={$this->request['create_tbl']}&amp;skip={$this->request['skip']}&amp;enable_gzip={$this->request['enable_gzip']}'>{$this->lang->words['my_start_backup']}</a></b></p>
</div>
HTML;
@@ -198,12 +212,7 @@ $IPBHTML .= <<<HTML
<td class='field_title'><strong class='title'>{$this->lang->words['my_createtable']}</strong></td>
<td class='field_field'>{$form['create_tbl']}</td>
</tr>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['my_backticks']}</strong></td>
<td class='field_field'><input type='checkbox' name='addticks' value='1' /><br /><span class='desctext'>{$this->lang->words['my_iferror']}</span></td>
</tr>
<tr>
<td class='field_title'><strong class='title'>{$this->lang->words['my_skinnoness']}</strong></td>
<td class='field_field'>{$form['skip']}<br /><span class='desctext'>{$this->lang->words['my_skinnoness_notes']}</span></td>
@@ -233,11 +242,16 @@ return $IPBHTML;
* @param string Page links
* @return string HTML
*/
public function sqlViewResults( $queries, $headers, $rows, $pages, $tableName='', $truncated=array() ) {
public function sqlViewResults( $queries, $headers, $rows, $pages, $truncated=array() ) {
$IPBHTML = "";
//--starthtml--//
$query = implode( ";\n", $queries );
$query = "";
foreach ($queries as $qry)
{
$query .= $qry['sql'] . ";\n";
}
$title = sprintf( $this->lang->words['my_title'], $this->true_version );
@@ -247,11 +261,6 @@ $IPBHTML .= <<<HTML
</div>
HTML;
if ( $tableName )
{
$this->lang->words['my_results'] .= ' - ' . $tableName;
}
//-----------------------------------------
// When coming from db checker/index checker, won't be set
//-----------------------------------------
@@ -274,12 +283,21 @@ HTML;
}
foreach( $queries as $index => $aQuery )
{
{
if ( $aQuery['tableName'] )
{
$query_title = $this->lang->words['my_results'] . ' - ' . $aQuery['tableName'];
}
else
{
$query_title = $this->lang->words['my_results'];
}
$IPBHTML .= <<<HTML
<div>{$pages}</div>
<div class='acp-box clear'>
<h3>{$this->lang->words['my_results']}</h3>
<h3>{$query_title}</h3>
<table class='ipsTable'>
<tr>
@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* System tools skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-04-23 09:51:07 -0400 (Tue, 23 Apr 2013) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: AndyMillne $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 12193 $
*/
class cp_skin_system
@@ -1071,7 +1071,7 @@ if ( $hasTranslate )
$HTML .= <<<HTML
<div class='information-box'>
<h4><img src='{$this->settings['skin_acp_url']}/images/icons/information.png' alt='' />&nbsp; {$this->lang->words['ext_top_title']}</h4>
<h4>{$this->lang->words['ext_top_title']}</h4>
{$this->lang->words['ext_translation_detected']}
</div>
<br />
@@ -1349,19 +1349,21 @@ $HTML = <<<HTML
HTML;
$tabIndex = 1;
foreach( $lang as $l )
{
$revert = ( $l['custom'] ) ? "<li class='i_refresh'><a href='{$this->settings['base_url']}{$this->form_code}&do=revert&word_id={$l['id']}&word_pack={$l['pack']}&id={$id}&st={$this->request['st']}' class='dropdown-button'><img src='{$this->settings['skin_acp_url']}/images/icons/arrow_rotate_anticlockwise.png' /></a></li>" : '';
$edit = IN_DEV ? "<li class='i_edit'><a href='{$this->settings['base_url']}{$this->form_code}&do=edit_word_entry&&word_id={$l['id']}&word_pack={$l['pack']}&id={$id}' class='dropdown-button'><img src='{$this->settings['skin_acp_url']}/images/icons/pencil.png' /></a></li>" : '';
$pack = $this->request['search'] ?
"<span class='desctext'>{$this->lang->words['l_wordpack_prefix']}<a href='{$this->settings['base_url']}{$this->form_code}&amp;word_pack={$l['pack']}&amp;do=edit_word_pack&amp;id={$id}'><strong>{$l['pack']}</strong></a></span>" :
'';
if ( !empty( $lang ) )
{
foreach( $lang as $l )
{
$revert = ( $l['custom'] != "" ) ? "<li class='i_refresh'><a href='{$this->settings['base_url']}{$this->form_code}&do=revert&word_id={$l['id']}&word_pack={$l['pack']}&id={$id}&st={$this->request['st']}' class='dropdown-button'><img src='{$this->settings['skin_acp_url']}/images/icons/arrow_rotate_anticlockwise.png' /></a></li>" : '';
$edit = IN_DEV ? "<li class='i_edit'><a href='{$this->settings['base_url']}{$this->form_code}&do=edit_word_entry&&word_id={$l['id']}&word_pack={$l['pack']}&id={$id}' class='dropdown-button'><img src='{$this->settings['skin_acp_url']}/images/icons/pencil.png' /></a></li>" : '';
$pack = $this->request['search'] ?
"<span class='desctext'>{$this->lang->words['l_wordpack_prefix']}<a href='{$this->settings['base_url']}{$this->form_code}&amp;word_pack={$l['pack']}&amp;do=edit_word_pack&amp;id={$id}'><strong>{$l['pack']}</strong></a></span>" :
'';
$HTML .= <<<HTML
<tr class='language_editor ipsControlRow'>
<td>
<div class='information-box' style='width:400px; overflow:auto'>
<div class='information-box' style='width:400px; overflow:auto' id ='word_ib_{$l['id']}_new'>
<h4>{$l['key']}</h4>
{$l['default']}
</div>
@@ -1370,6 +1372,10 @@ $HTML .= <<<HTML
<td>
<br />
<textarea tabindex='{$tabIndex}' name='lang[{$l['id']}]' cols='50' id='word_{$l['id']}_new' class='new_lang' style='width:95%'>{$l['custom']}</textarea>
<script type='text/javascript'>
$('word_{$l['id']}_new').setStyle({'height':($('word_ib_{$l['id']}_new').scrollHeight)+'px'});
</script>
</td>
<td class='col_buttons'>
<ul class='ipsControlStrip'>
@@ -1380,20 +1386,35 @@ $HTML .= <<<HTML
</td>
</tr>
HTML;
$tabIndex++;
}
$tabIndex++;
}
$HTML .= <<<HTML
</table>
<div class='acp-actionbar'>
<input type='submit' value='{$this->lang->words['language_word_pack_go']}' class='button primary' />
</div>
</div>
<br />
{$pages}
</form>
$HTML .= <<<HTML
</table>
<div class='acp-actionbar'>
<input type='submit' value='{$this->lang->words['language_word_pack_go']}' class='button primary' />
</div>
</div>
<br />
{$pages}
</form>
HTML;
}
else
{
$HTML .= <<<HTML
<tr>
<td colspan='3' class='no_messages'>
{$this->lang->words['language_word_pack_no_results']}
</td>
</tr>
</table>
</div>
</form>
HTML;
}
return $HTML;
}
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Look and feel skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-04-12 20:11:40 -0400 (Fri, 12 Apr 2013) $
* </pre>
*
* @author $Author: bfarber $
@@ -14,7 +14,7 @@
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 12172 $
*/
class cp_skin_templates
@@ -178,7 +178,7 @@ $IPBHTML .= <<<EOF
<form id='skinGen' action='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=skinGenStepOneComplete' method='post'>
<div class='acp-box'>
<h3>Basic Settings</h3>
<h3>{$this->lang->words['vse_basic_settings']}</h3>
<table class='ipsTable double_pad'>
<tr>
<th colspan='2'>{$this->lang->words['sk_basics']}</th>
@@ -605,6 +605,7 @@ $IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!DOCTYPE html>
<html>
<head>
<title>{$sessionData['_title']} {$this->lang->words['sk_title_export']}</title>
@@ -641,6 +642,7 @@ $IPBHTML .= <<<EOF
font-size: 18px;
}
</style>
<meta charset='{$this->settings['gb_char_set']}' />
</head>
<body>
<div style='padding:4px;border:1px solid #000;background-color:#FFF;margin:4px;'>
@@ -1480,8 +1482,11 @@ checkMakeGlobal();
function checkMakeGlobal()
{
var _val = $('setIsDefault').checked;
if ( $('setIsDefault') )
{
var _val = $('setIsDefault').checked;
}
if ( _val )
{
$('setPermissions').disabled = true;
@@ -1496,8 +1501,12 @@ function checkMakeGlobal()
function checkPermTickBox()
{
var _val = $('setPermissionsAll').checked;
var _val2 = $('setIsDefault').checked;
if ( $('setIsDefault') )
{
var _val2 = $('setIsDefault').checked;
}
if ( _val || _val2 )
{
$('setPermissions').disabled = true;
@@ -1991,11 +2000,11 @@ EOF;
if ( ! empty( $skinGenSessions[ $data['set_id'] ] ) )
{
$canDelete = false;
$desc .= "<a href='{$this->settings['base_url']}{$this->form_code}&amp;do=cancelVisualEditor&amp;set_id={$data['set_id']}' class='mini_button secondary right ipsCancelEditor'>Cancel Visual Editor</a>";
$desc .= "<a href='{$this->settings['base_url']}{$this->form_code}&amp;do=cancelVisualEditor&amp;set_id={$data['set_id']}' class='mini_button secondary right ipsCancelEditor'>{$this->lang->words['vse_cancel_vse']}</a>";
}
else
{
$desc .= "<a href='{$this->settings['base_url']}{$this->form_code}&amp;do=launchVisualEditor&amp;set_id={$data['set_id']}' target='_blank' class='mini_button right'>Launch visual editor</a>";
$desc .= "<a href='{$this->settings['base_url']}{$this->form_code}&amp;do=launchVisualEditor&amp;set_id={$data['set_id']}' target='_blank' class='mini_button right'>{$this->lang->words['vse_launch_vse']}</a>";
}
}
@@ -2010,16 +2019,19 @@ EOF;
$parents = unserialize( $data['set_parent_array'] );
if( is_array($parents) AND count($parents) )
if( is_array( $parents ) AND count( $parents ) )
{
foreach ( $parents as $pid )
{
foreach ( $children[ $pid ] as $k => $v )
if( is_array( $children[ $pid ] ) AND count( $children[ $pid ] ) )
{
if ( $v == $data['set_id'] )
foreach ( $children[ $pid ] as $k => $v )
{
unset( $children[ $pid ][ $k ] );
break;
if ( $v == $data['set_id'] )
{
unset( $children[ $pid ][ $k ] );
break;
}
}
}
}
@@ -2162,7 +2174,7 @@ EOF;
$IPBHTML .= <<<EOF
</ul>
<script type="text/javascript">
var cancelEditorDialogue = new Template("<div class='acp-box'><h3>Close Visual Editor</h3><div class='pad'><p>This will cancel the open session and revert any unsaved changes.<br /><br /><a href='#{url}' class='button'>Close Editor</a></p></div></div>" );
var cancelEditorDialogue = new Template("<div class='acp-box'><h3>{$this->lang->words['close_vse_title']}</h3><div class='pad'><p>{$this->lang->words['vse_close_desc']}<br /><br /><a href='#{url}' class='button'>{$this->lang->words['vse_close_linktext']}</a></p></div></div>" );
dropItLikeItsHotroot = function( draggableObject, mouseObject )
{
var options = {
@@ -2766,4 +2778,115 @@ EOF;
return $IPBHTML;
}
/**
* System Templates List
*
* @param bool Directory is writable?
* @param array System Templates
* @return string HTML
*/
public function systemTemplatesList( $writable, $templates ) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='section_title'>
<h2>{$this->lang->words['system_templates']}</h2>
</div>
EOF;
if ( !$writable )
{
$IPBHTML .= <<<EOF
<div class='error'>
{$this->lang->words['system_templates_nowrite']}
</div>
<br />
EOF;
}
$IPBHTML .= <<<EOF
<div class='acp-box'>
<h3>{$this->lang->words['system_templates']}</h3>
<table class='ipsTable'>
EOF;
foreach ( $templates as $k => $v )
{
$name = isset( $this->lang->words[ 'st_' . $k ] ) ? $this->lang->words[ 'st_' . $k ] : $v;
$desc = isset( $this->lang->words[ 'st_' . $k . '_desc' ] ) ? ( "<br /><span class='desctext'>" . $this->lang->words[ 'st_' . $k . '_desc' ] . '</span>' ) : '';
$IPBHTML .= <<<EOF
<tr class='ipsControlRow'>
<td>
<span class='larger_text'><a href='{$this->settings['base_url']}&module=templates&section=systemTemplates&do=edit&k={$k}'>{$name}</a></span>{$desc}
</td>
<td>
<ul class='ipsControlStrip'>
<li class='i_view'><a class='clickable' onclick='window.open( "{$this->settings['base_url']}&module=templates&section=systemTemplates&do=preview&k={$k}", "previewPopup", "height=500,width=800" )' title='{$this->lang->words['preview']}'>{$this->lang->words['preview']}</a></li>
<li class='i_edit'><a href='{$this->settings['base_url']}&module=templates&section=systemTemplates&do=edit&k={$k}' title='{$this->lang->words['edit']}'>{$this->lang->words['edit']}</a></li>
<li class='i_revert'><a href='{$this->settings['base_url']}&module=templates&section=systemTemplates&do=revert&k={$k}' title='{$this->lang->words['revert']}'>{$this->lang->words['revert']}</a></li>
</ul>
</td>
</tr>
EOF;
}
$IPBHTML .= <<<EOF
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
/**
* System Templates List
*
* @param string Key
* @param string Name
* @param array Parameters
* @param string Content
* @return string HTML
*/
public function systemTemplatesEdit( $key, $name, $parameters, $content ) {
$parameters = implode( ', ', $parameters );
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='section_title'>
<h2>{$name}</h2>
</div>
EOF;
$IPBHTML .= <<<EOF
<form action='{$this->settings['base_url']}&module=templates&section=systemTemplates&do=save&k={$key}' method='post'>
<div class='acp-box'>
<h3>{$parameters}</h3>
<table class='ipsTable'>
<tr>
<td>
<textarea style="width: 100%; height: 800px" name='content'>{$content}</textarea>
</td>
</tr>
</table>
<div class='acp-actionbar'>
<input type='submit' value='{$this->lang->words['system_templates_save']}' class='realbutton' />
</div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
}
@@ -1,18 +1,18 @@
<?php
/**
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* ACP Tools skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2013-01-07 12:09:37 -0500 (Mon, 07 Jan 2013) $
*
* @author $Author: bfarber $
* @author $Author: mark $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 11791 $
*/
class cp_skin_tools
@@ -439,6 +439,15 @@ $IPBHTML .= <<<HTML
{$form['share_canonical']}
</td>
</tr>
<tr>
<td class='field_title'>
<strong class='title'>{$this->lang->words['sl_form_groups']}</strong>
</td>
<td class='field_field'>
{$form['share_groups']}<br />
<span class='desctext'>{$this->lang->words['sl_form_groups_desc']}</span>
</td>
</tr>
</table>
<div class='acp-actionbar'>
<input type='submit' value='{$button}' class='button primary' accesskey='s'>
@@ -876,11 +885,21 @@ return $IPBHTML;
* @param array Form elements
* @return string HTML
*/
public function login_conf_form( $login, $form ) {
public function login_conf_form( $login, $form, $help ) {
$IPBHTML = "";
//--starthtml--//
if ( $help )
{
$IPBHTML .= <<<EOF
<div class='information-box'>
{$help}
</div>
<br />
EOF;
}
$IPBHTML .= <<<EOF
<form id='mainform' action='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=login_save_conf&amp;login_id={$login['login_id']}' method='post'>
<div class='acp-box'>
@@ -931,6 +950,8 @@ return $IPBHTML;
*/
public function login_overview( $content ) {
$ipsConnectKey = sprintf( $this->lang->words['ipsconnect_details'], $this->settings['board_url'] . '/interface/ipsconnect/ipsconnect.php', md5( md5( $this->settings['sql_user'] . $this->settings['sql_pass'] ) . $this->settings['board_start'] ) );
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
@@ -942,6 +963,11 @@ $IPBHTML .= <<<EOF
</ul>
</div>
<div class='information-box'>
{$ipsConnectKey}
</div>
<br />
<div class='acp-box'>
<h3>{$this->lang->words['tol_registered_log_in_authenticati']}</h3>
<table class='ipsTable' id='login_sortable'>
@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.3.4
* IP.Board v3.4.5
* Warn log skin file
* Last Updated: $Date: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
* Last Updated: $Date: 2012-09-17 11:58:03 -0400 (Mon, 17 Sep 2012) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: mark $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Core
* @link http://www.invisionpower.com
* @since Friday 19th May 2006 17:33
* @version $Revision: 10914 $
* @version $Revision: 11341 $
*/
class cp_skin_warnlogs
@@ -123,10 +123,8 @@ $IPBHTML .= <<<HTML
<h3>{$this->lang->words['wlog_thelogs']}</h3>
<table class="ipsTable">
<tr>
<th width='30%'>{$this->lang->words['wlog_member']}</th>
<th width='20%'>{$this->lang->words['wlog_times']}</th>
<th width='20%'>{$this->lang->words['wlog_viewall']}</th>
<th width='30%'>{$this->lang->words['wlog_removeall']}</th>
<th>{$this->lang->words['wlog_member']}</th>
<th>{$this->lang->words['wlog_times']}</th>
</tr>
HTML;
@@ -136,10 +134,8 @@ if( count($members) AND is_array($members) )
{
$IPBHTML .= <<<HTML
<tr>
<td><span class='larger_text'>{$row['members_display_name']}</span></td>
<td><span class='larger_text'><a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=view&amp;mid={$row['member_id']}'>{$row['members_display_name']}</a></span></td>
<td>{$row['act_count']}</td>
<td><a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=view&amp;mid={$row['member_id']}'>{$this->lang->words['wlog_viewlog']}</a></td>
<td><a href='{$this->settings['base_url']}&amp;{$this->form_code}&amp;do=remove&amp;mid={$row['member_id']}'>{$this->lang->words['wlog_remove']}</a></td>
</tr>
HTML;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 B

@@ -0,0 +1,10 @@
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; 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>
Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B