Changeset 525 for trunk


Ignore:
Timestamp:
10/22/12 17:39:05 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Found the HTML::Template knob to twist to allow listMaster() etc to
pass back '<NONE>' instead of '&lt;NONE&gt;'. See #34, #3 (sort of).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/IPDB.pm

    r524 r525  
    338338##fixme:  should find a way to do this without having to HTMLize the <>
    339339    $bigfree = "/$bigfree" if $bigfree;
    340     $bigfree = '&lt;NONE&gt;' if !$bigfree;
     340    $bigfree = '<NONE>' if !$bigfree;
    341341    $$_{bigfree} = $bigfree;
    342342  }
     
    366366##fixme:  should find a way to do this without having to HTMLize the <>
    367367    $bigfree = "/$bigfree" if $bigfree;
    368     $bigfree = '&lt;NONE&gt;' if !$bigfree;
     368    $bigfree = '<NONE>' if !$bigfree;
    369369    $$_{lfree} = $bigfree;
    370370  }
  • trunk/templates/index.tmpl

    r523 r525  
    1515<td><TMPL_VAR NAME=allocated></td>
    1616<td><TMPL_VAR NAME=free></td>
    17 <td><TMPL_VAR NAME=bigfree></td>
     17<td><TMPL_VAR ESCAPE=HTML NAME=bigfree></td>
    1818</tr>
    1919</TMPL_LOOP>
  • trunk/templates/showmaster.tmpl

    r524 r525  
    1818<td><TMPL_VAR NAME=nsubs></td>
    1919<td><TMPL_VAR NAME=nfree></td>
    20 <td><TMPL_VAR NAME=lfree></td>
     20<td><TMPL_VAR ESCAPE=HTML NAME=lfree></td>
    2121</tr>
    2222</TMPL_LOOP>
Note: See TracChangeset for help on using the changeset viewer.