Caps wrote:May I ask if you would give me the file and line number where I could make that change.
Here is something I came up with.
In addmessageform.tpl, replace lines 100 to 103 with the following.
- Code: Select all
<select name = "sendto[]" multiple style = "height:100px;" required="1" realname="Notify">
<option value = "" disabled style = "color:black;font-weight:bold;">{#general#}</option>
<option value = "all">{#all#}</option>
What I have done there is I have removed the select from all option. This makes it so there is no selection, and you will have to make one each time. Next I added required to the notify options list, this makes it so that it triggers the javascript validation, so if you were to forget to select an option you will get notified.
Now there is a valid reason to changing this. My changes make it so that if the users were to forget the notify options list, he would get notified to select an option. As it is now, the default behavior, if the user were to forget about the notification option, which there is a chance to happen, the users would send an email notification to all, and maybe the user didn't mean, or want to send to all.