From 86eaf26073e428a09103bb0dbca2c04d8530b965 Mon Sep 17 00:00:00 2001 From: LouisGac Date: Fri, 16 Oct 2015 15:52:18 +0200 Subject: [PATCH] Dev: update_helper new urls --- application/helpers/update/update_helper.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/application/helpers/update/update_helper.php b/application/helpers/update/update_helper.php index 500ce809498..5f00636769d 100644 --- a/application/helpers/update/update_helper.php +++ b/application/helpers/update/update_helper.php @@ -18,16 +18,16 @@ */ function CheckForDBUpgrades($subaction = null) { - $dbversionnumber = Yii::app()->getConfig('dbversionnumber'); + $dbversionnumber = Yii::app()->getConfig('dbversionnumber'); $currentDBVersion=GetGlobalSetting('DBVersion'); - $usertemplaterootdir = Yii::app()->getConfig('usertemplaterootdir'); - $standardtemplaterootdir = Yii::app()->getConfig('standardtemplaterootdir'); + $usertemplaterootdir = Yii::app()->getConfig('usertemplaterootdir'); + $standardtemplaterootdir = Yii::app()->getConfig('standardtemplaterootdir'); if (intval($dbversionnumber)>intval($currentDBVersion)) { if(isset($subaction) && $subaction=="yes") { echo Yii::app()->getController()->_getAdminHeader(); - echo "
"; + echo "
"; Yii::app()->loadHelper('update/updatedb'); $result=db_upgrade_all(intval($currentDBVersion)); if ($result) @@ -37,7 +37,7 @@ function CheckForDBUpgrades($subaction = null) } else { - $data = "

".gT("Please fix this error in your database and try again")."

"; + $data = "

".gT("Please fix this error in your database and try again")."

"; } return $data; } @@ -50,8 +50,8 @@ function CheckForDBUpgrades($subaction = null) function ShowDBUpgradeNotice() { //$error=false; - //$sitename = Yii::app()->getConfig('sitename'); - return '
' + //$sitename = Yii::app()->getConfig('sitename'); + return '
' ."
".gT('Database upgrade').'

' .gT('Please verify the following information before continuing with the database upgrade:').'

    ' ."
  • " .gT('Database type') . ": " . Yii::app()->db->getDriverName() . "
  • " @@ -61,9 +61,9 @@ function ShowDBUpgradeNotice() { ."
  • " .gT('Root URL') . ": " . Yii::app()->getController()->createUrl('') . "
  • " .'

' ."

" - ."" . gT('Click here to continue') . "" + ."" . gT('Click here to continue') . "" ."

" - .'
'; + .'
'; } function getDBConnectionStringProperty($sProperty)