addStyleDeclaration('
dl.tabs {float:left;margin:10px 0 -1px 0;z-index:50;}
dl.tabs dt {float:left;padding:4px 10px;border:1px solid #ccc;margin-left:3px;background:#e9e9e9;color:#666;}
dl.tabs dt.open {background:#F9F9F9;border-bottom:1px solid #f9f9f9;z-index:100;color:#000;}
div.current {clear:both;border:1px solid #ccc;padding:10px 10px;}
dl.tabs h3 {font-size:12px;line-height:12px;margin:4px;}
');
}
// Import Joomla! tabs
jimport('joomla.html.pane');
?>
startPane('myPane'); ?>
get('latestItems', 1)): ?>
startPanel(JText::_('K2_LATEST_ITEMS'), 'latestItemsTab'); ?>
|
|
|
title; ?> |
created , JText::_('K2_DATE_FORMAT')); ?> |
author; ?> |
endPanel(); ?>
get('popularItems', 1)): ?>
startPanel(JText::_('K2_POPULAR_ITEMS'), 'popularItemsTab'); ?>
|
|
|
|
title; ?> |
hits; ?> |
created , JText::_('K2_DATE_FORMAT')); ?> |
author; ?> |
endPanel(); ?>
get('mostCommentedItems', 1)): ?>
startPanel(JText::_('K2_MOST_COMMENTED_ITEMS'), 'mostCommentedItemsTab'); ?>
|
|
|
|
title; ?> |
numOfComments; ?> |
created , JText::_('K2_DATE_FORMAT')); ?> |
author; ?> |
endPanel(); ?>
get('latestComments', 1)): ?>
startPanel(JText::_('K2_LATEST_COMMENTS'), 'latestCommentsTab'); ?>
|
|
|
commentText; ?> |
commentDate , JText::_('K2_DATE_FORMAT')); ?> |
userName; ?> |
endPanel(); ?>
get('statistics', 1)): ?>
startPanel(JText::_('K2_STATISTICS'), 'statsTab'); ?>
|
|
|
numOfItems; ?> (numOfFeaturedItems.' '.JText::_('K2_FEATURED').' - '.$statistics->numOfTrashedItems.' '.JText::_('K2_TRASHED'); ?>) |
|
numOfCategories; ?> (numOfTrashedCategories.' '.JText::_('K2_TRASHED'); ?>) |
|
numOfTags; ?> |
|
numOfComments; ?> |
|
numOfUsers; ?> |
|
numOfUserGroups; ?> |
endPanel(); ?>
endPane() : JHtml::_('tabs.end'); ?>