Esempio n. 1
0
function qtranxf_admin_head()
{
    //qtranxf_add_css();//Since 3.2.5 no longer needed
    qtranxf_add_admin_css();
    qtranxf_add_admin_head_js();
    //Since 3.2.7 qtranxf_optionFilter('disable');//why this is here?
}
Esempio n. 2
0
function qtranxf_admin_head()
{
    //qtranxf_dbg_log('11.qtranxf_admin_head:');
    //wp_enqueue_script( 'jquery' );
    //qtranxf_add_css();//Since 3.2.5 no longer needed
    qtranxf_add_admin_css();
    global $q_config;
    //if(strpos($_SERVER['REQUEST_URI'],'page=qtranslate-x') !== FALSE)
    if (isset($q_config['url_info']['query']) && strpos($q_config['url_info']['query'], 'page=qtranslate-x') !== FALSE) {
        //$enqueue_script = (defined('SCRIPT_DEBUG') && SCRIPT_DEBUG);
        qtranxf_add_admin_head_js(true);
    }
}
function qtranxf_admin_head()
{
    //wp_enqueue_script( 'jquery' );
    //qtranxf_add_css();//Since 3.2.5 no longer needed
    qtranxf_add_admin_css();
    qtranxf_add_admin_head_js();
}
Esempio n. 4
0
function qtranxf_admin_head()
{
    //qtranxf_dbg_log('"admin_head": qtranxf_admin_head: REQUEST_TIME_FLOAT: ', $_SERVER['REQUEST_TIME_FLOAT']);
    //wp_enqueue_script( 'jquery' );
    //qtranxf_add_css();//Since 3.2.5 no longer needed
    qtranxf_add_admin_css();
    qtranxf_add_admin_head_js();
    //Since 3.2.7 qtranxf_optionFilter('disable');//why this is here?
}