- 1F02D5CBEBD151B0228F06B080B918301DB8A696EF65A202A429B3D78CD3F3482B932B68B0315FAAA18151A5F5397C2B7F206B8E8A9B5A4B3C07D870060640B0
+ 42D6CFF8F839C42BF2B28AD254BFEAEEE62B03AAA893F4EB60C9ABA6B4BD1D2F2FEDB03043649F08EB55DFCE09866A944374E499D5B871AAF142E73FFA011842
mp-wp/wp-admin/options-general.php
(12 . 39)(12 . 6)
29419 $title = __('General Settings');
29420 $parent_file = 'options-general.php';
29421
29422 /**
29423 * Display JavaScript on the page.
29424 *
29425 * @package WordPress
29426 * @subpackage General_Settings_Panel
29427 */
29428 function add_js() {
29429 ?>
29430 <script type="text/javascript">
29431 //<![CDATA[
29432 jQuery(document).ready(function($){
29433 $("input[name='date_format']").click(function(){
29434 if ( "date_format_custom_radio" != $(this).attr("id") )
29435 $("input[name='date_format_custom']").val( $(this).val() );
29436 });
29437 $("input[name='date_format_custom']").focus(function(){
29438 $("#date_format_custom_radio").attr("checked", "checked");
29439 });
29440
29441 $("input[name='time_format']").click(function(){
29442 if ( "time_format_custom_radio" != $(this).attr("id") )
29443 $("input[name='time_format_custom']").val( $(this).val() );
29444 });
29445 $("input[name='time_format_custom']").focus(function(){
29446 $("#time_format_custom_radio").attr("checked", "checked");
29447 });
29448 });
29449 //]]>
29450 </script>
29451 <?php
29452 }
29453 add_filter('admin_head', 'add_js');
29454
29455 include('./admin-header.php');
29456 ?>
29457