<%-- User interface for editing this page from within jAlbum --%>
<ja:ui>
	class AboutUI extends JWebPageUI {
		JTextField aboutHeader = new JTextField();
		JTextArea aboutText = new JSmartTextArea(8,30);
		JTextField authorImagePath = new JTextField(10);
		JFileSelector imageSelector = new JFileSelector("Select author image", authorImagePath);
		{
			aboutText.setLineWrap(true);
			//authorImagePath.setEditable(false);
			add(new JLabel("Author image"));
			add("tab hfill", authorImagePath);
			add(imageSelector);
			add("br", new JLabel("Header"));
			add("tab hfill", aboutHeader);
			add("br", new JLabel("Text"));
			add("tab hfill vfill", new JScrollPane(aboutText));
		}
	}
</ja:ui>

<ja:include page="page-header.inc" /> <%-- Keep this --%>

				<ja:include page="templates/About.inc" /> <%-- Keep this --%>
				<div id="about-page" class="clearfix">
					<aside><img src="${authorImg}"></aside>
					<div class="texts">
						<ja:if exists="aboutHeader"><h1>${aboutHeader}</h1></ja:if>
						<ja:if exists="aboutText"><p>${aboutText}</p></ja:if>
					</div>
				</div>

<ja:include page="page-footer.inc" /> <%-- Keep this --%>

