#* xhtml page.vm Copyright (C) 2006 De Franciscis Dimitri email: megadix@yahoo.it website: http://www.megadix.org/ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. -------------------------------------------------------------------------------- (X)HTML page template for JEdit - Template plugin *##prompt("Enter title:" $title "") #prompt("Encoding:" $encoding "UTF-8") #prompt("Javascript section ? (y/n)" $useJS "y") #prompt("Stylesheet ? (y/n)" $useStylesheet "y") #beanshell(false) buffer.setProperty(Buffer.ENCODING, context.get("encoding")); context.put("useJS", context.get("useJS").toString().toUpperCase()); context.put("useStylesheet", context.get("useStylesheet").toString().toUpperCase()); #end $title #if ($useJS == "Y" || $useJS == "YES") #end #if ($useStylesheet == "Y" || $useStylesheet == "YES") #end