Splitting up of interface PHP files
Posted: Fri Aug 04, 2006 3:15 pm
Hello,
Are there any plans to split the interface files (i.e. vicidial/admin.php) into various files using templates and whatnot to make working with each of the screens easier?
As right now most of the screens for VICIDIAL are part of a single file and the others, for example vicidial/listloaderMAIN.php, are poorly integrated to the interface.
For instance, I was asked to hide some of the options on the agent screen to reduce clutter and to stop the agents from tinkering with functionality they won't use. I inspected the source of agc/vicidial.php and met a 5000+ line file. This makes modifying it and keeping it updated when a new release comes out very hard.
Splitting the files should also help translation efforts.
Marcos
Are there any plans to split the interface files (i.e. vicidial/admin.php) into various files using templates and whatnot to make working with each of the screens easier?
As right now most of the screens for VICIDIAL are part of a single file and the others, for example vicidial/listloaderMAIN.php, are poorly integrated to the interface.
For instance, I was asked to hide some of the options on the agent screen to reduce clutter and to stop the agents from tinkering with functionality they won't use. I inspected the source of agc/vicidial.php and met a 5000+ line file. This makes modifying it and keeping it updated when a new release comes out very hard.
Splitting the files should also help translation efforts.
Marcos