示例#1
0
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
0
 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
0
 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
0
    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 
    }