/** * WordPress action for adding blog header contents */ function wp_head() { $include_cmm_review = $this->o["comments_review_active"] == 1; $include_mur_rating = $this->o["multis_active"] == 1; if (is_feed()) { return; } if ($this->o["external_rating_css"] == 1) { $this->include_rating_css(); } else { $this->include_rating_css(false); } //if ($this->o["external_rating_css"] == 1) $this->include_rating_css_xtra(); //else $this->include_rating_css_xtra(false); echo "\r\n"; if ($this->o["external_css"] == 1 && file_exists($this->plugin_xtra_path . "css/rating.css")) { echo '<link rel="stylesheet" href="' . $this->plugin_xtra_url . 'css/rating.css" type="text/css" media="screen" />'; echo "\r\n"; } if ($this->o["external_javascript"] == 1) { echo '<script type="text/javascript" src="' . $this->plugin_url . 'script.js.php"></script>'; } else { echo '<script type="text/javascript">'; if ($this->use_nonce) { $nonce = wp_create_nonce('gdsr_ajax_r8'); } else { $nonce = ""; } $button_active = $this->o["mur_button_active"] == 1; echo '//<![CDATA['; include $this->plugin_path . "code/js/gd-star-js.php"; echo '// ]]>'; echo '</script>'; } echo "\r\n"; $this->custom_actions('wp_head'); if ($this->o["ie_opacity_fix"] == 1) { GDSRHelper::ie_opacity_fix(); } }