mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 18:30:20 +02:00
@@ -1,9 +1,20 @@
|
||||
<?php
|
||||
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Action class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class Action
|
||||
{
|
||||
/**
|
||||
|
@@ -1,10 +1,21 @@
|
||||
<?php
|
||||
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Backend class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class Backend
|
||||
{
|
||||
public static function main() { }
|
||||
}
|
||||
}
|
||||
|
@@ -1,9 +1,20 @@
|
||||
<?php
|
||||
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Filter class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class Filter
|
||||
{
|
||||
/**
|
||||
|
@@ -1,8 +1,20 @@
|
||||
<?php
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Frontend class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class Frontend
|
||||
{
|
||||
public static function main() { }
|
||||
@@ -12,4 +24,4 @@ class Frontend
|
||||
public static function template() { return 'index'; }
|
||||
public static function content() { return ''; }
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,9 +1,20 @@
|
||||
<?php
|
||||
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* I18n class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class I18n
|
||||
{
|
||||
/**
|
||||
|
@@ -1,9 +1,20 @@
|
||||
<?php
|
||||
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Javascript class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class Javascript
|
||||
{
|
||||
/**
|
||||
@@ -23,7 +34,6 @@ class Javascript
|
||||
// Nothing here
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add javascript
|
||||
*
|
||||
@@ -46,7 +56,6 @@ class Javascript
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Combine and load site javascript
|
||||
*/
|
||||
@@ -64,11 +73,9 @@ class Javascript
|
||||
$frontend_buffer = '';
|
||||
$frontend_regenerate = false;
|
||||
|
||||
|
||||
// Sort javascripts by priority
|
||||
$javascripts = Arr::subvalSort(Javascript::$javascripts, 'priority');
|
||||
|
||||
|
||||
if (BACKEND) {
|
||||
|
||||
// Build backend site javascript
|
||||
@@ -126,4 +133,4 @@ class Javascript
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,9 +1,20 @@
|
||||
<?php
|
||||
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Navigation class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class Navigation
|
||||
{
|
||||
/**
|
||||
@@ -13,14 +24,12 @@ class Navigation
|
||||
*/
|
||||
public static $items = array();
|
||||
|
||||
|
||||
/**
|
||||
* Navigation types
|
||||
*/
|
||||
const LEFT = 1;
|
||||
const TOP = 2;
|
||||
|
||||
|
||||
/**
|
||||
* Add new item
|
||||
*
|
||||
@@ -51,7 +60,6 @@ class Navigation
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Draw items
|
||||
*
|
||||
|
@@ -1,9 +1,20 @@
|
||||
<?php
|
||||
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Plugin class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class Plugin
|
||||
{
|
||||
/**
|
||||
|
@@ -1,9 +1,20 @@
|
||||
<?php
|
||||
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* Stylesheet class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class Stylesheet
|
||||
{
|
||||
/**
|
||||
@@ -13,7 +24,6 @@ class Stylesheet
|
||||
*/
|
||||
public static $stylesheets = array();
|
||||
|
||||
|
||||
/**
|
||||
* Protected constructor since this is a static class.
|
||||
*
|
||||
@@ -24,7 +34,6 @@ class Stylesheet
|
||||
// Nothing here
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add stylesheet
|
||||
*
|
||||
@@ -47,7 +56,6 @@ class Stylesheet
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Minify, combine and load site stylesheet
|
||||
*/
|
||||
@@ -65,7 +73,6 @@ class Stylesheet
|
||||
$frontend_buffer = '';
|
||||
$frontend_regenerate = false;
|
||||
|
||||
|
||||
// Sort stylesheets by priority
|
||||
$stylesheets = Arr::subvalSort(Stylesheet::$stylesheets, 'priority');
|
||||
|
||||
@@ -93,7 +100,6 @@ class Stylesheet
|
||||
$backend_regenerate = false;
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
// Build frontend site stylesheets
|
||||
@@ -129,7 +135,6 @@ class Stylesheet
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* CSS Parser
|
||||
*/
|
||||
@@ -144,5 +149,4 @@ class Stylesheet
|
||||
$frontend_buffer);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -1,8 +1,20 @@
|
||||
<?php
|
||||
<?php defined('MONSTRA_ACCESS') or die('No direct script access.');
|
||||
|
||||
/**
|
||||
* View class
|
||||
* Monstra Engine
|
||||
*
|
||||
* This source file is part of the Monstra Engine. More information,
|
||||
* documentation and tutorials can be found at http://monstra.org
|
||||
*
|
||||
* @package Monstra
|
||||
*
|
||||
* @author Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
* @copyright 2012-2013 Romanenko Sergey / Awilum <awilum@msn.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
class View
|
||||
{
|
||||
/**
|
||||
|
Reference in New Issue
Block a user