projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i'm not usually like this.
[freeside.git]
/
httemplate
/
browse
/
part_export.cgi
diff --git
a/httemplate/browse/part_export.cgi
b/httemplate/browse/part_export.cgi
index
e9d9fa3
..
79c57ae
100755
(executable)
--- a/
httemplate/browse/part_export.cgi
+++ b/
httemplate/browse/part_export.cgi
@@
-1,7
+1,7
@@
<!-- mason kludge -->
<!-- mason kludge -->
-<%= header("Export Listing", menubar( 'Main Menu' =>
$p
)) %>
+<%= header("Export Listing", menubar( 'Main Menu' =>
"$p#sysadmin"
)) %>
Provisioning services to external machines, databases and APIs.<BR><BR>
Provisioning services to external machines, databases and APIs.<BR><BR>
-
+<A HREF="<%= $p %>edit/part_export.cgi"><I>Add a new export</I></A><BR><BR>
<SCRIPT>
function part_export_areyousure(href) {
if (confirm("Are you sure you want to delete this export?") == true)
<SCRIPT>
function part_export_areyousure(href) {
if (confirm("Are you sure you want to delete this export?") == true)
@@
-26,7
+26,7
@@
function part_export_areyousure(href) {
<%= itable() %>
<% my %opt = $part_export->options;
foreach my $opt ( keys %opt ) { %>
<%= itable() %>
<% my %opt = $part_export->options;
foreach my $opt ( keys %opt ) { %>
- <TR><TD><%= $opt %></TD><TD><%=
$opt{$opt}
%></TD></TR>
+ <TR><TD><%= $opt %></TD><TD><%=
encode_entities($opt{$opt})
%></TD></TR>
<% } %>
</TABLE>
</TD>
<% } %>
</TABLE>
</TD>
@@
-34,9
+34,6
@@
function part_export_areyousure(href) {
<% } %>
<% } %>
- <TR>
- <TD COLSPAN=3><A HREF="<%= $p %>edit/part_export.cgi"><I>Add a new export</I></A></TD>
- </TR>
</TABLE>
</BODY>
</HTML>
</TABLE>
</BODY>
</HTML>