Show
Ignore:
Timestamp:
04/02/08 15:41:18 (9 months ago)
Author:
aarkerio
Message:

Locale and test improvements

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/questions/questions.ctp

    r362 r363  
    99    $i++; 
    1010    echo '<div style="padding:5px;border:1px dotted gray;margin:auto;width:60%"><b>' . $i . '.-</b> '; 
    11     echo $html->div('butonright', $gags->sendEdit($val['id'],   'Question')); 
    12     echo $html->div('butonright', $gags->confirmDel($val['id'], 'Question')); 
    13        echo "Question: "    . $val["question"]       . "<br />"; 
    14        echo "Hint: "        . $val["hint"]           . "<br />"; 
    15        echo "Explanation: " . $val["explanation"]    . "<br />"; 
    16        echo "Worth: "       . $val["worth"]          . "<br /><br />"; 
    17        echo $html->link('View answers ('.$answers.')', '/admin/questions/answers/'.$val["id"]); 
     11    echo $html->div('butonright', $gags->sendEdit($val['Question']['id'],   'Question')); 
     12    echo $html->div('butonright', $gags->confirmDel($val['Question']['id'], 'Question')); 
     13       echo "Question: "    . $val['Question']['question']       . "<br />"; 
     14       echo "Hint: "        . $val['Question']['hint']           . "<br />"; 
     15       echo "Explanation: " . $val['Question']['explanation']    . "<br />"; 
     16       echo "Worth: "       . $val['Question']['worth']          . "<br /><br />"; 
     17       echo $html->link('View answers ('.$answers.')', '/admin/questions/answers/'.$val['Question']['id']); 
    1818    echo '</div>'; 
    1919}