mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 02:10:37 +02:00
Code fix
This commit is contained in:
@@ -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');
|
||||
|
@@ -39,7 +39,7 @@ class Monstra
|
||||
/**
|
||||
* The version of Monstra
|
||||
*/
|
||||
const VERSION = '2.2.0 DEV';
|
||||
const VERSION = '2.2.0';
|
||||
|
||||
/**
|
||||
* Monstra environment
|
||||
|
@@ -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
Reference in New Issue
Block a user