-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
68 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
design/lhctelegramtheme/tpl/lhtelegram/parts/filter.tpl.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
<form action="<?php echo erLhcoreClassDesign::baseurl('telegram/operators')?>" method="get" name="SearchFormRight"> | ||
|
||
<input type="hidden" name="doSearch" value="1"> | ||
|
||
<div class="row"> | ||
<div class="col-md-3"> | ||
<div class="form-group"> | ||
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Bot');?></label> | ||
<?php echo erLhcoreClassRenderHelper::renderCombobox( array ( | ||
'input_name' => 'bot_id', | ||
'optional_field' => erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Choose bot'), | ||
'selected_id' => $input->bot_id, | ||
'css_class' => 'form-control', | ||
'display_name' => 'bot_username', | ||
'list_function' => 'erLhcoreClassModelTelegramBot::getList' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="col-md-2"> | ||
<div class="form-group"> | ||
<label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','User');?></label> | ||
<?php echo erLhcoreClassRenderHelper::renderCombobox( array ( | ||
'input_name' => 'user_id', | ||
'optional_field' => erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Select user'), | ||
'selected_id' => $input->user_id, | ||
'css_class' => 'form-control', | ||
'display_name' => 'name_official', | ||
'list_function' => 'erLhcoreClassModelUser::getUserList' | ||
)); ?> | ||
</div> | ||
</div> | ||
<div class="col-md-2"> | ||
<div><label> </label></div> | ||
<input type="submit" name="doSearch" class="btn btn-default" value="<?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Search');?>" /> | ||
</div> | ||
</div> | ||
|
||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters