Source for file class.acBlockType_colorpicker.php
Documentation is available at class.acBlockType_colorpicker.php
$params['block_type'] =
'colorpicker';
if($this->_header_html_called)
$this->_header_html_called =
true;
$config =
cmsms()->GetConfig();
<link rel=stylesheet href="'.
$config['root_url'].
'/modules/AdvancedContent/css/jpicker.css" type="text/css" />
<script language="javascript" type="text/javascript" src="'.
$config['root_url'].
'/modules/AdvancedContent/js/jquery.jpicker.min.js" defer="true"></script>
<script language="javascript" type="text/javascript">
ac_onload.push(function(){
$.fn.jPicker.defaults.images.clientPath="'.
$config['root_url'].
'/modules/AdvancedContent/images/jpicker/";';
foreach(acContentBlockManager::GetBlocksByType('colorpicker') as $block_id)
$ret .=
'$("#'.
$block_id .
'").jPicker();';
Documentation generated on Tue, 09 Oct 2012 16:57:03 +0200 by phpDocumentor 1.4.1