webgui/docs/templates.txt

29 lines
1.1 KiB
Text

This is a running list of template changes made during upgrades. If you have copied the default
templates, you will need to apply these changes manually to your copies.
7.10.1
* Asset Report Template - asset-report/asset-report-default-template
Remove the empty template attachment
* Gallery Album Edit Template
Update the inline javascript in the script tag to make drag & drop sorting work in IE7
if (typeof Gallery == "undefined") {
Gallery = {};
Gallery.DDSorting = {};
}
Gallery.DDSorting.url = '<tmpl_var url escape="js">';
* Story Topic Template
Since topStory template variables are available all the time, manually add the topStory into the list of
stories when the topic is no viewed standalone. Also note the new template variables for the the delete
and edit icons for the top story.
<ul>
<tmpl_unless standAlone>
<li><tmpl_var topStoryDeleteIcon><tmpl_var topStoryEditIcon> <a href="<tmpl_var topStoryUrl>"><tmpl_var topStoryTitle></a></li>
</tmpl_unless>
<tmpl_loop story_loop>