Системные настройки : fix отображения <select> Метод отправки почты:--->SMTP---->Шифрование

This commit is contained in:
2025-10-01 12:47:31 +05:00
parent 921fab8936
commit 7283fd1671

View File

@@ -567,6 +567,25 @@ function openLinkWindowSelect(target,doc) {ldelim}
window.open('index.php?idonly=1&doc='+doc+'&target='+target+'&do=docs&action=showsimple&cp={$sess}&pop=1','pop','left='+left+',top='+top+',width='+width+',height='+height+',scrollbars='+scrollbar+',resizable=1');
{rdelim}
</script>
{literal}
<script>// разукрашиваем select
$(function() {
$('select').styler();
// Создаем новый элемент <style>
var styles = `
.jq-selectbox__dropdown {
width: auto !important;
min-width: 100% !important;
}
.jq-selectbox__dropdown ul {
white-space: nowrap;
}
`;
// Вставляем стили в <head>
$('<style>' + styles + '</style>').appendTo('head');
});
</script>
{/literal}
{include file="$codemirror_connect"}
{include file="$codemirror_editor" textarea_id='message_forbidden' ctrls='$("#settings").ajaxSubmit(sett_options);' height='150'}