* move picker lib to zui.
This commit is contained in:
@@ -1,24 +1 @@
|
||||
<?php if($extView = $this->getExtViewFile(__FILE__)){include $extView; return helper::cd();}?>
|
||||
<?php if($config->debug):?>
|
||||
<?php css::import($jsRoot . 'zui/picker/zui.picker.min.css'); ?>
|
||||
<?php js::import($jsRoot . 'zui/picker/zui.picker.min.js'); ?>
|
||||
<?php endif;?>
|
||||
<style>
|
||||
.picker-single .picker-selection-remove{z-index: 1000;}
|
||||
.picker-selection-single:after, .picker-multi.picker-focus .picker-selections:before{font-family: ZentaoIcon !important; content: '\f0d7' !important;}
|
||||
</style>
|
||||
<script>
|
||||
var chooseUsersToMail = '<?php echo $lang->chooseUsersToMail;?>';
|
||||
if($.fn.picker)
|
||||
{
|
||||
$(document).ready(function()
|
||||
{
|
||||
$(".picker-select[data-pickertype!='remote']").picker({chosenMode: true});
|
||||
$("[data-pickertype='remote']").each(function()
|
||||
{
|
||||
var pickerremote = $(this).attr('data-pickerremote');
|
||||
$(this).picker({chosenMode: true, remote: pickerremote});
|
||||
})
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -16,7 +16,6 @@ $jsFiles[] = $jqueryRoot . 'lib.js';
|
||||
$jsFiles[] = $jqueryRoot . 'tablesorter/min.js';
|
||||
$jsFiles[] = $jqueryRoot . 'tablesorter/metadata.js';
|
||||
$jsFiles[] = $jsRoot . 'zui/min.js';
|
||||
$jsFiles[] = $jsRoot . 'zui/picker/zui.picker.min.js';
|
||||
$jsFiles[] = $jsRoot . 'my.full.js';
|
||||
|
||||
/* Combine these js files. */
|
||||
@@ -58,7 +57,6 @@ $themes = array_keys($lang->themes);
|
||||
|
||||
/* Create css files for every them and every lang. */
|
||||
$zuiCode = str_replace(array('/*!', '../fonts'), array('/*', '../zui/fonts'), file_get_contents($themeRoot . 'zui/css/min.css'));
|
||||
$zuiCode .= "\n" . str_replace('/*!', '/*', file_get_contents($jsRoot . 'zui/picker/zui.picker.min.css')) . "\n";
|
||||
foreach($langs as $lang)
|
||||
{
|
||||
foreach($themes as $theme)
|
||||
|
||||
+15
-14
File diff suppressed because one or more lines are too long
Vendored
-6
File diff suppressed because one or more lines are too long
Vendored
-7
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user