diff --git a/sai/modules/saimod_sys_locale/saimod_sys_locale.php b/sai/modules/saimod_sys_locale/saimod_sys_locale.php index 6592984..957a1e2 100644 --- a/sai/modules/saimod_sys_locale/saimod_sys_locale.php +++ b/sai/modules/saimod_sys_locale/saimod_sys_locale.php @@ -49,7 +49,7 @@ class saimod_sys_locale extends \SYSTEM\SAI\SaiModule { if(\SYSTEM\system::isSystemDbInfoPG()){ $res = $con->prepare('newText' ,'UPDATE system.locale_string SET "'.$lang.'"=$1 WHERE id=$2;', array($newtext, $id)); } else { - $res = $con->prepare('newText' ,'UPDATE system_locale_string SET '.$lang.'=? WHERE id=?;', array($newtext, $id)); + $res = $con->prepare('newText' ,'UPDATE system_locale_string SET '.$lang.'=? WHERE id=?;', array(utf8_decode($newtext), $id)); } return $res->affectedRows() == 0 ? \SYSTEM\LOG\JsonResult::error(new \SYSTEM\LOG\WARNING("no rows affected")) : \SYSTEM\LOG\JsonResult::ok(); } @@ -114,7 +114,7 @@ class saimod_sys_locale extends \SYSTEM\SAI\SaiModule { foreach ($languages as $columns){ $result .= '
'. - ''. + ''. '

'; } @@ -123,12 +123,14 @@ class saimod_sys_locale extends \SYSTEM\SAI\SaiModule { $result .= '
'.''; return $result; } diff --git a/sai/modules/saimod_sys_sai/carousel.tpl b/sai/modules/saimod_sys_sai/carousel.tpl index aeab5f2..b4a0336 100644 --- a/sai/modules/saimod_sys_sai/carousel.tpl +++ b/sai/modules/saimod_sys_sai/carousel.tpl @@ -1,5 +1,5 @@
-

Design.Simple.Fast.Reliable.Innovative.

+

Design. Simple. Fast. Reliable. Innovative.

We write awesome code and we use Twitter Bootstrap.