[Rt-commit] [svn] r711 - in rt/branches/rt-3.3/html: Admin/Groups
Admin/Users Elements
leira at pallas.eruditorum.org
leira at pallas.eruditorum.org
Tue Apr 20 22:43:57 EDT 2004
Author: leira
Date: Tue Apr 20 22:43:57 2004
New Revision: 711
Modified:
rt/branches/rt-3.3/html/Admin/Groups/index.html
rt/branches/rt-3.3/html/Admin/Users/index.html
rt/branches/rt-3.3/html/Elements/EditCustomFieldBinary
rt/branches/rt-3.3/html/Elements/EditCustomFieldImage
Log:
Dowload links need the WebPath.
Modified: rt/branches/rt-3.3/html/Admin/Groups/index.html
==============================================================================
--- rt/branches/rt-3.3/html/Admin/Groups/index.html (original)
+++ rt/branches/rt-3.3/html/Admin/Groups/index.html Tue Apr 20 22:43:57 2004
@@ -39,7 +39,7 @@
%}
</UL>
%if (my $ids = join(',', @ids)) {
-<em>(<a href="/Download/Tabular/Group/<% $ids %>/Groups.tsv"><&|/l&>Download as a tab-delimited file</&></a>)</em><br>
+<em>(<a href="<%$RT::WebPath%>/Download/Tabular/Group/<% $ids %>/Groups.tsv"><&|/l&>Download as a tab-delimited file</&></a>)</em><br>
%}
<br><br>
Modified: rt/branches/rt-3.3/html/Admin/Users/index.html
==============================================================================
--- rt/branches/rt-3.3/html/Admin/Users/index.html (original)
+++ rt/branches/rt-3.3/html/Admin/Users/index.html Tue Apr 20 22:43:57 2004
@@ -41,7 +41,7 @@
%}
</UL>
%if (my $ids = join(',', @ids)) {
-<em>(<a href="/Download/Tabular/User/<% $ids %>/Users.tsv"><&|/l&>Download as a tab-delimited file</&></a>)</em><br>
+<em>(<a href="<%$RT::WebPath%>/Download/Tabular/User/<% $ids %>/Users.tsv"><&|/l&>Download as a tab-delimited file</&></a>)</em><br>
%}
<br><br>
Modified: rt/branches/rt-3.3/html/Elements/EditCustomFieldBinary
==============================================================================
--- rt/branches/rt-3.3/html/Elements/EditCustomFieldBinary (original)
+++ rt/branches/rt-3.3/html/Elements/EditCustomFieldBinary Tue Apr 20 22:43:57 2004
@@ -23,7 +23,7 @@
%# END LICENSE BLOCK
% while ($Values and my $value = $Values->Next ) {
%# XXX - let user download the file(s) here?
-<input type="checkbox" name="<%$NamePrefix%><%$CustomField->Id%>-DeleteValueIds" value="<% $value->Id %>"><a href="/Download/CustomFieldValue/<% $value->Id %>/<% $value->Content %>"><% $value->Content %></a><br>
+<input type="checkbox" name="<%$NamePrefix%><%$CustomField->Id%>-DeleteValueIds" value="<% $value->Id %>"><a href="<%$RT::WebPath%>/Download/CustomFieldValue/<% $value->Id %>/<% $value->Content %>"><% $value->Content %></a><br>
% }
% if (!$MaxValues or !$Values or $Values->Count < $MaxValues) {
<input type="file" name="<%$NamePrefix%><%$CustomField->Id%>-Upload">
Modified: rt/branches/rt-3.3/html/Elements/EditCustomFieldImage
==============================================================================
--- rt/branches/rt-3.3/html/Elements/EditCustomFieldImage (original)
+++ rt/branches/rt-3.3/html/Elements/EditCustomFieldImage Tue Apr 20 22:43:57 2004
@@ -22,7 +22,7 @@
%#
%# END LICENSE BLOCK
% while ($Values and my $value = $Values->Next ) {
-% my $url = "/Download/CustomFieldValue/".$value->Id.'/'.$value->Content;
+% my $url = "<%$RT::WebPath%>/Download/CustomFieldValue/".$value->Id.'/'.$value->Content;
<input type="checkbox" name="<%$NamePrefix%><%$CustomField->Id%>-DeleteValueIds" value="<% $value->Id %>"><a href="<% $url %>"><% $value->Content %></a>
<img type="<% $value->ContentType %>" height=64 src="<% $url %>" align="middle">
<br>
More information about the Rt-commit
mailing list