示例#1
0
文件: ROOT.php 项目: nemein/openpsa
        <link type="image/x-icon" href="<?php 
echo MIDCOM_STATIC_URL;
?>
/org.openpsa.core/openpsa-16x16.png" rel="shortcut icon"/>
        <?php 
$head->add_stylesheet(MIDCOM_STATIC_URL . '/OpenPsa2/style.css', 'screen,projection');
$head->add_stylesheet(MIDCOM_STATIC_URL . '/OpenPsa2/content.css', 'all');
$head->add_stylesheet(MIDCOM_STATIC_URL . '/OpenPsa2/print.css', 'print');
$head->add_stylesheet(MIDCOM_STATIC_URL . '/OpenPsa2/ui-elements.css', 'all');
$head->enable_jquery();
$head->add_jsfile(MIDCOM_JQUERY_UI_URL . '/ui/jquery.ui.core.min.js');
$head->add_jsfile(MIDCOM_JQUERY_UI_URL . '/ui/jquery.ui.widget.min.js');
$head->add_jsfile(MIDCOM_JQUERY_UI_URL . '/ui/jquery.ui.mouse.min.js');
$head->add_jsfile(MIDCOM_JQUERY_UI_URL . '/ui/jquery.ui.draggable.min.js');
org_openpsa_widgets_ui::add_head_elements();
org_openpsa_widgets_ui::initialize_search();
$head->add_jscript("var MIDGARD_ROOT = '" . midcom_connection::get_url('self') . "';");
$head->add_jscript("var TOOLBAR_MORE_LABEL = '" . midcom::get('i18n')->get_l10n('org.openpsa.widgets')->get('more') . "';");
$head->print_head_elements();
if ($pref_found) {
    ?>
            <style type="text/css">
            #container #leftframe
            {
                width: &(navigation_width);px;
            }

            #container #content
            {
                margin-left: &(content_offset);px;
            }