[Home]WikiPatches/DivWikiAction

UseModWiki | WikiPatches | RecentChanges | Preferences

sub GetHeader { ...
 if (&GetParam("toplinkbar", 1)) {
    $result .= &GetGotoBar($id) . "<hr class=wikilineheader>";
  }
  $result .= '</div>';
  + if ((grep /action/,$ENV{QUERY_STRING}) 
  + || (grep /back/,$ENV{QUERY_STRING}) 
  + || ($ENV{QUERY_STRING} eq '')) {
    + $result .= '<div class=wikiaction>';
  + }
This implies close all "action-subs" and others (currently isn't closed since there's no div open) but yes with this patch, so there's no "without-divs" body-pages between div.wikiheader and div.wikifooter.

In accordance, all

  print &GetCommonFooter();
become:
  + print '</div>';
  print &GetCommonFooter();
and
 print '<div class=wikifooter>';
become:
 print '</div><div class=wikifooter>';
Pending, minor tweaks (compare, etc).

--JuanmaMP


UseModWiki | WikiPatches | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited July 27, 2009 3:49 am by JuanmaMP (diff)
Search: