1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 02:10:37 +02:00
This commit is contained in:
Awilum
2013-03-01 22:59:38 +02:00
parent b0452c7932
commit 3cb31c2616
5 changed files with 711 additions and 381 deletions

View File

@@ -55,7 +55,7 @@
<div class="hidden-desktop">
<select class="input-block-level" name="sections" id="sections">
<?php
<?php
Navigation::getDropdown('content');
Navigation::getDropdown('extends');
Navigation::getDropdown('system');

View File

@@ -39,7 +39,7 @@ class Monstra
/**
* The version of Monstra
*/
const VERSION = '2.2.0 DEV';
const VERSION = '2.2.0';
/**
* Monstra environment

View File

@@ -121,8 +121,8 @@ class Navigation
* @param string $category Category
* @param integer $type Type. Default is LEFT
*/
public static function get($category, $type = Navigation::LEFT) {
public static function get($category, $type = Navigation::LEFT)
{
// Sort items by priority
$items = Arr::subvalSort(Navigation::$items, 'priority');
@@ -168,10 +168,10 @@ class Navigation
* Navigation::getDropdown('content');
* <code>
*
* @param string $category Category
* @param string $category Category
*/
public static function getDropdown($category) {
public static function getDropdown($category)
{
// Sort items by priority
$items = Arr::subvalSort(Navigation::$items, 'priority');

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff