<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><div>There is also a usage on WordPress blogs, in admin-header.php, from line 41 to 46:</div>
<div><a href="http://svn.automattic.com/wordpress-i18n/ug_CN/tags/2.8.3/dist/wp-admin/admin-header.php" target="_blank">http://svn.automattic.com/wordpress-i18n/ug_CN/tags/2.8.3/dist/wp-admin/admin-header.php</a></div></blockquote>
<br><br>I think that you should use wp_enqueue_script function ( <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script">http://codex.wordpress.org/Function_Reference/wp_enqueue_script</a> ) in ug_CN.php instead of hard coding in admin-header.php.<br>
<br>Function should look like <br><br>function load_bedit_script () {<br> wp_enqueue_script('bedit', WP_CONTENT_URL . '/themes/default/bedit.js');<br> return;<br>}<br>add_action('admin_init','load_bedit_script');<br>
<br>This will include bedit.js file on admin pages.<br><br><div class="gmail_quote">2009/8/11 Nikolay Bachiyski <span dir="ltr"><<a href="mailto:nb@nikolay.bg">nb@nikolay.bg</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Aug 11, 2009 at 06:10, Yidayet. Z. Begzad<<a href="mailto:begzad0826@yahoo.co.jp">begzad0826@yahoo.co.jp</a>> wrote:<br>
> Hello Nikolay,<br>
><br>
</div><div class="im">> Thanks again for all you have done for us.<br>
><br>
> You can find the JavaScript for Uyghur input on <a href="http://ug.wordpress.org" target="_blank">http://ug.wordpress.org</a><br>
> here:<br>
> <a href="http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/bedit.js" target="_blank">http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/bedit.js</a><br>
><br>
> and its usage is:<br>
> <a href="http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/b_config.js" target="_blank">http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/b_config.js</a><br>
> There is also a usage on WordPress blogs, in admin-header.php, from line 41<br>
> to 46:<br>
> <a href="http://svn.automattic.com/wordpress-i18n/ug_CN/tags/2.8.3/dist/wp-admin/admin-header.php" target="_blank">http://svn.automattic.com/wordpress-i18n/ug_CN/tags/2.8.3/dist/wp-admin/admin-header.php</a><br>
><br>
> Description:<br>
> It is necessary to specify the text input area for use this script. In above<br>
> case, it is set to attach all input area except in Laten text input area<br>
> such as e-mail address.<br>
><br>
> I was imported this script in ug_CN.css for rosetta, but it is not working<br>
> any more.<br>
><br>
> The Uyghur text input problem is the most difficult thing for a user who<br>
> still using Windwos XP and Mac/Linux. However, it is solved in Windows Vista<br>
> and Windows 7.<br>
><br>
><br>
> You can find the CSS here:<br>
> <a href="http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/ug_CN.css" target="_blank">http://svn.automattic.com/wordpress-i18n/ug_CN/rosetta/ug_CN.css</a><br>
> The font name "UKIJ Tuz Tom" at line 10, is the must used fonts on the web<br>
> for Uyghur. But it has a problem that, the small text shows terrible (this<br>
> problem also appear on <a href="http://wordpress.com" target="_blank">wordpress.com</a>). So, recently I think about the WEFT<br>
> and I try to make the embedded Arial and Tahoma fonts for <a href="http://ug.wordpress.org" target="_blank">ug.wordpress.org</a>.<br>
><br>
<br>
</div>I will try to integrate these scripts for you.<br>
<div><div></div><div class="h5"><br>
N.<br>
_______________________________________________<br>
wp-polyglots mailing list<br>
<a href="mailto:wp-polyglots@lists.automattic.com">wp-polyglots@lists.automattic.com</a><br>
<a href="http://lists.automattic.com/mailman/listinfo/wp-polyglots" target="_blank">http://lists.automattic.com/mailman/listinfo/wp-polyglots</a><br>
</div></div></blockquote></div><br>