1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-06 21:26:58 +02:00

Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Awilum
2012-11-17 18:04:29 +02:00
3 changed files with 41 additions and 11 deletions

View File

@@ -1,36 +1,54 @@
Monstra 2.1.0, xxxx-xx-xx
------------------------
- Localization: PT-BR, UK translations added
- Localization: PT-BR, UK translations added.
- Default theme: hook "theme_header" added.
- System Plugin: new action "admin_system_extra_index_template_actions" added.
- Shortcodes API: delete() clear() exists() methods added.
- Options API: exists() method added.
- Shortcodes API: new delete() clear() exists() methods added.
- Options API: new exists() method added.
- Core: new constant VERSION - added.
- Core: added ability to load: defines, actions, filters, shortcodes for current environment.
- Defines: deprecated constants: MONSTRA_GZIP_STYLES, MONSTRA_VERSION, MONSTRA_VERSION_ID, MONSTRA_SITEURL, MONSTRA_MOBILE deleted.
- Box Plugins: used Core::VERSION to compare Monstra CMS version.
- Installer: use version_compare() function to compare php versions.
- Admin Default Theme: general improvments.
- UsersPlugin: profile editing fixed.
- Installer: Get system timezone with date_default_timezone_get() function.
- Admin Default Theme: general improvements.
- Users Plugin: user profile editing fixed.
- Shortcodes API: bug with similar shortcode names fixed.
- Site: template() method improvements. Added ability to get template from specific theme.
- Menu Plugin: added ability to select children pages.
- Pages Plugin: pages expand/collapse feature added.
- Pages Plugin: pages "access" feature added.
- Pages Plugin: tab "seo" changed to "metadata"
- Pages Table: "expand, "access" fields added.
- Pages Plugin: changed tab "seo" to "metadata"
- Information Plugin: add "Directory Permissions" tab.
- Information Plugin: new "Directory Permissions" tab added.
- Twitter Bootstrap updated to Version 2.2.1
- MarkitUp! updated to Version 1.1.13
- Sitemap Plugin: links title issue fixed.
- Core: Init Site module on frontend only.
- Core: IDIORM optimization.
- Site Class: code optimization.
- Pages Plugin: code optimizations.
- Sitemap Plugin: priority bug fixed.
- Installer: Get system timezone with date_default_timezone_get() function.
- Sitemap Plugin: bug with priority fixed.
- File .gitignore added.
- Monstra logo updated.
- README: general updates
- Pages Plugin: "delete" action fixes.
- Plugins Manager: add ability to Cleanup minify with new plugin installation or plugin uninstallation.
- MarkitUp Plugin: unnecessary files removed.
- XMLDB: select() method fixes.
- Installer: general fixes.
- Blocks Plugin: view embed codes feature added.
- Snippets Plugin: view embed codes feature added.
- Text Helper: method strpSlashes() fixed.
- Text Helper: new method increment() added.
- Pages Plugin: improved page author detection.
- Pages Plugin: add, edit, delete, clone actions improvements.
- Users Plugin: apply "content" filter for "about_me" field.
- Plugin API: Stylesheet and Javascript load() methods - fixed.
- Pages Plugin: Page editing date issue - fixed.
- Localization: EN, RU, IT, LT, DE translations fixed.
- Imformation Plugin: config file(defines.php) checking removed.
- Box Plugins: general code refactoring.
Monstra 2.0.1, 2012-10-18
------------------------

View File

@@ -52,6 +52,18 @@
<td><?php echo __('PHP version', 'information'); ?></td>
<td><?php echo PHP_VERSION; ?></td>
</tr>
<tr>
<td><?php echo __('PHP Built On', 'information'); ?></td>
<td><?php echo php_uname(); ?></td>
</tr>
<tr>
<td><?php echo __('Web Server', 'information'); ?></td>
<td><?php echo (isset($_SERVER['SERVER_SOFTWARE'])) ? $_SERVER['SERVER_SOFTWARE'] : @getenv('SERVER_SOFTWARE'); ?></td>
</tr>
<tr>
<td><?php echo __('WebServer to PHP Interface', 'information'); ?></td>
<td><?php echo php_sapi_name(); ?></td>
</tr>
<tr>
<td><?php echo __('SimpleXML module', 'information'); ?></td>
<td><?php if (in_array('SimpleXML', $php_modules)) { echo __('Installed', 'information'); } else { echo __('Not Installed', 'information'); } ?></td>

View File

@@ -58,7 +58,7 @@
// Get all pages
$pages_array = array();
$pages_list = $pages->select('[slug!="error404" and parent=""]');
$pages_list = $pages->select('[slug!="error404" and parent="" and status="published" and access="public"]');
foreach ($pages_list as $page) {
$pages_array[$page['slug']] = Html::toText($page['title']);
}