Skip to content

Commit

Permalink
Add translations
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Oct 5, 2021
1 parent adc32b1 commit 1f6a513
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -52,7 +52,7 @@
<div class="form-group">
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Account status');?></label>
<select name="disabled" class="form-control form-control-sm">
<option value="">Active & Deactivated</option>
<option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Active & Deactivated');?></option>
<option value="0" <?php if ($input->disabled === 0) : ?>selected="selected"<?php endif; ?>><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Active');?></option>
<option value="1" <?php if ($input->disabled === 1) : ?>selected="selected"<?php endif; ?>><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Deactivated');?></option>
</select>
Expand All @@ -77,15 +77,15 @@
<div class="row">
<div class="col-md-6">
<select name="timefrom_hours" class="form-control form-control-sm">
<option value="">Select hour</option>
<option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Select hour');?></option>
<?php for ($i = 0; $i <= 23; $i++) : ?>
<option value="<?php echo $i?>" <?php if (isset($input->timefrom_hours) && $input->timefrom_hours === $i) : ?>selected="selected"<?php endif;?>><?php echo str_pad($i,2, '0', STR_PAD_LEFT);?> h.</option>
<?php endfor;?>
</select>
</div>
<div class="col-md-6">
<select name="timefrom_minutes" class="form-control form-control-sm">
<option value="">Select minute</option>
<option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Select minute');?></option>
<?php for ($i = 0; $i <= 59; $i++) : ?>
<option value="<?php echo $i?>" <?php if (isset($input->timefrom_minutes) && $input->timefrom_minutes === $i) : ?>selected="selected"<?php endif;?>><?php echo str_pad($i,2, '0', STR_PAD_LEFT);?> m.</option>
<?php endfor;?>
Expand All @@ -112,15 +112,15 @@
<div class="row">
<div class="col-md-6">
<select name="timeto_hours" class="form-control form-control-sm">
<option value="">Select hour</option>
<option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Select hour');?></option>
<?php for ($i = 0; $i <= 23; $i++) : ?>
<option value="<?php echo $i?>" <?php if (isset($input->timeto_hours) && $input->timeto_hours === $i) : ?>selected="selected"<?php endif;?>><?php echo str_pad($i,2, '0', STR_PAD_LEFT);?> h.</option>
<?php endfor;?>
</select>
</div>
<div class="col-md-6">
<select name="timeto_minutes" class="form-control form-control-sm">
<option value="">Select minute</option>
<option value=""><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Select minute');?></option>
<?php for ($i = 0; $i <= 59; $i++) : ?>
<option value="<?php echo $i?>" <?php if (isset($input->timeto_minutes) && $input->timeto_minutes === $i) : ?>selected="selected"<?php endif;?>><?php echo str_pad($i,2, '0', STR_PAD_LEFT);?> m.</option>
<?php endfor;?>
Expand Down

0 comments on commit 1f6a513

Please sign in to comment.