Added urls.theme to template data model and changed paths containing themeDir to use urls.theme

This commit is contained in:
rjy7 2010-11-16 18:32:10 +00:00
parent 7d28e601ea
commit 40958fc813
2 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@
<!--[if lt IE 7]> <!--[if lt IE 7]>
<script type="text/javascript" src="${urls.home}/js/jquery_plugins/supersleight.js"></script> <script type="text/javascript" src="${urls.home}/js/jquery_plugins/supersleight.js"></script>
<script type="text/javascript" src="${urls.home}/${themeDir}/js/utils.js"></script> <script type="text/javascript" src="${urls.theme}/js/utils.js"></script>
<link rel="stylesheet" href="css/ie6.css" /> <link rel="stylesheet" href="css/ie6.css" />
<![endif]--> <![endif]-->
@ -146,7 +146,7 @@
<section id="visual-graph"> <section id="visual-graph">
<h4>Visual Graph</h4> <h4>Visual Graph</h4>
<img src="${themeDir}/images/visual-graph.jpg" /> <img src="${urls.theme}/images/visual-graph.jpg" />
</section> </section>
</section> <!-- #browse-classes --> </section> <!-- #browse-classes -->
</section> <!-- #browse --> </section> <!-- #browse -->
@ -160,14 +160,14 @@
<!--use Hs--> <!--use Hs-->
<article class="featured-people vcard"> <article class="featured-people vcard">
<a href="#"> <a href="#">
<img class="individual-photo" src="${themeDir}/images/person-thumbnail-sample.jpg" width="80" height="80" /> <img class="individual-photo" src="${urls.theme}/images/person-thumbnail-sample.jpg" width="80" height="80" />
<p class="fn">Hayworth, Rita<span class="title">Actress, dancer</span><span class="org">Sabbatic year for ever</span></p> <p class="fn">Hayworth, Rita<span class="title">Actress, dancer</span><span class="org">Sabbatic year for ever</span></p>
</a> </a>
</article> </article>
<article class="featured-people vcard"> <article class="featured-people vcard">
<a href="#"> <a href="#">
<img class="individual-photo" src="${themeDir}/images/person-thumbnail-sample-2.jpg" width="80" height="80" /> <img class="individual-photo" src="${urls.theme}/images/person-thumbnail-sample-2.jpg" width="80" height="80" />
<p class="fn">Wiedmann, Martin <span class="title">Associate Professor</span><span class="org">Cornell faculty</span></p> <p class="fn">Wiedmann, Martin <span class="title">Associate Professor</span><span class="org">Cornell faculty</span></p>
</a> </a>
</article> </article>

View file

@ -19,7 +19,7 @@
<!--[if lt IE 7]> <!--[if lt IE 7]>
<script type="text/javascript" src="${urls.home}/js/jquery_plugins/supersleight.js"></script> <script type="text/javascript" src="${urls.home}/js/jquery_plugins/supersleight.js"></script>
<script type="text/javascript" src="${urls.home}/${themeDir}/js/utils.js"></script> <script type="text/javascript" src="${urls.theme}/js/utils.js"></script>
<link rel="stylesheet" href="css/ie6.css" /> <link rel="stylesheet" href="css/ie6.css" />
<![endif]--> <![endif]-->