[fossil-users] $home, et al in headers and footers

2011-01-28 Thread Michael Richter
I'm trying to do some stuff with base urls in my header and I can't seem to
get it to work.  Part of the problem is that $home is a relative address.
 It occurs to me that I have absolutely no idea what all the $variables are
in Fossil.  Is there a list of them anywhere (I couldn't find one in the
mailing list or the main site) or is there a file I should look at in the
source?

-- 
Perhaps people don't believe this, but throughout all of the discussions of
entering China our focus has really been what's best for the Chinese people.
It's not been about our revenue or profit or whatnot.
--Sergey Brin, demonstrating the emptiness of the don't be evil mantra.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] $home, et al in headers and footers

2011-01-28 Thread Michael Richter

 On Fri, Jan 28, 2011 at 11:36 AM, Michael Richter ttmrich...@gmail.comwrote:

 I'm trying to do some stuff with base urls in my header and I can't seem
 to get it to work.  Part of the problem is that $home is a relative address.
  It occurs to me that I have absolutely no idea what all the $variables are
 in Fossil.  Is there a list of them anywhere (I couldn't find one in the
 mailing list or the main site) or is there a file I should look at in the
 source?


 Look at the style_header() function in the style.c source file for the TH1
 variables that get set.  They are:  $project_name, $title, $baseurl, $home,
 $index_page, $current_page, $manifest_version, $manifest_date,
 $manifest_name, and $login.


Thanks, Richard.  Exactly what the doctor ordered!

-- 
Perhaps people don't believe this, but throughout all of the discussions of
entering China our focus has really been what's best for the Chinese people.
It's not been about our revenue or profit or whatnot.
--Sergey Brin, demonstrating the emptiness of the don't be evil mantra.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users