From: Joseph L. <jl...@hd...> - 2008-02-02 18:54:26
|
Or just edit the "en" file under the /usr/libexec/webmin/CUSTOM-MODULE/lang/ folder. Jamie Cameron wrote: > On 02/Feb/2008 06:24 Luis Miguel R. wrote .. > >> El Monday, 24 December del 2007 a las 09:46:26PM, Jamie Cameron escribió: >> >>> On 24/Dec/2007 09:42 Luis Miguel R. wrote .. >>> >>>> Hi all, I have a feature request for "Custom commands" module, >>>> the only thing I miss is that I can not categorize this custom >>>> commands into sections and mayble a title section, this is all >>>> many need to create a "custom" webmin module for programs not >>>> supported directly by any actual webmin module, access rights can be >>>> given based on sections or directly on custom commands (like now). >>>> >>>> Regards and sorry for my bad english. >>>> >>> There is actually a way you could do something like this already, by >>> cloning the Custom Commands module as follows : >>> >>> 1) Go to the Webmin Configuration module, and click on Webmin Modules. >>> 2) Select the 'Clone' tab. >>> 3) From the 'Module to clone' menu select 'Custom Commands' >>> 4) In the 'Cloned module name' box, enter a category name as you suggested. >>> 5) Change 'Reset configuration to default?' to 'Yes'. >>> 6) Click 'Clone Module'. >>> >>> You can now go to this new module and create your own custom commands. >>> This module can be assigned to Webmin users separately from the original >>> 'Custom Commands' module, and can have the allowed commands independently >>> configured. >>> >>> - Jamie >>> >> Hi all, your solution works great, the only "problem" I have is all >> cloned "custon commands" modules show on top "Custon Commands", are >> there a way to change this title? >> >> Regards. >> > > The only way is to create a file named /etc/webmin/custom*/custom-lang file , containing a line like : > > index_title=Your Custom Title > > - Jamie > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.19.18/1255 - Release Date: 2/1/2008 9:59 AM > |