Permalink
Browse files

remove extra slash from language

  • Loading branch information...
havok89 committed Mar 27, 2017
1 parent 8a9b451 commit 6a9d90928135de39989a416b2444366c175ece5b
Showing with 3 additions and 2 deletions.
  1. +3 −2 hoosk/hoosk0/views/admin/settings.php
@@ -93,15 +93,16 @@
</div> <!-- /controls -->
</div> <!-- /form-group -->
<div class="form-group">
<label class="control-label" for="themes"><?php echo $this->lang->line('settings_lang'); ?></label>
<label class="control-label" for="siteLang"><?php echo $this->lang->line('settings_lang'); ?></label>
<div class="controls">
<?php
$att = 'id="siteLang" class="form-control"';
$data = array();
foreach ($langdir as $l){
if (!is_dir($l)){
if ($l != "index.html"){
$data[$l] = str_replace("/", "", $l);
$l = str_replace("/", "", $l);
$data[$l] = $l;
}
}
}

0 comments on commit 6a9d909

Please sign in to comment.