diff --git a/upload/includes/bbcode.php b/upload/includes/bbcode.php index e479a27af..53ec6e420 100644 --- a/upload/includes/bbcode.php +++ b/upload/includes/bbcode.php @@ -704,7 +704,7 @@ class bbcode $url = trim($m[1]); $url_name = (isset($m[2])) ? trim($m[2]) : $url; - if (!preg_match("#^http://#", $url) && !preg_match("/^#/", $url)) $url = 'http://' . $url; + if (!preg_match("#^https?://#isu", $url) && !preg_match("/^#/", $url)) $url = 'http://' . $url; if (in_array(parse_url($url, PHP_URL_HOST), $bb_cfg['nofollow']['allowed_url']) || $bb_cfg['nofollow']['disabled']) { diff --git a/upload/language/uk/main.php b/upload/language/uk/main.php index 29ce79d20..5a60407c7 100644 --- a/upload/language/uk/main.php +++ b/upload/language/uk/main.php @@ -1389,8 +1389,8 @@ $lang['STATUS'] = 'Статус'; $lang['LAST_CHANGED_BY'] = 'Остання зміна'; $lang['CHANGES'] = 'Змінити'; $lang['ACTION'] = 'Дія'; -$lang['COMMENT'] = 'Коментар'; $lang['REASON'] = 'Причина'; +$lang['COMMENT'] = 'Коментар'; // search $lang['SEARCH_S'] = 'пошук...';