24 lines
900 B
PHP
Executable File
24 lines
900 B
PHP
Executable File
<?php
|
|
/**
|
|
* The chosen view of common module of XXB.
|
|
*
|
|
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd., www.zentao.net)
|
|
* @license ZOSL (https://zpl.pub/page/zoslv1.html)
|
|
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
|
|
* @package common
|
|
* @version $Id: chosen.html.php 4029 2016-08-26 06:50:41Z liugang $
|
|
* @link https://xuanim.com
|
|
*/
|
|
if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}
|
|
css::import($jsRoot . 'jquery/chosen/min.css');
|
|
js::import($jsRoot . 'jquery/chosen/min.js');
|
|
?>
|
|
|
|
<script>
|
|
window.chosenDefaultOptions = {no_results_text: '<?php echo $lang->noResultsMatch;?>', disable_search_threshold: 1, search_contains: true, width: '100%', allow_single_deselect: true};
|
|
$(document).ready(function()
|
|
{
|
|
$(".chosen").chosen(chosenDefaultOptions);
|
|
});
|
|
</script>
|