Class ::xowiki::Weblog::WeblogRenderer

::xowiki::Weblog::WeblogRenderer[i] create ...

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xotcl::Object[i]
::xotcl::Class create ::xowiki::Weblog::WeblogRenderer \
     -superclass ::xotcl::Object

Methods (to be applied on instances)

  • render (scripted)

    set filter ""
    set prev ""
    set next ""
    
    if {[info exists :filter_msg]} {
      set filter  "<div class='filter'>${:filter_msg}</div>"
    }
    if {[info exists :prev_page_link]} {
      set prev "<a href='[ns_quotehtml ${:prev_page_link}]'> <img border='0' src='/resources/acs-subsite/left.gif' width='13' height='13'  alt='Previous Page' style='float: left;  top: 0px;'></a>"
    }
    if {[info exists :next_page_link]} {
      set next "<a href='[ns_quotehtml ${:next_page_link}]'> <img border='0' src='/resources/acs-subsite/right.gif' width='13' height='13' alt='Next Page' style='float: left;  top: 0px;'></a>"
    }
    return "<div class='weblog'> $filter [next$prev $next </div>"