本文整理汇总了PHP中TBGSettings::getURLhost方法的典型用法代码示例。如果您正苦于以下问题:PHP TBGSettings::getURLhost方法的具体用法?PHP TBGSettings::getURLhost怎么用?PHP TBGSettings::getURLhost使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TBGSettings
的用法示例。
在下文中一共展示了TBGSettings::getURLhost方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: url
}
/* 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 */
示例2: foreach
?>
</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>