{* Smarty block element for creating Content Manager overview pages. Following variables have to be given by the including template to create the list elements: - $title: Title of the section - $list_elements: Array of elements that should be displayed in the list. Has to contain following keys: - description: Explanation of a content manager entry. - type: Defines which icon should be displayed for the entry in the list overview. Expected values are 'link', 'page' or 'code' - name: Name of the entry If $list_elements is empty a notification is shown instead. - $page_type: Defines the type of the page. Expects following strings: 'pages' or 'elements'. Is used to hide specific action icons on the 'elements' page. - $custom_id: Custom CSS ID definition. Example: {include file="get_usermod:content_manager/partial/overview_list_element.html" title = $title list_elements = $list_elements page_type = 'pages|elements'} *} {block name="admin_content_manager_partial_overview_list_element"}
{block name="admin_content_manager_partial_overview_list_element_heading"}
{block name="admin_content_manager_partial_overview_list_element_heading_title"}

{$title}

{/block} {block name="admin_content_manager_partial_overview_list_element_heading_buttons"}
{if $page_type == 'pages'} {block name="admin_content_manager_partial_overview_list_element_heading_buttons_pages"}
  • {$buttons.BUTTON_NEW_PREFIX} {$txt.PAGE_TYPE_LINK}
  • {$buttons.BUTTON_NEW_PREFIX} {$txt.PAGE_TYPE_SCRIPT}
{/block} {/if} {if $page_type == 'elements'} {block name="admin_content_manager_partial_overview_list_element_heading_buttons_elements"}
  • {$buttons.BUTTON_NEW_PREFIX} {$txt.PAGE_TYPE_SCRIPT}
{/block} {/if}
{/block}
{/block} {if $list_elements} {block name="admin_content_manager_partial_overview_list_element_container"}
{block name="admin_content_manager_partial_overview_list_element_list"} {/block}
{/block} {else} {block name="admin_content_manager_partial_overview_list_element_empty_list"}
{/block} {/if}
{/block}