Changeset 497


Ignore:
Timestamp:
09/23/11 12:51:27 (13 years ago)
Author:
Kris Deugau
Message:

/branches/htmlform

Fix up main.cgi

  • it got contaiminated with the template location for admin.cgi
  • tweak a fixme comment

See #3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/htmlform/cgi-bin/main.cgi

    r495 r497  
    8888
    8989my $page;
    90 if (-e "$ENV{HTML_TEMPLATE_ROOT}/admin/$webvar{action}.tmpl") {
     90if (-e "$ENV{HTML_TEMPLATE_ROOT}/$webvar{action}.tmpl") {
    9191  $page = HTML::Template->new(filename => "$webvar{action}.tmpl");
    9292} else {
     
    766766        if $webvar{userid};
    767767
    768 ##fixme:  this is only needed iff confirm.tmpl/confirm.html and
    769 # confirmRemove.html/confirmRemove.tmpl are merged (quite possible, just
     768##fixme:  this is only needed iff confirm.tmpl and
     769# confirmRemove.tmpl are merged (quite possible, just
    770770# a little tedious)
    771771  $page->param(action => "insert");
Note: See TracChangeset for help on using the changeset viewer.