function pagination_item_active(&$item){ $class = ''; // Check for "Start" item if ($item->text == JText::_('JLIB_HTML_START')){ $display = ''; } // Check for "Prev" item if ($item->text == JText::_('JPREV')){ $display = ''; } // Check for "Next" item if ($item->text == JText::_('JNEXT')){ $display = ''; } // Check for "End" item if ($item->text == JText::_('JLIB_HTML_END')){ $display = ''; } // If the display object isn't set already, just render the item with its text if (!isset($display)){ $display = $item->text; $class = ' class="hidden-phone"'; } return '' . $display . ''; }
Affichages : 2870