| | 110 | function navigation() |
|---|
| | 111 | { |
|---|
| | 112 | $prefix = $_MIDCOM->get_context_data(MIDCOM_CONTEXT_ANCHORPREFIX); |
|---|
| | 113 | |
|---|
| | 114 | // Get list of style elements related to this component |
|---|
| | 115 | $style_elements = $_MIDCOM->style->get_component_default_elements($this->_request_data['topic']->component); |
|---|
| | 116 | ksort($style_elements); |
|---|
| | 117 | echo "<ul class=\"midgard_admin_asgard_navigation\">"; |
|---|
| | 118 | foreach ($style_elements as $style_element => $filename) |
|---|
| | 119 | { |
|---|
| | 120 | echo "<li class='midcom_baseclasses_database_style'><a href=\"{$prefix}__mfa/asgard_midcom.admin.styleeditor/edit/{$style_element}/\"><({$style_element})></a></li>"; |
|---|
| | 121 | } |
|---|
| | 122 | echo "</ul>"; |
|---|
| | 123 | |
|---|
| | 124 | } |
|---|
| | 125 | |
|---|