Changeset 28332

Show
Ignore:
Timestamp:
30.09.2013 16:29:27 (6 years ago)
Author:
jlwhisler
Message:

Updated Homepage tutorial files to use library_name and interface_name variable instead of hard-coding library/default. Added an icon for the page. Corrected the AddUser? url.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorial_sample_files/custom/home-tutorial.xsl

    r27885 r28332  
    1414<meta name="description" content="" /> 
    1515<title>A New Home Page</title> 
    16 <link href="interfaces/default/style/themes/tutorialbliss/style.css" rel="stylesheet" type="text/css" media="screen" /> 
     16<link href="interfaces/{$interface_name}/style/themes/tutorialbliss/style.css" rel="stylesheet" type="text/css" media="screen" /> 
     17<link rel="icon" href="interfaces/{$interface_name}/style/themes/tutorialbliss/images/icon.jpg" type="image/jpg"/> 
    1718<!-- 
    1819Design by Free CSS Templates 
     
    2930<body> 
    3031<div id="banner-wrapper"> 
    31     <div id="banner"><img src="interfaces/default/style/themes/tutorialbliss/images/ngunguru.jpg" width="1200" height="300" alt="" /></div> 
     32    <div id="banner"><img src="interfaces/{$interface_name}/style/themes/tutorialbliss/images/ngunguru.jpg" width="1200" height="300" alt="" /></div> 
    3233</div> 
    3334<div id="header-wrapper"> 
    3435    <div id="header"> 
    3536        <div id="logo"> 
    36             <h1><a href="library">A New Home Page</a></h1> 
     37            <h1><<a href="{$library_name}">A New Home Page</a></h1> 
    3738            <p>A <a href="http://www.greenstone.org/">Greenstone3</a> Digital Library</p> 
    3839        </div> 
     
    6162                            <h2>Library Links</h2> 
    6263                            <ul> 
    63                                 <li><a href="?a=p&amp;sa=login&amp;redirectURL=library%3Fa=p%26sa=home">Login</a></li> 
    64                                 <li><a href="library/admin/AccountSettings?s1.username=">Account Settings</a></li> 
    65                                 <li><a href="library/admin/AddUser">Register a new user</a></li> 
    66                                 <li><a href="library/admin/ListUsers">Administration</a></li> 
    67                                 <li><a href="library?logout=">Logout</a></li> 
    68                                 <li><a href="library/collection//page/help">Help</a></li> 
    69                                 <li><a href="library/collection//page/pref">Preferences</a></li> 
     64                                <li><a href="?a=p&amp;sa=login&amp;redirectURL={$library_name}%3Fa=p%26sa=home">Login</a></li> 
     65                                <li><a href="{$library_name}/admin/AccountSettings?s1.username=">Account Settings</a></li> 
     66                                <li><a href="{$library_name}/admin/AddUser">Register a new user</a></li> 
     67                                <li><a href="{$library_name}/admin/ListUsers">Administration</a></li> 
     68                                <li><a href="{$library_name}?logout=">Logout</a></li> 
     69                                <li><a href="{$library_name}/collection//page/help">Help</a></li> 
     70                                <li><a href="{$library_name}/collection//page/pref">Preferences</a></li> 
    7071                            </ul> 
    7172                        </li>