import(common.tpl) import(plugin/plugins_list.tpl) @category = [data-v-plugin-categories] [data-v-plugin-category] @category|deleteAllButFirstChild @category|before = categories) && is_array($this->categories)) { foreach ($this->categories as $category => $plugins) {?> @category [data-v-category-link] = $category @category [data-v-category-link]|addClass = category) && $category == $this->category) echo 'active';?> @category [data-v-category-link]|href = 'plugin/plugins', 'category' => $category]));?> @category|after = #safemode|if_exists = $this->safemode