Changeset 11654
- Timestamp:
- Jul 7, 2011, 11:13:03 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/LocalFilesEditor/include/tpl.inc.php
r10348 r11654 15 15 else 16 16 { 17 $content_file = "{* " . l10n('locfiledit_newfile') . " *}\n\n";17 $content_file = ''; 18 18 } 19 19 } … … 52 52 { 53 53 $edited_file = $_POST['tpl_parent'] . '/' . $filename; 54 $content_file = ($_POST['tpl_model'] == '0') ? $new_file['tpl']: file_get_contents($_POST['tpl_model']);54 $content_file = ($_POST['tpl_model'] == '0') ? '' : file_get_contents($_POST['tpl_model']); 55 55 } 56 56 }
Note: See TracChangeset
for help on using the changeset viewer.