25 $arSettings = $_POST[
'SETTINGS'][$this->
GetID()];
29 $arSettings = unserialize($arBucket[
'SETTINGS'], [
'allowed_classes' =>
false]);
32 if (!is_array($arSettings))
34 $arSettings = [
'HOST' =>
'api.clodo.ru',
'USER' =>
'',
'KEY' =>
''];
40 <tr id="SETTINGS_2_' . $htmlID .
'" style="display:' . ($cur_SERVICE_ID == $this->
GetID() || !$bServiceSet ?
'' :
'none') .
'" class="settings-tr adm-detail-required-field">
41 <td>' .
GetMessage(
'CLO_STORAGE_CLODO_EDIT_HOST') .
':</td>
42 <td><input type="hidden" name="SETTINGS[' . $htmlID .
'][HOST]" id="' . $htmlID .
'HOST" value="' .
htmlspecialcharsbx($arSettings[
'HOST']) .
'"><input type="text" size="55" name="' . $htmlID .
'INP_HOST" id="' . $htmlID .
'INP_HOST" value="' .
htmlspecialcharsbx($arSettings[
'HOST']) .
'" ' . ($arBucket[
'READ_ONLY'] ==
'Y' ?
'"disabled"' :
'') .
' onchange="BX(\'' . $htmlID .
'HOST\').value = this.value"></td>
44 <tr id="SETTINGS_0_' . $htmlID .
'" style="display:' . ($cur_SERVICE_ID == $this->
GetID() || !$bServiceSet ?
'' :
'none') .
'" class="settings-tr adm-detail-required-field">
45 <td>' .
GetMessage(
'CLO_STORAGE_CLODO_EDIT_USER') .
':</td>
46 <td><input type="hidden" name="SETTINGS[' . $htmlID .
'][USER]" id="' . $htmlID .
'USER" value="' .
htmlspecialcharsbx($arSettings[
'USER']) .
'"><input type="text" size="55" name="' . $htmlID .
'INP_" id="' . $htmlID .
'INP_USER" value="' .
htmlspecialcharsbx($arSettings[
'USER']) .
'" ' . ($arBucket[
'READ_ONLY'] ==
'Y' ?
'"disabled"' :
'') .
' onchange="BX(\'' . $htmlID .
'USER\').value = this.value"></td>
48 <tr id="SETTINGS_1_' . $htmlID .
'" style="display:' . ($cur_SERVICE_ID == $this->
GetID() || !$bServiceSet ?
'' :
'none') .
'" class="settings-tr adm-detail-required-field">
49 <td>' .
GetMessage(
'CLO_STORAGE_CLODO_EDIT_KEY') .
':</td>
50 <td><input type="hidden" name="SETTINGS[' . $htmlID .
'][KEY]" id="' . $htmlID .
'KEY" value="' .
htmlspecialcharsbx($arSettings[
'KEY']) .
'"><input type="text" size="55" name="' . $htmlID .
'INP_KEY" id="' . $htmlID .
'INP_KEY" value="' .
htmlspecialcharsbx($arSettings[
'KEY']) .
'" autocomplete="off" ' . ($arBucket[
'READ_ONLY'] ==
'Y' ?
'"disabled"' :
'') .
' onchange="BX(\'' . $htmlID .
'KEY\').value = this.value"></td>