From 965cc98e6f4da9ec6e93ebf207bb2ee056876194 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 9 Dec 2012 02:47:03 -0800 Subject: [PATCH] SEF Url default prefs added. Minor GUI fix to e_latest --- .../shortcodes/batch/admin_shortcodes.php | 4 +- e107_core/xml/default_install.xml | 88 ++++++++++++++++++- 2 files changed, 86 insertions(+), 6 deletions(-) diff --git a/e107_core/shortcodes/batch/admin_shortcodes.php b/e107_core/shortcodes/batch/admin_shortcodes.php index 0d2da000b..e2d322e62 100644 --- a/e107_core/shortcodes/batch/admin_shortcodes.php +++ b/e107_core/shortcodes/batch/admin_shortcodes.php @@ -321,9 +321,9 @@ class admin_shortcodes $comments_pending = $sql -> db_Count("comments", "(*)", "WHERE comment_blocked = 2 "); $text = "
".E_16_NEWS.($submitted_news ? " ".ADLAN_LAT_2.": $submitted_news" : ' '.ADLAN_LAT_2.': 0').'
'; - $text .= "
".E_16_COMMENT.($comments_pending ? " ".ADLAN_LAT_9.": $comments_pending" : " ".ADLAN_LAT_9.": ".$comments_pending)."
"; + $text .= "
".E_16_COMMENT. " ".ADLAN_LAT_9.": $comments_pending
"; - $text .= "
".E_16_UPLOADS.($active_uploads ? " ".ADLAN_LAT_7.": $active_uploads" : ' '.ADLAN_LAT_7.': '.$active_uploads).'
'; + $text .= "
".E_16_UPLOADS." ".ADLAN_LAT_7.": $active_uploads
"; // for BC only. diff --git a/e107_core/xml/default_install.xml b/e107_core/xml/default_install.xml index 63229db73..d9e508878 100644 --- a/e107_core/xml/default_install.xml +++ b/e107_core/xml/default_install.xml @@ -232,10 +232,90 @@ City, State, Country 255 0 - - - - + + 'core', + 'news' => 'core', + 'page' => 'core', + 'search' => 'core', + 'system' => 'core', + 'user' => 'core', + 'forum' => 'plugin', + 'gallery' => 'plugin/rewrite', + 'tagwords' => 'plugin', +)]]> + 1 + 0 + + array ( + 0 => 'core', + ), + 'news' => + array ( + 0 => 'core', + 1 => 'core/sef_full', + 2 => 'core/sef_noid', + 3 => 'core/sef', + ), + 'page' => + array ( + 0 => 'core', + 1 => 'core/sef_noid', + 2 => 'core/sef', + ), + 'search' => + array ( + 0 => 'core', + 1 => 'core/rewrite', + ), + 'system' => + array ( + 0 => 'core', + 1 => 'core/rewrite', + ), + 'user' => + array ( + 0 => 'core', + 1 => 'core/rewrite', + ), + 'forum' => + array ( + 0 => 'plugin', + 1 => 'plugin/rewrite', + ), + 'gallery' => + array ( + 0 => 'plugin', + 1 => 'plugin/rewrite', + ), + 'tagwords' => + array ( + 0 => 'plugin', + ), +)]]> + + + array ( + 0 => 'index', + 1 => 'news', + 2 => 'page', + 3 => 'search', + 4 => 'system', + 5 => 'user', + ), + 'plugin' => + array ( + 0 => 'forum', + 1 => 'gallery', + 2 => 'tagwords', + ), + 'override' => + array ( + ), +)]]> dashl 0 1