Ignore:
Timestamp:
2009-04-16T10:43:35+02:00 (5 years ago)
Author:
moo
Message:

added $enable_eval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/edit.tpl.php

    r371 r591  
    77    <fieldset> 
    88        <legend><?php echo sprintf(_T("Editing Variable %s"), $h_name); ?></legend> 
    9         <textarea name="value" style="width: 100%; height: 200px; overflow-y: auto"><?php echo $h_value; ?></textarea><br> 
     9        <textarea name="value" style="width: 100%; height: 200px; overflow-y: auto" <?php echo $editable ? "" : "disabled=disabled"; ?>><?php echo $h_value; ?></textarea><br> 
    1010        <input type="submit"> 
    1111    </fieldset> 
Note: See TracChangeset for help on using the changeset viewer.