- Template emptyTemplate = TemplateParser.parse(new StringReader(""));
- Template loginTemplate = TemplateParser.parse(createReader("/templates/login.html"));
- Template indexTemplate = TemplateParser.parse(createReader("/templates/index.html"));
- Template knownSonesTemplate = TemplateParser.parse(createReader("/templates/knownSones.html"));
- Template createSoneTemplate = TemplateParser.parse(createReader("/templates/createSone.html"));
- Template createPostTemplate = TemplateParser.parse(createReader("/templates/createPost.html"));
- Template createReplyTemplate = TemplateParser.parse(createReader("/templates/createReply.html"));
- Template bookmarksTemplate = TemplateParser.parse(createReader("/templates/bookmarks.html"));
- Template searchTemplate = TemplateParser.parse(createReader("/templates/search.html"));
- Template editProfileTemplate = TemplateParser.parse(createReader("/templates/editProfile.html"));
- Template editProfileFieldTemplate = TemplateParser.parse(createReader("/templates/editProfileField.html"));
- Template deleteProfileFieldTemplate = TemplateParser.parse(createReader("/templates/deleteProfileField.html"));
- Template viewSoneTemplate = TemplateParser.parse(createReader("/templates/viewSone.html"));
- Template viewPostTemplate = TemplateParser.parse(createReader("/templates/viewPost.html"));
- Template deletePostTemplate = TemplateParser.parse(createReader("/templates/deletePost.html"));
- Template deleteReplyTemplate = TemplateParser.parse(createReader("/templates/deleteReply.html"));
- Template deleteSoneTemplate = TemplateParser.parse(createReader("/templates/deleteSone.html"));
- Template noPermissionTemplate = TemplateParser.parse(createReader("/templates/noPermission.html"));
- Template optionsTemplate = TemplateParser.parse(createReader("/templates/options.html"));
- Template rescueTemplate = TemplateParser.parse(createReader("/templates/rescue.html"));
- Template aboutTemplate = TemplateParser.parse(createReader("/templates/about.html"));
- Template invalidTemplate = TemplateParser.parse(createReader("/templates/invalid.html"));
- Template postTemplate = TemplateParser.parse(createReader("/templates/include/viewPost.html"));
- Template replyTemplate = TemplateParser.parse(createReader("/templates/include/viewReply.html"));
- Template openSearchTemplate = TemplateParser.parse(createReader("/templates/xml/OpenSearch.xml"));
+ Template emptyTemplate = parse(new StringReader(""));
+ Template loginTemplate = parseTemplate("/templates/login.html");
+ Template indexTemplate = parseTemplate("/templates/index.html");
+ Template newTemplate = parseTemplate("/templates/new.html");
+ Template knownSonesTemplate = parseTemplate("/templates/knownSones.html");
+ Template createSoneTemplate = parseTemplate("/templates/createSone.html");
+ Template createPostTemplate = parseTemplate("/templates/createPost.html");
+ Template createReplyTemplate = parseTemplate("/templates/createReply.html");
+ Template bookmarksTemplate = parseTemplate("/templates/bookmarks.html");
+ Template searchTemplate = parseTemplate("/templates/search.html");
+ Template editProfileTemplate = parseTemplate("/templates/editProfile.html");
+ Template editProfileFieldTemplate = parseTemplate("/templates/editProfileField.html");
+ Template deleteProfileFieldTemplate = parseTemplate("/templates/deleteProfileField.html");
+ Template viewSoneTemplate = parseTemplate("/templates/viewSone.html");
+ Template viewPostTemplate = parseTemplate("/templates/viewPost.html");
+ Template deletePostTemplate = parseTemplate("/templates/deletePost.html");
+ Template deleteReplyTemplate = parseTemplate("/templates/deleteReply.html");
+ Template deleteSoneTemplate = parseTemplate("/templates/deleteSone.html");
+ Template imageBrowserTemplate = parseTemplate("/templates/imageBrowser.html");
+ Template createAlbumTemplate = parseTemplate("/templates/createAlbum.html");
+ Template deleteAlbumTemplate = parseTemplate("/templates/deleteAlbum.html");
+ Template deleteImageTemplate = parseTemplate("/templates/deleteImage.html");
+ Template noPermissionTemplate = parseTemplate("/templates/noPermission.html");
+ Template emptyImageTitleTemplate = parseTemplate("/templates/emptyImageTitle.html");
+ Template emptyAlbumTitleTemplate = parseTemplate("/templates/emptyAlbumTitle.html");
+ Template optionsTemplate = parseTemplate("/templates/options.html");
+ Template rescueTemplate = parseTemplate("/templates/rescue.html");
+ Template aboutTemplate = parseTemplate("/templates/about.html");
+ Template invalidTemplate = parseTemplate("/templates/invalid.html");
+ Template postTemplate = parseTemplate("/templates/include/viewPost.html");
+ Template replyTemplate = parseTemplate("/templates/include/viewReply.html");
+ Template openSearchTemplate = parseTemplate("/templates/xml/OpenSearch.xml");