Example #1
0
        echo "[<a href=\"{$param['homepage']}\">Homepage</a>]";
    } else {
        echo "&nbsp;";
    }
    echo "</td>\r";
    echo "</tr>\r";
}
?>
    </table>

    <p class="comment">
<?php 
if ($browser == '') {
    echo SB_P('integrator::hint');
} else {
    echo '<a href="integrator.php?lang=' . SB_GetLanguage() . '">' . SB_T('Usage Tips for All Browsers') . '</a>';
}
?>
    </p>

    <h2>
<?php 
if ($browser == '') {
    echo SB_T('Usage Tips for All Browsers');
} else {
    echo SB_T('Usage/Integration Tips for %s', array($browsers[$browser]['label']));
}
?>
    </h2>
<?php 
if ($browser != '') {
Example #2
0
    }
}
/**
 * I do not need instance, I just need to call static functions.
 * As of PHP 4.3.1 it will generate strange warning in case
 * bookmarkmanager issued an error() on import(). I cannot see
 * any relevance because SB_Page does not inherit from SB_ErrorHandler.
 * But it is indeed related to SB_ErrorHandler (when removing & from
 * declaration of getErrors() it works, but errors cannot be
 * reported then. Too curious for reporting and PHP 5 adds
 * static members what should solve the problem in future.
 */
$page = new SB_Page();
$page->head('Commander', 'siteBarCmdWin', null, $cw->onLoad, $metaTag);
$errId = $cw->hasErrors() && $cw->hasErrors(E_ERROR) ? 'error' : 'warn';
$onlineHelp = 'http://sitebar.org/help.php?command=' . urlencode($cw->command) . '&amp;version=' . STATIC_VERSION . '&amp;lang=' . SB_GetLanguage();
?>
<div id="<?php 
echo ($cw->hasErrors() ? $errId : 'command') . 'Head';
?>
" class="cmnTitle">
<div id="help" onclick="SB_openHelp('<?php 
echo $onlineHelp;
?>
')">?</div>
<div id="command"><?php 
echo SB_T($cw->command);
?>
</div>
</div>
<div id="<?php