Monday, November 08, 2010 at 12:05 AM.
system.verbs.builtins.radio.menuCommands.restoreDefaultTemplates
<<Changes
<<12/8/01; 2:56:49 PM by JES
<<Set flReinstallHomeFolderFiles instead of reinstallHomeFolderFiles. Added confirmation dialog saying that the templates have been restored.
<<11/26/01; 8:28:05 AM by DW
<<Created. The assumption is that the user has screwed up the templates thoroughly and wants to go back to the start-point, with the templates that a virgin Radio installation has.
if dialog.confirm (radio.string.getlocalizedstring ("misc.restoreDefaultConfirm")) {
radio.data.flReinstallHomeFolderFiles = true;
radio.utilities.homeFolderTextFiles.install ();
dialog.notify (radio.string.getlocalizedstring ("misc.restoreDefaultComplete"))}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.