Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CoreHome/templates/_topBarTopMenu.twig')
-rw-r--r--plugins/CoreHome/templates/_topBarTopMenu.twig37
1 files changed, 0 insertions, 37 deletions
diff --git a/plugins/CoreHome/templates/_topBarTopMenu.twig b/plugins/CoreHome/templates/_topBarTopMenu.twig
deleted file mode 100644
index 459ccb611e..0000000000
--- a/plugins/CoreHome/templates/_topBarTopMenu.twig
+++ /dev/null
@@ -1,37 +0,0 @@
-<div id="topRightBar">
-
- {% macro topMenuItem(label, menu, currentModule, currentAction) %}
- {% if menu._html is defined %}
- {{ menu._html|raw }}
- {% elseif (menu._url.module == currentModule and (menu._url.action is empty or menu._url.action == currentAction)) %}
- <span class="topBarElem topBarElemActive"><strong>{{ label|translate }}</strong></span>
- {% else %}
- <span class="topBarElem" {% if menu._tooltip is defined %}title="{{ menu._tooltip }}"{% endif %}>
- <a id="topmenu-{{ menu._url.module|lower }}" href="index.php{{ menu._url|urlRewriteWithParameters }}">{{ label|translate }}</a>
- </span>
- {% endif %}
- {% endmacro %}
-
- {% macro userMenuItem(label, menu, currentModule, currentAction) %}
-
- <a class="item {% if (menu._url.module == currentModule and (menu._url.action is empty or menu._url.action == currentAction)) %}active{% endif %}"
- href="index.php{{ menu._url|urlRewriteWithParameters }}"
- id="usermenu-{{ menu._url.module|lower }}-{{ menu._url.action|default('index')|lower }}"
- {% if menu._tooltip is defined %}title="{{ menu._tooltip }}"{% endif %}
- >{{ label|translate }}</a>
-
- {% endmacro %}
-
- {% if topMenuModule is not defined %}
- {% set topMenuModule = currentModule %}
- {% set topMenuAction = currentAction %}
- {% endif %}
-
- {% for label,menu in topMenu %}
- {% if not loop.first %}
- |
- {% endif %}
- {{ _self.topMenuItem(label, menu, topMenuModule, topMenuAction) }}
- {% endfor %}
-
-</div>