Changeset 591 in svn for trunk/admin/edit.tpl.php


Ignore:
Timestamp:
2009-04-16T08:43:35Z (6 years ago)
Author:
Xuefer
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.