MINOR Committed missing files related to r63452

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63456 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-01 06:43:15 +00:00
parent 6172ab900c
commit 03c1d1e001
4 changed files with 10 additions and 14 deletions

View File

@ -72,7 +72,7 @@ class ReportAdmin extends LeftAndMain {
if($subClass != 'Report') $processedReports[] = new $subClass(); if($subClass != 'Report') $processedReports[] = new $subClass();
} }
} }
$reports = new DataObjectSet($processedReports); $reports = new DataObjectSet($processedReports);
return $reports; return $reports;

View File

@ -27,7 +27,7 @@ Behaviour.register({
statusMessage("loading..."); statusMessage("loading...");
var requestURL = 'admin/reports/showreport/' + id; var requestURL = 'admin/reports/show/' + id;
new Ajax.Request(requestURL, { new Ajax.Request(requestURL, {
asynchronous : true, asynchronous : true,
method : 'post', method : 'post',

View File

@ -1,14 +1,14 @@
<% if Reports %> <% if Reports %>
<ul id="sitetree" class="tree unformatted">
<ul id="sitetree" class="tree unformatted"> <li id="$ID" class="root">
<li id="$ID" class="root"><a><% _t('REPORTS','Reports') %></a> <a><% _t('REPORTS','Reports') %></a>
<ul> <ul>
<% control Reports %> <% control Reports %>
<li id="$ID"> <li id="$ID">
<a href="$baseURL/admin/showreport/$ID" title="$TreeDescription">$TreeTitle</a> <a href="admin/reports/show/$ID" title="$TreeDescription">$TreeTitle</a>
</li> </li>
<% end_control %> <% end_control %>
</ul> </ul>
</li> </li>
</ul> </ul>
<% end_if %> <% end_if %>

View File

@ -1,11 +1,7 @@
<style> <style>
ul.tree a{
background-image: url(cms/images/treeicons/reports-file.png);
ul.tree a{ }
background-image: url(cms/images/treeicons/reports-file.png);
}
</style> </style>
<h2><% _t('REPORTS','Reports') %></h2> <h2><% _t('REPORTS','Reports') %></h2>