_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.31', 'unifunc' => 'content_60fac3b35e71a9_13035792', 'has_nocache_code' => false, 'file_dependency' => array ( 'd26886be440fe5530a216e22cdbebb3e8d3eb432' => array ( 0 => '/home/pacs/ecg00/users/mlmmj/doms/list.ecogood.org/htdocs-ssl/mlmmj-light-web-ecg/misc/smarty/templates_en/edit_list.tpl', 1 => 1627046833, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_60fac3b35e71a9_13035792 (Smarty_Internal_Template $_smarty_tpl) { ?> > // Do not use Smarty here function switch_moderators_form() { // Get a selected value var select = document.getElementById("list_type"); var selected_value = select.options[select.selectedIndex].value; // If selected conference list type, then disable moderators form if (selected_value == "2") { document.getElementById("moderators").disabled = true; document.getElementById("moderators_header").style.color = "#777777"; } else { document.getElementById("moderators").disabled = false; document.getElementById("moderators_header").style.color = "#222222"; } } function validate_form() { var prefix = document.getElementById('prefix').value; var footer = document.getElementById('footer').value; var subscribers = document.getElementById('subscribers').value; var moderators = document.getElementById('moderators').value; // Regex for a valid e-mail var re_email = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; // Transform subscribers and moderators into array subscribers = subscribers.split("\n"); moderators = moderators.split("\n"); if (prefix.length > 128) { alert("A prefix length can not be longer than 128 characters."); return false; } if (footer.length > 1024) { alert("A footer length can not be longer than 1024 characters."); return false; } for(var i in subscribers) { if ( subscribers[i] != "" && !re_email.test(subscribers[i]) ) { alert('Subscriber "' + subscribers[i] + '" (line #' + (parseFloat(i)+1) + ') have incorrect email.'); return false; } } for(var i in moderators) { if ( moderators[i] != "" && !re_email.test(moderators[i]) ) { alert('Moderator "' + moderators[i] + '" (line #' + (parseFloat(i)+1) + ') have incorrect email.'); return false; } } } // >
Subscribers: 
Please, provide one email per line. Do not forget to add moderators if you want them able to post into the mailing list.
Prefix added to the subject field of each message.
 Prefix:
" id="prefix">
Moderators: 
In case of a moderated list the messages will be send to these emails before publishing. In case of a news list only moderators can post to the mailing list. In case of conference there are no moderators.