mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-03 19:57:57 +02:00
Code fix
This commit is contained in:
@@ -39,7 +39,7 @@ class Monstra
|
|||||||
/**
|
/**
|
||||||
* The version of Monstra
|
* The version of Monstra
|
||||||
*/
|
*/
|
||||||
const VERSION = '2.2.0 DEV';
|
const VERSION = '2.2.0';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Monstra environment
|
* Monstra environment
|
||||||
|
@@ -121,8 +121,8 @@ class Navigation
|
|||||||
* @param string $category Category
|
* @param string $category Category
|
||||||
* @param integer $type Type. Default is LEFT
|
* @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
|
// Sort items by priority
|
||||||
$items = Arr::subvalSort(Navigation::$items, 'priority');
|
$items = Arr::subvalSort(Navigation::$items, 'priority');
|
||||||
|
|
||||||
@@ -170,8 +170,8 @@ class Navigation
|
|||||||
*
|
*
|
||||||
* @param string $category Category
|
* @param string $category Category
|
||||||
*/
|
*/
|
||||||
public static function getDropdown($category) {
|
public static function getDropdown($category)
|
||||||
|
{
|
||||||
// Sort items by priority
|
// Sort items by priority
|
||||||
$items = Arr::subvalSort(Navigation::$items, '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