Version 3.1.4
This commit is contained in:
1 parent
1d4720f3e2
commit
ae5c01cc78
2563 files changed
+283048
-240689
No files matched your search
@@ -1,17 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.0.5
|
||||
* IP.Board v3.1.4
|
||||
* Admin CP global skin templates
|
||||
* Last Updated: $Date: 2009-09-24 16:56:42 -0400 (Thu, 24 Sep 2009) $
|
||||
* Last Updated: $Date: 2010-09-29 20:23:38 -0400 (Wed, 29 Sep 2010) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: rikki $
|
||||
* @author $Author: bfarber $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.iinvisionpower.com/community/board/license.html
|
||||
* @package Invision Power Board
|
||||
* @link http://www.iinvisionpower.com
|
||||
* @version $Rev: 5154 $
|
||||
* @license http://www.invisionpower.com/community/board/license.html
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 6925 $
|
||||
* @since 3.0.0
|
||||
*
|
||||
*/
|
||||
@@ -47,7 +49,7 @@ $IPBHTML .= <<<HTML
|
||||
<div class='tableborder'>
|
||||
<div class='tableheaderalt'>{$title}</div>
|
||||
|
||||
<table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'>
|
||||
<table width='100%' align='center'>
|
||||
<tr>
|
||||
<td class='tablesubheader' width='100%' align='center'> </td>
|
||||
<td class='tablesubheader' align='center'> </td>
|
||||
@@ -144,7 +146,7 @@ EOF;
|
||||
<span id='{$editor_id}_cmd_r_big' class='rte_control rte_button' title='{$this->lang->words['js_tt_resizebig']}'><img src='{$this->settings['img_url']}/rte_icons/resize_big.png' alt='{$this->lang->words['js_tt_resizebig']}' /></span>
|
||||
</li>
|
||||
<li class='right sep'>
|
||||
<span id='{$editor_id}_cmd_help' class='rte_control rte_button' title='{$this->lang->words['js_tt_help']}'><a href='{parse url="app=forums&module=extras&section=legends&do=bbcode" base="public"}' title='{$this->lang->words['js_tt_help']}'><img src='{$this->settings['img_url']}/rte_icons/help.png' alt='{$this->lang->words['js_tt_help']}' /></a></span>
|
||||
<span id='{$editor_id}_cmd_help' class='rte_control rte_button' title='{$this->lang->words['js_tt_help']}'><a href='{$this->settings['board_url']}/index.php?app=forums&module=extras&section=legends&do=bbcode' title='{$this->lang->words['js_tt_help']}'><img src='{$this->settings['img_url']}/rte_icons/help.png' alt='{$this->lang->words['js_tt_help']}' /></a></span>
|
||||
</li>
|
||||
<li class='right sep'>
|
||||
<span id='{$editor_id}_cmd_undo' class='rte_control rte_button' title='{$this->lang->words['js_tt_undo']}'><img src='{$this->settings['img_url']}/rte_icons/undo.png' alt='{$this->lang->words['js_tt_undo']}' /></span>
|
||||
@@ -318,7 +320,7 @@ $IPBHTML .= <<<EOF
|
||||
<script type='text/javascript'>
|
||||
jsDebug = 1;
|
||||
USE_RTE = {$_useRte};
|
||||
|
||||
isRTL = false;
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
@@ -439,19 +441,6 @@ else
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<!--<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>-->
|
||||
<script type='text/javascript' language='javascript'>
|
||||
Loader.boot();
|
||||
</script>
|
||||
|
||||
HTML;
|
||||
|
||||
if( $this->settings['acp_tutorial_mode'] )
|
||||
{
|
||||
$IPBHTML .= "<script type='text/javascript' src='{$this->settings['js_main_url']}acp.help.js'></script>\n";
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type='text/javascript' language='javascript'>
|
||||
//<![CDATA[
|
||||
@@ -460,7 +449,7 @@ $IPBHTML .= <<<EOF
|
||||
ipb.vars['front_url'] = "{$this->settings['board_url']}/index.php?";
|
||||
ipb.vars['app_url'] = "{$this->settings['base_url']}";
|
||||
ipb.vars['image_url'] = "{$this->settings['skin_app_url']}/images/";
|
||||
ipb.vars['md5_hash'] = "{$form_hash}";
|
||||
ipb.vars['md5_hash'] = "{$this->member->form_hash}";
|
||||
/* ---- cookies ----- */
|
||||
ipb.vars['cookie_id'] = '{$this->settings['cookie_id']}';
|
||||
ipb.vars['cookie_domain'] = '{$this->settings['cookie_domain']}';
|
||||
@@ -468,17 +457,20 @@ $IPBHTML .= <<<EOF
|
||||
ipb.templates['close_popup'] = "<img src='{$this->settings['img_url']}/close_popup.png' alt='x' />";
|
||||
ipb.templates['page_jump'] = new Template("<div id='#{id}_wrap' class='ipbmenu_content'><h3 class='bar'>{$this->lang->words['gl_pagejump']}</h3><input type='text' class='input_text' id='#{id}_input' size='8' /> <input type='submit' value='Go' class='input_submit add_folder' id='#{id}_submit' /></div>");
|
||||
ipb.templates['ajax_loading'] = "<div id='ajax_loading'>{$this->lang->words['gl_loading']}</div>";
|
||||
acp = new IPBACP;
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="{$this->settings['board_url']}/cache/lang_cache/{$this->lang->lang_id}/acp.lang.js" charset="{$IPS_DOC_CHAR_SET}"></script>
|
||||
<!--<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>-->
|
||||
<script type='text/javascript' language='javascript'>
|
||||
Loader.boot();
|
||||
acp = new IPBACP;
|
||||
</script>
|
||||
<script type="text/javascript" src="{$this->settings['cache_dir']}lang_cache/{$this->lang->lang_id}/acp.lang.js" charset="{$IPS_DOC_CHAR_SET}"></script>
|
||||
</head>
|
||||
<body<%BODYEXTRA%> id='ipboard_body' class='popupwindow'>
|
||||
<div id='loading-layer' style='display:none'>
|
||||
<div id='loading-layer-shadow'>
|
||||
<div id='loading-layer-inner' >
|
||||
<img src='{$this->settings['skin_acp_url']}/images/loading_anim.gif' style='vertical-align:middle' border='0' />
|
||||
<img src='{$this->settings['skin_acp_url']}/images/loading_anim.gif' style='vertical-align:middle' />
|
||||
<span style='font-weight:bold' id='loading-layer-text'>{$this->lang->words['ajax_please_wait']}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -525,7 +517,7 @@ $IPBHTML .= <<<EOF
|
||||
<script type='text/javascript'>
|
||||
jsDebug = 1;
|
||||
USE_RTE = {$_useRte};
|
||||
|
||||
isRTL = false;
|
||||
</script>
|
||||
EOF;
|
||||
|
||||
@@ -646,19 +638,6 @@ else
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<!--<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>-->
|
||||
<script type='text/javascript' language='javascript'>
|
||||
Loader.boot();
|
||||
</script>
|
||||
|
||||
HTML;
|
||||
|
||||
if( $this->settings['acp_tutorial_mode'] )
|
||||
{
|
||||
$IPBHTML .= "<script type='text/javascript' src='{$this->settings['js_main_url']}acp.help.js'></script>\n";
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<script type='text/javascript' language='javascript'>
|
||||
//<![CDATA[
|
||||
@@ -667,7 +646,7 @@ $IPBHTML .= <<<HTML
|
||||
ipb.vars['front_url'] = "{$this->settings['board_url']}/index.php?";
|
||||
ipb.vars['app_url'] = "{$this->settings['base_url']}";
|
||||
ipb.vars['image_url'] = "{$this->settings['skin_app_url']}/images/";
|
||||
ipb.vars['md5_hash'] = "{$form_hash}";
|
||||
ipb.vars['md5_hash'] = "{$this->member->form_hash}";
|
||||
/* ---- cookies ----- */
|
||||
ipb.vars['cookie_id'] = '{$this->settings['cookie_id']}';
|
||||
ipb.vars['cookie_domain'] = '{$this->settings['cookie_domain']}';
|
||||
@@ -675,17 +654,20 @@ $IPBHTML .= <<<HTML
|
||||
ipb.templates['close_popup'] = "<img src='{$this->settings['img_url']}/close_popup.png' alt='x' />";
|
||||
ipb.templates['page_jump'] = new Template("<div id='#{id}_wrap' class='ipbmenu_content'><h3 class='bar'>{$this->lang->words['gl_pagejump']}</h3><input type='text' class='input_text' id='#{id}_input' size='8' /> <input type='submit' value='Go' class='input_submit add_folder' id='#{id}_submit' /></div>");
|
||||
ipb.templates['ajax_loading'] = "<div id='ajax_loading'>{$this->lang->words['gl_loading']}</div>";
|
||||
acp = new IPBACP;
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="{$this->settings['board_url']}/cache/lang_cache/{$this->lang->lang_id}/acp.lang.js" charset="{$IPS_DOC_CHAR_SET}"></script>
|
||||
<!--<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>-->
|
||||
<script type='text/javascript' language='javascript'>
|
||||
Loader.boot();
|
||||
acp = new IPBACP;
|
||||
</script>
|
||||
<script type="text/javascript" src="{$this->settings['cache_dir']}lang_cache/{$this->lang->lang_id}/acp.lang.js" charset="{$IPS_DOC_CHAR_SET}"></script>
|
||||
</head>
|
||||
<body id='ipboard_body'>
|
||||
<div id='loading-layer' style='display:none'>
|
||||
<div id='loading-layer-shadow'>
|
||||
<div id='loading-layer-inner' >
|
||||
<img src='{$this->settings['skin_acp_url']}/images/loading_anim.gif' style='vertical-align:middle' border='0' />
|
||||
<img src='{$this->settings['skin_acp_url']}/images/loading_anim.gif' style='vertical-align:middle' />
|
||||
<span style='font-weight:bold' id='loading-layer-text'>{$this->lang->words['ajax_please_wait']}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -718,8 +700,8 @@ $_url = preg_replace( '#&{1,}#', ';', $_url );
|
||||
$_url = preg_replace( '#={1,}#', ':', $_url );
|
||||
$_url = ltrim( $_url, ';' );
|
||||
|
||||
$form_hash = $this->member->form_hash;
|
||||
$_path = IPS_PUBLIC_SCRIPT;
|
||||
$_path = IPS_PUBLIC_SCRIPT;
|
||||
$year = date('Y');
|
||||
ipsRegistry::$request[ 'st'] = ( ipsRegistry::$request['st'] ? ipsRegistry::$request['st'] : 0 );
|
||||
|
||||
/* Open Tab */
|
||||
@@ -788,6 +770,7 @@ $IPBHTML .= <<<HTML
|
||||
jsDebug = 1;
|
||||
USE_RTE = {$_useRte};
|
||||
inACP = true;
|
||||
isRTL = false;
|
||||
</script>
|
||||
HTML;
|
||||
|
||||
@@ -908,19 +891,6 @@ else
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<!--<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>-->
|
||||
<script type='text/javascript' language='javascript'>
|
||||
Loader.boot();
|
||||
</script>
|
||||
|
||||
HTML;
|
||||
|
||||
if( $this->settings['acp_tutorial_mode'] )
|
||||
{
|
||||
$IPBHTML .= "<script type='text/javascript' src='{$this->settings['js_main_url']}acp.help.js'></script>\n";
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<script type='text/javascript' language='javascript'>
|
||||
//<![CDATA[
|
||||
@@ -929,7 +899,7 @@ $IPBHTML .= <<<HTML
|
||||
ipb.vars['front_url'] = "{$this->settings['board_url']}/index.php?";
|
||||
ipb.vars['app_url'] = "{$this->settings['base_url']}";
|
||||
ipb.vars['image_url'] = "{$this->settings['skin_app_url']}/images/";
|
||||
ipb.vars['md5_hash'] = "{$form_hash}";
|
||||
ipb.vars['md5_hash'] = "{$this->member->form_hash}";
|
||||
/* ---- cookies ----- */
|
||||
ipb.vars['cookie_id'] = '{$this->settings['cookie_id']}';
|
||||
ipb.vars['cookie_domain'] = '{$this->settings['cookie_domain']}';
|
||||
@@ -937,11 +907,14 @@ $IPBHTML .= <<<HTML
|
||||
ipb.templates['close_popup'] = "<img src='{$this->settings['img_url']}/close_popup.png' alt='x' />";
|
||||
ipb.templates['page_jump'] = new Template("<div id='#{id}_wrap' class='ipbmenu_content'><h3 class='bar'>{$this->lang->words['gl_pagejump']}</h3><input type='text' class='input_text' id='#{id}_input' size='8' /> <input type='submit' value='Go' class='realbutton' id='#{id}_submit' /></div>");
|
||||
ipb.templates['ajax_loading'] = "<div id='ajax_loading'>{$this->lang->words['gl_loading']}</div>";
|
||||
acp = new IPBACP;
|
||||
//]]>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="{$this->settings['board_url']}/cache/lang_cache/{$this->lang->lang_id}/acp.lang.js" charset="{$IPS_DOC_CHAR_SET}"></script>
|
||||
<!--<script type='text/javascript' src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>-->
|
||||
<script type='text/javascript' language='javascript'>
|
||||
Loader.boot();
|
||||
acp = new IPBACP;
|
||||
</script>
|
||||
<script type="text/javascript" src="{$this->settings['cache_dir']}lang_cache/{$this->lang->lang_id}/acp.lang.js" charset="{$IPS_DOC_CHAR_SET}"></script>
|
||||
</head>
|
||||
<body id='ipboard_body'>
|
||||
<!-- Inline Form Box -->
|
||||
@@ -950,7 +923,7 @@ $IPBHTML .= <<<HTML
|
||||
<div id='inlineFormInnerClose' onclick="Effect.Fade( 'inlineFormWrap', { duration: .5 } );"></div>
|
||||
<div id='inlineFormInnerTitle'></div>
|
||||
<div id='inlineErrorBox'>
|
||||
<img src='{$this->settings['skin_acp_url']}/images/stopLarge.png' border='0' />
|
||||
<img src='{$this->settings['skin_acp_url']}/images/stopLarge.png' />
|
||||
<strong>{$this->lang->words['gl_error']}</strong>
|
||||
<div id='inlineErrorText'></div>
|
||||
</div>
|
||||
@@ -992,31 +965,15 @@ HTML;
|
||||
$IPBHTML .= <<<HTML
|
||||
</ul>
|
||||
</div>
|
||||
<script type='text/javascript'>
|
||||
//var appmenu = new ipb.Menu( $('open_menu'), $('app_menu') );
|
||||
</script>
|
||||
<!--<div id='secondary_navigation'>
|
||||
<h2>{$_apptitle} Menu</h2>
|
||||
</div>-->
|
||||
</div>
|
||||
|
||||
<div id='page_body'>
|
||||
<div id='section_navigation'>
|
||||
<%SIDEBAR_EXTRA%>
|
||||
<%MENU%>
|
||||
</div>
|
||||
<div id='main_content'>
|
||||
<div id='content_wrap'>
|
||||
HTML;
|
||||
|
||||
if( $this->settings['acp_tutorial_mode'] )
|
||||
{
|
||||
$IPBHTML .= <<<HTML
|
||||
<a href='#' id='help_link' title='{$this->lang->words['get_help_title']}'><img src='{$this->settings['skin_acp_url']}/_newimages/icons/help.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['get_help']}</a>
|
||||
<a href='#' id='help_nw' class='showing' style='display: none' title='{$this->lang->words['help_new_window']}'><img src='{$this->settings['skin_acp_url']}/_newimages/icons/application_double.png' alt='{$this->lang->words['help_new_window']}' /></a>
|
||||
HTML;
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<HTML
|
||||
<%NAV%>
|
||||
|
||||
<%CONTENT%>
|
||||
@@ -1026,7 +983,7 @@ $IPBHTML .= <<<HTML
|
||||
|
||||
</div>
|
||||
<div id='copyright'>
|
||||
IPBoard 3 © {$year} IPS, Inc.
|
||||
IPBoard 3 © {$year} IPS, Inc. | {$this->lang->words['gl_getsupport']} | {$this->lang->words['gl_resources']}
|
||||
HTML;
|
||||
|
||||
if ( IN_DEV )
|
||||
@@ -1086,7 +1043,6 @@ $IPBHTML = "";
|
||||
$IPBHTML .= <<<EOF
|
||||
<%CONTEXT_MENU%>
|
||||
|
||||
<%HELP%>
|
||||
<%MSG%>
|
||||
<%SECTIONCONTENT%>
|
||||
|
||||
@@ -1119,10 +1075,8 @@ foreach( $applications as $app_dir => $app_data )
|
||||
$class = '';
|
||||
$tag = '';
|
||||
|
||||
//if ( $app_data['app_directory'] == 'core' )
|
||||
if ( $app_data['app_location'] == 'root' || $this->registry->getClass('class_permissions')->checkForAppAccess( $app_data['app_directory'] ) !== TRUE || ! $applications[ $app_dir ]['app_enabled'] )
|
||||
{
|
||||
//$_extraCSS = 'display:none';
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1151,7 +1105,7 @@ if( !$count )
|
||||
$IPBHTML .= <<<EOF
|
||||
|
||||
<li id='app_manageapps' class='ips_app'>
|
||||
<a href='{$this->settings['_base_url']}app=core&module=applications&section=applications&do=applications_overview'><img src='{$this->settings['skin_acp_url']}/_newimages/applications/{$app_dir}.png' alt='{$app_dir}' />
|
||||
<a href='{$this->settings['_base_url']}app=core&module=applications&section=applications&do=applications_overview'><img src='{$this->settings['skin_acp_url']}/_newimages/applications/core.png' alt='core' />
|
||||
<strong>{$this->lang->words['gl_manageapps']}</strong></a>
|
||||
</li>
|
||||
EOF;
|
||||
@@ -1343,19 +1297,10 @@ $IPBHTML .= <<<EOF
|
||||
<script type="text/javascript" src='{$this->settings['public_dir']}js/ipb.js?load={$this->settings['extraJsModules']}'></script>
|
||||
<script type='text/javascript' src='{$this->settings['js_main_url']}acp.js'></script>
|
||||
<script type="text/javascript" src='{$this->settings['js_main_url']}acp.livesearch.js'></script>
|
||||
EOF;
|
||||
|
||||
if( $this->settings['acp_tutorial_mode'] )
|
||||
{
|
||||
$IPBHTML .= "<script type='text/javascript' src='{$this->settings['js_main_url']}acp.help.js'></script>";
|
||||
}
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<script type="text/javascript" src='{$this->settings['js_main_url']}acp.styles.js'></script>
|
||||
<script type="text/javascript" src='{$this->settings['js_main_url']}acp.tabs.js'></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
Loader.boot();
|
||||
|
||||
ipb.vars['st'] = "{$this->request['st']}";
|
||||
|
||||
@@ -1363,11 +1308,13 @@ ipb.vars['base_url'] = "{$this->settings['_base_url']}";
|
||||
ipb.vars['front_url'] = "{$this->settings['board_url']}/index.php?";
|
||||
ipb.vars['app_url'] = "{$this->settings['base_url']}";
|
||||
ipb.vars['image_url'] = "{$this->settings['skin_app_url']}/images/";
|
||||
ipb.vars['md5_hash'] = "{$form_hash}";
|
||||
ipb.vars['md5_hash'] = "{$this->member->form_hash}";
|
||||
/* ---- cookies ----- */
|
||||
ipb.vars['cookie_id'] = '{$this->settings['cookie_id']}';
|
||||
ipb.vars['cookie_domain'] = '{$this->settings['cookie_domain']}';
|
||||
ipb.vars['cookie_path'] = '{$this->settings['cookie_path']}';
|
||||
|
||||
Loader.boot();
|
||||
acp = new IPBACP;
|
||||
//]]>
|
||||
</script>
|
||||
@@ -1623,19 +1570,33 @@ $titles = 0;
|
||||
/* Heres where we check whether this is a single item */
|
||||
if( intval($result[1]) === 0 )
|
||||
{
|
||||
$_temp = '1_' . $result[2];
|
||||
$_single_item = true;
|
||||
$_count = 0;
|
||||
|
||||
foreach( $menu[ $app ] as $__k => $__v )
|
||||
{
|
||||
if( preg_match( "/(\d+?)_" . $result[2] . "/", $__k ) )
|
||||
{
|
||||
$_count++;
|
||||
}
|
||||
}
|
||||
|
||||
if( !isset( $menu[ $app ][ $_temp ] ) )
|
||||
if( $_count > 1 )
|
||||
{
|
||||
$_single_item = false;
|
||||
}
|
||||
|
||||
if( $_single_item )
|
||||
{
|
||||
$_url = ( $__data['items'][0]['url'] ) ? "&{$__data['items'][0]['url']}" : "";
|
||||
|
||||
$_single_item = true;
|
||||
$_MENU .= <<<EOF
|
||||
<!-- MENU FOR {$data['title']}-->
|
||||
<li class='{$class}'>
|
||||
<a href='{$this->settings['base_url']}module={$__data['items'][0]['module']}&section={$__data['items'][0]['section']}{$_url}'>{$__data['items'][0]['title']}</a>
|
||||
</li>
|
||||
EOF;
|
||||
|
||||
continue(2);
|
||||
}
|
||||
}
|
||||
@@ -1800,7 +1761,7 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$domain = parse_url( $this->settings['base_url'], PHP_URL_HOST );
|
||||
$version = '3.0.5';
|
||||
$version = '3.1.4';
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<div class='help-box' id='main_help' style='display: none'>
|
||||
@@ -1811,7 +1772,7 @@ $IPBHTML .= <<<EOF
|
||||
var acpHelp = {};
|
||||
|
||||
acpHelp['pageKey'] = '{$key}';
|
||||
acpHelp['domain'] = '{$domain}';
|
||||
acpHelp['domain'] = '{}';
|
||||
acpHelp['version'] = '{$version}';
|
||||
|
||||
acpHelp['close_help'] = "<img src='{$this->settings['skin_acp_url']}/_newimages/icons/cross.png' alt='{$this->lang->words['icon']}' /> {$this->lang->words['close_help']}";
|
||||
@@ -1860,7 +1821,7 @@ EOF;
|
||||
if( 1 < ($work['current_page'] - $data['dotsSkip']) )
|
||||
{
|
||||
$IPBHTML .= <<<EOF
|
||||
<li class='first'><a href='{$data['baseUrl']}&{$data['startValueKey']}=0' title='{$this->lang->words['tpl_gotofirst']}' rel='start'>« {$this->lang->words['tpl_isfirst']}</a></li>
|
||||
<li class='first'><a href='{$data['baseUrl']}&{$data['startValueKey']}=0' title='{$this->lang->words['tpl_gotofirst']}' rel='start'>{$this->lang->words['_laquo']} {$this->lang->words['tpl_isfirst']}</a></li>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -1868,7 +1829,7 @@ if( $work['current_page'] > 1 )
|
||||
{
|
||||
$stkey = intval( $data['currentStartValue'] - $data['itemsPerPage'] );
|
||||
$IPBHTML .= <<<EOF
|
||||
<li class='prev'><a href="{$data['baseUrl']}&{$data['startValueKey']}={$stkey}" title="{$this->lang->words['tpl_prev']}" rel='prev'>←</a></li>
|
||||
<li class='prev'><a href="{$data['baseUrl']}&{$data['startValueKey']}={$stkey}" title="{$this->lang->words['tpl_prev']}" rel='prev'>{$this->lang->words['_larr']}</a></li>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -1895,7 +1856,7 @@ if( $work['current_page'] < $work['pages'] )
|
||||
{
|
||||
$stkey = intval( $data['currentStartValue'] + $data['itemsPerPage'] );
|
||||
$IPBHTML .= <<<EOF
|
||||
<li class='next'><a href="{$data['baseUrl']}&{$data['startValueKey']}={$stkey}" title="{$this->lang->words['tpl_next']}" rel='next'>→</a></li>
|
||||
<li class='next'><a href="{$data['baseUrl']}&{$data['startValueKey']}={$stkey}" title="{$this->lang->words['tpl_next']}" rel='next'>{$this->lang->words['_rarr']}</a></li>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -1903,7 +1864,7 @@ if( isset( $work['_showEndDots'] ) && $work['_showEndDots'] )
|
||||
{
|
||||
$stkey = intval( ( $work['pages'] - 1 ) * $data['itemsPerPage'] );
|
||||
$IPBHTML .= <<<EOF
|
||||
<li class='last'><a href="{$data['baseUrl']}&{$data['startValueKey']}={$stkey}" title="{$this->lang->words['tpl_gotolast']}" rel='last'>{$this->lang->words['tpl_islast']} »</a></li>
|
||||
<li class='last'><a href="{$data['baseUrl']}&{$data['startValueKey']}={$stkey}" title="{$this->lang->words['tpl_gotolast']}" rel='last'>{$this->lang->words['tpl_islast']} {$this->lang->words['_raquo']}</a></li>
|
||||
EOF;
|
||||
}
|
||||
|
||||
@@ -1977,7 +1938,7 @@ $HTML = <<<EOF
|
||||
|
||||
<!-- Tab Buttons -->
|
||||
<a name='#tabpane'></a>
|
||||
<table width='100%' align='center' border='0' cellspacing='0' cellpadding='0'>
|
||||
<table width='100%' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<script type="text/javascript">
|
||||
@@ -2008,7 +1969,7 @@ $HTML .= <<<EOF
|
||||
<!-- End Tab Buttons -->
|
||||
|
||||
<!-- Begin Tab Content Pane -->
|
||||
<table width='100%' align='center' border='0' cellspacing='0' cellpadding='0'>
|
||||
<table width='100%' align='center'>
|
||||
<tr>
|
||||
<td>
|
||||
<div id='tab_contents'>
|
||||
@@ -2040,27 +2001,6 @@ return $HTML;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generate an image tag
|
||||
*
|
||||
* @access public
|
||||
* @param string Image URL
|
||||
* @param integer Width
|
||||
* @param integer Height
|
||||
* @param string Alt text
|
||||
* @return string HTML
|
||||
*/
|
||||
public function image_tag( $img, $width=0, $height=0, $alt='' )
|
||||
{
|
||||
$size = ( $width && $height ) ? "height='$height' width='$width' " : '';
|
||||
$alt = ( $alt ) ? "title='$alt' alt='$alt" : '';
|
||||
$alt = ( $alt ) ? $alt : "title='$img' alt='$img'";
|
||||
return <<<EOF
|
||||
<img src='{$this->settings['board_url']}/admin/skin_cp/images/{$img}' class='ipd' $size $alt />
|
||||
EOF;
|
||||
}
|
||||
|
||||
/**
|
||||
* HTML for quick help popup boxes
|
||||
*
|
||||
@@ -2075,10 +2015,9 @@ $IPBHTML = "";
|
||||
//--starthtml--//
|
||||
|
||||
$IPBHTML .= <<<EOF
|
||||
<!--SKINNOTE: Not yet skinned-->
|
||||
<div class='tableborder'>
|
||||
<div class='tableheader'>{$title}</div>
|
||||
<div class='tablerow1'>{$body}</div>
|
||||
<div class='acp-box'>
|
||||
<h3>{$title}</h3>
|
||||
<div class='acp-row-on'>{$body}</div>
|
||||
</div>
|
||||
EOF;
|
||||
|
||||
|
||||
Reference in new issue
Block a user