Skip to content

Commit

Permalink
Added additional indicator for language being edited
Browse files Browse the repository at this point in the history
  • Loading branch information
David McReynolds committed Aug 19, 2015
1 parent 3027b34 commit fda5365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions fuel/modules/fuel/controllers/pages.php
Expand Up @@ -454,6 +454,8 @@ public function _form($id = NULL)
$vars['id'] = $id;
$vars['data'] = $saved;
$vars['action'] = ( ! empty($saved['id'])) ? 'edit' : 'create';
$vars['languages'] = $this->fuel->config('languages');
$vars['language'] = $this->input->get('lang', TRUE);

$action_uri = $vars['action'].'/'.$id.'/';

Expand Down
4 changes: 3 additions & 1 deletion fuel/modules/fuel/views/pages/page_create_edit.php
Expand Up @@ -53,7 +53,9 @@
<?=$form?>
</div>

<h3><?=lang('page_layout_vars')?></h3>
<h3><?=lang('page_layout_vars')?><?php if ($this->fuel->language->has_multiple()) : ?>: <?=$languages[$language]?>
<?php endif; ?>
</h3>
<div id="layout_vars"><?=$layout_fields?><div class="loader hidden"></div></div>
</div>
</div>

0 comments on commit fda5365

Please sign in to comment.