changed the code folder view to hide the search box if necessary
This commit is contained in:
parent
197df5adc3
commit
acdf17ccb9
@ -125,11 +125,15 @@ $this->load->view (
|
||||
|
||||
|
||||
<div class="infostrip" id="code_folder_mainarea_infostrip">
|
||||
|
||||
<?php if (CODEPOT_SIGNIN_FOR_CODE_SEARCH === FALSE || (isset($login['id']) && $login['id'] != '')): ?>
|
||||
<?=form_open("code/search/{$project->id}/", 'id="code_folder_search_form"')?>
|
||||
<?=form_hidden ('search_folder', set_value('search_folder', $file['fullpath']), 'id="code_folder_search_folder"')?>
|
||||
<?=form_input ('search_pattern', set_value('search_pattern', ''), 'id="code_folder_search_pattern"')?>
|
||||
<?=form_submit ('search_submit', $this->lang->line('Search'), 'id="code_folder_search_submit"')?>
|
||||
<?=form_hidden('search_folder', set_value('search_folder', $file['fullpath']), 'id="code_folder_search_folder"')?>
|
||||
<?=form_input('search_pattern', set_value('search_pattern', ''), 'id="code_folder_search_pattern"')?>
|
||||
<?=form_submit('search_submit', $this->lang->line('Search'), 'id="code_folder_search_submit"')?>
|
||||
|
|
||||
<?php endif; ?>
|
||||
|
||||
<?=$this->lang->line('Revision')?>: <?=$file['created_rev']?>
|
||||
<?php if ($file_count > 0): ?>
|
||||
|
|
||||
|
Loading…
Reference in New Issue
Block a user