[geeklog-cvs] geeklog: New template variable {option_attributes} for the rel="...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Jan 30 14:03:49 EST 2010


changeset 7685:e1709d9d0bfd
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/e1709d9d0bfd
user: Dirk Haun <dirk at haun-online.de>
date: Sat Jan 30 18:48:58 2010 +0100
description:
New template variable {option_attributes} for the rel="home"

diffstat:

 public_html/docs/english/theme.html               |  4 ++++
 public_html/layout/professional/topicoption.thtml |  2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f959870cb435 -r e1709d9d0bfd public_html/docs/english/theme.html
--- a/public_html/docs/english/theme.html	Sat Jan 30 18:41:22 2010 +0100
+++ b/public_html/docs/english/theme.html	Sat Jan 30 18:48:58 2010 +0100
@@ -204,6 +204,10 @@
 <h2><a name="changes">Theme changes in Geeklog 1.6.2</a></h2>
 
 <ul>
+<li>A new variable <tt>{option_attributes}</tt> is available in the
+    <tt>topicoption.thtml</tt> template file. It is currently only used to add
+    a <code>rel="home"</code> attribute to the Home link in the Topics
+    block.</li>
 <li>The template file <tt>submit/submitloginrequired.thtml</tt> is no longer
     needed and has been removed.</li>
 <li>In the topic editor template, <tt>admin/topic/topiceditor.thtml</tt>,
diff -r f959870cb435 -r e1709d9d0bfd public_html/layout/professional/topicoption.thtml
--- a/public_html/layout/professional/topicoption.thtml	Sat Jan 30 18:41:22 2010 +0100
+++ b/public_html/layout/professional/topicoption.thtml	Sat Jan 30 18:48:58 2010 +0100
@@ -1,1 +1,1 @@
-<li class="topicoption"><a href="{option_url}">{option_label}</a> {option_count}</li>
+<li class="topicoption"><a href="{option_url}"{option_attributes}>{option_label}</a> {option_count}</li>



More information about the geeklog-cvs mailing list