Author |
|
agserna Newbie
Joined: 15 October 2011 Location: Italy
Online Status: Offline Posts: 16
|
Posted: 17 October 2011 at 8:18pm | IP Logged
|
|
|
Hello.
First of all many thanks for this fantastic software.
Webmail lite is perfect for my needings. Our customers opinions is that the interface is very easy to use and the layout is clear and intuitive. Many of them said that finally they can have a webmail system that "does" webmail system with clear, and intuitive and friendly interface
Thanks again.
My question is very simple, How can i remove minutes from the "Check new mail" Settings? I mean in the dropdown list i see 1, 5, 10 ... and so on.
I would like to have only 30, 60, 90
Is this possible? if yes, how?
Thanks for reply
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 18 October 2011 at 1:13am | IP Logged
|
|
|
Thank you for your warm words!
Since not mentioned otherwise, I hereby assume this is about latest PHP version of WebMail Lite (6.2 version).
In user account settings, those options are built with JavaScript. Locate the following code in js/settings/common.js file (line ~112):
Code:
if (settings.autoCheckMailInterval != null) {
if (!this._autoCheckMailBuilded) {
opt = CreateChild(this._autoCheckMailObj, 'option', [['value', 0]]);
opt.innerHTML = Lang.AutoCheckMailIntervalDisableName;
WebMail.langChanger.register('innerHTML', opt, 'AutoCheckMailIntervalDisableName', ''); |
|
|
Below that, you'll find code responsible for building the rest of options. Note that this relies on language constant, and since you probably don't have those for custom values you require, you'll either need to add them for your language, or simply supply a text string instead of Lang.AutoCheck... thing. In the 2nd case, using WebMail.langChanger.register is not required.
And for changing those values in adminpanel, modify adminpanel/modules/webmail/inc/populate.php file (line ~151):
Code:
$aAutocheckMailList = array(0, 1, 3, 5, 10, 15, 20, 30); |
|
|
Hope this helps!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
agserna Newbie
Joined: 15 October 2011 Location: Italy
Online Status: Offline Posts: 16
|
Posted: 19 October 2011 at 9:25pm | IP Logged
|
|
|
Works ! Many thanks
|
Back to Top |
|
|