From 2b442d81a569bd35a245ce0ba0337c3aa4e5baf6 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 17 Apr 2014 00:22:51 +0000 Subject: Changes to use new htmlviewfunctions functions --- bgp-details-html.lsp | 7 ++++--- ospf-details-html.lsp | 7 ++++--- zebra-details-html.lsp | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/bgp-details-html.lsp b/bgp-details-html.lsp index 890c98c..ca70a7a 100644 --- a/bgp-details-html.lsp +++ b/bgp-details-html.lsp @@ -1,9 +1,10 @@ -<% local data = ... +<% local data, viewlibrary, page_info, session = ... html = require("acf.html") +htmlviewfunctions = require("htmlviewfunctions") %> -

BGP routes

+<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showipbgp, page_info) %>
 <%= html.html_escape(tostring(data.value.showipbgp.value)) %>
 
- +<% htmlviewfunctions.displaysectionend(header_level) %> diff --git a/ospf-details-html.lsp b/ospf-details-html.lsp index 353ee67..378589b 100644 --- a/ospf-details-html.lsp +++ b/ospf-details-html.lsp @@ -1,9 +1,10 @@ -<% local data = ... +<% local data, viewlibrary, page_info, session = ... html = require("acf.html") +htmlviewfunctions = require("htmlviewfunctions") %> -

OSPF routes

+<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showip, page_info) %>
 <%= html.html_escape(tostring(data.value.showip.value)) %>
 
- +<% htmlviewfunctions.displaysectionend(header_level) %> diff --git a/zebra-details-html.lsp b/zebra-details-html.lsp index 523285c..378589b 100644 --- a/zebra-details-html.lsp +++ b/zebra-details-html.lsp @@ -1,9 +1,10 @@ -<% local data = ... +<% local data, viewlibrary, page_info, session = ... html = require("acf.html") +htmlviewfunctions = require("htmlviewfunctions") %> -

Zebra routes

+<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showip, page_info) %>
 <%= html.html_escape(tostring(data.value.showip.value)) %>
 
- +<% htmlviewfunctions.displaysectionend(header_level) %> -- cgit v1.2.3