Changeset 1739 for www


Ignore:
Timestamp:
Feb 2, 2007, 6:18:09 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Oops, syntax error.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • www/toilet.html

    r1738 r1739  
    5656   if(!isset($fontlist[$font])) $font = 'smblock';
    5757   $filter = $_POST['filter'];
    58    $filterlist = array('' => 'No filter',
     58   $filterlist = array('""' => 'No filter',
    5959                       'flip' => 'Flip',
    6060                       'flop' => 'Flop',
    6161                       'rotate' => 'Rotate');
    62    if(!isset($filterlist[$filter])) $filter = ''; ?>
     62   if(!isset($filterlist[$filter])) $filter = '""'; ?>
    6363
    6464<form method="post" action="toilet.html">
     
    8383  <div class="toilet">
    8484    <p class="toilet"><pre><?
    85          exec('toilet -f '.$font.' '.$filter.' '.escapeshellarg($text),
     85         exec('toilet -f '.$font.' -F '.$filter.' '.escapeshellarg($text),
    8686              &$result);
    8787         foreach($result as $line)
Note: See TracChangeset for help on using the changeset viewer.