本文整理汇总了PHP中mosAdminMenus::imageCheckAdmin方法的典型用法代码示例。如果您正苦于以下问题:PHP mosAdminMenus::imageCheckAdmin方法的具体用法?PHP mosAdminMenus::imageCheckAdmin怎么用?PHP mosAdminMenus::imageCheckAdmin使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mosAdminMenus
的用法示例。
在下文中一共展示了mosAdminMenus::imageCheckAdmin方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: quickiconButton
function quickiconButton($link, $image, $text, $path = '/administrator/images/', $hover)
{
$hover = str_replace("'", "'", $hover);
?>
<div style="float:left;">
<div class="icon">
<a href="<?php
echo $link;
?>
" onmouseover="return overlib('<?php
echo $hover;
?>
', BGCOLOR, '#C64934', BORDER, 1, BELOW, RIGHT);" onmouseout="return nd();">
<?php
echo mosAdminMenus::imageCheckAdmin($image, $path, NULL, NULL, $text);
?>
<span><?php
echo $text;
?>
</span>
</a>
</div>
</div>
<?php
}
示例2: showIcon
function showIcon($image, $text, $text2 = '', $option = 1)
{
if (ACA_CMSTYPE) {
echo '<img alt="' . $text . '" src="' . ACA_JPATH_LIVE . '/administrator/images/' . $image . '"/>';
} else {
echo mosAdminMenus::imageCheckAdmin($image, '/administrator/images/', NULL, NULL, $text, $text2, $option);
}
}
示例3: showIcon
function showIcon($image, $text, $text2 = '', $option = 1)
{
if (compa::joom10()) {
echo mosAdminMenus::imageCheckAdmin($image, '/administrator/images/', NULL, NULL, $text, $text2, $option);
} else {
echo '<img alt="' . $text . '" src="' . $GLOBALS['mosConfig_live_site'] . '/administrator/images/' . $image . '"/>';
//echo JHTML::_('image.administrator', $image, 'images/', NULL, NULL, $text, $text2,$option);
}
}
示例4: quickiconButton
function quickiconButton($link, $image, $text)
{
?>
<div style="float:left;">
<div class="icon">
<a href="<?php
echo $link;
?>
">
<?php
echo mosAdminMenus::imageCheckAdmin($image, '/administrator/images/', NULL, NULL, $text);
?>
<span><?php
echo $text;
?>
</span>
</a>
</div>
</div>
<?php
}