<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2539" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>WordPress.com Forums &#187; Topic: widget javascript</title>
		<link>http://en.forums.wordpress.com/topic/widget-javascript</link>
		<description>WordPress.com Forums &#187; Topic: widget javascript</description>
		<language>en</language>
		<pubDate>Wed, 22 May 2013 13:50:44 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2539</generator>
				<atom:link href="http://en.forums.wordpress.com/rss/topic/widget-javascript" rel="self" type="application/rss+xml" />

		<item>
			<title>1tess on "widget javascript"</title>
			<link>http://en.forums.wordpress.com/topic/widget-javascript#post-1084358</link>
			<pubDate>Mon, 03 Dec 2012 06:32:49 +0000</pubDate>
			<dc:creator>1tess</dc:creator>
			<guid isPermaLink="false">1084358@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Oh, nevermind. You are asking about a self-hosted site using wp.ORG software. This forum is for wp.COM free hosted blogs.<br />
<a href="http://www.aakashweb.com/" rel="nofollow">http://www.aakashweb.com/</a><br />
Please head over to the wp.ORG support forum for help. We cannot advise you here:<br />
<a href="http://en.support.wordpress.com/com-vs-org/" rel="nofollow">http://en.support.wordpress.com/com-vs-org/</a>
</p>
]]></description>
					</item>
		<item>
			<title>1tess on "widget javascript"</title>
			<link>http://en.forums.wordpress.com/topic/widget-javascript#post-1084356</link>
			<pubDate>Mon, 03 Dec 2012 06:27:32 +0000</pubDate>
			<dc:creator>1tess</dc:creator>
			<guid isPermaLink="false">1084356@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>Hello!<br />
Please read this support article about forbidden code:<br />
If you try to use a dangerous code, wp.com will strip it out.<br />
<a href="http://en.support.wordpress.com/code/" rel="nofollow">http://en.support.wordpress.com/code/</a><br />
JavaScript</p>
<blockquote><p>Users are not allowed to post JavaScript on WordPress.com blogs. JavaScript can be used for malicious purposes. As an example, JavaScript has taken sites such as MySpace.com and LiveJournal offline in the past. The security of all WordPress.com blogs is a top priority for us, and until we can guarantee scripting languages will not be harmful, they will not be permitted.</p></blockquote>
]]></description>
					</item>
		<item>
			<title>faddilnew on "widget javascript"</title>
			<link>http://en.forums.wordpress.com/topic/widget-javascript#post-1084353</link>
			<pubDate>Mon, 03 Dec 2012 06:21:36 +0000</pubDate>
			<dc:creator>faddilnew</dc:creator>
			<guid isPermaLink="false">1084353@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>&#60;?php<br />
/*<br />
Plugin Name: HTML Javascript Adder<br />
Plugin URI: <a href="http://www.aakashweb.com" rel="nofollow">http://www.aakashweb.com</a><br />
Description: A widget plugin for adding javascripts, HTML scripts, javascripts, advertisements and even simple texts in the sidebar with advanced targeting on posts and pages.<br />
Author: Aakash Chakravarthy<br />
Version: 3.1.1<br />
Author URI: <a href="http://www.aakashweb.com/" rel="nofollow">http://www.aakashweb.com/</a><br />
*/</p>
<p>/*<br />
Copyright 2011  Aakash Chakravarthy  (email : [email redacted]) (website : <a href="http://www.aakashweb.com" rel="nofollow">http://www.aakashweb.com</a>)</p>
<p>    This program is free software; you can redistribute it and/or modify<br />
    it under the terms of the GNU General Public License as published by<br />
    the Free Software Foundation; either version 2 of the License, or<br />
    (at your option) any later version.</p>
<p>    This program is distributed in the hope that it will be useful,<br />
    but WITHOUT ANY WARRANTY; without even the implied warranty of<br />
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br />
    GNU General Public License for more details.</p>
<p>    You should have received a copy of the GNU General Public License<br />
    along with this program; if not, write to the Free Software<br />
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA</p>
<p>**********************************</p>
<p>	In short, this plugin is free to use by anyone and everyone. As this plugin is free,<br />
	you can also donate and support this plugin if you like.</p>
<p>*********************************/</p>
<p>define('HJA_VERSION', '3.1.1');<br />
define('HJA_AUTHOR', 'Aakash Chakravarthy');</p>
<p>if (!defined('WP_CONTENT_URL')) {<br />
	$hja_pluginpath = get_option('siteurl').'/wp-content/plugins/'.plugin_basename(dirname(__FILE__)).'/';<br />
} else {<br />
	$hja_pluginpath = WP_CONTENT_URL . '/plugins/' . plugin_basename(dirname(__FILE__)) . '/';<br />
}</p>
<p>$hja_donate_link = 'http://bit.ly/hjadonate';</p>
<p>## Load languages<br />
load_plugin_textdomain('hja', false, basename(dirname(__FILE__)) . '/languages/');</p>
<p>class html_javascript_adder_widget extends WP_Widget{</p>
<p>	## Initialize<br />
	function html_javascript_adder_widget(){<br />
		$widget_ops = array('classname' =&#62; 'widget_html_javascript_adder', 'description' =&#62; __("Used to add HTML, javascripts, Flash embed codes to sidebar", 'hja') );<br />
		$control_ops = array('width' =&#62; 530, 'height' =&#62; 500);<br />
		$this-&#62;WP_Widget('html_javascript_adder', __('HTML Javascript Adder', 'hja'), $widget_ops, $control_ops);<br />
	}</p>
<p>	function hja_page_check($instance){<br />
		$hja_is_single = $instance['hja_is_single'];<br />
		$hja_is_archive = $instance['hja_is_archive'];<br />
		$hja_is_home = $instance['hja_is_home'];<br />
		$hja_is_page = $instance['hja_is_page'];<br />
		$hja_is_search = $instance['hja_is_search'];</p>
<p>		if (is_home() == 1 &#38;&#38; $hja_is_home != 1){<br />
			return true;</p>
<p>		}elseif (is_single() == 1 &#38;&#38; $hja_is_single!= 1){<br />
			return true;</p>
<p>		}elseif (is_page() == 1 &#38;&#38; $hja_is_page != 1){<br />
			return true;</p>
<p>		}elseif (is_archive() == 1 &#38;&#38; $hja_is_archive != 1){<br />
			return true;</p>
<p>		}elseif (is_tag() == 1 &#38;&#38; $hja_is_archive != 1){<br />
			return true;</p>
<p>		}elseif(is_search() == 1 &#38;&#38; $hja_is_search != 1){<br />
			return true;</p>
<p>		}else{<br />
			return false;<br />
		}<br />
	}</p>
<p>	function hja_admin_check($instance){<br />
		$hja_is_admin = $instance['hja_is_admin'];</p>
<p>		if(current_user_can('level_10') &#38;&#38; $hja_is_admin == 1){<br />
			return false;<br />
		}else{<br />
			return true;<br />
		}<br />
	}</p>
<p>	function hja_post_check($instance){<br />
		global $post;<br />
		$hja_diable_post = $instance['hja_diable_post'];<br />
		$splitId = explode(',', $hja_diable_post);</p>
<p>		if(is_page($splitId) &#124;&#124; is_single($splitId)){<br />
			return false;<br />
		}else{<br />
			return true;<br />
		}<br />
	}</p>
<p>	function hja_all_ok($instance){<br />
		return (<br />
			$this-&#62;hja_page_check($instance) &#38;&#38;<br />
			$this-&#62;hja_admin_check($instance) &#38;&#38;<br />
			$this-&#62;hja_post_check($instance)<br />
		);<br />
	}</p>
<p>	## Display the Widget<br />
	function widget($args, $instance){<br />
		extract($args);<br />
		$hja_title = apply_filters('widget_title', empty($instance['hja_title']) ? '' : $instance['hja_title'], $instance, $this-&#62;id_base);</p>
<p>		if(empty($instance['hja_content'])){<br />
			$hja_content = '';<br />
		}elseif($instance['hja_add_para'] == 1){<br />
			$hja_content = wpautop($instance['hja_content']);<br />
		}else{<br />
			$hja_content = $instance['hja_content'];<br />
		}</p>
<p>		$hja_before_content = "\n" . '&#60;div class="hjawidget"&#62;' . "\n";<br />
		$hja_after_content = "\n" . '&#60;/div&#62;' . "\n";</p>
<p>		## Output<br />
		$hja_output_content =<br />
			$before_widget . "\n\n&#60;!-- Start - HTML Javascript Adder plugin v" . HJA_VERSION . " --&#62;\n" .<br />
			$before_title .<br />
			$hja_title .<br />
			$after_title .<br />
			$hja_before_content .<br />
			$hja_content .<br />
			$this-&#62;hja_link_back() .<br />
			$hja_after_content .<br />
			"&#60;!-- End - HTML Javascript Adder plugin v" . HJA_VERSION . " --&#62;\n\n" .<br />
			$after_widget;</p>
<p>		if($this-&#62;hja_all_ok($instance)){<br />
			echo $hja_output_content;<br />
		}</p>
<p>		define('IS_HJA_ADDED', 1);<br />
	}</p>
<p>	## Save settings<br />
	function update($new_instance, $old_instance){<br />
		$instance = $old_instance;<br />
		$instance['hja_title'] = stripslashes($new_instance['hja_title']);<br />
		$instance['hja_content'] = stripslashes($new_instance['hja_content']);</p>
<p>		$instance['hja_is_single'] = $new_instance['hja_is_single'];<br />
		$instance['hja_is_archive'] = $new_instance['hja_is_archive'];<br />
		$instance['hja_is_home'] = $new_instance['hja_is_home'];<br />
		$instance['hja_is_page'] = $new_instance['hja_is_page'];<br />
		$instance['hja_is_search'] = $new_instance['hja_is_search'];</p>
<p>		$instance['hja_add_para'] = $new_instance['hja_add_para'];</p>
<p>		$instance['hja_is_admin'] = $new_instance['hja_is_admin'];<br />
		$instance['hja_diable_post'] = $new_instance['hja_diable_post'];</p>
<p>		$instance['hja_heading_select'] = $new_instance['hja_heading_select'];</p>
<p>		return $instance;<br />
	}</p>
<p>	## HJA Widget form<br />
	function form($instance){<br />
		global $hja_donate_link;</p>
<p>		$instance = wp_parse_args( (array) $instance, array('hja_title'=&#62;'', 'hja_content'=&#62;'','hja_is_single'=&#62;'','hja_is_archive'=&#62;'','hja_is_home'=&#62;'','hja_is_search'=&#62;'' ) );<br />
		$hja_title = htmlspecialchars($instance['hja_title']);<br />
		$hja_content = htmlspecialchars($instance['hja_content']);</p>
<p>		$hja_is_single = $instance['hja_is_single'];<br />
		$hja_is_archive = $instance['hja_is_archive'];<br />
		$hja_is_home = $instance['hja_is_home'];<br />
		$hja_is_page = $instance['hja_is_page'];<br />
		$hja_is_search = $instance['hja_is_search'];</p>
<p>		$hja_add_para = $instance['hja_add_para'];</p>
<p>		$hja_is_admin = $instance['hja_is_admin'];<br />
		$hja_diable_post = $instance['hja_diable_post'];<br />
	?&#62;</p>
<p>		&#60;div class="section"&#62;</p>
<p>		&#60;!-- Title text box for admin widget title --&#62;<br />
		&#60;input id="&#60;?php echo $this-&#62;get_field_id('title');?&#62;" name="&#60;?php echo $this-&#62;get_field_name('title'); ?&#62;" type="hidden" value="&#60;?php echo $hja_title; ?&#62;" class="widefat"&#62;</p>
<p>			&#60;label&#62;&#60;?php _e('Title :', 'hja'); ?&#62;<br />
				&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_title');?&#62;" name="&#60;?php echo $this-&#62;get_field_name('hja_title'); ?&#62;" type="text" value="&#60;?php echo $hja_title; ?&#62;" class="widefat"/&#62;<br />
			&#60;/label&#62;<br />
		&#60;/div&#62;</p>
<p>		&#60;div class="section"&#62;<br />
			&#60;label for="&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;"&#62;&#60;?php _e('Content :', 'hja'); ?&#62;&#60;/label&#62;<br />
			&#60;div class="awQuickTagToolbar"&#62;&#60;select id="&#60;?php echo $this-&#62;get_field_id('hja_heading_select'); ?&#62;" onChange="awQuickTagsHeading('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;', '&#60;?php echo $this-&#62;get_field_id('hja_heading_select'); ?&#62;');"&#62;&#60;option value="1"&#62;Heading 1&#60;/option&#62;&#60;option value="2"&#62;Heading 2&#60;/option&#62;&#60;option value="3"&#62;Heading 3&#60;/option&#62;&#60;option value="4"&#62;Heading 4&#60;/option&#62;&#60;option value="5"&#62;Heading 5&#60;/option&#62;&#60;option value="6"&#62;Heading 6&#60;/option&#62;&#60;/select&#62;&#60;input type="button" onClick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','<strong>','</strong>','');" value="B"/&#62;&#60;input type="button" onClick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','<em>','</em>','');" value="I"/&#62;&#60;input type="button" onClick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','&#60;u&#62;','&#60;/u&#62;','');" value="U"/&#62;&#60;input type="button" onClick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','<a>','a');" value="&#60;?php _e("Link", 'hja'); ?&#62;"/&#62;&#60;input type="button" onClick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','&#60;img ','/&#62;','img');" value="&#60;?php _e("Image", 'hja'); ?&#62;"/&#62;&#60;input type="button" onclick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','<code>&#039;,&#039;</code>','');" value="&#60;?php _e("Code", 'hja'); ?&#62;"/&#62;&#60;input type="button" onclick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','
<ul>','</ul>
','');" value="ul"/&#62;&#60;input type="button" onclick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','
<ol>','</ol>
','');" value="ol"/&#62;&#60;input type="button" onclick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','
<li>','</li>
','');" value="li"/&#62;&#60;input type="button" onclick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','&#60;p&#62;','&#60;/p&#62;','');" value="P"/&#62;&#60;input type="button" onclick="awQuickTags('&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;','','&#60;/br&#62;','');" value="br"/&#62;&#60;input type="button" value="&#60;?php _e("Preview", 'hja'); ?&#62;" class="hja_preview_bt" /&#62;&#60;/div&#62;<br />
			&#60;textarea rows="10" id="&#60;?php echo $this-&#62;get_field_id('hja_content'); ?&#62;" name="&#60;?php echo $this-&#62;get_field_name('hja_content'); ?&#62;" class="hja_content"&#62;&#60;?php echo $hja_content; ?&#62;&#60;/textarea&#62;<br />
		&#60;/div&#62;</p>
<p>		&#60;div class="section"&#62;<br />
			&#60;label&#62;&#60;b&#62;&#60;?php _e('Settings', 'hja'); ?&#62;&#60;/b&#62;&#60;/label&#62;<br />
			&#60;div class="alignLeft" style="width:47%"&#62;</p>
<p>				&#60;label&#62;&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_is_single'); ?&#62;" type="checkbox"  name="&#60;?php echo $this-&#62;get_field_name('hja_is_single'); ?&#62;" value="1" &#60;?php echo $hja_is_single == "1" ? 'checked="checked"' : ""; ?&#62; /&#62; &#60;?php _e("Don't display in Posts page", 'hja'); ?&#62;&#60;/label&#62;</p>
<p>				&#60;label&#62;&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_is_archive'); ?&#62;" type="checkbox" name="&#60;?php echo $this-&#62;get_field_name('hja_is_archive'); ?&#62;" value="1" &#60;?php echo $hja_is_archive == "1" ? 'checked="checked"' : ""; ?&#62;/&#62; &#60;?php _e("Don't display in Archive or Tag page", 'hja'); ?&#62;&#60;/label&#62;</p>
<p>				&#60;label&#62;&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_is_home'); ?&#62;" type="checkbox" name="&#60;?php echo $this-&#62;get_field_name('hja_is_home'); ?&#62;" value="1" &#60;?php echo $hja_is_home == "1" ? 'checked="checked"' : ""; ?&#62;/&#62; &#60;?php _e("Don't display in Home page", 'hja'); ?&#62;&#60;/label&#62;</p>
<p>				&#60;label&#62;&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_is_page'); ?&#62;" type="checkbox" name="&#60;?php echo $this-&#62;get_field_name('hja_is_page'); ?&#62;" value="1" &#60;?php echo $hja_is_page == "1" ? 'checked="checked"' : ""; ?&#62;/&#62; &#60;?php _e("Don't display in Pages", 'hja'); ?&#62;&#60;/label&#62;</p>
<p>				&#60;label&#62;&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_is_search'); ?&#62;" type="checkbox" name="&#60;?php echo $this-&#62;get_field_name('hja_is_search'); ?&#62;" value="1" &#60;?php echo $hja_is_search == "1" ? 'checked="checked"' : ""; ?&#62;/&#62; &#60;?php _e("Don't display in Search page", 'hja'); ?&#62;&#60;/label&#62;</p>
<p>				&#60;label&#62;&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_add_para'); ?&#62;" type="checkbox" name="&#60;?php echo $this-&#62;get_field_name('hja_add_para'); ?&#62;" value="1" &#60;?php echo $hja_add_para == "1" ? 'checked="checked"' : ""; ?&#62;/&#62; &#60;?php _e("Automatically add paragraphs", 'hja'); ?&#62;&#60;/label&#62;</p>
<p>			&#60;/div&#62;</p>
<p>			&#60;div class="alignLeft" style="width:47%"&#62;</p>
<p>				&#60;label&#62;&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_is_admin'); ?&#62;" type="checkbox" name="&#60;?php echo $this-&#62;get_field_name('hja_is_admin'); ?&#62;" value="1" &#60;?php echo $hja_is_admin == "1" ? 'checked="checked"' : ""; ?&#62;/&#62; &#60;?php _e("Don't display to admin", 'hja'); ?&#62;&#60;/label&#62;</p>
<p>				&#60;label&#62;&#60;?php _e("Don't show in posts", 'hja'); ?&#62;<br />
					&#60;input id="&#60;?php echo $this-&#62;get_field_id('hja_diable_post'); ?&#62;" type="text" name="&#60;?php echo $this-&#62;get_field_name('hja_diable_post'); ?&#62;" value="&#60;?php echo $hja_diable_post; ?&#62;" class="widefat"/&#62;<br />
					&#60;span class="smallText"&#62;&#60;?php _e("Post ID's / name / title seperated by comma", 'hja'); ?&#62;&#60;/span&#62;<br />
				&#60;/label&#62;</p>
<p>			&#60;/div&#62;<br />
			&#60;div style="clear:both"&#62;&#60;/div&#62;<br />
		&#60;/div&#62;</p>
<p>		&#60;div class="widget-control-actions links"&#62;<br />
		</a><a>" target="_blank" class="donateBt"&#62;&#60;?php _e("Make Donations", 'hja'); ?&#62;</a> &#124; <a href="http://www.aakashweb.com/wordpress-plugins/html-javascript-adder/">&#60;?php _e("Documentation", 'hja'); ?&#62;</a> &#124; <a href="http://aryansetiawan.wordpress.com/">&#60;?php _e("Visit Author site", 'hja'); ?&#62;</a> &#124; <a href="http://www.aakashweb.com/forum/">&#60;?php _e("Support Forum", 'hja'); ?&#62;</a> &#124; <a href="#">&#60;?php _e("Subscribe", 'hja'); ?&#62;</a> &#124; <a href="#">&#60;?php _e("Promote", 'hja'); ?&#62;</a>&#60;/div&#62;</p>
<p>		&#60;?php<br />
	}</p>
<p>	function hja_link_back(){<br />
		$hja_options = get_option('hja_data');</p>
<p>		if(!defined('IS_HJA_ADDED') &#38;&#38; $hja_options['hja_disable_linkback'] != 1){<br />
			return "\n" . '<a href="http://aryansetiawan.wordpress.com/" rel="follow" title="' . __('Added with HTML Javascript Adder WordPress plugin', 'hja') . '"> ?</a>';<br />
		}<br />
	}</p>
<p>}<br />
## End class</p>
<p>function html_javascript_adder_init(){<br />
	register_widget('html_javascript_adder_widget');<br />
}<br />
add_action('widgets_init', 'html_javascript_adder_init');</p>
<p>function html_javascript_adder_js(){<br />
	global $hja_pluginpath;<br />
	$currentUrl = $_SERVER["PHP_SELF"];<br />
	$fileUrl = explode('/', $currentUrl);<br />
	$fileName = $fileUrl[count($fileUrl) - 1];</p>
<p>	if($fileName == 'widgets.php'){<br />
		echo '&#60;script type="text/javascript" src="' . $hja_pluginpath . 'js/awQuickTag.js"&#62;&#60;/script&#62;';<br />
		echo '&#60;link rel="stylesheet" href="' . $hja_pluginpath . 'hja-widget-css.css" type="text/css" /&#62;';<br />
		echo '&#60;script type="text/javascript" src="' . $hja_pluginpath . 'hja-widget-js.js"&#62;&#60;/script&#62;';<br />
	}<br />
}<br />
add_action('admin_head','html_javascript_adder_js');</p>
<p>## Action Links<br />
function hja_plugin_actions($links, $file){<br />
	static $this_plugin;<br />
	global $hja_donate_link;</p>
<p>	if(!$this_plugin) $this_plugin = plugin_basename(__FILE__);<br />
	if( $file == $this_plugin ){<br />
		$settings_link = "<a href='$hja_donate_link'>" . __('Make Donations', 'hja') . '</a> ';<br />
		$links = array_merge(array($settings_link), $links);<br />
	}<br />
	return $links;<br />
}<br />
add_filter('plugin_action_links', 'hja_plugin_actions', 10, 2);</p>
<p>function hja_admin_page(){<br />
	$hja_options = get_option('hja_data');</p>
<p>	if ($_POST["hja_admin_submit"]) {<br />
		$hja_options['hja_disable_linkback'] = $_POST['hja_disable_linkback'];<br />
		update_option("hja_data", $hja_options);<br />
	}</p>
<p>	$hja_disable_linkback = $hja_options['hja_disable_linkback'];</p>
<p>	?&#62;<br />
	&#60;div class="wrap"&#62;<br />
		&#60;form method="POST"&#62;<br />
			&#60;small&#62;&#60;label&#62;&#60;?php _e('Disable HTML Javascript Adder link back', 'hja'); ?&#62; &#60;input name="hja_disable_linkback" type="checkbox" id="hja_disable_linkback" value="1" &#60;?php echo $hja_disable_linkback == "1" ? 'checked="checked"' : ""; ?&#62; /&#62;&#60;/label&#62;&#60;/small&#62;<br />
			&#60;span class="submit"&#62;&#60;input type="submit" name="hja_admin_submit" id="hja_admin_submit" value="&#60;?php _e('Save'); ?&#62;" /&#62;&#60;/span&#62;</p>
<p>		&#60;/form&#62;<br />
	&#60;/div&#62;<br />
	</p>
<p>	&#60;?php<br />
}<br />
add_action('sidebar_admin_page', 'hja_admin_page');</p>
<p>## Admin Dashboard<br />
if(!function_exists('aw_dashboard')){<br />
	function aw_dashboard() {<br />
		$rss = array('url' =&#62; 'http://feeds2.feedburner.com/aakashweb', 'items' =&#62; '5','show_date' =&#62; 0, 'show_summary'=&#62; 1);<br />
		$subscribe = "window.open('http://feedburner.google.com/fb/a/mailverify?uri=aakashweb', 'win','menubar=1,resizable=1,width=600,height=500'); return false;" ;<br />
		echo '&#60;div class="rss-widget"&#62;';<br />
		echo '<a href="http://www.aakashweb.com/wordpress-plugins/">&#60;img src="http://a.imageshack.us/img844/5834/97341029.png" align="right"/&#62;</a>';<br />
		echo '&#60;p&#62;'; wp_widget_rss_output($rss); echo '&#60;/p&#62;';<br />
		echo '&#60;hr style="border-top: 1px solid #fff;"/&#62;';<br />
		echo '&#60;p&#62;<a href="#">' . __( 'Subscribe to Updates', 'hja') . '</a> &#124; <a href="http://twitter.com/deathcrot">' . __( 'Follow on Twitter', 'aryan') . '</a> &#124; <a href="http://aryansetiawan.wordpress.com/">' . __( 'Home Page', 'aryan') . '</a>&#60;/p&#62;';<br />
		echo "&#60;/div&#62;";<br />
	}</p>
<p>	function aw_dashboard_setup() {<br />
		wp_add_dashboard_widget('aw_dashboard', __( 'AW Latest Updates', 'aryan'), 'aw_dashboard');<br />
	}<br />
	add_action('wp_dashboard_setup', 'aw_dashboard_setup');<br />
}</p>
<p>?&#62;
</p>
]]></description>
					</item>

	</channel>
</rss>
