Index: /main/trunk/model-interfaces-dev/alt-atea/interfaceConfig.xml
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/interfaceConfig.xml	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/interfaceConfig.xml	(revision 34009)
@@ -0,0 +1,253 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interfaceConfig  baseInterface="default">
+	<actionList>
+		<action class="PageAction" name="p">
+			<subaction name="home" xslt="pages/home.xsl"/>
+			<subaction name="about" xslt="pages/about.xsl"/>
+			<subaction name="debug" xslt="pages/debuginfo.xsl"/>
+			<subaction name="pref" xslt="pages/pref.xsl"/>
+			<subaction name="help" xslt="pages/help.xsl"/>
+			<subaction name="login" xslt="pages/login.xsl"/>
+			<subaction name="verify" xslt="pages/verify.xsl"/>
+			<subaction name="error" xslt="pages/error.xsl"/>
+			<subaction name="gli4gs3" xslt="gli4gs3.xsl"/>
+			<subaction name="nav" xslt="nav.xsl"/>
+			<!-- used for the collection header frame -->
+			<subaction name="html" xslt="pages/html.xsl"/>
+			<!-- use to put an external page into a frame with a collection header-->
+		</action>
+
+		<action class="RSSAction" name="rss" xslt="pages/rss.xsl"/> 
+		<action class="QueryAction" name="q" xslt="pages/query.xsl"/>
+		<action class="GS2BrowseAction" name="b" xslt="pages/classifier.xsl"/>
+		<action class="DocumentAction" name="d" xslt="pages/document.xsl">
+		  <subaction name="print" xslt="pages/document-print.xsl"/>
+		</action>
+
+		<action class="AppletAction" name="a" xslt="pages/applet.xsl"/>
+		<action class="XMLDocumentAction" name="xd">
+			<subaction name="toc" xslt="pages/document-toc.xsl"/>
+			<subaction name="text" xslt="pages/document-content.xsl"/>
+		</action>
+		<action class="ProcessAction" name="pr" xslt="process.xsl"/>
+		<action class="SystemAction" name="s" xslt="pages/system.xsl"/>
+
+		<action class="FormatAction" name="f"/>
+		<!-- xslt='formatString.xsl'/> -->
+
+		<action class="GeneralAction" name="g">
+			<subaction name="authen" xslt="pages/authen.xsl"/>
+			<subaction name="berry" xslt="pages/berry.xsl"/>
+			<subaction name="documentbasket" xslt="pages/documentbasket.xsl"/>
+		</action>
+
+		<action class="DepositorAction" name="de" xslt="pages/depositor_home.xsl">
+			<subaction name="getwizard" xslt="depositor/compiledDepositor.xsl"/>
+		</action>
+	</actionList>
+	<optionList>
+		<option name="cssTheme" value="interfaces/default/style/themes/main/jquery-ui-1.8.16.custom.css"/>
+		<option name="cssTheme" value="interfaces/atea/style/themes/Aristo/Aristo.css"/>
+		<option name="highlightQueryTerms" value="true"/>
+		<!-- Set one or other of the following two options (berryBasket and favouriteBasket) to true -->
+		<!-- This enables the user to choose whether they want berries/favourites displayed or not -->
+		<!-- To have the chosen option on by default, set the corresponding defaultParameter in siteConfig.xml -->
+		<option name="berryBasket" value="false"/>
+		<option name="favouriteBasket" value="true"/>
+		<option name="documentBasket" value="true"/>
+	</optionList>
+	<languageList>
+		<language name="en">
+			<displayItem name="name">English</displayItem>
+		</language>
+		<language name="fr">
+			<displayItem name="name">FranÃ§ais</displayItem>
+		</language>
+		<language name="es">
+			<displayItem name="name">EspaÃ±ol</displayItem>
+		</language>
+		<language name="am">
+		  <displayItem name="name">Amharic</displayItem>
+		</language>
+		<language name="ar">
+			<displayItem name="name">Arabic</displayItem>
+		</language>
+		<language name="bg">
+			<displayItem name="name">Bulgarian</displayItem>
+		</language>
+		<language name="bn">
+			<displayItem name="name">àŠ¬àŠŸàŠàŠ²àŠŸ (Bengali)</displayItem>
+		</language>
+		<language name="ca">
+			<displayItem name="name">CatalÃ  (Catalan)</displayItem>
+		</language>
+		<language name="cs">
+			<displayItem name="name">Äesky (Czech)</displayItem>
+		</language>
+		<language name="de">
+			<displayItem name="name">Deutsch (German)</displayItem>
+		</language>
+		<language name="dv">
+		  <displayItem name="name">Dhivehi</displayItem>
+		</language>
+
+		<language name="el">
+			<displayItem name="name">ÎÎ»Î»Î·ÎœÎ¹ÎºÎ¬ (Greek)</displayItem>
+		</language>
+		<language name="fa">
+			<displayItem name="name">Farsi</displayItem>
+		</language>
+		<language name="fi">
+			<displayItem name="name">Finnish</displayItem>
+		</language>
+		<language name="gd">
+			<displayItem name="name">Gaelic (Scottish)</displayItem>
+		</language>
+		<language name="gl">
+			<displayItem name="name">Galician</displayItem>
+		</language>
+		<language name="gu">
+		  <displayItem name="name">Gujarati</displayItem>
+		</language>
+
+		<language name="he">
+			<displayItem name="name">Hebrew</displayItem>
+		</language>
+		<language name="hi">
+			<displayItem name="name">Hindi</displayItem>
+		</language>
+		<language name="hr">
+		  <displayItem name="name">Croatian</displayItem>
+		</language>
+
+		<language name="hu">
+			<displayItem name="name">Hungarian</displayItem>
+		</language>
+		<language name="hy">
+			<displayItem name="name">Armenian</displayItem>
+		</language>
+		<language name="id">
+			<displayItem name="name">Bahasa Indonesia (Indonesian)</displayItem>
+		</language>
+		<language name="it">
+			<displayItem name="name">Italiano</displayItem>
+		</language>    
+		<language name="ja">
+			<displayItem name="name">æ¥æ¬èª</displayItem>
+		</language>
+		<language name="ka">
+			<displayItem name="name">Georgian</displayItem>
+		</language>
+		<language name="kk">
+			<displayItem name="name">ÒÐ°Ð·Ð°Ò (Kazakh)</displayItem>
+		</language>
+		<language name="kn">
+			<displayItem name="name">Kannada</displayItem>
+		</language>
+		<language name="ky">
+			<displayItem name="name">ÐÑÑÐ³ÑÐ·ÑÐ° (Kirghiz)</displayItem>
+		</language>  
+  		<language name="lo">
+		  <displayItem name="name">Laotian</displayItem>
+		</language>
+
+		<language name="lv">
+			<displayItem name="name">Latvian</displayItem>
+		</language>
+		<language name="mi">
+			<displayItem name="name">MÄori</displayItem>
+		</language>
+		<language name="ml">
+			<displayItem name="name">Malayalam</displayItem>
+		</language>
+		<language name="mn">
+			<displayItem name="name">ÐÐŸÐœÐ³ÐŸÐ» (Mongolian)</displayItem>
+		</language>
+		<language name="mr">
+			<displayItem name="name">Marathi</displayItem>
+		</language>
+		<language name="my">
+		  <displayItem name="name">Burmese</displayItem>
+		</language>
+		<language name="ne">
+		  <displayItem name="name">Nepali</displayItem>
+		</language>
+
+		<language name="nl">
+		  <displayItem name="name">Nederlands (Dutch)</displayItem>
+		</language>
+		<language name="pl">
+		  <displayItem name="name">polski (Polish)</displayItem>
+		</language>
+
+		<language name="prs">
+			<displayItem name="name">Dari</displayItem>
+		</language>
+		<language name="ps">
+			<displayItem name="name">Pushto</displayItem>
+		</language>
+		<language name="pt-br">
+		  <displayItem name="name">portuguÃªs-BR (Brasil)</displayItem>
+		</language>
+		<language name="pt-pt">
+			<displayItem name="name">portuguÃªs-PT (Portugal)</displayItem>
+		</language>
+		<language name="ro">
+			<displayItem name="name">Romanian</displayItem>
+		</language>
+		<language name="ru">
+			<displayItem name="name">ÑÑÑÑÐºÐžÐ¹ (Russian)</displayItem>
+		</language>
+		<language name="si">
+			<displayItem name="name">Sinhalese</displayItem>
+		</language>
+		<language name="sk">
+		  <displayItem name="name">SlovenÄina (Slovak)</displayItem>
+		</language>
+		<language name="sr-bh-cyr">
+			<displayItem name="name">Serbian (Cyrillic - Bosnia and Herzegovina)</displayItem>
+		</language>
+		<language name="sr-bh-lat">
+			<displayItem name="name">Serbian (Latin - Bosnia and Herzegovina</displayItem>
+		</language>
+		<language name="sr-cyr">
+			<displayItem name="name">Serbian (Cyrillic)</displayItem>
+		</language>
+		<language name="sr-lat">
+			<displayItem name="name">Serbian (Latin)</displayItem>
+		</language>
+
+		<language name="ta">
+			<displayItem name="name">Tamil</displayItem>
+		</language>	
+		<language name="te">
+			<displayItem name="name">Telugu</displayItem>
+		</language>
+		<language name="th">
+			<displayItem name="name">Thai</displayItem>
+		</language>
+		<language name="ti">
+		  <displayItem name="name">Tigrinya</displayItem>
+		</language>
+
+		<language name="tr">
+			<displayItem name="name">Turkish</displayItem>
+		</language>
+		<language name="uk">
+			<displayItem name="name">Ukrainian</displayItem>
+		</language>
+		<language name="ur">
+			<displayItem name="name">Urdu</displayItem>
+		</language>
+		<language name="vi">
+			<displayItem name="name">Tiáº¿ng Viá»t</displayItem>
+		</language>
+		<language name="zh">
+			<displayItem name="name">ç®äœäž­æ (Simplified Chinese)</displayItem>
+		</language>
+		<language name="zh-tr">
+			<displayItem name="name">ç¹é«äž­æ (Traditional Chinese)</displayItem>
+		</language>
+	</languageList>
+</interfaceConfig>
+
Index: /main/trunk/model-interfaces-dev/alt-atea/style/custom.css
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/style/custom.css	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/style/custom.css	(revision 34009)
@@ -0,0 +1,5 @@
+
+#quicksearcharea ul {
+    margin: 5px;
+}
+
Index: /main/trunk/model-interfaces-dev/alt-atea/transform/layouts/header.xsl
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/transform/layouts/header.xsl	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/transform/layouts/header.xsl	(revision 34009)
@@ -0,0 +1,315 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:java="http://xml.apache.org/xslt/java"
+	xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
+	xmlns:gslib="http://www.greenstone.org/skinning"
+	xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
+	extension-element-prefixes="java util"
+	exclude-result-prefixes="java util gsf">
+
+
+  <xsl:template name="additionalHeaderContent-site">
+    <!-- override the cssTheme from interfaceConfig -->
+    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.10/themes/humanity/jquery-ui.css" type="text/css"/>
+    <xsl:call-template name="basketHeadTags"/>
+    <xsl:call-template name="PeiJonesBackgroundWrapperSite"/>
+    
+    <xsl:variable name="url">
+      <xsl:text>interfaces/</xsl:text>
+      <xsl:value-of select="$interface_name"/>
+    </xsl:variable>
+    <link href="{$url}/style/custom.css" rel="stylesheet" type="text/css"/>
+    <!--
+	<link href="{$url}/script/image-annotator/css/annotation.css" rel="stylesheet" type="text/css"/>
+	-->
+    <!--
+	<link href="{$url}/style/pei-jones-background.css" rel="stylesheet" type="text/css"/>
+    -->
+    <!--
+    <link href="{$url}/script/text-annotator/annotator.min.css" rel="stylesheet" type="text/css"/>
+    <gsf:script src="{$url}/script/image-annotator/js/jquery.annotate2.js"/>
+    <gsf:script src="{$url}/script/gsajax-min.js"/>
+    <gsf:script src="{$url}/script/setup-features.js"/>
+    -->
+    
+    <!--
+	gsf:script src="{$url}/script/text-annotator/annotator-full.min.js"/>
+    -->
+    <script text="text/javascript">
+      <xsl:text disable-output-escaping="yes">$(document).ready(function(){
+      /* hide cover image div */
+      var found = $(document).find("#coverImage");
+      
+      if(found.length != 0){
+      var coverImageDiv = found[0];
+      $(coverImageDiv).hide();
+      }
+      });</xsl:text>
+    </script>
+    <!--	  <script type="text/javascript">
+	dynamic_metadata_list = false;
+	</script>-->
+    
+  </xsl:template>
+  
+ <xsl:template name="PeiJonesBackground">
+          <style>
+
+
+            body {
+              background-image: url(sites/<xsl:value-of select="$site_name"/>/images/background.jpg);
+              background-repeat: no-repeat;
+              background-position: center top;
+              background-color: #2d2d2d;
+            }
+
+
+            #containerXXX {
+              max-width: 980px;
+            }
+
+            .ui-widget-header {
+              background: url(sites/<xsl:value-of select="$site_name"/>/images/pei-jones-banner-bg.png);
+                          repeat-x scroll left top #f1ce28;
+            }
+
+            .ui-widget-content {
+               color: #888888;
+            }
+
+	    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
+/*	       background: url("images/ui-bg_highlight-hard_15_459e00_1x100.png") repeat-x scroll 50% 50% #459E00; */
+/*	       background: url(interfaces/<xsl:value-of select="$interface_name"/>/xxstyle/themes/main/images/ui-bg_highlight-hard_15_459e00_1x100.png) repeat-x scroll 50% 50% #a0a0a0;  */
+
+	       background: none repeat-x scroll 50% 50% #a0a0a0; 
+/*	       border: 1px solid #327E04; */
+	       border: 1px solid #808080;
+	       color: #FFFFFF;
+	       font-weight: bold;
+	    }
+
+	    .ui-widget-header {
+	       border: 1px solid #808080;
+            }
+
+	    .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
+	       color: #000000;
+	       /* text-decoration: none; */
+	    }
+
+
+
+		</style>
+	</xsl:template>
+
+
+
+ <xsl:template name="PeiJonesBackgroundWrapperSite">
+
+   <xsl:variable name="url">
+     <xsl:text>interfaces/</xsl:text>
+     <xsl:value-of select="$interface_name"/>
+   </xsl:variable>
+   
+    <link type="text/css" rel="stylesheet" href="{$url}/wrapper-style/default.css" media="all" />
+    <!--[if IE]><link type="text/css" rel="stylesheet" href="{$url}/wrapper-style/large.css" media="all" /><![endif]-->
+    <link type="text/css" rel="stylesheet" href="{$url}/wrapper-style/print.css" media="print" />
+    <link rel="shortcut icon" type="image/ico" href="{$url}/wrapper-style/favicon.ico" />
+
+
+
+    <style>
+	.ui-widget-header {
+    	    background: #231814 url(interfaces/<xsl:value-of select="$interface_name"/>/images/Atea-background-topline.png) no-repeat top left;
+
+      }
+
+
+      input, textarea {
+        padding: 0px;
+      }
+
+
+      table#classifiernodelist {
+          text-transform: inherit;
+      }
+
+      .metaTableCellName {
+	  background: none repeat scroll 0 0 #FDDC75;
+      }
+
+
+    </style>
+
+    <!--
+    <gsf:script language="JavaScript" src="{$url}/wrapper-style/script.js"></gsf:script>
+    -->
+    
+
+ </xsl:template>
+
+ <xsl:template name="PeiJonesBackground2014">
+	
+	<link type="text/css" rel="stylesheet" href="http://peitehurinuijones.co.nz/temp/default.css" media="all" />
+	<!--[if IE]><link type="text/css" rel="stylesheet" href="large.css" media="all" /><![endif]-->
+	<link type="text/css" rel="stylesheet" href="http://peitehurinuijones.co.nz/temp/print.css" media="print" />
+	<link rel="shortcut icon" type="image/ico" href="http://peitehurinuijones.co.nz/temp/favicon.ico" />
+
+
+          <style>
+            body {
+              background-image: url(sites/<xsl:value-of select="$site_name"/>/images/background.jpg);
+              background-repeat: no-repeat;
+              background-position: center top;
+              background-color: #2d2d2d;
+            }
+
+            #containerXXX {
+              max-width: 980px;
+            }
+
+            #topArea {
+              margin: 0px auto 0;
+              /* max-width: 970px; */
+            }
+
+            .ui-widget-header {
+              background: url(sites/<xsl:value-of select="$site_name"/>/images/pei-jones-banner-bg.png);
+                          repeat-x scroll left top #f1ce28;
+            }
+
+            .ui-widget-content {
+               color: #888888;
+            }
+
+	    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
+/*	       background: url("images/ui-bg_highlight-hard_15_459e00_1x100.png") repeat-x scroll 50% 50% #459E00; */
+/*	       background: url(interfaces/<xsl:value-of select="$interface_name"/>/xxstyle/themes/main/images/ui-bg_highlight-hard_15_459e00_1x100.png) repeat-x scroll 50% 50% #a0a0a0;  */
+
+	       background: none repeat-x scroll 50% 50% #a0a0a0; 
+/*	       border: 1px solid #327E04; */
+	       border: 1px solid #808080;
+	       color: #FFFFFF;
+	       font-weight: bold;
+	    }
+
+	    .ui-widget-header {
+	       border: 1px solid #808080;
+            }
+
+	    .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
+	       color: #000000;
+	       /* text-decoration: none; */
+	    }
+		</style>
+	</xsl:template>
+
+
+
+
+
+	<xsl:template name="UserTrackerScripts">
+		<script type="text/javascript">
+			<xsl:text disable-output-escaping="yes">
+				$(window).load(function()
+				{
+					if(gs.cgiParams.d &amp;&amp; gs.userInformation &amp;&amp; gs.userInformation.editEnabled == "true")
+					{
+						var statusBarDiv = $("&lt;div&gt;");
+						$("#gs_content").prepend(statusBarDiv);
+						var statusBar = new StatusBar(statusBarDiv[0]);
+						var statusUsernameMap = new Array();
+						
+						var recordActionFunction = function()
+						{
+							var action = gs.userInformation.currentAction;
+							if(!action)
+							{
+								action = "viewingPage";
+							}
+							$.ajax(gs.xsltParams.library_name + "?a=g&amp;rt=ro&amp;s=RecordUserAction&amp;s1.site=" + gs.xsltParams.site_name + "&amp;s1.collection=" + gs.cgiParams.c + "&amp;s1.oid=" + gs.cgiParams.d + "&amp;s1.username=" + gs.userInformation.username + "&amp;s1.action=" + action);
+
+							if(action == "savingNote" &amp;&amp; gs.userInformation.saveSentOnce)
+							{
+								gs.userInformation.currentAction = "viewingPage";
+								gs.userInformation.saveSentOnce = false;
+							}
+							else if(action == "savingNote")
+							{
+								gs.userInformation.saveSentOnce = true;
+							}
+						}
+						setInterval(recordActionFunction, 5000);
+						recordActionFunction();
+		
+						var userTrackerFunction = function(url)
+						{
+							$.ajax(url)
+							.success(function(response)
+							{
+								statusBar.clear();
+								var xml = $.parseXML(response);
+								$(xml).find("userList user").each(function()
+								{
+									var username = $(this).attr("username");
+									if(username == gs.userInformation.username)
+									{
+										return;
+									}
+
+									var statusString;
+									if($(this).attr("action") == "viewingPage")
+									{
+										statusString = "User " + $(this).attr("username") + " is currently viewing this page";
+									}
+									else if($(this).attr("action") == "addingNote")
+									{
+										statusString = "User " + $(this).attr("username") + " is currently adding a note";
+									}
+									else if($(this).attr("action") == "editingNote")
+									{
+										statusString = "User " + $(this).attr("username") + " is currently editing a note";
+									}
+									else if($(this).attr("action") == "savingNote")
+									{
+										gs.userInformation.reloadRequired = true;
+										statusString = "User " + $(this).attr("username") + " has saved a note";
+									}
+
+									if(gs.userInformation.reloadRequired)
+									{
+										statusString += ", a note has been added or changed, please click &lt;a href=\"javascript:location.reload();\"&gt;here&lt;/a&gt; to reload the page";
+									}
+									statusBar.addStatus(statusString);
+								});
+							});
+						}
+						var getURL = gs.xsltParams.library_name + "?a=g&amp;rt=ro&amp;s=GetActivityOnPage&amp;s1.site=" + gs.xsltParams.site_name + "&amp;s1.collection=" + gs.cgiParams.c + "&amp;s1.oid=" + gs.cgiParams.d;
+						setInterval(function(){userTrackerFunction(getURL);}, 10000);
+						userTrackerFunction(getURL);
+					}
+				});
+			</xsl:text>
+		</script>
+	</xsl:template>
+
+	<!-- redefine this to only include the buttons we want, and don't include the styling -->
+	<xsl:template name="home-help-preferencesXXXX">
+	    <xsl:call-template name="PrefsLink"/>
+	    <xsl:call-template name="HelpLink"/>
+	    <span id="userMenuButton"><xsl:call-template name="LoginoutLink"/></span>
+	</xsl:template>	
+
+	<!-- redefine to link to google doc -->
+	<!--
+	<xsl:template name="HelpLink">
+	  < ! - - help - - >
+	  <a><xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection/@name"/>/page/html?url=https://docs.google.com/document/d/18PinB6uwdOvwzPi8foIV0hF4G8eNVYJ5XyqYL_k7ij0/edit?usp=sharing</xsl:attribute>
+	    <xsl:attribute name="title"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_tip')"/></xsl:attribute>
+	    <span id="helpButton"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_b')"/></span>
+	  </a>
+	</xsl:template>
+	-->
+	
+</xsl:stylesheet>
Index: /main/trunk/model-interfaces-dev/alt-atea/transform/layouts/main.xsl
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/transform/layouts/main.xsl	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/transform/layouts/main.xsl	(revision 34009)
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+
+	xmlns:java="http://xml.apache.org/xslt/java"
+	xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
+	xmlns:gslib="http://www.greenstone.org/skinning"
+    xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
+    
+    xmlns:lxslt="http://xml.apache.org/xslt"
+    xmlns:result="http://www.example.com/results"
+    xmlns:exsl="http://exslt.org/common"
+
+	extension-element-prefixes="java util result exsl"
+	exclude-result-prefixes="util java util">
+
+
+	
+	<!-- the main layout is defined here -->
+	<xsl:template name="mainTemplate">
+
+				<xsl:variable name="pjbaseurl">
+					<xsl:text>interfaces/</xsl:text>
+					<xsl:value-of select="$interface_name"/>
+					<xsl:text>/wrapper-style</xsl:text>	
+				</xsl:variable>
+				<xsl:variable name="pjextbaseurl">
+					<xsl:text>http://peitehurinuijones.co.nz</xsl:text>
+				</xsl:variable>
+
+
+		<html>
+
+			<head>
+				<!-- ***** in header.xsl ***** -->
+				<xsl:call-template name="create-html-header"/>
+			</head>
+			
+			<body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
+				
+				<!--<xsl:call-template name="displayErrorsIfAny"/>-->
+				<a name="top"><xsl:text> </xsl:text></a>
+				
+<!-- Wrapper header start -->
+<div id="wrapper-container">
+
+<div id="header">
+
+
+  <div class="headLeft"><a href="{$library_name}" title="Ätea - Home"><img src="interfaces/{$interface_name}/images/Atea-logo.png" width="270" height="104" alt="Ätea - Home" /></a></div>
+  <div class="headRight">
+
+    <!--
+	<a href="{$library_name}" title="Ätea - Home">Home</a>
+	-->
+    <!--
+	<a href="{$pjextbaseurl}/about.html" title="About">About</a>
+	<a href="{$pjextbaseurl}/contact.html" title="Contact">Contact</a>
+	-->
+        <xsl:call-template name="home-help-preferences"/>
+
+  </div>
+</div>
+<!-- Wrapper header end -->
+
+				<div id="topArea" class="ui-state-default ui-corner-top">
+	<xsl:comment>Place-holder to stop div collapsing</xsl:comment>
+				</div>
+				
+
+
+<!-- nav start -->
+<div id="nav">
+	<!-- previously, e.g.: href="{$url}/wrapper-style/research.html" title="Research" -->
+	<!-- then            : href="{$pjbaseurl}/research.html" title="Research" -->
+	<!--
+  <ul>
+   <li><a href="http://{$pjbaseurl}/bio.html" title="Bio">Bio</a></li>
+< ! - -   <li><a href="{$library_name}/collection/digital-library/page/about/" title="Digital library">Digital library</a></li> - - >
+   <li><a href="{$library_name}/collection/written-works/page/about/" title="Written works">Written works</a></li> 
+    <li><a href="{$library_name}/collection/gallery/page/about/" title="Gallery">Gallery</a></li>
+   <li><a href="{$library_name}/collection/taonga/page/about/" title="Taonga">Taonga</a></li>
+   <li><a href="{$pjextbaseurl}/research.html" title="Research">Research</a></li>
+   </ul>
+	-->
+
+	<ul>
+	  <li> </li>
+	</ul>
+</div>
+<!-- nav end -->
+
+
+				<div id="container" class="ui-corner-all">
+
+					<!-- ***** in header.xsl ***** -->
+					<xsl:call-template name="create-banner"/>
+					
+					<xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='on')]">
+						<xsl:call-template name="formatmanagerpre"/>
+					</xsl:if>
+    
+					<div id="gs_content" class="ui-widget-content">
+						<!--
+							show the content of the page.
+							to customise this part, edit the xsl file for the page you want to edit
+						-->
+						<xsl:apply-templates select="/page"/>
+
+					</div>
+
+					<xsl:call-template name="gs_footer"/>
+				</div>
+</div>
+<!-- Wrapper container end -->
+
+			</body>
+		</html>
+	</xsl:template>
+
+</xsl:stylesheet>
Index: /main/trunk/model-interfaces-dev/alt-atea/transform/pages/classifier.xsl
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/transform/pages/classifier.xsl	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/transform/pages/classifier.xsl	(revision 34009)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:java="http://xml.apache.org/xslt/java"
+	xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
+	xmlns:gslib="http://www.greenstone.org/skinning"
+	xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
+	extension-element-prefixes="java util"
+	exclude-result-prefixes="java util gsf">
+
+	<!-- set page title to be collection name not service name-->
+	<xsl:template name="pageTitle"><gslib:collectionName/></xsl:template>
+
+</xsl:stylesheet>
Index: /main/trunk/model-interfaces-dev/alt-atea/transform/pages/document.xsl
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/transform/pages/document.xsl	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/transform/pages/document.xsl	(revision 34009)
@@ -0,0 +1,539 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:java="http://xml.apache.org/xslt/java"
+	xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
+	xmlns:gslib="http://www.greenstone.org/skinning"
+	xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
+	extension-element-prefixes="java util"
+	exclude-result-prefixes="java util gsf">
+
+
+	<!-- set page title to be collection name instead of document name -->
+	<xsl:template name="pageTitle"><gslib:collectionName/></xsl:template>
+
+	<xsl:template name="javascriptForDocumentView">
+	    <script type="text/javascript" src="interfaces/default/js/document_scripts.js"><xsl:text> </xsl:text></script>
+	    <script type="text/javascript" src="sites/pei-jones/js/custom-document.js"><xsl:text> </xsl:text></script>
+        </xsl:template>
+
+	<xsl:template name="javascriptForDocumentEditing">
+	  <!--<script type="text/javascript" src="interfaces/default/js/combobox.js"><xsl:text> </xsl:text></script>-->
+	  <script type="text/javascript" src="interfaces/default/js/documentedit_scripts.js"><xsl:text> </xsl:text></script>
+	  <script type="text/javascript" src="interfaces/default/js/documentedit_scripts_util.js"><xsl:text> </xsl:text></script>
+	  <script type="text/javascript" src="interfaces/default/js/hierarchy.js"><xsl:text> </xsl:text></script>
+	  <!-- add in the pei-jones customisations -->
+	  <script type="text/javascript" src="sites/pei-jones/js/custom-doc-editing.js"><xsl:text> </xsl:text></script>
+	  <!-- add in the collection specific customisations -->
+	  <script type="text/javascript" src="sites/pei-jones/collect/{$collName}/js/custom-doc-editing.js"><xsl:text> </xsl:text></script>
+	  <script type="text/javascript">
+	    <xsl:text disable-output-escaping="yes">
+	      $(window).load(function()
+	       {
+		 if(gs.cgiParams.docEdit == "1")
+		   {
+		     readyPageForEditing();
+		   }
+	       });
+	      
+	    </xsl:text>
+				<!-- download and process hierarchy files -->
+                                <xsl:text disable-output-escaping="yes">$(document).ready(function(){</xsl:text>
+                                <xsl:for-each select="//classifier[@hfile]">
+                                        <xsl:text disable-output-escaping="yes">downloadAndProcessHierarchyFile('</xsl:text>
+                                        <xsl:text>sites/pei-jones/collect/</xsl:text><xsl:value-of select="$collName"/><xsl:text>/etc/</xsl:text><xsl:value-of select="@hfile"/>
+                                        <xsl:text disable-output-escaping="yes">','</xsl:text><xsl:value-of select="@metadata"/><xsl:text disable-output-escaping="yes">');</xsl:text>
+                                </xsl:for-each>
+                                <xsl:text disable-output-escaping="yes">});</xsl:text>
+
+	  </script>
+	</xsl:template>
+
+	<xsl:template name="editBar" >
+	  <div id="editBar">
+	  <div id="editBarRight" stype="width:100%; float:right; margin: 0 0 10px 20px;" >
+	    <div style="text-align:center;">
+	      <!-- edit content button -->
+	      <div style="margin:5px;" class="ui-state-default ui-corner-all">
+		<div id="editContentButtonDiv" style="margin:3px" ><a id="editContentButton" style="padding: 3px; text-decoration:none;">
+		  <xsl:attribute name="href">
+		    <xsl:value-of select="$library_name"/>
+		    <xsl:text>/collection/</xsl:text>
+		    <xsl:value-of select="$collName"/>
+		    <xsl:text>/document/</xsl:text>
+		    <xsl:choose>
+		      <xsl:when test="count(//documentNode) > 0">
+			<xsl:value-of select="/page/pageResponse/document/documentNode/@nodeID"/>
+		      </xsl:when>
+		      <xsl:otherwise>
+			<xsl:value-of select="/page/pageResponse/document/@nodeID"/>
+		      </xsl:otherwise>
+		    </xsl:choose>
+		    <xsl:if test="not(/page/pageRequest/paramList/param[@name = 'docEdit']/@value = '1')">
+		      <xsl:text>?ed=1&amp;docEdit=1</xsl:text>
+		    </xsl:if>
+		  </xsl:attribute>
+		  <xsl:choose>
+		    <xsl:when test="/page/pageRequest/paramList/param[@name = 'docEdit']/@value = '1'">
+		      <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'de.hide_editor')"/>
+		    </xsl:when>
+		    <xsl:otherwise>
+		      <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'de.edit_content')"/>
+		    </xsl:otherwise>
+		  </xsl:choose>
+		</a>
+		</div>
+		<!-- place holder div for editing controls -->
+		<!-- Note, we are putting these underneath instead of to the left -->
+		<div id="editBarLeft"><xsl:text> </xsl:text></div>
+	      </div>
+	    </div>
+	  </div>
+	  </div>
+	</xsl:template>
+
+	
+	<!-- The default template for displaying the document node text -->
+	<!-- equivalent to gsf:text -->
+	<!--
+	<xsl:template name="documentNodeTextOld">
+		< ! - - Hides the "This document has no text." message - - >
+		<xsl:variable name="noText">0</xsl:variable>
+		<xsl:choose>
+		<xsl:when test="not($noText = '1')">
+
+			< ! - - Section text - - >
+			<xsl:for-each select="nodeContent">
+				<xsl:for-each select="node()">
+					<xsl:choose>
+						<xsl:when test="not(name())">
+							<xsl:value-of select="." disable-output-escaping="yes"/>
+						</xsl:when>
+						<xsl:when test="name() = 'annotation'">
+							<xsl:call-template name="displayAnnotation"/>
+						</xsl:when>
+						<xsl:otherwise>
+							<xsl:apply-templates/>
+						</xsl:otherwise>
+					</xsl:choose>
+				</xsl:for-each>
+			</xsl:for-each>
+		</xsl:when>
+		<xsl:when test="$noText = '1' and not(metadataList/metadata[@name='Image'])">
+			<gsf:link type="source"><gsf:metadata name="Source"/></gsf:link>
+		</xsl:when>
+		</xsl:choose>
+		<xsl:text> </xsl:text>
+	</xsl:template>
+	-->
+
+	<!-- Below is the newer version of documentNodeText -->
+	<!-- No longer sure what the purpose of the above definition of the template was for, however
+	     as it calls dispayAnnotation, and this no longer exists, now commented out -->
+	
+	<xsl:template name="documentNodeTextOld">
+	  <xsl:param name="force">0</xsl:param>
+	  <!-- Hides the "This document has no text." message -->
+	  <xsl:variable name="noText"><gsf:metadata name="NoText"/></xsl:variable>
+	  <xsl:choose>
+	    <xsl:when test="$force = '1' or not($noText = '1')">
+
+	      <!-- Section text -->
+	      <xsl:for-each select="nodeContent">
+		<xsl:call-template name="displayMarkedUpTextAndAnnotations"/>
+	      </xsl:for-each>
+	    </xsl:when>
+	    <xsl:when test="$noText = '1' and not(metadataList/metadata[@name='ImageType'])">
+	      <gsf:link type="source"><gsf:metadata name="Source"/></gsf:link>
+	    </xsl:when>
+	  </xsl:choose>
+	  <xsl:text> </xsl:text>
+	</xsl:template>
+
+	
+	<xsl:template name="topLevelSectionContent">
+  		<xsl:call-template name="wrappedSectionImage"/>
+		<xsl:call-template name="imageDownloadLink"/>
+		<xsl:call-template name="pjMetadataDisplayTable"/>
+		<xsl:call-template name="wrappedSectionText"/>
+	</xsl:template>
+	
+	<xsl:template name="sectionContent">
+  	  <xsl:call-template name="wrappedSectionImage"/>
+	  <xsl:call-template name="imageDownloadLink"/>
+		<xsl:call-template name="pjMetadataDisplayTable"/>
+		<xsl:call-template name="wrappedSectionText"/>
+	</xsl:template>
+
+	<xsl:template name="sectionContentForEditing">
+		<xsl:call-template name="wrappedSectionImage"/>
+		<xsl:call-template name="imageDownloadLink"/>
+		<xsl:call-template name="wrappedSectionTextForEditing"/>
+	</xsl:template>
+
+	<xsl:template name="imageDownloadLink">
+	  <xsl:if test="$collName = 'written-works'">
+	  <gsf:if-metadata-exists>
+	    <gsf:metadata name="Image" hidden="true"/>
+	    <gsf:if>
+	      <gsf:link type="source" source_meta="Source">download tif image</gsf:link> 
+	    </gsf:if>
+	  </gsf:if-metadata-exists>
+	  </xsl:if>
+	</xsl:template>
+
+	<xsl:template name="pjMetadataDisplayTable">
+	<table cellpadding="1" cellspacing="0" class="alternating" hspace="5" style="margin-top: 15px; border: 1px solid #000; border-collapse: collapse;" vspace="5">
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Title"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Title</p>
+		</td>
+		<td>
+		  <p data="Title" rect="norect">
+		    <gsf:metadata name="pj.Title"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Date"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Date</p>
+		</td>
+		<td>
+		  <p data="Date" rect="norect">
+		    <gsf:metadata name="pj.Date" format="formatDate"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Author"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Author</p>
+		</td>
+		<td>
+		  <p data="Author" rect="norect">
+		    <gsf:metadata name="pj.Author"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Correspondent"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Correspondent</p>
+		</td>
+		<td>
+		  <p data="Correspondent" rect="norect">
+		    <gsf:metadata name="pj.Correspondent"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Description"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect" style="font-weight: bold;">Description</p>
+		</td>
+		<td>
+		  <p data="Description" rect="norect">
+		    <gsf:metadata name="pj.Description"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Subject"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect" style="font-weight: bold;">Subject</p>
+		</td>
+		<td>
+		  <p data="Subject" rect="norect">
+		    <gsf:metadata name="pj.Subject"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.PersonOfInterest"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Person of Interest</p>
+		</td>
+		<td>
+		  <p data="PersonOfInterest" rect="norect">
+		    <gsf:metadata name="pj.PersonOfInterest"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Event"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Event</p>
+		</td>
+		<td>
+		  <p data="Event" rect="norect">
+		    <gsf:metadata name="pj.Event"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Location"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Location</p>
+		</td>
+		<td>
+		  <p data="Location" rect="norect">
+		    <gsf:metadata name="pj.Location"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Access"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect" style="font-weight: bold;">Access</p>
+		</td>
+		<td>
+		  <p data="MSAccess" rect="norect">
+		    <gsf:metadata name="pj.Access"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.MSHeading"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect" style="font-weight: bold;">Maori Subject Heading</p>
+		</td>
+		<td>
+		  <p data="MSHeading" rect="norect">
+		    <gsf:metadata name="pj.MSHeading"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Document-Type"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect" style="font-weight: bold;">Document-Type</p>
+		</td>
+		<td>
+		  <p data="Document-Type" rect="norect">
+		    <gsf:metadata name="pj.Document-Type"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Notes"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect" style="font-weight: bold;">Notes</p>
+		</td>
+		<td>
+		  <p data="Notes" rect="norect">
+		    <gsf:metadata name="pj.Notes"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Provenance"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect" style="font-weight:bold;">Provenance</p>
+		</td>
+		<td>
+		  <p data="Provenance" rect="norect">
+		    <gsf:metadata name="pj.Provenance"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Tags"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect" style="font-weight: bold;">Tags</p>
+		</td>
+		<td>
+		  <p data="Tags" rect="norect">
+		    <gsf:metadata name="pj.Tags"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Catalogue-Number"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Catalogue-Number</p>
+		</td>
+		<td>
+		  <p data="Catalogue-Number" rect="norect">
+		    <gsf:metadata name="pj.Catalogue-Number"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+<!--	  <gsf:switch>
+	    <gsf:metadata name="pj.Catalogue-Short"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Catalogue-Short</p>
+		</td>
+		<td>
+		  <p data="Catalogue-Short" rect="norect">
+		    <gsf:metadata name="pj.Catalogue-Short"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>-->
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Physical-Location"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Physical Location</p>
+		</td>
+		<td>
+		  <p data="Physical-Location" rect="norect">
+		    <gsf:metadata name="pj.Physical-Location"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Physical-Description"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Physical Description</p>
+		</td>
+		<td>
+		  <p data="Physical-Location" rect="norect">
+		    <gsf:metadata name="pj.Physical-Description"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Year"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Year</p>
+		</td>
+		<td>
+		  <p data="Year" rect="norect">
+		    <gsf:metadata name="pj.Year"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <gsf:switch>
+	    <gsf:metadata name="pj.Format"/>
+	    <gsf:when test="exists">
+	      <tr>
+		<td class="heading">
+		  <p rect="norect">Format</p>
+		</td>
+		<td>
+		  <p data="Format" rect="norect">
+		    <gsf:metadata name="pj.Format"/>
+		  </p>
+		</td>
+	      </tr>
+	    </gsf:when>
+	  </gsf:switch>
+	  <tr><td></td></tr>
+	</table>
+
+	</xsl:template>
+
+	<!-- these are some old templates from collectionConfig.xmls -->
+	<xsl:template name="showAssocFilePath">
+	  <xsl:if test="/page/pageRequest/paramList/param[@name='p.showAssocFilePath']/@value='1'">
+	    <span data="gsdl.Metadata: assocfilepath" id="assocfilepath" rect="norect">@assocfilepath<gsf:metadata name="assocfilepath"/></span>
+	  </xsl:if>
+	</xsl:template>
+
+      <xsl:template name="showExpediteeAttributes">
+	<xsl:variable name="ScreenName">Screen</xsl:variable>
+	<xsl:variable name="ThumbName">Thumb</xsl:variable>
+	<xsl:if test="/page/pageRequest/paramList/param[@name='p.showExpediteeAttributes']/@value='1'">
+	  <table attr="norect" cellpadding="1" cellspacing="0" width="100%">
+	    <tr attr="norect">
+	      <td attr="norect" colspan="2">
+		<span data="gsdl.Metadata: Screen" rect="norect">@Screenview: greenstone3-svn/web/sites/localsite/collect/pj-catalogue/index/assoc/<xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/document/metadataList/metadata[@name = 'assocfilepath']"/>/<xsl:value-of disable-output-escaping="yes" select="(.//metadataList)[last()]/metadata[@name = $ScreenName]"/></span>
+	      </td>
+	    </tr>
+	    <tr attr="norect">
+	      <td attr="norect" colspan="2">
+		<span data="gsdl.Metadata: Thumb" rect="norect">@Thumbnail: greenstone3-svn/web/sites/localsite/collect/pj-catalogue/index/assoc/<xsl:value-of disable-output-escaping="yes" select="/page/pageResponse/document/metadataList/metadata[@name = 'assocfilepath']"/>/<xsl:value-of disable-output-escaping="yes" select="(.//metadataList)[last()]/metadata[@name = $ThumbName]"/></span>
+	      </td>
+	    </tr>
+	    <tr attr="norect">
+	      <td attr="norect" colspan="2">
+		<span data="gsdl.Metadata: Catalogue-Number" rect="norect">@Catalogue-Number:<gsf:metadata name="Catalogue-Number"/></span>
+	      </td>
+	    </tr>
+	  </table>
+	</xsl:if>
+      </xsl:template>
+
+
+</xsl:stylesheet>
Index: /main/trunk/model-interfaces-dev/alt-atea/transform/pages/home.xsl
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/transform/pages/home.xsl	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/transform/pages/home.xsl	(revision 34009)
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:java="http://xml.apache.org/xslt/java"
+	xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
+	xmlns:gslib="http://www.greenstone.org/skinning"
+	extension-element-prefixes="java util"
+	exclude-result-prefixes="java util">
+
+  <xsl:template name="siteDescriptionAbout">
+    <div style="padding-bottom: 15px">
+      <h3>Ätea: Creating a MÄori experience in the digital realm</h3>
+      
+      <p>
+	This Spearhead project emerged from a Science for Technological
+	Innovation (SfTI) workshop, where Te WhÄnau-Ä-Apanui tribal
+	leader Rikirangi Gage posed an intriguing question:
+      </p>
+      
+      <p>
+	âWhat if in 200-300 yearsâ time I was able to be a hologram and
+	my mokopuna could sit there and talk to me and I could explain,
+	for example, how the Star Compass worked. Wouldnât that be
+	awesome!â
+      </p>
+
+      <p>
+	That vision motivated University of Waikato Associate Professor
+	Dr. HÄmi Whaanga to develop the concept of Ätea, a digital space
+	that uses new technologies and novel approaches to enable MÄori
+	to interactively engage with their language, culture and
+	knowledge. The multidisciplinary project team aims to design an
+	immersive experience for future generations, addressing the
+	Vision MÄtauranga goals of the SfTI Challenge, to connect
+	dispersed MÄori communities.
+      </p>
+
+      <p>
+	<a href="https://www.sftichallenge.govt.nz/research/atea">Read more ...</a>
+      </p>
+      
+    </div>
+  </xsl:template>
+  
+	<!-- the page content -->
+	<xsl:template match="/page/pageResponseXXXX">
+
+		<div id="quickSearch">
+			<gslib:crossCollectionQuickSearchForm/>
+		</div>
+
+		<h2><gslib:selectACollectionTextBar/></h2>
+
+		<div id="collectionLinks">
+			<xsl:if test="count(collectionList/collection) = 0">
+				<xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/>
+				<br/>
+			</xsl:if>
+			<xsl:for-each select="collectionList/collection">
+				<gslib:collectionLinkWithImage/>
+			</xsl:for-each>
+			<br class="clear"/>
+		</div>
+
+	        <div>
+			<p>Pei Te Hurinui Jones, 1898-1976, was an outstanding figure in New Zealand - from his editorial work compiling and translating the songs of Maori tribes in Nga Moteatea, to founding one of the first New Zealand owned and operated million dollar companies, to being the President of the Maori Council and advisor to King Koriki and the Maori Queen, Dame Te Atairangikaahu. If you've read (or watched) any of Shakespeare's plays in Maori, then you've experienced some of the work of Pei Jones.</p>
+		
+			<p> In conjunction with staff from the School of Maori and Pacific Development, our library staff have worked tirelessly to gather scholarly material and artefacts relating to his academic life, made available as a special collection and housed in its own room on the top floor of the recently re-developed library building. Over the last 5 years, work has been undertaken to digitize these items and develop a digital library which you are now visiting.</p>
+
+	        </div>
+
+		<gslib:serviceClusterList/>
+
+		<xsl:for-each select="serviceList/service[@type='query']">
+			<gslib:serviceLink/><br/>
+		</xsl:for-each>
+		
+		<xsl:for-each select="serviceList/service[@type='authen']">
+			<gslib:authenticationLink/><br/><br/>
+			<gslib:registerLink/><br/>
+		</xsl:for-each>
+
+	</xsl:template>
+
+</xsl:stylesheet>
+
+
Index: /main/trunk/model-interfaces-dev/alt-atea/transform/pages/query.xsl
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/transform/pages/query.xsl	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/transform/pages/query.xsl	(revision 34009)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:java="http://xml.apache.org/xslt/java"
+	xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
+	xmlns:gslib="http://www.greenstone.org/skinning"
+	xmlns:gsvar="http://www.greenstone.org/skinning-var"
+	xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
+	extension-element-prefixes="java util"
+	exclude-result-prefixes="java util gsf">
+
+	<!-- set page title to be collection name not service name-->
+	<xsl:template name="pageTitle">
+		<gslib:collectionName/>
+	</xsl:template>
+
+</xsl:stylesheet>
Index: /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/default.css
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/default.css	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/default.css	(revision 34009)
@@ -0,0 +1,209 @@
+
+@import url("small.css") only screen and (max-width:320px);
+@import url("medium.css") only screen and (min-width:321px) and (max-width:540px);
+@import url("large.css") only screen and (min-width:541px);
+
+/* ATEA mod */
+/*
+* 
+{
+border: 0px;
+margin: 0px;
+padding: 0px;
+}
+*/
+
+/* ATEA mod */
+/*
+a			{ color: #ab5816; text-decoration: underline; }
+a:visited		{ color: #ab5816; text-decoration: underline; }
+a:active		{ color: #ab5816; text-decoration: none; }
+a:hover			{ color: #ab5816; text-decoration: none; }
+*/
+
+a			{ text-decoration: underline; }
+a:visited		{ text-decoration: underline; }
+a:active		{ text-decoration: none; }
+a:hover			{ text-decoration: none; }
+
+/*#gs_footer a			{ color: rgb(209, 197, 182); text-decoration: underline; }
+#gs_footer a:visited		{ color: rgb(209, 197, 182); text-decoration: underline; }*/
+#gs_footer a			{ color: #FFFFFF; text-decoration: underline; }
+#gs_footer a:visited		{ color: #FFFFFF; text-decoration: underline; }
+#gs_footer a:active		{ color: #FFFFFF; text-decoration: none; }
+#gs_footer a:hover		{ color: #FFFFFF; text-decoration: none; }
+
+
+#nav a 			{ color: #7e746c; text-decoration: none; font-size:16px; font-weight:bold; padding:4px 15px 5px 15px; }
+#nav a:visited	{ color: #7e746c; text-decoration: none; }
+#nav a:active	{ color: #7e746c; text-decoration: none; }
+#nav a:hover	{ color: #7e746c; text-decoration: none; background-color: #f6f1eb; }
+
+.headRight a 			{ color: #d1c5b6; text-decoration: none; font-size:14px; font-weight:bold; padding:4px 15px 5px 15px; }
+.headRight a:visited	{ color: #d1c5b6; text-decoration: none; }
+.headRight a:active		{ color: #d1c5b6; text-decoration: none; }
+.headRight a:hover		{ color: #FFFFFF; text-decoration: none; }
+
+body
+{
+font-family: arial, helvetica, sans-serif;
+font-size: 0.85em;
+color: #4c4743;
+line-height: 140%;
+background-image: url(images/bodyBG.jpg);
+background-position:top;
+background-repeat: repeat-y;
+/* text-align: center; */
+margin: 0px 0px 0px 0px;
+background-color: #e5ddd5;
+}
+
+h1
+{
+font-size: 1.6em;
+margin: 40px 0px 20px 0px;
+}
+
+/* ATEA Mod */
+h2
+{
+font-size: 1.4em;
+/* margin: 20px 0px 0px 0px; */
+}
+
+h3
+{
+font-size: 1.2em;
+margin: 10px 0px 0px 0px;
+}
+
+p
+{
+margin: 10px 0px 0px 0px;
+}
+
+#wrapper-container
+{
+background-image:url(images/Atea-homeBG.jpg);
+background-position:top;
+background-repeat:no-repeat;
+/* text-align: center; */
+}
+
+#header
+{ 
+margin: 0px 0px 0px 0px;
+margin-left: auto ;
+margin-right: auto ;
+width: 980px;
+text-align: left;
+}
+
+.headLeft
+{
+float: left;
+}
+
+.headRight
+{
+float: right;
+margin-top: 70px;
+}
+
+
+#nav
+{ 
+margin: 0px 0px 0px 0px;
+padding: 10px;
+margin-left: auto ;
+margin-right: auto ;
+width: 980px;
+text-align: left;
+clear: both;
+}
+
+#nav ul
+{
+list-style-type:none;
+margin: 5px 0px 5px 0px;
+} 
+ 
+#nav li
+{
+display:inline;
+}
+
+#copy
+{ 
+padding: 0px 190px 0px 0px;
+margin-left: auto ;
+margin-right: auto ;
+width: 790px;
+text-align: left;
+min-height:400px;
+}
+
+#copy li
+{ 
+list-style: square outside; 
+margin: 0px 30px 0px 30px;
+}
+
+#footer
+{ 
+color: #4c4743; 
+font-size: 11px;
+padding: 10px 0px 0px 0px;
+text-align: right;
+margin-top: 50px;
+margin-left: auto ;
+margin-right: auto ;
+width: 980px;
+clear:both;
+}
+
+.box
+{
+width:200px;
+margin:20px 20px 0px 0px;
+background-color:#e3dbd3;
+border-radius: 10px;
+float: left;
+padding: 100px 20px 20px 20px;
+border: solid 1px #B2A69A;
+background-position: right top;
+background-repeat:no-repeat;
+min-height: 170px;
+}
+
+#bio 		{background-image:url(images/homeBio.jpg);}
+#library	{background-image:url(images/homeLibrary.jpg);}
+#written	{background-image:url(images/homeWritten.jpg);}
+#taonga		{background-image:url(images/homeTaonga.jpg);}
+#gallery	{background-image:url(images/homeGallery.jpg);}
+#research	{background-image:url(images/homeResearch.jpg);}
+
+.clear
+{
+clear:both;
+}
+
+input, textarea {
+padding: 10px 10px 10px 10px;
+font-family: arial, helvetica, sans-serif;
+color: #4c4743;
+font-size: 1.1em;
+border: solid 1px #B2A69A;
+}
+
+.ref {
+color: #4c4743;
+font-weight:bold;
+cursor:default;
+}
+
+select {
+border: 1px solid #B2A69A;
+padding: 0px 4px;
+
+}
Index: /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/large.css
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/large.css	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/large.css	(revision 34009)
@@ -0,0 +1,2 @@
+@charset "utf-8";
+
Index: /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/medium.css
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/medium.css	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/medium.css	(revision 34009)
@@ -0,0 +1,1 @@
+@charset "utf-8";
Index: /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/small.css
===================================================================
--- /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/small.css	(revision 34009)
+++ /main/trunk/model-interfaces-dev/alt-atea/wrapper-style/small.css	(revision 34009)
@@ -0,0 +1,2 @@
+@charset "utf-8";
+
