Macro Tests: refactored all macro tests to remove a very evil hack

for inserting macros into the config.  The new method is much cleaner
and uses the Config API.
Updated the docs for the RootTitle macro, both POD and online help.
This commit is contained in:
Colin Kuskie 2006-07-25 20:54:08 +00:00
parent cc61639232
commit f1159269a0
32 changed files with 245 additions and 132 deletions

View file

@ -25,7 +25,7 @@ Macro for returning the title of the root for this page.
If an asset exists in the session variable cache and and it's
topmost parent (root) can be found the title for that asset
is returned. Otherwise a space is returned.
is returned. Otherwise an empty string is returned.
=cut

View file

@ -17,8 +17,10 @@ our $I18N = {
<p><b>&#94;RootTitle;</b><br />
Returns the title of the root of the current page. For instance, the main root in WebGUI is the "Home" page. Many advanced sites have many roots and thus need a way to display to the user which root they are in.
</p>
<p>If the macro is called outside of an asset, or if the root can't be found, then
the macro returns an empty string</p>
|,
lastUpdated => 1146609161,
lastUpdated => 1153849842,
},
};