From 279186545eb2892ad540848200ad6bbf5492c9f4 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 26 Sep 2016 19:03:32 +0300 Subject: [PATCH] 14.09.16 --- frontend/views/catalog/products.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/views/catalog/products.php b/frontend/views/catalog/products.php index 591366e..c336188 100755 --- a/frontend/views/catalog/products.php +++ b/frontend/views/catalog/products.php @@ -38,6 +38,13 @@ $this->registerJsFile(Yii::getAlias('@web/js/ion.rangeSlider.js'),[ 'position' => View::POS_END, 'depends' => ['yii\web\JqueryAsset'] ]); + + +function my_mb_ucfirst($str) { + $str = strtolower($str); + $fc = mb_strtoupper(mb_substr($str, 0, 1)); + return $fc.mb_substr($str, 1); +} ?>