Changeset 553


Ignore:
Timestamp:
11/15/12 13:20:42 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix some webpath glitches

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r546 r553  
    8989my $page;
    9090if (-e "$ENV{HTML_TEMPLATE_ROOT}/$webvar{action}.tmpl") {
    91   $page = HTML::Template->new(filename => "$webvar{action}.tmpl", loop_context_vars => 1);
     91  $page = HTML::Template->new(filename => "$webvar{action}.tmpl", loop_context_vars => 1, global_vars => 1);
    9292} else {
    9393  $page = HTML::Template->new(filename => "dunno.tmpl");
  • trunk/templates/dberr.tmpl

    r517 r553  
    33<input type="button" value="Back" onclick="history.go(-1)">
    44</div>
     5<TMPL_IF webpath></TMPL_IF>
Note: See TracChangeset for help on using the changeset viewer.