summaryrefslogtreecommitdiffstats
path: root/rrdtool-listgraphcfg-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'rrdtool-listgraphcfg-html.lsp')
-rw-r--r--rrdtool-listgraphcfg-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rrdtool-listgraphcfg-html.lsp b/rrdtool-listgraphcfg-html.lsp
index b2ad204..33d8405 100644
--- a/rrdtool-listgraphcfg-html.lsp
+++ b/rrdtool-listgraphcfg-html.lsp
@@ -39,7 +39,7 @@ function javascript_confirm_graph(formID,filename) {
<A STYLE="cursor: pointer;" onclick="javascript_confirm_graph('confirmDisplay','<% io.write(file.value.filename.value) %>')">Delete</A>
<% end %>
<%
- if session.permissions[page_info.controller].edit then io.write(html.link{value = "edit?filename=" .. file.value.filename.value.."&redir="..page_info.orig_action, label="Edit " }) end
+ if session.permissions[page_info.controller].edit then io.write(html.link{value = "editgraphcfg?filename=" .. file.value.filename.value.."&redir="..page_info.orig_action, label="Edit " }) end
%>
</TD>
<TD style="padding-right:20px;white-space:nowrap;text-align:right;"><%= html.html_escape(file.value.filesize.value) %></TD>
@@ -51,7 +51,7 @@ function javascript_confirm_graph(formID,filename) {
<% if session.permissions[page_info.controller].createrrd then %>
<TR>
<TD style="padding-right:20px;white-space:nowrap;">
- <% io.write(html.link{value = "createrrd", label="Create new DB " }) %>
+ <% io.write(html.link{value = "editgraphcfg", label="Create new graph " }) %>
</TD>
<TD>&nbsp;</TD><TD>&nbsp;</TD><TD>&nbsp;</TD>
</TR>