diff --git a/e107_admin/header.php b/e107_admin/header.php index 11f200bad..317f2810c 100644 --- a/e107_admin/header.php +++ b/e107_admin/header.php @@ -453,12 +453,12 @@ if (count($js_body_onload)) $body_onload = " onload=\"".implode(" ",$js_body_onl /* * Admin LAN * TODO - remove it from here - */ + *//* e107::js('inline'," (".e_jshelper::toString(LAN_JSCONFIRM).").addModLan('core', 'delete_confirm'); (".e_jshelper::toString(LAN_DELETE).").addModLan('core', 'delete'); -",'prototype',5); +",'prototype',5);*/ // [JSManager] Load JS Includes - Zone 5 - After theme_head, before e107:loaded trigger diff --git a/e107_core/shortcodes/batch/admin_shortcodes.php b/e107_core/shortcodes/batch/admin_shortcodes.php index ab9c61677..40daf52a3 100644 --- a/e107_core/shortcodes/batch/admin_shortcodes.php +++ b/e107_core/shortcodes/batch/admin_shortcodes.php @@ -1210,7 +1210,7 @@ class admin_shortcodes } } - function getBadge($total, $type = 'latest') + static function getBadge($total, $type = 'latest') { /* @@ -1269,7 +1269,7 @@ Inverse 10 10 /** * Attempt to Convert Old $text string into new array format (e_status and e_latest) */ - function legacyToConfig($text) + static function legacyToConfig($text) { $var = array(); preg_match_all('/(]*>)[\s]*]href=(\'|")([^\'"]*)(\'|")>([^<]*)<\/a>[: ]*([\d]*)/is',$text, $match); diff --git a/install.php b/install.php index aeb2437b2..d8e9fc250 100644 --- a/install.php +++ b/install.php @@ -843,6 +843,7 @@ class e_install $xml_installed = (!function_exists('utf8_encode')) ? false : true; $exif_installed = (!function_exists('exif_imagetype')) ? false : true; $gdlib_installed = (extension_loaded('gd') && function_exists('gd_info')) ? true : false; + $curl_installed = (function_exists('curl_version')) ? true : false; @@ -877,9 +878,12 @@ class e_install $mysqlColor = ($mysql_pass == true) ? "text-success" : "text-error"; $gdLibColor = ($gdlib_installed == true) ? "text-success" : "text-error"; + $curlColor = ($curl_installed == true) ? "text-success" : "text-error"; //TODO Below. $xmlExtensionLink = "php.net"; + // TODO Lots of repetition below - clean it up with an array and loop. + $output = " @@ -917,6 +921,7 @@ class e_install
".($exif_installed ? " ".LANINS_017 : str_replace("[x]", $exifExtensionLink, LANINS_054) )."
\n"; + $this->finish_form(); $this->template->SetTag("stage_content", $output.$e_forms->return_form()); $this->logLine('Stage 4 completed'); diff --git a/submitnews.php b/submitnews.php index d211b7a9d..812661643 100644 --- a/submitnews.php +++ b/submitnews.php @@ -190,7 +190,7 @@ else { $text .= "