Subversion Repositories SmartDukaan

Rev

Rev 590 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 590 Rev 595
Line 1231... Line 1231...
1231
		context.put("email", email);
1231
		context.put("email", email);
1232
		htmlString = getHtmlFromVelocity(templateFile, context);
1232
		htmlString = getHtmlFromVelocity(templateFile, context);
1233
		return htmlString;
1233
		return htmlString;
1234
	}
1234
	}
1235
	
1235
	
1236
	private String getPersonalDetailsHtml(long userId) {
1236
	public String getPersonalDetailsHtml(long userId) {
1237
		String htmlString = "";
1237
		String htmlString = "";
1238
		VelocityContext context = new VelocityContext();
1238
		VelocityContext context = new VelocityContext();
1239
		String templateFile = "templates/personaldetails.vm";
1239
		String templateFile = "templates/personaldetails.vm";
1240
		String email = "";
1240
		String email = "";
1241
		String name = "";
1241
		String name = "";
Line 1283... Line 1283...
1283
		}
1283
		}
1284
		context.put("orders", orders);
1284
		context.put("orders", orders);
1285
		htmlString = getHtmlFromVelocity(templateFile, context);
1285
		htmlString = getHtmlFromVelocity(templateFile, context);
1286
		return htmlString;
1286
		return htmlString;
1287
	}
1287
	}
1288
	private String getMyaccountHeaderHtml() {
1288
	public String getMyaccountHeaderHtml() {
1289
		String htmlString = "";
1289
		String htmlString = "";
1290
		VelocityContext context = new VelocityContext();
1290
		VelocityContext context = new VelocityContext();
1291
		String templateFile = "templates/myaccountheader.vm";
1291
		String templateFile = "templates/myaccountheader.vm";
1292
		htmlString = getHtmlFromVelocity(templateFile, context);
1292
		htmlString = getHtmlFromVelocity(templateFile, context);
1293
		return htmlString;
1293
		return htmlString;