Skip to content

Commit

Permalink
Dev Fixed extra white spacing appearing in template editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Mar 29, 2014
1 parent 30c43b6 commit e722c87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions application/views/admin/templates/templatesummary_view.php
Expand Up @@ -31,11 +31,9 @@
<input type='hidden' name='editfile' value='<?php echo $editfile; ?>' />
<input type='hidden' name='action' value='templatesavechanges' />

<textarea name='changes' id='changes' rows='20' cols='40' data-filetype="<?php echo $sEditorFileType; ?>" class="ace <?php echo $sTemplateEditorMode; ?>" style='width:100%'>
<?php if (isset($editfile)) {
<textarea name='changes' id='changes' rows='20' cols='40' data-filetype="<?php echo $sEditorFileType; ?>" class="ace <?php echo $sTemplateEditorMode; ?>" style='width:100%'><?php if (isset($editfile)) {
echo textarea_encode(filetext($templatename,$editfile,$templates));
} ?>
</textarea>
} ?></textarea>
<p>
<?php if (is_writable($templates[$templatename])) { ?>
<input type='submit' value='<?php $clang->eT("Save changes"); ?>'
Expand Down

0 comments on commit e722c87

Please sign in to comment.