aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-02-10 02:10:41 +0000
committerrvelices <rv-github@modusoptimus.com>2006-02-10 02:10:41 +0000
commitda21a99873a5fd74e4d476fdc948bb052a267949 (patch)
tree0590e5dd81ba1577f8c1f1b7ed5d6568551d02ba /template
parentc8e9793412ac8207754021a69753ead23a6c29d5 (diff)
feature 77: standard navigation link - finalized
3 small fixes: simplified code (unnecessary $page['tab_expand']), urls in comments (at end of line nl2br issue+regex+html 4 validated) and $page['where'] correction for most_visited git-svn-id: http://piwigo.org/svn/trunk@1031 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/category.tpl6
-rw-r--r--template/yoga/picture.tpl8
-rw-r--r--template/yoga/search.tpl2
3 files changed, 8 insertions, 8 deletions
diff --git a/template/yoga/category.tpl b/template/yoga/category.tpl
index 263342408..39056d720 100644
--- a/template/yoga/category.tpl
+++ b/template/yoga/category.tpl
@@ -34,7 +34,7 @@
<dd>
<ul>
<!-- BEGIN summary -->
- <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}">{summary.NAME}</a></li>
+ <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}" {summary.REL}>{summary.NAME}</a></li>
<!-- END summary -->
<!-- BEGIN upload -->
<li><a href="{upload.U_UPLOAD}">{L_UPLOAD}</a></li>
@@ -50,10 +50,10 @@
<!-- END hello -->
<ul>
<!-- BEGIN register -->
- <li><a href="{U_REGISTER}">{L_REGISTER}</a></li>
+ <li><a href="{U_REGISTER}" rel="nofollow">{L_REGISTER}</a></li>
<!-- END register -->
<!-- BEGIN login -->
- <li><a href="{F_IDENTIFY}">{lang:Connection}</a></li>
+ <li><a href="{F_IDENTIFY}" rel="nofollow">{lang:Connection}</a></li>
<!-- END login -->
<!-- BEGIN logout -->
<li><a href="{U_LOGOUT}">{L_LOGOUT}</a></li>
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 1c6387ee6..b68d23a13 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -3,7 +3,7 @@
<!-- END information -->
<div id="imageHeaderBar">
- <div class="browsePath"><a href="{U_HOME}">{L_HOME}</a>{LEVEL_SEPARATOR}{CATEGORY}</div>
+ <div class="browsePath"><a href="{U_HOME}" rel="home">{L_HOME}</a>{LEVEL_SEPARATOR}{CATEGORY}</div>
<div class="imageNumber">{PHOTO}</div>
<!-- BEGIN title -->
<h2>{TITLE}</h2>
@@ -35,17 +35,17 @@
<div class="navButtons">
<!-- BEGIN last -->
- <a class="navButton prev" href="{last.U_IMG}"><img src="{themeconf:icon_dir}/last.png" class="button" alt="{lang:last_page}"></a>
+ <a class="navButton prev" href="{last.U_IMG}" rel="last"><img src="{themeconf:icon_dir}/last.png" class="button" alt="{lang:last_page}"></a>
<!-- END last -->
<!-- BEGIN next -->
<a class="navButton next" href="{next.U_IMG}" title="{L_NEXT_IMG}{next.TITLE_IMG}" rel="next"><img src="{themeconf:icon_dir}/right.png" class="button" alt="next"></a>
<!-- END next -->
- <a class="navButton up" href="{U_UP}" title="{L_UP_HINT}"><img src="{themeconf:icon_dir}/up.png" class="button" alt="{L_UP_ALT}"></a>
+ <a class="navButton up" href="{U_UP}" title="{L_UP_HINT}" rel="up"><img src="{themeconf:icon_dir}/up.png" class="button" alt="{L_UP_ALT}"></a>
<!-- BEGIN previous -->
<a class="navButton prev" href="{previous.U_IMG}" title="{L_PREV_IMG}{previous.TITLE_IMG}" rel="prev"><img src="{themeconf:icon_dir}/left.png" class="button" alt="previous"></a>
<!-- END previous -->
<!-- BEGIN first -->
- <a class="navButton prev" href="{first.U_IMG}" rel="start"><img src="{themeconf:icon_dir}/first.png" class="button" alt="{lang:first_page}"></a>
+ <a class="navButton prev" href="{first.U_IMG}" rel="first"><img src="{themeconf:icon_dir}/first.png" class="button" alt="{lang:first_page}"></a>
<!-- END first -->
</div>
diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl
index 648fa12c9..17573e0c5 100644
--- a/template/yoga/search.tpl
+++ b/template/yoga/search.tpl
@@ -3,7 +3,7 @@
<div class="titrePage">
<ul class="categoryActions">
<li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
- <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
+ <li><a href="{U_HOME}" title="{lang:return to homepage}" rel="home"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
</ul>
<h2>{lang:Search}</h2>
</div>