From b0c8e75c6e1621470e360f42eff1454241e41e8b Mon Sep 17 00:00:00 2001 From: kostikov Date: Wed, 25 Jul 2018 22:28:21 +0200 Subject: Fix duplicate transport displaying --- Zotlabs/Module/Siteinfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Module/Siteinfo.php b/Zotlabs/Module/Siteinfo.php index 25276815d..79b94662d 100644 --- a/Zotlabs/Module/Siteinfo.php +++ b/Zotlabs/Module/Siteinfo.php @@ -32,7 +32,7 @@ class Siteinfo extends \Zotlabs\Web\Controller { '$transport_link' => 'https://zotlabs.com', '$additional_text' => t('Additional federated transport protocols:'), - '$additional_fed' => implode(',',$federated), + '$additional_fed' => implode(', ',array_unique($federated)), '$prj_version' => ((get_config('system','hidden_version_siteinfo')) ? '' : sprintf( t('Version %s'), \Zotlabs\Lib\System::get_project_version())), '$prj_linktxt' => t('Project homepage'), '$prj_srctxt' => t('Developer homepage'), -- cgit v1.2.3 From e01c277c56771d96c0666eb4e401b7c3563ef823 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 26 Jul 2018 12:18:54 +0200 Subject: Update lostpass_eml.tpl --- view/ru/lostpass_eml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/ru/lostpass_eml.tpl b/view/ru/lostpass_eml.tpl index 76ccb0f01..6cff3c485 100644 --- a/view/ru/lostpass_eml.tpl +++ b/view/ru/lostpass_eml.tpl @@ -1,5 +1,5 @@ - Уважаемый {{$username}}, + Недавно {{$sitename}} был получен запрос на сброс пароля вашей учётной записи. Для подтверждения этого запроса, пожалуйста перейдите по ссылке проверки ниже или вставьте его в адресную строку вашего браузера. -- cgit v1.2.3 From baa5fd9739ea983541252dc154dfb146d3ceb0b6 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 26 Jul 2018 12:19:59 +0200 Subject: Update passchanged_eml.tpl --- view/ru/passchanged_eml.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/ru/passchanged_eml.tpl b/view/ru/passchanged_eml.tpl index 86a0ea3f2..a9b689f1d 100644 --- a/view/ru/passchanged_eml.tpl +++ b/view/ru/passchanged_eml.tpl @@ -1,5 +1,5 @@ - Дорогой {{$username}}, + Ваш пароль был изменен, как вы и просили. Пожалуйста, сохраните эту информацию в ваших записях (или смените свой пароль на такой который вы точно не забудете). -- cgit v1.2.3 From 48fb3d3653dde9332ab942eb43ee1ed05ba5bc23 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 26 Jul 2018 12:20:53 +0200 Subject: Update hmessages.po --- view/ru/hmessages.po | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/view/ru/hmessages.po b/view/ru/hmessages.po index f7ea3df15..15b1c136b 100644 --- a/view/ru/hmessages.po +++ b/view/ru/hmessages.po @@ -3390,7 +3390,7 @@ msgstr "Задания Cron / планировщика не запущены." #: ../../boot.php:2535 ../../include/datetime.php:238 msgid "never" -msgstr "никогд" +msgstr "никогда" #: ../../view/theme/redbasic/php/config.php:15 ../../include/text.php:3078 #: ../../Zotlabs/Module/Admin/Site.php:198 @@ -3733,17 +3733,17 @@ msgstr "Воздерживаюсь" #: ../../include/conversation.php:621 ../../Zotlabs/Module/Photos.php:1144 msgctxt "title" msgid "Attending" -msgstr "Присоединившиеся" +msgstr "Посещаю" #: ../../include/conversation.php:621 ../../Zotlabs/Module/Photos.php:1144 msgctxt "title" msgid "Not attending" -msgstr "Не присоединившиеся" +msgstr "Не посещаю" #: ../../include/conversation.php:621 ../../Zotlabs/Module/Photos.php:1144 msgctxt "title" msgid "Might attend" -msgstr "Могут присоединиться" +msgstr "Возможно посещу" #: ../../include/conversation.php:690 ../../Zotlabs/Lib/ThreadItem.php:158 msgid "Select" @@ -7365,7 +7365,7 @@ msgstr "Пожалуйста, посетите %s для просмотра и/ #: ../../Zotlabs/Lib/Enotify.php:144 msgid "commented on" -msgstr " прокомментировал в" +msgstr "прокомментировал" #: ../../Zotlabs/Lib/Enotify.php:155 msgid "liked" @@ -7974,7 +7974,7 @@ msgstr "Настройки аккаунта" #: ../../Zotlabs/Widget/Settings_menu.php:41 msgid "Channel settings" -msgstr "Выбор канала" +msgstr "Настройки канала" #: ../../Zotlabs/Widget/Settings_menu.php:50 msgid "Additional features" @@ -12844,7 +12844,7 @@ msgstr "Членство одобрено автоматически" #: ../../Zotlabs/Module/Settings/Channel.php:514 msgid "Channel Settings" -msgstr "Выбор канала" +msgstr "Настройки канала" #: ../../Zotlabs/Module/Settings/Channel.php:521 msgid "Basic Settings" @@ -14753,7 +14753,7 @@ msgstr "Участник сайта (%s)" #: ../../Zotlabs/Module/Lostpass.php:44 ../../Zotlabs/Module/Lostpass.php:49 #, php-format msgid "Password reset requested at %s" -msgstr "Запроше сброс пароля на %s" +msgstr "Запрошен сброс пароля на %s" #: ../../Zotlabs/Module/Lostpass.php:68 msgid "" @@ -14781,7 +14781,7 @@ msgstr "нажмите здесь чтобы войти" msgid "" "Your password may be changed from the Settings page after " "successful login." -msgstr "Ваш пароль может быть изменён на странице Настройкипосле успешного входа." +msgstr "Ваш пароль может быть изменён на странице Настройки после успешного входа." #: ../../Zotlabs/Module/Lostpass.php:117 #, php-format @@ -14884,3 +14884,4 @@ msgstr "Загрузить файл" #: ../../Zotlabs/Storage/Browser.php:404 msgid "Drop files here to immediately upload" msgstr "Поместите файлы сюда для немедленной загрузки" + -- cgit v1.2.3 From 06b0dbdfbad995dc1f1b2144594fad08a42ef146 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Thu, 26 Jul 2018 12:21:33 +0200 Subject: Update hstrings.php --- view/ru/hstrings.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/view/ru/hstrings.php b/view/ru/hstrings.php index 45fc75773..cedd38a31 100644 --- a/view/ru/hstrings.php +++ b/view/ru/hstrings.php @@ -682,7 +682,7 @@ App::$strings["[\$Projectname] Website SSL error for %s"] = "[\$Projectname] О App::$strings["Website SSL certificate is not valid. Please correct."] = "SSL/TLS сертификат веб-сайт недействителен. Исправьте это."; App::$strings["[\$Projectname] Cron tasks not running on %s"] = "[\$Projectname] Задания Cron не запущены на %s"; App::$strings["Cron/Scheduled tasks not running."] = "Задания Cron / планировщика не запущены."; -App::$strings["never"] = "никогд"; +App::$strings["never"] = "никогда"; App::$strings["Default"] = "По умолчанию"; App::$strings["Focus (Hubzilla default)"] = "Фокус (по умолчанию Hubzilla)"; App::$strings["Theme settings"] = "Настройки темы"; @@ -759,9 +759,9 @@ App::$strings["__ctx:title__ Dislikes"] = "Не нравится"; App::$strings["__ctx:title__ Agree"] = "Согласен"; App::$strings["__ctx:title__ Disagree"] = "Против"; App::$strings["__ctx:title__ Abstain"] = "Воздерживаюсь"; -App::$strings["__ctx:title__ Attending"] = "Присоединившиеся"; -App::$strings["__ctx:title__ Not attending"] = "Не присоединившиеся"; -App::$strings["__ctx:title__ Might attend"] = "Могут присоединиться"; +App::$strings["__ctx:title__ Attending"] = "Посещаю"; +App::$strings["__ctx:title__ Not attending"] = "Не посещаю"; +App::$strings["__ctx:title__ Might attend"] = "Возможно посещу"; App::$strings["Select"] = "Выбрать"; App::$strings["Delete"] = "Удалить"; App::$strings["Toggle Star Status"] = "Переключить статус пометки"; @@ -1645,7 +1645,7 @@ App::$strings["%1\$s sent you a new private message at %2\$s."] = "%1\$s отп App::$strings["%1\$s sent you %2\$s."] = "%1\$s послал вам %2\$s."; App::$strings["a private message"] = "личное сообщение"; App::$strings["Please visit %s to view and/or reply to your private messages."] = "Пожалуйста, посетите %s для просмотра и/или ответа на ваши личные сообщения."; -App::$strings["commented on"] = " прокомментировал в"; +App::$strings["commented on"] = "прокомментировал"; App::$strings["liked"] = "понравилось"; App::$strings["disliked"] = "не понравилось"; App::$strings["%1\$s %2\$s [zrl=%3\$s]a %4\$s[/zrl]"] = ""; @@ -1780,7 +1780,7 @@ App::$strings["Export Calendar"] = "Экспортировать календа App::$strings["Import Calendar"] = "Импортировать календарь"; App::$strings["Wiki List"] = "Список Wiki"; App::$strings["Account settings"] = "Настройки аккаунта"; -App::$strings["Channel settings"] = "Выбор канала"; +App::$strings["Channel settings"] = "Настройки канала"; App::$strings["Additional features"] = "Дополнительные функции"; App::$strings["Addon settings"] = "Настройки расширений"; App::$strings["Display settings"] = "Настройки отображения"; @@ -2896,7 +2896,7 @@ App::$strings["or"] = "или"; App::$strings["Your channel address is"] = "Адрес вашего канала"; App::$strings["Your files/photos are accessible via WebDAV at"] = "Ваши файы / фотографии доступны через WebDAV по"; App::$strings["Automatic membership approval"] = "Членство одобрено автоматически"; -App::$strings["Channel Settings"] = "Выбор канала"; +App::$strings["Channel Settings"] = "Настройки канала"; App::$strings["Basic Settings"] = "Основные настройки"; App::$strings["Email Address:"] = "Адрес email:"; App::$strings["Your Timezone:"] = "Часовой пояс:"; @@ -3348,13 +3348,13 @@ App::$strings["Unknown error"] = "Неизвестная ошибка"; App::$strings["No valid account found."] = "Действительный аккаунт не найден."; App::$strings["Password reset request issued. Check your email."] = "Запрос на сброс пароля отправлен. Проверьте вашу электронную почту."; App::$strings["Site Member (%s)"] = "Участник сайта (%s)"; -App::$strings["Password reset requested at %s"] = "Запроше сброс пароля на %s"; +App::$strings["Password reset requested at %s"] = "Запрошен сброс пароля на %s"; App::$strings["Request could not be verified. (You may have previously submitted it.) Password reset failed."] = "Запрос не может быть проверен. (Вы могли отправить его раньше). Сброс пароля не возможен."; App::$strings["Your password has been reset as requested."] = "Ваш пароль в соответствии с просьбой сброшен."; App::$strings["Your new password is"] = "Ваш новый пароль"; App::$strings["Save or copy your new password - and then"] = "Сохраните ваш новый пароль и затем"; App::$strings["click here to login"] = "нажмите здесь чтобы войти"; -App::$strings["Your password may be changed from the Settings page after successful login."] = "Ваш пароль может быть изменён на странице Настройкипосле успешного входа."; +App::$strings["Your password may be changed from the Settings page after successful login."] = "Ваш пароль может быть изменён на странице Настройки после успешного входа."; App::$strings["Your password has changed at %s"] = "Пароль был изменен на %s"; App::$strings["Forgot your Password?"] = "Забыли ваш пароль?"; App::$strings["Enter your email address and submit to have your password reset. Then check your email for further instructions."] = "Введите ваш адрес электронной почты и нажмите отправить чтобы сбросить пароль. Затем проверьте ваш почтовый ящик для дальнейших инструкций. "; -- cgit v1.2.3 From 0fe7004d38f884ddde310a7dd2aca87b8154f15b Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 27 Jul 2018 11:03:02 +0200 Subject: Update Apps.php --- Zotlabs/Lib/Apps.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 82f0b57b8..d89d8b878 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -323,7 +323,10 @@ class Apps { 'Features' => t('Features'), 'Language' => t('Language'), 'Post' => t('Post'), - 'Profile Photo' => t('Profile Photo') + 'Profile Photo' => t('Profile Photo'), + 'Profile' => t('Profile'), + 'Profiles' => t('Profiles'), + 'Privacy Groups' => t('Privacy Groups') ); if(array_key_exists('name',$arr)) { -- cgit v1.2.3 From 4fd9d1ee5ff95822975bb530fa42c31f48caeff3 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 27 Jul 2018 11:29:38 +0200 Subject: Update Apps.php --- Zotlabs/Lib/Apps.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index d89d8b878..abac2090e 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -324,9 +324,10 @@ class Apps { 'Language' => t('Language'), 'Post' => t('Post'), 'Profile Photo' => t('Profile Photo'), - 'Profile' => t('Profile'), - 'Profiles' => t('Profiles'), - 'Privacy Groups' => t('Privacy Groups') + 'Profile' => t('Profile'), + 'Profiles' => t('Profiles'), + 'Privacy Groups' => t('Privacy Groups'), + 'Notifications' => t('Notifications') ); if(array_key_exists('name',$arr)) { -- cgit v1.2.3 From 05b3237bae016e888d15b954292fe3a37a5c4899 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Fri, 27 Jul 2018 11:50:04 +0200 Subject: Update nav.php --- include/nav.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/nav.php b/include/nav.php index 41358c93e..05d2d199f 100644 --- a/include/nav.php +++ b/include/nav.php @@ -105,12 +105,12 @@ function nav($template = 'default') { $nav['logout'] = ['logout',t('Logout'), "", t('End this session'),'logout_nav_btn']; // user menu - $nav['usermenu'][] = ['profile/' . $channel['channel_address'], t('View Profile'), ((\App::$nav_sel['name'] == 'Profile') ? 'active' : ''), t('Your profile page'),'profile_nav_btn']; + $nav['usermenu'][] = ['profile/' . $channel['channel_address'], t('View Profile'), ((\App::$nav_sel['raw_name'] == 'Profile') ? 'active' : ''), t('Your profile page'),'profile_nav_btn']; if(feature_enabled(local_channel(),'multi_profiles')) - $nav['usermenu'][] = ['profiles', t('Edit Profiles'), ((\App::$nav_sel['name'] == 'Profiles') ? 'active' : '') , t('Manage/Edit profiles'),'profiles_nav_btn']; + $nav['usermenu'][] = ['profiles', t('Edit Profiles'), ((\App::$nav_sel['raw_name'] == 'Profiles') ? 'active' : '') , t('Manage/Edit profiles'),'profiles_nav_btn']; else - $nav['usermenu'][] = ['profiles/' . $prof[0]['id'], t('Edit Profile'), ((\App::$nav_sel['name'] == 'Profiles') ? 'active' : ''), t('Edit your profile'),'profiles_nav_btn']; + $nav['usermenu'][] = ['profiles/' . $prof[0]['id'], t('Edit Profile'), ((\App::$nav_sel['raw_name'] == 'Profiles') ? 'active' : ''), t('Edit your profile'),'profiles_nav_btn']; } else { -- cgit v1.2.3 From e27e0ca198d6e4890eedd7eeaa121a32ed5fba46 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sat, 28 Jul 2018 17:36:48 +0200 Subject: Plural form strings export added --- util/php2po.php | 121 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 62 insertions(+), 59 deletions(-) diff --git a/util/php2po.php b/util/php2po.php index c165006a1..459226f85 100644 --- a/util/php2po.php +++ b/util/php2po.php @@ -7,65 +7,68 @@ } } - if ($argc!=2) { - print "Usage: ".$argv[0]." \n\n"; - return; - } - - $phpfile = $argv[1]; - $pofile = dirname($phpfile)."/hmessages.po"; + if ($argc!=2) { + print "Usage: ".$argv[0]." \n\n"; + return; + } + + $phpfile = $argv[1]; + $pofile = dirname($phpfile)."/hmessages.po"; + + if (!file_exists($phpfile)){ + print "Unable to find '$phpfile'\n"; + return; + } + + include_once($phpfile); - if (!file_exists($phpfile)){ - print "Unable to find '$phpfile'\n"; - return; - } + print "Out to '$pofile'\n"; - include_once($phpfile); + $out = ""; + $infile = file($pofile); + $k=""; + $ink = False; + foreach ($infile as $l) { - print "Out to '$pofile'\n"; - - $out = ""; - $infile = file($pofile); - $k=""; - $ink = False; - foreach ($infile as $l) { - - if ($k!="" && substr($l,0,7)=="msgstr "){ - $ink = False; - $v = ''; - //echo "DBG: k:'$k'\n"; - if (isset(App::$strings[$k])) { - $v= App::$strings[$k]; - //echo "DBG\n"; - //var_dump($k, $v, App::$strings[$k], $v); - //echo "/DBG\n"; - - } - //echo "DBG: v:'$v'\n"; - $l = "msgstr \"".str_replace('"','\"',$v)."\"\n"; - } - - if (substr($l,0,6)=="msgid_" || substr($l,0,7)=="msgstr[" )$ink = False;; - - if ($ink) { - $k .= trim($l,"\"\r\n"); - $k = str_replace('\"','"',$k); - } - - if (substr($l,0,6)=="msgid "){ - $arr=False; - $k = str_replace("msgid ","",$l); - if ($k != '""' ) { - $k = trim($k,"\"\r\n"); - $k = str_replace('\"','"',$k); - } else { - $k = ""; - } - $ink = True; - } - - $out .= $l; - } - //echo $out; - file_put_contents($pofile, $out); -?> \ No newline at end of file + if (!preg_match("/^msgstr\[[1-9]/",$l)) { + if ($k!="" && (substr($l,0,7)=="msgstr " || substr($l,0,8)=="msgstr[0")){ + $ink = False; + $v = ""; + if (isset(App::$strings[$k])) { + $v = App::$strings[$k]; + if (is_array($v)) { + $l = ""; + $n = 0; + foreach ($v as &$value) { + $l .= "msgstr[".$n."] \"".str_replace('"','\"',$value)."\"\n"; + $n++; + } + } else { + $l = "msgstr \"".str_replace('"','\"',$v)."\"\n"; + } + } + } + + if (substr($l,0,6)=="msgid_" || substr($l,0,7)=="msgstr[") $ink = False; + + if ($ink) { + $k .= trim($l,"\"\r\n"); + $k = str_replace('\"','"',$k); + } + + if (substr($l,0,6)=="msgid "){ + $k = str_replace("msgid ","",$l); + if ($k != '""' ) { + $k = trim($k,"\"\r\n"); + $k = str_replace('\"','"',$k); + } else { + $k = ""; + } + $ink = True; + } + + $out .= $l; + } + } + file_put_contents($pofile, $out); +?> -- cgit v1.2.3 From 77dfe63d909202526fd6ffae25f4c14850c5c2a1 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Sun, 29 Jul 2018 02:11:27 +0200 Subject: Process msgctxt plurals --- util/php2po.php | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/util/php2po.php b/util/php2po.php index 459226f85..99578a12d 100644 --- a/util/php2po.php +++ b/util/php2po.php @@ -33,9 +33,16 @@ if (!preg_match("/^msgstr\[[1-9]/",$l)) { if ($k!="" && (substr($l,0,7)=="msgstr " || substr($l,0,8)=="msgstr[0")){ $ink = False; + $k = str_replace('\"','"',$k); $v = ""; if (isset(App::$strings[$k])) { $v = App::$strings[$k]; + } else { + $k = "__ctx:".$c."__ ".$k; + if (isset(App::$strings[$k])) + $v = App::$strings[$k]; + } + if (!empty($v)) { if (is_array($v)) { $l = ""; $n = 0; @@ -53,20 +60,19 @@ if ($ink) { $k .= trim($l,"\"\r\n"); - $k = str_replace('\"','"',$k); } - if (substr($l,0,6)=="msgid "){ - $k = str_replace("msgid ","",$l); - if ($k != '""' ) { - $k = trim($k,"\"\r\n"); - $k = str_replace('\"','"',$k); - } else { - $k = ""; - } + if (substr($l,0,6)=="msgid ") { + preg_match('/^msgid "(.*)"/',$l,$m); + $k = $m[1]; $ink = True; } + if (substr($l,0,8)=="msgctxt ") { + preg_match('/^msgctxt "(.*)"/',$l,$m); + $c = $m[1]; + } + $out .= $l; } } -- cgit v1.2.3 From 5dbd11c6edf61f2962a57fa8d4743ba55dfaa5ba Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 29 Jul 2018 06:58:35 +0200 Subject: wrong class name --- Zotlabs/Update/_1216.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Update/_1216.php b/Zotlabs/Update/_1216.php index 843567633..8890795f1 100644 --- a/Zotlabs/Update/_1216.php +++ b/Zotlabs/Update/_1216.php @@ -2,7 +2,7 @@ namespace Zotlabs\Update; -class _1215 { +class _1216 { function run() { -- cgit v1.2.3 From 643b6f0aa3a4f082fb34ade6508dd42b9c458822 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 29 Jul 2018 07:00:30 +0200 Subject: version --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.php b/boot.php index a873371b1..17fe7e54e 100755 --- a/boot.php +++ b/boot.php @@ -50,7 +50,7 @@ require_once('include/attach.php'); require_once('include/bbcode.php'); define ( 'PLATFORM_NAME', 'hubzilla' ); -define ( 'STD_VERSION', '3.7' ); +define ( 'STD_VERSION', '3.7.1' ); define ( 'ZOT_REVISION', '6.0a' ); -- cgit v1.2.3 From e4a1286aae411023210628d3be306420f7844d22 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 29 Jul 2018 08:05:41 +0200 Subject: fix sql empty query error in db update 1216 --- Zotlabs/Update/_1216.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Update/_1216.php b/Zotlabs/Update/_1216.php index 8890795f1..69f2be15a 100644 --- a/Zotlabs/Update/_1216.php +++ b/Zotlabs/Update/_1216.php @@ -6,7 +6,7 @@ class _1216 { function run() { - $r = q("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' "); + $r = dbq("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' "); if($r) { return UPDATE_SUCCESS; -- cgit v1.2.3