html->addon_list()
*
* @since 1.1.0
*
* Variables:
* - $items
* - $lang
* - $filters
*/
$item_fields = array(
'class',
'title',
'description',
'version',
'author',
'active',
'action', // Array
'details', // Array
'icon',
'footer',
);
$current = 'current';
?>
$label ) {
printf(
'- %2$s
',
$key,
$label,
$current
);
$current = '';
}
?>
array->equip( $item, $item_fields );
if ( isset( $item->action ) && is_array( $item->action ) ) {
$item->details = self::$core->array->get( $item->details );
} else {
$item->action = array();
$item->details = array();
}
$item_class = $item->active ? 'active' : '';
$item_class .= ' ' . $item->class;
?>
active_badge ); ?>
icon; ?>
title ); ?>
title ); ?>
description; ?>
action as $action ) {
self::$core->html->element( $action );
}
?>
details as $detail ) {
if ( is_array( $detail ) ) {
if ( isset( $detail['ajax_data'] )
&& is_array( $detail['ajax_data'] )
) {
$detail['ajax_data']['_is_detail'] = true;
}
}
self::$core->html->element( $detail );
}
?>
details ) : ?>
show_details ); ?>
close_details ); ?>