Index: documentation/trunk/tutorials/xml-source/tutorial_en.xml
===================================================================
--- documentation/trunk/tutorials/xml-source/tutorial_en.xml	(revision 32898)
+++ documentation/trunk/tutorials/xml-source/tutorial_en.xml	(revision 32899)
@@ -2424,5 +2424,5 @@
 </NumberedItem>
 <NumberedItem>
-<Text id="0425">In the <AutoText key="glidict::GUI.Design"/> panel, select the <AutoText key="glidict::CDM.GUI.Plugins"/> section, then select the <AutoText text="plugin HTMLPlugin"/> line and click <AutoText key="glidict::CDM.PlugInManager.Configure" type="button"/>. A popup window appears. Locate the <AutoText text="file_is_url"/> option (about halfway down the first block of items) and switch it on. Click <AutoText key="glidict::General.OK" type="button"/>.</Text>
+<Text id="0425">In the <AutoText key="glidict::GUI.Design"/> panel, select the <AutoText key="glidict::CDM.GUI.Plugins"/> section, then select the <AutoText text="HTMLPlugin"/> line and click <AutoText key="glidict::CDM.PlugInManager.Configure" type="button"/>. A popup window appears. Locate the <AutoText text="file_is_url"/> option (about halfway down the first block of items) and switch it on. Click <AutoText key="glidict::General.OK" type="button"/>.</Text>
 <Text id="0426">Setting this option to the <AutoText text="HTMLPlugin"/> means that Greenstone sets an additional piece of metadata for each document called <AutoText text="URL"/>, which gives its original URL.</Text>
 <Text id="0427">It is important that the files gathered in the collection start with the web domain name (<i>englishhistory.net</i> in this case). The conversion process will not work if you dragged over a subfolder, for example the <Path>tudor</Path> folder, because this will set <AutoText text="URL"/> metadata to something like</Text>
@@ -2437,5 +2437,5 @@
 </NumberedItem>
 <NumberedItem>
-<Text id="0430">To make use of the new URL metadata, the icon link must be changed to serve up the original URL rather than the copy stored in the digital library. Go to the <AutoText key="glidict::GUI.Format"/> panel, select the <AutoText key="glidict::CDM.GUI.Formats"/> section and edit the <MajorVersion number="2"><AutoText text="VList" /></MajorVersion><MajorVersion number="3"><AutoText text="documentNode"/> template of the <AutoText text="Browse" /></MajorVersion> format statement by replacing</Text>
+<Text id="0430">To make use of the new URL metadata, the icon link must be changed to serve up the original URL rather than the copy stored in the digital library. Go to the <AutoText key="glidict::GUI.Format"/> panel, select the <AutoText key="glidict::CDM.GUI.Formats"/> section and edit the <MajorVersion number="2"><AutoText text="VList" /></MajorVersion><MajorVersion number="3"><AutoText text="documentNode"/> template of the <AutoText text="browse" /></MajorVersion> format statement by replacing</Text>
 <MajorVersion number="2">
 <Format>[link][icon][/link]</Format>
@@ -2485,5 +2485,5 @@
 </NumberedItem>
 <NumberedItem>
-<Text id="0525">Switch to the <AutoText key="glidict::GUI.Create"/> panel, <b>build</b> the collection, and <b>preview</b> it. Browse through the <MajorVersion number="2"><AutoText key="coredm::_Global:labelTitle_" type="italics"/></MajorVersion><MajorVersion number="3"><AutoText key="gs3::metadata_names::Title.buttonname" type="italics"/></MajorVersion> and view a record or two. Try searching&mdash;for example, find items that include <AutoText text="graphics"/>.</Text>
+<Text id="0525">Switch to the <AutoText key="glidict::GUI.Create"/> panel, <b>build</b> the collection, and <b>preview</b> it. Browse through the <MajorVersion number="2"><AutoText key="coredm::_Global:labelTitle_" type="italics"/></MajorVersion><MajorVersion number="3"><AutoText key="gs3::metadata_names::Title.buttonname" type="italics"/></MajorVersion> classifier and view a record or two. Try searching&mdash;for example, find items that include <AutoText text="graphics"/>.</Text>
 </NumberedItem>
 <NumberedItem>
@@ -2556,5 +2556,5 @@
 </MajorVersion>
 <MajorVersion number="3">
-<Text id="0533-11-1"><b>Rebuild</b> and <b>preview</b> the collection. You will notice that the <AutoText key="gs3::metadata_names::Subject.buttonname" type="italics"/> classifier is empty, searching no longer returns any results, and the document display is useless.</Text>
+<Text id="0533-11-1"><b>Rebuild</b> and <b>preview</b> the collection. You will notice that the <AutoText key="gs3::metadata_names::Subject.buttonname" type="italics"/> classifier is empty, searching no longer returns any results, and the document display is useless as the linked .nul documents don't exist, resulting in "Not Found" messages from the server.</Text>
 <Text id="0533-11b-1">Although the <AutoText key="gs3::metadata_names::Title.buttonname" type="italics"/> classifier was built on <AutoText key="metadata::ex.Title"/>, it still displays the correct titles, but in the <AutoText key="glidict::GUI.Enrich"/> panel you can see the <AutoText key="metadata::ex.Title"/> metadata are actually the filenames rather than titles of the MARC records. This is because the default <AutoText text="browse"/> format uses the <AutoText key="metadata::exp.Title"/> metadata. In the <AutoText key="glidict::CDM.GUI.Formats"/> section of the <AutoText key="glidict::GUI.Format"/> panel, select <AutoText text="global"/> in the list of assigned format statements. The format statement looks like:</Text>
 </MajorVersion>
@@ -2591,5 +2591,5 @@
 <Text id="0533-12b">We need to modify the collection design to take note of these changes.</Text>
 <NumberedItem>
-<Text id="0533-13">In the <AutoText key="glidict::CDM.GUI.Indexes"/> section, change the Title index to use <AutoText key="metadata::exp.Title"/>: select the Title index in the <AutoText key="glidict::CDM.IndexManager.Indexes"/> list and click <AutoText key="glidict::CDM.IndexManager.Edit_Index" type="button"/>. Deselect <AutoText key="metadata::dc.Title"/> and <AutoText key="metadata::ex.Title"/> in the list of metadata, and select <AutoText key="metadata::exp.Title"/>. Click <AutoText key="glidict::CDM.IndexManager.Replace_Index" type="button"/>.</Text>
+<Text id="0533-13">In the <AutoText key="glidict::GUI.Design"/> panel's <AutoText key="glidict::CDM.GUI.Indexes"/> section, change the Title index to use <AutoText key="metadata::exp.Title"/>: select the Title index in the <AutoText key="glidict::CDM.IndexManager.Indexes"/> list and click <AutoText key="glidict::CDM.IndexManager.Edit_Index" type="button"/>. Deselect <AutoText key="metadata::dc.Title"/> and <AutoText key="metadata::ex.Title"/> in the list of metadata, and select <AutoText key="metadata::exp.Title"/>. Click <AutoText key="glidict::CDM.IndexManager.Replace_Index" type="button"/>.</Text>
 </NumberedItem>
 <NumberedItem>
@@ -2791,4 +2791,8 @@
 </MajorVersion>
 </NumberedItem>
+<MajorVersion number="3"><NumberedItem>
+<Text id="is-12a-4">Go to the <AutoText text="display"/> format feature in the <AutoText key="glidict::CDM.GUI.Formats"/> section of the <AutoText key="glidict::GUI.Format"/> panel and add the following just after <Format>&lt;gsf:option name=&quot;TOC&quot; value=&quot;true&quot;/&gt;</Format>:</Text>
+<Format>&lt;gsf:template name=&quot;documentHeading&quot;/&gt;</Format>
+</NumberedItem></MajorVersion>
 <MajorVersion number="2">
 <NumberedItem>
@@ -3069,217 +3073,4 @@
 </Content>
 </Tutorial></MajorVersion>
-<MajorVersion number="3">
-<Tutorial id="using_themes">
-<Title>
-<Text id="themes-1">Customization: Themes</Text>
-</Title>
-<SampleFiles folder="custom"/>
-<Version initial="3.05" current="3.08"/>
-<Content>
-<Comment>
-<Text id="themes-2">This exercise looks at changing the appearance of your entire Greenstone Library using Themes created with jQuery ThemeRoller. First, we will look at how to use premade themes. Then, we will make a custom theme using ThemeRoller.</Text>
-</Comment>
-<Heading>
-<Text id="themes-0">Using Greenstone Visual Themes</Text>
-</Heading>
-<NumberedItem>
-<Text id="themes-3">Enter your Greenstone Library. ( Go to <Path>Start &rarr; All Programs &rarr; Greenstone-3.08 &rarr; Greenstone3 Server</Path> and click <AutoText text="Enter Library"/>.)</Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-4">In order to make changes to the library's theme, you must be logged in as an administrator. Click <AutoText key="gs3::interface_default::login_b"/> in the top right-hand corner. The default login is:</Text>
-<Format>
-<AutoText key="gs3::interface_default::authen.username"/>: admin<br/>
-<AutoText key="gs3::interface_default::authen.password"/>: admin
-</Format>
-<Text id="themes-5">Click <AutoText key="gs3::interface_default::login_b"/>. It is advisable to change the default password, if you haven't already. To do this, click the <AutoText text="admin"/> button in the top right-hand corner, and select <AutoText key="gs3::interface_default::authen.account_settings"/>. Click <AutoText key="gs3::interface_default::authen.change_password"/>. Enter the <AutoText key="gs3::interface_default::authen.old_password"/> (admin); then enter a new password in the <AutoText key="gs3::interface_default::authen.new_password"/> and  <AutoText key="gs3::interface_default::authen.retype_password"/> text boxes. Click <AutoText key="gs3::interface_default::authen.submit"/>. The password will be changed, and you will be taken to the <AutoText key="gs3::interface_default::authen.authentication"/>, where you can view a list of the current users.</Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-6">Go to <AutoText key="gs3::interface_default::pref_b"/>. Now that we are signed in as an administrator, we can see the <AutoText key="gs3::interface_default::pref.theme"/> option, where we can quickly change the theme of our collections. These themes were created using JQuery UIâs ThemeRoller (<Link>http://jqueryui.com/themeroller/</Link>).  The first four options (Greenstone Default and Greenstone Custom 1, 2 and 3) are included as part of the Greenstone 3 installation. The remaining themes are retrieved from the web via the jQuery UI API.</Text>
-<Text id="themes-7">Select <AutoText text="Theme: Greenstone Custom 2"/> from the drop-down menu, and click <AutoText key="gs3::interface_default::pref.set_prefs"/>. Now, all of the collections in your Greenstone library should have the Greenstone Custom 2 theme.</Text>
-<Text id="themes-8">Return to the library homepage (click <AutoText text="My Greenstone Library" type="italics"/> in the upper left-hand corner) and explore several of your collections. They should all display the new theme.</Text>
-</NumberedItem>
-<Heading>
-<Text id="themes-10">Creating a custom theme using ThemeRoller (advanced)</Text>
-</Heading>
-<NumberedItem>
-<Text id="themes-11">Go to the jQuery UI ThemeRoller webpage (<Link>http://jqueryui.com/themeroller/</Link>). The <AutoText text="Roll Your Own"/> menu of the <AutoText text="ThemeRoller"/> bar on the left can be used to design a custom theme. As changes are made in this menu, the corresponding items on the right reflect these changes. The most important sections for Greenstone customization are:</Text>
-<Format>
-<table>
-<tr style="font-weight:bold"><td>Section</td><td>HTML class</td><td>Greenstone 3 usage</td></tr>
-<tr><td>Header/Toolbar</td><td>ui-widget-header</td><td>This sets the appearance of the large, main banner and the footer</td></tr>
-<tr><td>Content</td><td>ui-widget-content</td><td>Sets the appearance for the main area of the page, where the content (e.g. a list of documents) is displayed</td></tr>
-<tr><td>Clickable: default state</td><td>ui-state-default</td><td>Sets the appearance for the small bar along the top, most buttons (Login, Help, Preferences, Test Search, Form Search, Advanced Search), and all unselected browse tabs</td></tr>
-<tr><td>Clickable: hover state</td><td>ui-state-hover</td><td>This sets the appearance for the Login, Help, and Preferences buttons and browse tabs when the mouse hovers over them</td></tr>
-<tr><td>Clickable: active state</td><td>ui-state-active</td><td>This sets the appearance of the selected browse tab</td></tr>
-</table>
-</Format>
-<Comment>
-<Text id="themes-12">ThemeRoller will not affect some aspects of your Greenstone library's appearance, e.g. the actual design layout, the background color, the font, the search button.</Text>
-</Comment>
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-13">Change the Theme to the following values:</Text>
-<Format>
-<table style="text-align:center;border-collapse:collapse" border="1">
-<tr><td rowspan="6" width="180">Header/Toolbar</td><td width="120">Background color</td><td width="80">#a23336</td></tr>
-<tr><td rowspan="2">Texture</td><td>glass</td></tr>
-<tr><td>50%</td></tr>
-<tr><td>Border</td><td>#000000</td></tr>
-<tr><td>Text</td><td>#000000</td></tr>
-<tr><td>Icon</td><td>#000000</td></tr>
-<tr><td rowspan="6">Content</td><td>Background color</td><td>#000000</td></tr>
-<tr><td rowspan="2">Texture</td><td>inset-soft</td></tr>
-<tr><td>25%</td></tr>
-<tr><td>Border</td><td>#000000</td></tr>
-<tr><td>Text</td><td>#c2bcbc</td></tr>
-<tr><td>Icon</td><td>#c2bcbc</td></tr>
-<tr><td rowspan="6">Clickable: default state</td><td>Background color</td><td>#7e7676</td></tr>
-<tr><td rowspan="2">Texture</td><td>glass</td></tr>
-<tr><td>55%</td></tr>
-<tr><td>Border</td><td>#000000</td></tr>
-<tr><td>Text</td><td>#ffffff</td></tr>
-<tr><td>Icon</td><td>#ffffff</td></tr>
-<tr><td rowspan="6">Clickable: hover state</td><td>Background Color</td><td>#303030</td></tr>
-<tr><td rowspan="2">Texture</td><td>glass</td></tr>
-<tr><td>75%</td></tr>
-<tr><td>Border</td><td>#000000</td></tr>
-<tr><td>Text</td><td>#ffffff</td></tr>
-<tr><td>Icon</td><td>#ffffff</td></tr>
-<tr><td rowspan="6">Clickable: active state</td><td>Background Color</td><td>#000000</td></tr>
-<tr><td rowspan="2">Texture</td><td>glass</td></tr>
-<tr><td>65%</td></tr>
-<tr><td>Border</td><td>#000000</td></tr>
-<tr><td>Text</td><td>#ffffff</td></tr>
-<tr><td>Icon</td><td>#ffffff</td></tr>
-</table>
-</Format>
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-14">Click the <AutoText text="Download theme"/> button. <!--Ensure the Stable version of jQuery is selected.--> Select "<i>1.11.4 (Legacy, for jQuery1.6+)</i>". Under <AutoText text="Components"/> uncheck <AutoText text="Toggle All" type="italics"/>, which will uncheck all of the boxes. Under <AutoText text="UI Core"/> check <AutoText text="Core" type="italics"/>, and under <AutoText text="Widgets"/> check <AutoText text="Datepicker" type="italics"/>. At the bottom of the page, under <AutoText text="Theme"/>, <AutoText text="Custom Theme" type="italics"/> should be selected. (If there's an option to provide a <AutoText text="Theme Folder Name"/>, enter <AutoText text="TutorialTheme" type="italics"/>.) Leave <AutoText text="CSS Scope"/> blank. Click <AutoText text="Download"/>. In the pop-up window, select <AutoText text="Save File"/> and click <AutoText text="OK"/> to download the zip file.</Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-15">Go to the folder where the zip file was downloaded, and unzip the folder. On Windows, unzip as follows: right-click and select <AutoText text="Extract All..."/> Remove the folder name "jquery-ui-1.11.4.custom" from the end of the suggested zip extraction path. (For example, if it suggests <Path>C:\Users\me\Downloads\jquery-ui-1.11.4.custom</Path>, then change it to <Path>C:\Users\me\Downloads\</Path>.) Then click <AutoText text="Extract"/>.</Text>
-<Text id="themes-16">The extracted folder will be called <AutoText text="jquery-ui-1.11.1.custom" type="italics"/>, or something similar. Rename it to <AutoText text="TutorialTheme"/>. It should contain css files, an index.html file, a couple of js files and 2 subfolders (called images and external). We largely only need the folder's structure, the css files (particularly jquery-ui.theme.min.css) and the images sufolder, but it's easiest just to copy the entire folder into <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr; default &rarr;  style &rarr; themes</Path>.</Text>
-<!--<Text id="themes-16">The extracted folder should be named <AutoText text="jquery-ui-1.10.2.custom" type="italics"/>, or something similar, and should contain three folders (css, development-bundle, js) and an html file (index.html). In the <AutoText text="css"/> folder, there is a folder called <AutoText text="TutorialTheme"/>. Copy this entire folder into <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr; default &rarr;  style &rarr; themes</Path>.</Text>-->
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-17">Go to <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr;  default &rarr;  transform &rarr;  pages</Path> and open <AutoText text="pref.xsl"/> in a text editor. Find the following section and add in the highlighted text, which can be copied from <AutoText text="gs3-theme.tweak.txt" type="italics"/>). Take note of the initial comma. </Text>
-<Format>
-&lt;xsl:text disable-output-escaping=&quot;yes&quot;&gt;<br/>
-	<Tab n="1"/>$(document).ready(function(){<br/>
-		<Tab n="2"/>$(&quot;#switcher&quot;).themeswitcher({<br/>
-			<Tab n="3"/>imgpath: &quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/images/&quot;,<br/>
-			<Tab n="3"/>additionalThemes: [<br/>
-				<Tab n="4"/>icon:&quot;theme_90_greenstone.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/themes/main/jquery-ui-1.8.16.custom.css&quot;},<br/>
-				<Tab n="4"/>{title:&quot;Greenstone Custom 1&quot;, name:&quot;custom-theme1&quot;, icon:&quot;theme_90_start_menu.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/themes/alt_theme_1/jquery-ui-1.8.16.custom.css&quot;},<br/>
-				<Tab n="4"/>{title:&quot;Greenstone Custom 2&quot;, name:&quot;custom-theme2&quot;, icon:&quot;theme_90_mint_choco.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/themes/alt_theme_2/jquery-ui-1.8.16.custom.css&quot;},<br/>
-				<Tab n="4"/>{title:&quot;Greenstone Custom 3&quot;, name:&quot;custom-theme3&quot;, icon:&quot;theme_90_trontastic.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;<br/>/style/themes/alt_theme_3/jquery-ui-1.8.16.custom.css&quot;}<highlight>,     <br/>
-				<Tab n="4"/>{title:&quot;Tutorial Theme&quot;, name:&quot;TutorialTheme&quot;, icon:&quot;TutorialTheme.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/themes/TutorialTheme/jquery-ui.theme.min.css&quot;}</highlight><br/>
-			<Tab n="3"/>]<br/>
-		<Tab n="2"/>});<br/>
-	<Tab n="1"/>});<br/>
-&lt;/xsl:text&gt;<br/>
-</Format>
-<Text id="themes-17a">Save and close <AutoText text="pref.xsl"/>.</Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-18">Return to the Library homepage. If not still logged in, login again. Go to the <AutoText key="gs3::interface_default::pref_b"/> page and click on the drop-down menu for <AutoText key="gs3::interface_default::pref.theme"/>. (If the <AutoText key="gs3::interface_default::pref.theme"/> option has disappeared, ensure that you copied the highlighted section in its entirety into the correct place in <AutoText text="pref.xsl"/>, and check especially that you did not miss the initial comma.) The fifth item in the list should now be "Tutorial Theme". It will not have a calendar icon like the other themes, because the image referenced in the above statement - TutorialTheme.png - does not exist. We'll create an icon to match the theme below. For now, select Tutorial Theme, and click <AutoText key="gs3::interface_default::pref.set_prefs"/>. All of your Greenstone collections will be in this new, custom theme.</Text>
-</NumberedItem>
-<Comment>
-<Text id="themes-20">The <AutoText key="gs3::interface_default::pref.theme"/> drop-down menu in <AutoText key="gs3::interface_default::pref_b"/> includes an image for each theme, along with the theme title. If no image is available, only the title is displayed. If you would like to include an image for your custom theme similar to those visible for the other theme options, follow the instructions below. </Text>
-</Comment>
-<NumberedItem>
-<Text id="themes-21">Return to the <AutoText text="TutorialTheme"/> folder (in <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr; default &rarr;  style &rarr; themes</Path>). Open <AutoText text="index.html" type="italics"/> in a web browser. Scroll down so that the Datepicker calendar is completely visible on your screen, and take a screen shot. (On Windows, this is done by pressing the print screen - <AutoText text="PrtScn"/> - button.) </Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-22">Open a picture editor (like Paint) and Paste. Select and crop the image around the calendar under Datepicker. Resize the image to 90px by 80 px. (In Paint, click Resize. Under Resize, choose Pixels. Unselect Maintain aspect ratio. Still under Resize - <em>not</em> the Skew section - change Horizontal to 90 and Vertical to 80 and click &lt;OK&gt;.) Save the image in <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr; default &rarr; style &rarr; images </Path> as TutorialTheme.png.</Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="themes-23">Return to the <AutoText key="gs3::interface_default::pref_b"/> page, and the Tutorial Theme in the <AutoText key="gs3::interface_default::pref.theme"/> drop-down menu will now have a corresponding calendar icon.</Text>
-</NumberedItem>
-</Content></Tutorial>
-<Tutorial id="collection_themes">
-<Title>
-<Text id="customize-00">Collection-Specific Themes</Text>
-</Title>
-<SampleFiles folder="custom"/>
-<Prerequisite id="using_themes"/>
-<Version initial="3.05" current="3.08"/>
-<Content>
-<Comment>
-<Text id="customize-01">The <AutoText key="gs3::interface_default::pref.theme"/> menu on the <AutoText key="gs3::interface_default::pref_b"/> page sets the theme for the entire Greenstone library. This tutorial explains how to use themes on a collection level, by changing the theme of the <AutoText text="backdrop"/> collection.</Text>
-</Comment>
-<Heading>
-<Text id="customize-02">Creating a custom theme</Text>
-</Heading>
-<NumberedItem>
-<Text id="customize-03">Go to the jQuery UI ThemeRoller webpage (<Link>http://jqueryui.com/themeroller/</Link>). Change the Theme to the following values:</Text>
-<Format>
-<table style="text-align:center;border-collapse:collapse" border="1">
-<tr><td rowspan="6" width="180">Header/Toolbar</td><td width="120">Background color</td><td width="80">#141a38</td></tr>
-<tr><td rowspan="2">Texture</td><td>highlight_soft</td></tr>
-<tr><td>45%</td></tr>
-<tr><td>Border</td><td>#ffffff</td></tr>
-<tr><td>Text</td><td>#ffffff</td></tr>
-<tr><td>Icon</td><td>#ffffff</td></tr>
-<tr><td rowspan="6">Content</td><td>Background color</td><td>#ffffff</td></tr>
-<tr><td rowspan="2">Texture</td><td>flat</td></tr>
-<tr><td>75%</td></tr>
-<tr><td>Border</td><td>#ffffff</td></tr>
-<tr><td>Text</td><td>#222222</td></tr>
-<tr><td>Icon</td><td>#222222</td></tr>
-<tr><td rowspan="6">Clickable: default state</td><td>Background color</td><td>#e9c416</td></tr>
-<tr><td rowspan="2">Texture</td><td>glass</td></tr>
-<tr><td>55%</td></tr>
-<tr><td>Border</td><td>#ffffff</td></tr>
-<tr><td>Text</td><td>#555555</td></tr>
-<tr><td>Icon</td><td>#888888</td></tr>
-<tr><td rowspan="6">Clickable: hover state</td><td>Background Color</td><td>#e9d47b</td></tr>
-<tr><td rowspan="2">Texture</td><td>glass</td></tr>
-<tr><td>75%</td></tr>
-<tr><td>Border</td><td>#ffffff</td></tr>
-<tr><td>Text</td><td>#212121</td></tr>
-<tr><td>Icon</td><td>#454545</td></tr>
-<tr><td rowspan="6">Clickable: active state</td><td>Background Color</td><td>#ffffff</td></tr>
-<tr><td rowspan="2">Texture</td><td>glass</td></tr>
-<tr><td>65%</td></tr>
-<tr><td>Border</td><td>#ffffff</td></tr>
-<tr><td>Text</td><td>#212121</td></tr>
-<tr><td>Icon</td><td>#454545</td></tr>
-</table>
-</Format>
-</NumberedItem>
-<NumberedItem>
-<Text id="customize-04">Click the <AutoText text="Download theme"/> button. <!--Ensure the Stable version of jQuery is selected.--> Select "<i>1.11.4 (Legacy, for jQuery1.6+)</i>". Under <AutoText text="Components"/> uncheck <AutoText text="Toggle All" type="italics"/>, which will uncheck all of the boxes. Under <AutoText text="UI Core"/> check <AutoText text="Core" type="italics"/>, and under <AutoText text="Widgets"/> check <AutoText text="Datepicker" type="italics"/>. At the bottom of the page, under <AutoText text="Theme"/>, <AutoText text="Custom Theme" type="italics"/> should be selected. (If there's an option to provide a <AutoText text="Theme Folder Name"/>, enter <AutoText text="CollectionTheme" type="italics"/>.) Leave <AutoText text="CSS Scope"/> blank. Click <AutoText text="Download"/>. In the pop-up window, select <AutoText text="Save File"/> and click <AutoText text="OK"/> to download the zip file.</Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="customize-05">Go to the folder where the zip file was downloaded, and unzip the folder (on Windows, right-click, select <AutoText text="Extract All..."/>, remove the folder name <Format>jquery-ui-1.11.4.custom</Format> from the end of the suggested zip extraction path and then click <AutoText text="Extract"/>).</Text>
-<Text id="customie-06">The extracted folder will be called <AutoText text="jquery-ui-1.11.1.custom" type="italics"/>, or something similar. Rename it to <AutoText text="CollectionTheme"/>. It should contain css files, an index.html file, a couple of js files and 2 subfolders (called images and external). Copy the entire folder into <Path>Greenstone3 &rarr; web &rarr; sites &rarr; localsite &rarr; collect &rarr; backdrop &rarr; style</Path>.</Text>
-<!--<Text id="customie-06">The extracted folder should be named <AutoText text="jquery-ui-1.10.2.custom" type="italics"/>, or something similar, and should contain three folders (css, development-bundle, js) and an html file (index.html). In the <AutoText text="css"/> folder, there is a folder called <AutoText text="CollectionTheme"/>. Copy this entire folder into <Path>Greenstone3 &rarr; web &rarr; sites &rarr; localsite &rarr; collect &rarr; backdrop &rarr; style</Path>.</Text>-->
-</NumberedItem>
-<Heading>
-<Text id="customize-06">Setting a collection's theme</Text>
-</Heading>
-<NumberedItem>
-<Text id="customize-07">Open the Greenstone Librarian Interface (from the Windows <AutoText text="Start" type="italics"/> menu) and open the <AutoText text="backdrop"/> collection (use the <AutoText key="glidict::Menu.File"/> menu).</Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="customize-08">In the <AutoText key="glidict::GUI.Format"/> panel, select <AutoText key="glidict::CDM.GUI.Formats"/>. Add the following template to the bottom of the <AutoText text="global"/> format features (this can be copied from <AutoText text="gs3-collect-theme.txt" type="italics"/>):</Text>
-<Format>
-&lt;xsl:template name=&quot;additionalHeaderContent&quot;&gt;<br/>
-<Tab n="1"/>&lt;xsl:variable name=&quot;httpCollection&quot;&gt;<br/>
-<Tab n="2"/>&lt;xsl:value-of select=&quot;/page/pageResponse/collection/metadataList/metadata[@name='httpPath']&quot;/&gt;<br/>
-<Tab n="1"/>&lt;/xsl:variable&gt;<br/>
-<Tab n="1"/>&lt;link href=&quot;{$httpCollection}/style/CollectionTheme/jquery-ui.theme.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;<br/>
-&lt;/xsl:template&gt;<br/>
-</Format>
-<Text id="customize-08a">You could also make it refer to <AutoText text="jquery-ui.theme.min.css"/> instead, which is another version of the same css style file, one with a reduced file size.</Text>
-</NumberedItem>
-<NumberedItem>
-<Text id="customize-09">Click <AutoText key="glidict::CreatePane.Preview_Collection"/> to see the <AutoText text="backdrop"/> collection with the new, custom theme.</Text>
-</NumberedItem>
-</Content>
-</Tutorial>
-</MajorVersion>
 <Tutorial id="multimedia_collection_explore">
 <Title>
@@ -3316,5 +3107,5 @@
 <MajorVersion number="3">
 <NumberedItem>
-Start up GLI and open the <AutoText text="Advanced Beatles -- large" type="italics" /> collection. Switch to the <AutoText key="glidict::GUI.Create"/> panel and <b>rebuild</b> the collection. <b>Preview</b> the result.
+Start up GLI and open the <AutoText text="Advanced Beatles -- large" type="italics" /> collection. Switch to the <AutoText key="glidict::GUI.Create"/> panel and <b>build</b> the collection. <b>Preview</b> the result.
 </NumberedItem>
 </MajorVersion>
@@ -3331,5 +3122,5 @@
 <Text id="0548">In the file browser, take a look at the files that make up the collection, in the</Text>
 <Path>sample_files &rarr; beatles &rarr; advbeat_large &rarr; import</Path> 
-<Text id="0549">folder. What a mess! There are over 450 files under seven top-level sub-folders. Organization is minimal, reflecting the different times and ways the files were gathered. For example, <i>html_lyrics</i> and <i>discography</i> are excerpts of web sites, and <i>images</i> contains various images in JPEG format. For each type, drill down through the hierarchy and look at a sample document.</Text>
+<Text id="0549">folder. What a mess! There are around 450 files under seven top-level sub-folders. Organization is minimal, reflecting the different times and ways the files were gathered. For example, <i>html_lyrics</i>, <i>discography</i> and <i>tablature_txt</i> are excerpts of web sites, and <i>images</i> contains various images in JPEG format. For each type, drill down through the hierarchy and look at a sample document.</Text>
 </NumberedItem>
 </Content>
@@ -3548,5 +3339,5 @@
 </Heading>
 <NumberedItem>
-<Text id="0597">There are sometimes several documents with the same title. For example, <AutoText text="All My Loving" type="italics"/> appears both as lyrics and tablature (under <AutoText text="ALL MY LOVING" type="italics"/>). The <MajorVersion number="2"><AutoText key="coredm::_Global:labelTitle_"/></MajorVersion><MajorVersion number="3"><AutoText key="gs3::metadata_names::Title.buttonname" /></MajorVersion> browser might be improved by grouping these together under a bookshelf icon. This is a job for an <AutoText text="AZCompactList"/>. In a previous tutorial we showed how to use the <AutoText text="bookshelf_type"/> option in <AutoText text="List"/> classifier to group documents with the same metadata value (<AutoText key="metadata::dc.Format"/> in that case) in one bookshelf. Here we use <AutoText text="AZCompactList"/> instead.</Text>
+<Text id="0597">There are sometimes several documents with the same title. For example, <AutoText text="All My Loving" type="italics"/> appears both as lyrics and tablature (under <AutoText text="ALL MY LOVING" type="italics"/>). The <MajorVersion number="2"><AutoText key="coredm::_Global:labelTitle_"/></MajorVersion><MajorVersion number="3"><AutoText key="gs3::metadata_names::Title.buttonname" /></MajorVersion> browser might be improved by grouping these together under a bookshelf icon. This is a job for an <AutoText text="AZCompactList"/>. Earlier in this tutorial we showed how to use the <AutoText text="bookshelf_type"/> option in <AutoText text="List"/> classifier to group documents with the same metadata value (<AutoText key="metadata::dc.Format"/> in that case) in one bookshelf. Here we use <AutoText text="AZCompactList"/> instead.</Text>
 <BulletList>
 <Bullet>
@@ -3607,4 +3398,7 @@
 <Text id="0612a">Adding a Phind phrase browser</Text>
 </Heading>
+<Comment>
+  <Text id="0612a-1">Java applet support is being or has been phased out in various browsers and browser versions. As a result the following step will not work on <Link url="https://stackoverflow.com/questions/31816839/how-do-i-enable-java-in-microsoft-edge-web-browser">Microsoft Edge</Link> browsers, among others. If you're using such a browser, you may skip this step.</Text>
+</Comment>
 <NumberedItem>
 <Text id="0612">In the <AutoText key="glidict::CDM.GUI.Classifiers"/> section on the <AutoText key="glidict::GUI.Design"/> panel, add a <AutoText text="Phind"/> classifier. Leave the settings at their defaults: this generates a phrase browsing classifier that sources its phrases from <i>Title</i> and <i>text</i>.</Text>
@@ -3615,5 +3409,5 @@
 </Heading>
 <NumberedItem>
-<Text id="0613">To complete the collection, lets give it a new image for the <MajorVersion number="2">top left corner of the page</MajorVersion><MajorVersion number="3">link from the main page</MajorVersion>. Go to the <AutoText key="glidict::CDM.GUI.General"/> section of the <AutoText key="glidict::GUI.Format"/> panel. Use the browse button of <AutoText key="glidict::CDM.General.Icon_Collection"/> to select the following image:</Text>
+<Text id="0613">To complete the collection, let's give it a new image for the <MajorVersion number="2">top left corner of the page</MajorVersion><MajorVersion number="3">link from the main page</MajorVersion>. Go to the <AutoText key="glidict::CDM.GUI.General"/> section of the <AutoText key="glidict::GUI.Format"/> panel. Use the browse button of <AutoText key="glidict::CDM.General.Icon_Collection"/> to select the following image:</Text>
 <Path>sample_files &rarr; beatles &rarr; advbeat_large &rarr; images &rarr; beatlesmm.png</Path>
 <Text id="0613a"><b>Preview</b> the collection, and make sure the new image appears.</Text>
@@ -3707,5 +3501,5 @@
 </MajorVersion>
 <NumberedItem>
-<Text id="0648">Open the collection in GLI again and update <MajorVersion number="2"><AutoText text="VList" /> your format statement</MajorVersion><MajorVersion number="3">the previously edited portion of the <AutoText text="documentNode"/> format statement of the <AutoText text="browse"/> format feature</MajorVersion> (in <AutoText key="glidict::CDM.GUI.Formats"/> on the <AutoText key="glidict::GUI.Format"/> panel) to be the following. You can copy this text from the file <Path>sample_files &rarr; beatles &rarr; format_tweaks &rarr; multi_icons<MajorVersion number="3">_3</MajorVersion>.txt</Path>.<MajorVersion number="3">Change: </MajorVersion></Text>
+<Text id="0648">Open the collection in GLI again and update <MajorVersion number="2"><AutoText text="VList" /> your format statement</MajorVersion><MajorVersion number="3">the previously edited portion of the <AutoText text="documentNode"/> format statement of the <AutoText text="browse"/> format feature</MajorVersion> (in <AutoText key="glidict::CDM.GUI.Formats"/> on the <AutoText key="glidict::GUI.Format"/> panel) to be the following. You can copy this text from the file <Path>sample_files &rarr; beatles &rarr; format_tweaks &rarr; multi_icons<MajorVersion number="3">_3</MajorVersion>.txt</Path>.<MajorVersion number="3"> Change: </MajorVersion></Text>
 <Format>
 <MajorVersion number="2">
@@ -5561,4 +5355,217 @@
 </Content>
 </Tutorial>
+<MajorVersion number="3">
+<Tutorial id="using_themes">
+<Title>
+<Text id="themes-1">Customization: Themes</Text>
+</Title>
+<SampleFiles folder="custom"/>
+<Version initial="3.05" current="3.08"/>
+<Content>
+<Comment>
+<Text id="themes-2">This exercise looks at changing the appearance of your entire Greenstone Library using Themes created with jQuery ThemeRoller. First, we will look at how to use premade themes. Then, we will make a custom theme using ThemeRoller.</Text>
+</Comment>
+<Heading>
+<Text id="themes-0">Using Greenstone Visual Themes</Text>
+</Heading>
+<NumberedItem>
+<Text id="themes-3">Enter your Greenstone Library. ( Go to <Path>Start &rarr; All Programs &rarr; Greenstone-3.08 &rarr; Greenstone3 Server</Path> and click <AutoText text="Enter Library"/>.)</Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-4">In order to make changes to the library's theme, you must be logged in as an administrator. Click <AutoText key="gs3::interface_default::login_b"/> in the top right-hand corner. The default login is:</Text>
+<Format>
+<AutoText key="gs3::interface_default::authen.username"/>: admin<br/>
+<AutoText key="gs3::interface_default::authen.password"/>: admin
+</Format>
+<Text id="themes-5">Click <AutoText key="gs3::interface_default::login_b"/>. It is advisable to change the default password, if you haven't already. To do this, click the <AutoText text="admin"/> button in the top right-hand corner, and select <AutoText key="gs3::interface_default::authen.account_settings"/>. Click <AutoText key="gs3::interface_default::authen.change_password"/>. Enter the <AutoText key="gs3::interface_default::authen.old_password"/> (admin); then enter a new password in the <AutoText key="gs3::interface_default::authen.new_password"/> and  <AutoText key="gs3::interface_default::authen.retype_password"/> text boxes. Click <AutoText key="gs3::interface_default::authen.submit"/>. The password will be changed, and you will be taken to the <AutoText key="gs3::interface_default::authen.authentication"/>, where you can view a list of the current users.</Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-6">Go to <AutoText key="gs3::interface_default::pref_b"/>. Now that we are signed in as an administrator, we can see the <AutoText key="gs3::interface_default::pref.theme"/> option, where we can quickly change the theme of our collections. These themes were created using JQuery UIâs ThemeRoller (<Link>http://jqueryui.com/themeroller/</Link>).  The first four options (Greenstone Default and Greenstone Custom 1, 2 and 3) are included as part of the Greenstone 3 installation. The remaining themes are retrieved from the web via the jQuery UI API.</Text>
+<Text id="themes-7">Select <AutoText text="Theme: Greenstone Custom 2"/> from the drop-down menu, and click <AutoText key="gs3::interface_default::pref.set_prefs"/>. Now, all of the collections in your Greenstone library should have the Greenstone Custom 2 theme.</Text>
+<Text id="themes-8">Return to the library homepage (click <AutoText text="My Greenstone Library" type="italics"/> in the upper left-hand corner) and explore several of your collections. They should all display the new theme.</Text>
+</NumberedItem>
+<Heading>
+<Text id="themes-10">Creating a custom theme using ThemeRoller (advanced)</Text>
+</Heading>
+<NumberedItem>
+<Text id="themes-11">Go to the jQuery UI ThemeRoller webpage (<Link>http://jqueryui.com/themeroller/</Link>). The <AutoText text="Roll Your Own"/> menu of the <AutoText text="ThemeRoller"/> bar on the left can be used to design a custom theme. As changes are made in this menu, the corresponding items on the right reflect these changes. The most important sections for Greenstone customization are:</Text>
+<Format>
+<table>
+<tr style="font-weight:bold"><td>Section</td><td>HTML class</td><td>Greenstone 3 usage</td></tr>
+<tr><td>Header/Toolbar</td><td>ui-widget-header</td><td>This sets the appearance of the large, main banner and the footer</td></tr>
+<tr><td>Content</td><td>ui-widget-content</td><td>Sets the appearance for the main area of the page, where the content (e.g. a list of documents) is displayed</td></tr>
+<tr><td>Clickable: default state</td><td>ui-state-default</td><td>Sets the appearance for the small bar along the top, most buttons (Login, Help, Preferences, Test Search, Form Search, Advanced Search), and all unselected browse tabs</td></tr>
+<tr><td>Clickable: hover state</td><td>ui-state-hover</td><td>This sets the appearance for the Login, Help, and Preferences buttons and browse tabs when the mouse hovers over them</td></tr>
+<tr><td>Clickable: active state</td><td>ui-state-active</td><td>This sets the appearance of the selected browse tab</td></tr>
+</table>
+</Format>
+<Comment>
+<Text id="themes-12">ThemeRoller will not affect some aspects of your Greenstone library's appearance, e.g. the actual design layout, the background color, the font, the search button.</Text>
+</Comment>
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-13">Change the Theme to the following values:</Text>
+<Format>
+<table style="text-align:center;border-collapse:collapse" border="1">
+<tr><td rowspan="6" width="180">Header/Toolbar</td><td width="120">Background color</td><td width="80">#a23336</td></tr>
+<tr><td rowspan="2">Texture</td><td>glass</td></tr>
+<tr><td>50%</td></tr>
+<tr><td>Border</td><td>#000000</td></tr>
+<tr><td>Text</td><td>#000000</td></tr>
+<tr><td>Icon</td><td>#000000</td></tr>
+<tr><td rowspan="6">Content</td><td>Background color</td><td>#000000</td></tr>
+<tr><td rowspan="2">Texture</td><td>inset-soft</td></tr>
+<tr><td>25%</td></tr>
+<tr><td>Border</td><td>#000000</td></tr>
+<tr><td>Text</td><td>#c2bcbc</td></tr>
+<tr><td>Icon</td><td>#c2bcbc</td></tr>
+<tr><td rowspan="6">Clickable: default state</td><td>Background color</td><td>#7e7676</td></tr>
+<tr><td rowspan="2">Texture</td><td>glass</td></tr>
+<tr><td>55%</td></tr>
+<tr><td>Border</td><td>#000000</td></tr>
+<tr><td>Text</td><td>#ffffff</td></tr>
+<tr><td>Icon</td><td>#ffffff</td></tr>
+<tr><td rowspan="6">Clickable: hover state</td><td>Background Color</td><td>#303030</td></tr>
+<tr><td rowspan="2">Texture</td><td>glass</td></tr>
+<tr><td>75%</td></tr>
+<tr><td>Border</td><td>#000000</td></tr>
+<tr><td>Text</td><td>#ffffff</td></tr>
+<tr><td>Icon</td><td>#ffffff</td></tr>
+<tr><td rowspan="6">Clickable: active state</td><td>Background Color</td><td>#000000</td></tr>
+<tr><td rowspan="2">Texture</td><td>glass</td></tr>
+<tr><td>65%</td></tr>
+<tr><td>Border</td><td>#000000</td></tr>
+<tr><td>Text</td><td>#ffffff</td></tr>
+<tr><td>Icon</td><td>#ffffff</td></tr>
+</table>
+</Format>
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-14">Click the <AutoText text="Download theme"/> button. <!--Ensure the Stable version of jQuery is selected.--> Select "<i>1.11.4 (Legacy, for jQuery1.6+)</i>". Under <AutoText text="Components"/> uncheck <AutoText text="Toggle All" type="italics"/>, which will uncheck all of the boxes. Under <AutoText text="UI Core"/> check <AutoText text="Core" type="italics"/>, and under <AutoText text="Widgets"/> check <AutoText text="Datepicker" type="italics"/>. At the bottom of the page, under <AutoText text="Theme"/>, <AutoText text="Custom Theme" type="italics"/> should be selected. (If there's an option to provide a <AutoText text="Theme Folder Name"/>, enter <AutoText text="TutorialTheme" type="italics"/>.) Leave <AutoText text="CSS Scope"/> blank. Click <AutoText text="Download"/>. In the pop-up window, select <AutoText text="Save File"/> and click <AutoText text="OK"/> to download the zip file.</Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-15">Go to the folder where the zip file was downloaded, and unzip the folder. On Windows, unzip as follows: right-click and select <AutoText text="Extract All..."/> Remove the folder name "jquery-ui-1.11.4.custom" from the end of the suggested zip extraction path. (For example, if it suggests <Path>C:\Users\me\Downloads\jquery-ui-1.11.4.custom</Path>, then change it to <Path>C:\Users\me\Downloads\</Path>.) Then click <AutoText text="Extract"/>.</Text>
+<Text id="themes-16">The extracted folder will be called <AutoText text="jquery-ui-1.11.1.custom" type="italics"/>, or something similar. Rename it to <AutoText text="TutorialTheme"/>. It should contain css files, an index.html file, a couple of js files and 2 subfolders (called images and external). We largely only need the folder's structure, the css files (particularly jquery-ui.theme.min.css) and the images sufolder, but it's easiest just to copy the entire folder into <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr; default &rarr;  style &rarr; themes</Path>.</Text>
+<!--<Text id="themes-16">The extracted folder should be named <AutoText text="jquery-ui-1.10.2.custom" type="italics"/>, or something similar, and should contain three folders (css, development-bundle, js) and an html file (index.html). In the <AutoText text="css"/> folder, there is a folder called <AutoText text="TutorialTheme"/>. Copy this entire folder into <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr; default &rarr;  style &rarr; themes</Path>.</Text>-->
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-17">Go to <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr;  default &rarr;  transform &rarr;  pages</Path> and open <AutoText text="pref.xsl"/> in a text editor. Find the following section and add in the highlighted text, which can be copied from <AutoText text="gs3-theme.tweak.txt" type="italics"/>). Take note of the initial comma. </Text>
+<Format>
+&lt;xsl:text disable-output-escaping=&quot;yes&quot;&gt;<br/>
+	<Tab n="1"/>$(document).ready(function(){<br/>
+		<Tab n="2"/>$(&quot;#switcher&quot;).themeswitcher({<br/>
+			<Tab n="3"/>imgpath: &quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/images/&quot;,<br/>
+			<Tab n="3"/>additionalThemes: [<br/>
+				<Tab n="4"/>icon:&quot;theme_90_greenstone.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/themes/main/jquery-ui-1.8.16.custom.css&quot;},<br/>
+				<Tab n="4"/>{title:&quot;Greenstone Custom 1&quot;, name:&quot;custom-theme1&quot;, icon:&quot;theme_90_start_menu.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/themes/alt_theme_1/jquery-ui-1.8.16.custom.css&quot;},<br/>
+				<Tab n="4"/>{title:&quot;Greenstone Custom 2&quot;, name:&quot;custom-theme2&quot;, icon:&quot;theme_90_mint_choco.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/themes/alt_theme_2/jquery-ui-1.8.16.custom.css&quot;},<br/>
+				<Tab n="4"/>{title:&quot;Greenstone Custom 3&quot;, name:&quot;custom-theme3&quot;, icon:&quot;theme_90_trontastic.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;<br/>/style/themes/alt_theme_3/jquery-ui-1.8.16.custom.css&quot;}<highlight>,     <br/>
+				<Tab n="4"/>{title:&quot;Tutorial Theme&quot;, name:&quot;TutorialTheme&quot;, icon:&quot;TutorialTheme.png&quot;, url:&quot;interfaces/&quot; + gs.xsltParams.interface_name + &quot;/style/themes/TutorialTheme/jquery-ui.theme.min.css&quot;}</highlight><br/>
+			<Tab n="3"/>]<br/>
+		<Tab n="2"/>});<br/>
+	<Tab n="1"/>});<br/>
+&lt;/xsl:text&gt;<br/>
+</Format>
+<Text id="themes-17a">Save and close <AutoText text="pref.xsl"/>.</Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-18">Return to the Library homepage. If not still logged in, login again. Go to the <AutoText key="gs3::interface_default::pref_b"/> page and click on the drop-down menu for <AutoText key="gs3::interface_default::pref.theme"/>. (If the <AutoText key="gs3::interface_default::pref.theme"/> option has disappeared, ensure that you copied the highlighted section in its entirety into the correct place in <AutoText text="pref.xsl"/>, and check especially that you did not miss the initial comma.) The fifth item in the list should now be "Tutorial Theme". It will not have a calendar icon like the other themes, because the image referenced in the above statement - TutorialTheme.png - does not exist. We'll create an icon to match the theme below. For now, select Tutorial Theme, and click <AutoText key="gs3::interface_default::pref.set_prefs"/>. All of your Greenstone collections will be in this new, custom theme.</Text>
+</NumberedItem>
+<Comment>
+<Text id="themes-20">The <AutoText key="gs3::interface_default::pref.theme"/> drop-down menu in <AutoText key="gs3::interface_default::pref_b"/> includes an image for each theme, along with the theme title. If no image is available, only the title is displayed. If you would like to include an image for your custom theme similar to those visible for the other theme options, follow the instructions below. </Text>
+</Comment>
+<NumberedItem>
+<Text id="themes-21">Return to the <AutoText text="TutorialTheme"/> folder (in <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr; default &rarr;  style &rarr; themes</Path>). Open <AutoText text="index.html" type="italics"/> in a web browser. Scroll down so that the Datepicker calendar is completely visible on your screen, and take a screen shot. (On Windows, this is done by pressing the print screen - <AutoText text="PrtScn"/> - button.) </Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-22">Open a picture editor (like Paint) and Paste. Select and crop the image around the calendar under Datepicker. Resize the image to 90px by 80 px. (In Paint, click Resize. Under Resize, choose Pixels. Unselect Maintain aspect ratio. Still under Resize - <em>not</em> the Skew section - change Horizontal to 90 and Vertical to 80 and click &lt;OK&gt;.) Save the image in <Path>Greenstone3 &rarr; web &rarr; interfaces &rarr; default &rarr; style &rarr; images </Path> as TutorialTheme.png.</Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="themes-23">Return to the <AutoText key="gs3::interface_default::pref_b"/> page, and the Tutorial Theme in the <AutoText key="gs3::interface_default::pref.theme"/> drop-down menu will now have a corresponding calendar icon.</Text>
+</NumberedItem>
+</Content></Tutorial>
+<Tutorial id="collection_themes">
+<Title>
+<Text id="customize-00">Collection-Specific Themes</Text>
+</Title>
+<SampleFiles folder="custom"/>
+<Prerequisite id="using_themes"/>
+<Version initial="3.05" current="3.08"/>
+<Content>
+<Comment>
+<Text id="customize-01">The <AutoText key="gs3::interface_default::pref.theme"/> menu on the <AutoText key="gs3::interface_default::pref_b"/> page sets the theme for the entire Greenstone library. This tutorial explains how to use themes on a collection level, by changing the theme of the <AutoText text="backdrop"/> collection.</Text>
+</Comment>
+<Heading>
+<Text id="customize-02">Creating a custom theme</Text>
+</Heading>
+<NumberedItem>
+<Text id="customize-03">Go to the jQuery UI ThemeRoller webpage (<Link>http://jqueryui.com/themeroller/</Link>). Change the Theme to the following values:</Text>
+<Format>
+<table style="text-align:center;border-collapse:collapse" border="1">
+<tr><td rowspan="6" width="180">Header/Toolbar</td><td width="120">Background color</td><td width="80">#141a38</td></tr>
+<tr><td rowspan="2">Texture</td><td>highlight_soft</td></tr>
+<tr><td>45%</td></tr>
+<tr><td>Border</td><td>#ffffff</td></tr>
+<tr><td>Text</td><td>#ffffff</td></tr>
+<tr><td>Icon</td><td>#ffffff</td></tr>
+<tr><td rowspan="6">Content</td><td>Background color</td><td>#ffffff</td></tr>
+<tr><td rowspan="2">Texture</td><td>flat</td></tr>
+<tr><td>75%</td></tr>
+<tr><td>Border</td><td>#ffffff</td></tr>
+<tr><td>Text</td><td>#222222</td></tr>
+<tr><td>Icon</td><td>#222222</td></tr>
+<tr><td rowspan="6">Clickable: default state</td><td>Background color</td><td>#e9c416</td></tr>
+<tr><td rowspan="2">Texture</td><td>glass</td></tr>
+<tr><td>55%</td></tr>
+<tr><td>Border</td><td>#ffffff</td></tr>
+<tr><td>Text</td><td>#555555</td></tr>
+<tr><td>Icon</td><td>#888888</td></tr>
+<tr><td rowspan="6">Clickable: hover state</td><td>Background Color</td><td>#e9d47b</td></tr>
+<tr><td rowspan="2">Texture</td><td>glass</td></tr>
+<tr><td>75%</td></tr>
+<tr><td>Border</td><td>#ffffff</td></tr>
+<tr><td>Text</td><td>#212121</td></tr>
+<tr><td>Icon</td><td>#454545</td></tr>
+<tr><td rowspan="6">Clickable: active state</td><td>Background Color</td><td>#ffffff</td></tr>
+<tr><td rowspan="2">Texture</td><td>glass</td></tr>
+<tr><td>65%</td></tr>
+<tr><td>Border</td><td>#ffffff</td></tr>
+<tr><td>Text</td><td>#212121</td></tr>
+<tr><td>Icon</td><td>#454545</td></tr>
+</table>
+</Format>
+</NumberedItem>
+<NumberedItem>
+<Text id="customize-04">Click the <AutoText text="Download theme"/> button. <!--Ensure the Stable version of jQuery is selected.--> Select "<i>1.11.4 (Legacy, for jQuery1.6+)</i>". Under <AutoText text="Components"/> uncheck <AutoText text="Toggle All" type="italics"/>, which will uncheck all of the boxes. Under <AutoText text="UI Core"/> check <AutoText text="Core" type="italics"/>, and under <AutoText text="Widgets"/> check <AutoText text="Datepicker" type="italics"/>. At the bottom of the page, under <AutoText text="Theme"/>, <AutoText text="Custom Theme" type="italics"/> should be selected. (If there's an option to provide a <AutoText text="Theme Folder Name"/>, enter <AutoText text="CollectionTheme" type="italics"/>.) Leave <AutoText text="CSS Scope"/> blank. Click <AutoText text="Download"/>. In the pop-up window, select <AutoText text="Save File"/> and click <AutoText text="OK"/> to download the zip file.</Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="customize-05">Go to the folder where the zip file was downloaded, and unzip the folder (on Windows, right-click, select <AutoText text="Extract All..."/>, remove the folder name <Format>jquery-ui-1.11.4.custom</Format> from the end of the suggested zip extraction path and then click <AutoText text="Extract"/>).</Text>
+<Text id="customie-06">The extracted folder will be called <AutoText text="jquery-ui-1.11.1.custom" type="italics"/>, or something similar. Rename it to <AutoText text="CollectionTheme"/>. It should contain css files, an index.html file, a couple of js files and 2 subfolders (called images and external). Copy the entire folder into <Path>Greenstone3 &rarr; web &rarr; sites &rarr; localsite &rarr; collect &rarr; backdrop &rarr; style</Path>.</Text>
+<!--<Text id="customie-06">The extracted folder should be named <AutoText text="jquery-ui-1.10.2.custom" type="italics"/>, or something similar, and should contain three folders (css, development-bundle, js) and an html file (index.html). In the <AutoText text="css"/> folder, there is a folder called <AutoText text="CollectionTheme"/>. Copy this entire folder into <Path>Greenstone3 &rarr; web &rarr; sites &rarr; localsite &rarr; collect &rarr; backdrop &rarr; style</Path>.</Text>-->
+</NumberedItem>
+<Heading>
+<Text id="customize-06">Setting a collection's theme</Text>
+</Heading>
+<NumberedItem>
+<Text id="customize-07">Open the Greenstone Librarian Interface (from the Windows <AutoText text="Start" type="italics"/> menu) and open the <AutoText text="backdrop"/> collection (use the <AutoText key="glidict::Menu.File"/> menu).</Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="customize-08">In the <AutoText key="glidict::GUI.Format"/> panel, select <AutoText key="glidict::CDM.GUI.Formats"/>. Add the following template to the bottom of the <AutoText text="global"/> format features (this can be copied from <AutoText text="gs3-collect-theme.txt" type="italics"/>):</Text>
+<Format>
+&lt;xsl:template name=&quot;additionalHeaderContent&quot;&gt;<br/>
+<Tab n="1"/>&lt;xsl:variable name=&quot;httpCollection&quot;&gt;<br/>
+<Tab n="2"/>&lt;xsl:value-of select=&quot;/page/pageResponse/collection/metadataList/metadata[@name='httpPath']&quot;/&gt;<br/>
+<Tab n="1"/>&lt;/xsl:variable&gt;<br/>
+<Tab n="1"/>&lt;link href=&quot;{$httpCollection}/style/CollectionTheme/jquery-ui.theme.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;<br/>
+&lt;/xsl:template&gt;<br/>
+</Format>
+<Text id="customize-08a">You could also make it refer to <AutoText text="jquery-ui.theme.min.css"/> instead, which is another version of the same css style file, one with a reduced file size.</Text>
+</NumberedItem>
+<NumberedItem>
+<Text id="customize-09">Click <AutoText key="glidict::CreatePane.Preview_Collection"/> to see the <AutoText text="backdrop"/> collection with the new, custom theme.</Text>
+</NumberedItem>
+</Content>
+</Tutorial>
+</MajorVersion>
 <MajorVersion number="3">
 <Tutorial id="home_page">
