示例#1
0
			}
			/* next rows of buttons */
			.markItUpHeader ul ul {
				display:none;
				position:absolute;
				top:18px; left:0px;	
				background:#FFF;
				border:1px solid #000;
			}
			.markItUpHeader ul ul li {
				float:none;
				border-bottom:1px solid #000;
			}
			.markItUpHeader ul ul .markItUpDropMenu {
				background:#FFF url(<?php 
echo TBGSettings::getURLhost() . TBGContext::getStrippedTBGPath() . '/themes/' . TBGSettings::getThemeName() . '/markitup/';
?>
submenu.png) no-repeat 100% 50%;
			}
			.markItUpHeader ul .markItUpSeparator {
				margin:0 10px;
				width:1px;
				height:16px;
				overflow:hidden;
				background-color:#CCC;
			}
			.markItUpHeader ul ul .markItUpSeparator {
				width:auto; height:1px;
				margin:0px;
			}
			/* next rows of buttons */
?>
				</div>
			</form>
		</div>
		<div id="custom_types_list">
			<?php 
foreach ($custom_types as $type_key => $type) {
    ?>
				<?php 
    include_component('issuefields_customtype', array('type_key' => $type_key, 'type' => $type));
    ?>
			<?php 
}
?>
		</div>
	</div>
</td>
</tr>
</table>
<script>
	var picker = new ColorPicker({iconPath: '<?php 
echo TBGSettings::getURLhost() . TBGContext::getTBGPath() . 'themes/' . TBGSettings::getThemeName() . '/cpicker/';
?>
'});
	
	picker.setCallback(function (color) {
		picker.selector.style.backgroundColor = color;
		picker.selector.value = color;
		picker.hide();
	});
</script>