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:
parent
cc61639232
commit
f1159269a0
32 changed files with 245 additions and 132 deletions
|
|
@ -17,8 +17,10 @@ our $I18N = {
|
|||
<p><b>^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,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue