Changeset 9604 for trunk/wp-admin/includes/template.php
- Timestamp:
- 11/11/2008 02:58:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r9596 r9604 205 205 $is_tag = $type == 'tag'; 206 206 $columns = $is_tag ? get_column_headers('tag') : get_column_headers('category'); 207 $hidden = (array) get_user_option( "manage-$type-columns-hidden" ); 207 $hidden = array_intersect( array_keys( $columns ), array_filter( (array) get_user_option( "manage-$type-columns-hidden" ) ) ); 208 $col_count = count($columns) - count($hidden); 208 209 $output = ''; ?> 209 210 210 211 <form method="get" action=""><table style="display: none"><tbody id="inlineedit"> 211 <tr id="inline-edit" style="display: none"><td colspan="8"> 212 <?php 212 <tr id="inline-edit" class="inline-edit-row" style="display: none"><td colspan="<?php echo $col_count; ?>"> 213 214 <fieldset><div class="inline-edit-col"> 215 <h4><?php _e( 'Quick Edit' ); ?></h4> 216 217 <label> 218 <span class="title"><?php _e( 'Name' ); ?></span> 219 <span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span> 220 </label> 221 222 <label> 223 <span class="title"><?php _e( 'Slug' ); ?></span> 224 <span class="input-text-wrap"><input type="text" name="slug" class="ptitle" value="" /></span> 225 </label> 226 227 <?php if ( 'category' == $type ) : ?> 228 229 <label> 230 <span class="title"><?php _e( 'Parent' ); ?></span> 231 <?php wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('None'))); ?> 232 </label> 233 234 <?php endif; // $type ?> 235 236 </div></fieldset> 237 238 <?php 239 240 $core_columns = array( 'cb' => true, 'description' => true, 'name' => true, 'slug' => true, 'posts' => true ); 213 241 214 242 foreach ( $columns as $column_name => $column_display_name ) { 215 $class = "class=\"$column_name column-$column_name quick-edit-div\""; 216 $style = in_array($column_name, $hidden) ? ' style="display:none;"' : ''; 217 $attributes = "$class$style"; 218 219 switch ($column_name) { 220 case 'cb': 221 break; 222 case 'description': 223 break; 224 case 'name': ?> 225 <div class="tax-name quick-edit-div"<?php echo $style ?> title="<?php _e('Name'); ?>"> 226 <div class="title"><?php _e('Name'); ?></div> 227 <div class="in"> 228 <input type="text" name="name" class="ptitle" value="" /> 229 </div> 230 </div> 231 <?php 232 233 $output .= "<td $attributes></td>"; 234 break; 235 case 'slug': ?> 236 <div class="tax-slug quick-edit-div"<?php echo $style ?> title="<?php _e('Slug'); ?>"> 237 <div class="title"><?php _e('Slug'); ?></div> 238 <div class="in"> 239 <input type="text" name="slug" class="ptitle" value="" /> 240 </div> 241 </div> 242 <?php 243 244 $output .= "<td $attributes></td>"; 245 break; 246 case 'posts': 247 if ( 'category' == $type ) { ?> 248 <div class="tax-parent quick-edit-div"<?php echo $style ?> title="<?php _e('Parent Category'); ?>"> 249 <div class="title"><?php _e('Parent Category'); ?></div> 250 <div class="in"> 251 <?php wp_dropdown_categories(array('hide_empty' => 0, 'name' => 'parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('None'))); ?> 252 </div> 253 </div> 254 <?php } 255 break; 256 } 257 } 258 ?> 259 <div class="clear"></div> 260 <div class="quick-edit-save"> 261 <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="button-secondary cancel"><?php _e('Cancel'); ?></a> 262 <a accesskey="s" href="#inline-edit" title="<?php _e('Save'); ?>" class="button-secondary save"><?php _e('Save'); ?></a> 243 if ( isset( $core_columns[$column_name] ) ) 244 continue; 245 do_action( 'quick_edit_custom_box', $column_name, $type ); 246 } 247 248 ?> 249 250 <p class="inline-edit-save submit"> 251 <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="cancel button-secondary alignleft"><?php _e('Cancel'); ?></a> 252 <a accesskey="s" href="#inline-edit" title="<?php _e('Save'); ?>" class="save button-primary alignright"><?php _e('Save'); ?></a> 263 253 <img class="waiting" style="display:none;" src="images/loading.gif" alt="" /> 264 254 <span class="error" style="display:none;"></span> 265 255 <?php wp_nonce_field( 'taxinlineeditnonce', '_inline_edit', false ); ?> 266 </div> 256 <br class="clear" /> 257 </p> 267 258 </td></tr> 268 259 </tbody></table></form> … … 887 878 888 879 $columns = $is_page ? wp_manage_pages_columns() : wp_manage_posts_columns(); 889 $hidden = (array) get_user_option( "manage-$type-columns-hidden" ); 890 $hidden_count = empty($hidden[0]) ? 0 : count($hidden); 891 $col_count = count($columns) - $hidden_count; 880 $hidden = array_intersect( array_keys( $columns ), array_filter( (array) get_user_option( "manage-$type-columns-hidden" ) ) ); 881 $col_count = count($columns) - count($hidden); 892 882 $m = ( isset($mode) && 'excerpt' == $mode ) ? 'excerpt' : 'list'; 893 $can_publish = current_user_can('publish_posts'); ?> 883 $can_publish = current_user_can('publish_posts'); 884 $core_columns = array( 'cb' => true, 'date' => true, 'title' => true, 'categories' => true, 'tags' => true, 'comments' => true, 'author' => true ); 885 886 ?> 894 887 895 888 <form method="get" action=""><table style="display: none"><tbody id="inlineedit"> … … 898 891 while ( $bulk < 2 ) { ?> 899 892 900 <tr id="<?php echo $bulk ? 'bulk-edit' : 'inline-edit'; ?>" style="display: none"><td colspan="<?php echo $col_count; ?>"> 901 <?php 902 foreach($columns as $column_name=>$column_display_name) { 903 $class = "class=\"$column_name column-$column_name quick-edit-div\""; 904 905 $style = ''; 906 if ( in_array($column_name, $hidden) ) 907 $style = ' style="display:none;"'; 908 909 $attributes = "$class$style"; 910 911 switch($column_name) { 912 case 'cb': 913 break; 914 915 case 'date': 916 if ( ! $bulk ) { ?> 917 <div <?php echo $attributes; ?> title="<?php _e('Timestamp'); ?>"> 918 <div class="title"><?php _e('Timestamp'); ?></div> 919 <div class="in"> 920 <?php touch_time(1, 1, 4, 1); ?> 921 </div> 922 </div> 923 <?php 924 } 925 break; 926 927 case 'title': 928 $attributes = "class=\"$type-title column-title quick-edit-div\"" . $style; ?> 929 <?php if ( $bulk ) { ?> 930 <div <?php echo $attributes; ?> id="bulk-title-div" title="<?php $is_page ? _e('Selected pages') : _e('Selected posts'); ?>"> 931 <div class="title"><?php $is_page ? _e('Selected pages') : _e('Selected posts'); ?></div> 932 <div class="in"> 933 <div id="bulk-titles"></div> 934 </div> 935 </div> 936 <?php } else { ?> 937 <div <?php echo $attributes ?>> 938 <div class="title"><?php _e('Title'); ?></div> 939 <div class="in"> 940 <label title="<?php _e('Title'); ?>"><input type="text" name="post_title" class="ptitle" value="" /></label><br /> 941 <div class="slug"> 942 <label title="<?php _e('Slug'); ?>"><?php _e('Slug'); ?><input type="text" name="post_name" value="" /></label></div> 943 </div> 944 </div> 945 <?php } ?> 946 947 <div class="status quick-edit-div" title="<?php _e('Status'); ?>"> 948 <div class="title"><?php _e('Status'); ?></div> 949 <div class="in"> 950 <select name="_status"> 951 <?php if ( $bulk ) { ?> 952 <option value="-1"><?php _e('- No Change -'); ?></option> 953 <?php if ( $can_publish ) { ?> 954 <option value="private"><?php _e('Private') ?></option> 955 <?php } ?> 956 <?php } ?> 957 <?php if ( $can_publish ) { // Contributors only get "Unpublished" and "Pending Review" ?> 958 <option value="publish"><?php _e('Published') ?></option> 959 <option value="future"><?php _e('Scheduled') ?></option> 960 <?php } ?> 961 <option value="pending"><?php _e('Pending Review') ?></option> 962 <option value="draft"><?php _e('Unpublished') ?></option> 963 </select> 964 <?php if ( !$is_page ) { ?> 965 <label title="<?php _e('Sticky') ?>"> 966 <input type="checkbox" name="sticky" value="sticky" /> <?php _e('Sticky') ?></label> 967 <?php } ?> 968 </div> 969 </div> 970 971 <?php if ( $is_page ) { ?> 972 <div class="parent quick-edit-div" title="<?php _e('Page Parent'); ?>"> 973 <div class="title"><?php _e('Page Parent'); ?></div> 974 <div class="in"> 975 <select name="post_parent"> 976 <?php if ( $bulk ) { ?> 977 <option value="-1"><?php _e('- No Change -'); ?></option> 978 <?php } ?> 979 <option value="0"><?php _e('Main Page (no parent)'); ?></option> 980 <?php parent_dropdown(); ?> 981 </select> 982 </div> 983 </div> 984 985 <div class="template quick-edit-div" title="<?php _e('Page Template'); ?>"> 986 <div class="title"><?php _e('Page Template'); ?></div> 987 <div class="in"> 988 <select name="page_template"> 989 <?php if ( $bulk ) { ?> 990 <option value="-1"><?php _e('- No Change -'); ?></option> 991 <?php } ?> 992 <option value="default"><?php _e('Default Template'); ?></option> 993 <?php page_template_dropdown() ?> 994 </select> 995 </div> 996 </div> 997 998 <?php if ( ! $bulk ) { ?> 999 <div class="order quick-edit-div" title="<?php _e('Page Order'); ?>"> 1000 <div class="title"><?php _e('Page Order'); ?></div> 1001 <div class="in"> 1002 <input type="text" name="menu_order" value="<?php echo $post->menu_order ?>" /> 1003 </div> 1004 </div> 1005 <?php } 1006 } 1007 1008 break; 1009 1010 case 'categories': ?> 1011 <?php if ( ! $bulk ) { ?> 1012 <div <?php echo $attributes ?> title="<?php _e('Categories'); ?>"> 1013 <div class="title"><?php _e('Categories'); ?> 1014 <span class="catshow"><?php _e('(expand)'); ?></span> 1015 <span class="cathide" style="display:none;"><?php _e('(fold)'); ?></span></div> 1016 <ul class="cat-checklist"> 1017 <?php wp_category_checklist(); ?> 1018 </ul> 1019 </div> 1020 <?php } 1021 break; 1022 1023 case 'tags': ?> 1024 <?php if ( ! $bulk ) { ?> 1025 <div <?php echo $attributes ?> title="<?php _e('Tags'); ?>"> 1026 <div class="title"><?php _e('Tags'); ?></div> 1027 <div class="in"> 1028 <textarea cols="22" rows="1" name="tags_input" class="tags_input"></textarea> 1029 </div> 1030 </div> 1031 <?php } 1032 break; 1033 1034 case 'comments': 1035 ?> 1036 <div <?php echo $attributes ?> title="<?php _e('Comments and Pings'); ?>"> 1037 <div class="title"><?php _e('Comments and Pings'); ?></div> 1038 <div class="in"> 1039 <?php if ( $bulk ) { ?> 1040 <select name="comment_status"> 1041 <option value=""><?php _e('- No Change -'); ?></option> 1042 <option value="open"><?php _e('Allow Comments'); ?></option> 1043 <option value="closed"><?php _e('Disallow Comments'); ?></option> 1044 </select> 1045 <select name="ping_status"> 1046 <option value=""><?php _e('- No Change -'); ?></option> 1047 <option value="open"><?php _e('Allow Pings'); ?></option> 1048 <option value="closed"><?php _e('Disallow Pings'); ?></option> 1049 </select> 1050 <?php } else { ?> 1051 <label><input type="checkbox" name="comment_status" value="open" /> 1052 <?php _e('Allow Comments'); ?></label><br /> 1053 <label><input type="checkbox" name="ping_status" value="open" /> 1054 <?php _e('Allow Pings'); ?></label> 1055 <?php } ?> 1056 </div> 1057 </div> 1058 <?php 1059 break; 1060 1061 case 'author': 1062 $authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM 1063 if ( $authors && count( $authors ) > 1 ) { ?> 1064 <div <?php echo $attributes ?> title="<?php _e('Author'); ?>"> 1065 <div class="title"><?php _e('Author'); ?></div> 1066 <div class="in"> 1067 <?php 1068 $users_opt = array('include' => $authors, 'name' => 'post_author', 'class'=> 'authors', 'multi' => 1); 1069 if ( $bulk ) $users_opt['show_option_none'] = __('- No Change -'); 1070 wp_dropdown_users( $users_opt ); ?> 1071 </div> 1072 </div> 1073 <?php } ?> 1074 1075 <?php if ( ! $bulk ) { ?> 1076 <div class="password quick-edit-div" title="<?php _e('Password'); ?>"> 1077 <div class="title"><?php _e('Password'); ?></div> 1078 <div class="in"> 1079 <input type="text" name="post_password" value="" /> 1080 <label title="<?php _e('Privacy'); ?>"> 1081 <input type="checkbox" name="keep_private" value="private" <?php checked($post->post_status, 'private'); ?> /> <?php echo $is_page ? __('Keep this page private') : __('Keep this post private'); ?></label> 1082 </div> 1083 </div> 1084 <?php } 1085 break; 1086 1087 default: 1088 if ( $bulk ) 1089 do_action('bulk_edit_custom_box', $column_name, $type); 1090 else 1091 do_action('quick_edit_custom_box', $column_name, $type); 1092 1093 break; 1094 } 1095 } ?> 1096 1097 <div class="clear"></div> 1098 <div class="quick-edit-save"> 1099 <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="button-secondary cancel"><?php _e('Cancel'); ?></a> 1100 <a accesskey="s" href="#inline-edit" title="<?php _e('Save'); ?>" class="button-secondary save"><?php _e('Save'); ?></a> 893 <tr id="<?php echo $bulk ? 'bulk-edit' : 'inline-edit'; ?>" class="inline-edit-row inline-edit-row-<?php echo "$type "; 894 echo $bulk ? "bulk-edit-row bulk-edit-row-$type" : "quick-edit-row quick-edit-row-$type"; 895 ?>" style="display: none"><td colspan="<?php echo $col_count; ?>"> 896 897 <fieldset class="inline-edit-col-left"><div class="inline-edit-col"> 898 <h4><?php echo $bulk ? __( 'Bulk Edit' ) : __( 'Quick Edit' ); ?></h4> 899 900 901 <?php if ( $bulk ) : ?> 902 <div id="bulk-title-div"> 903 <div id="bulk-titles"></div> 904 </div> 905 906 <?php else : // $bulk ?> 907 908 <label> 909 <span class="title"><?php _e( 'Title' ); ?></span> 910 <span class="input-text-wrap"><input type="text" name="post_title" class="ptitle" value="" /></span> 911 </label> 912 913 <?php endif; // $bulk ?> 914 915 916 <?php if ( !$bulk ) : ?> 917 918 <label> 919 <span class="title"><?php _e( 'Slug' ); ?></span> 920 <span class="input-text-wrap"><input type="text" name="post_name" value="" /></span> 921 </label> 922 923 <label><span class="title"><?php _e( 'Date' ); ?></span></label> 924 <div class="inline-edit-date"> 925 <?php touch_time(1, 1, 4, 1); ?> 926 </div> 927 <br class="clear" /> 928 929 <?php endif; // $bulk 930 931 ob_start(); 932 $authors = get_editable_user_ids( $current_user->id ); // TODO: ROLE SYSTEM 933 if ( $authors && count( $authors ) > 1 ) : 934 $users_opt = array('include' => $authors, 'name' => 'post_author', 'class'=> 'authors', 'multi' => 1); 935 if ( $bulk ) 936 $users_opt['show_option_none'] = __('- No Change -'); 937 ?> 938 <label> 939 <span class="title"><?php _e( 'Author' ); ?></span> 940 <?php wp_dropdown_users( $users_opt ); ?> 941 </label> 942 943 <?php 944 endif; // authors 945 $authors_dropdown = ob_get_clean(); 946 ?> 947 948 <?php if ( !$bulk ) : echo $authors_dropdown; ?> 949 950 <div class="inline-edit-group"> 951 <label class="alignleft"> 952 <span class="title"><?php _e( 'Password' ); ?></span> 953 <span class="input-text-wrap"><input type="text" name="post_password" class="inline-edit-password-input" value="" /></span> 954 </label> 955 956 <label class="alignleft inline-edit-private"> 957 <input type="checkbox" name="keep_private" value="private" <?php checked($post->post_status, 'private'); ?> /> 958 <span class="checkbox-title"><?php echo $is_page ? __('Private page') : __('Private post'); ?></span> 959 </label> 960 </div> 961 962 <?php endif; ?> 963 964 </div></fieldset> 965 966 <?php if ( !$is_page && !$bulk ) : ?> 967 968 <fieldset class="inline-edit-col-center inline-edit-categories"><div class="inline-edit-col"> 969 <span class="title inline-edit-categories-label"><?php _e( 'Categories' ); ?> 970 <span class="catshow"><?php _e('[more]'); ?></span> 971 <span class="cathide" style="display:none;"><?php _e('[less]'); ?></span> 972 </span> 973 <ul class="cat-checklist"> 974 <?php wp_category_checklist(); ?> 975 </ul> 976 </div></fieldset> 977 978 <?php endif; // !$is_page && !$bulk ?> 979 980 <fieldset class="inline-edit-col-right"><div class="inline-edit-col"> 981 982 <?php 983 if ( $bulk ) 984 echo $authors_dropdown; 985 ?> 986 987 <?php if ( $is_page ) : ?> 988 989 <label> 990 <span class="title"><?php _e( 'Parent' ); ?></span> 991 <select name="post_parent"> 992 <?php if ( $bulk ) : ?> 993 <option value="-1"><?php _e('- No Change -'); ?></option> 994 <?php endif; // $bulk ?> 995 <option value="0"><?php _e( 'Main Page (no parent)' ); ?></option> 996 <?php parent_dropdown(); ?> 997 </select> 998 </label> 999 1000 <?php if ( !$bulk ) : ?> 1001 1002 <label> 1003 <span class="title"><?php _e( 'Order' ); ?></span> 1004 <span class="input-text-wrap"><input type="text" name="menu_order" class="inline-edit-menu-order-input" value="<?php echo $post->menu_order ?>" /></span> 1005 </label> 1006 1007 <?php endif; // !$bulk ?> 1008 1009 <label> 1010 <span class="title"><?php _e( 'Template' ); ?></span> 1011 <select name="page_template"> 1012 <?php if ( $bulk ) : ?> 1013 <option value="-1"><?php _e('- No Change -'); ?></option> 1014 <?php endif; // $bulk ?> 1015 <option value="default"><?php _e( 'Default Template' ); ?></option> 1016 <?php page_template_dropdown() ?> 1017 </select> 1018 </label> 1019 1020 <?php elseif ( !$bulk ) : // $is_page ?> 1021 1022 <label class="inline-edit-tags"> 1023 <span class="title"><?php _e( 'Tags' ); ?></span> 1024 <textarea cols="22" rows="1" name="tags_input" class="tags_input"></textarea> 1025 </label> 1026 1027 <?php endif; // $is_page ?> 1028 1029 <?php if ( $bulk ) : ?> 1030 1031 <div class="inline-edit-group"> 1032 <label class="alignleft"> 1033 <span class="title"><?php _e( 'Comments' ); ?></span> 1034 <select name="comment_status"> 1035 <option value=""><?php _e('- No Change -'); ?></option> 1036 <option value="open"><?php _e('Allow'); ?></option> 1037 <option value="closed"><?php _e('Do not allow'); ?></option> 1038 </select> 1039 </label> 1040 1041 <label class="alignright"> 1042 <span class="title"><?php _e( 'Pings' ); ?></span> 1043 <select name="ping_status"> 1044 <option value=""><?php _e('- No Change -'); ?></option> 1045 <option value="open"><?php _e('Allow'); ?></option> 1046 <option value="closed"><?php _e('Do not allow'); ?></option> 1047 </select> 1048 </label> 1049 </div> 1050 1051 <?php else : // $bulk ?> 1052 1053 <div class="inline-edit-group"> 1054 <label class="alignleft"> 1055 <input type="checkbox" name="comment_status" value="open" /> 1056 <span class="checkbox-title"><?php _e( 'Allow Comments' ); ?></span> 1057 </label> 1058 1059 <label class="alignleft"> 1060 <input type="checkbox" name="ping_status" value="open" /> 1061 <span class="checkbox-title"><?php _e( 'Allow Pings' ); ?></span> 1062 </label> 1063 </div> 1064 1065 <?php endif; // $bulk ?> 1066 1067 1068 <div class="inline-edit-group"> 1069 <label class="inline-edit-status alignleft"> 1070 <span class="title"><?php _e( 'Status' ); ?></span> 1071 <select name="_status"> 1072 <?php if ( $bulk ) : ?> 1073 <option value="-1"><?php _e('- No Change -'); ?></option> 1074 <?php endif; // $bulk ?> 1075 <?php if ( $can_publish ) : // Contributors only get "Unpublished" and "Pending Review" ?> 1076 <option value="publish"><?php _e( 'Published' ); ?></option> 1077 <option value="future"><?php _e( 'Scheduled' ); ?></option> 1078 <?php if ( $bulk ) : ?> 1079 <option value="private"><?php _e('Private') ?></option> 1080 <?php endif; // $bulk ?> 1081 <?php endif; ?> 1082 <option value="pending"><?php _e( 'Pending Review' ); ?></option> 1083 <option value="draft"><?php _e( 'Unpublished' ); ?></option> 1084 </select> 1085 </label> 1086 1087 <?php if ( !$is_page && $can_publish && current_user_can( 'edit_others_posts' ) ) : ?> 1088 1089 <?php if ( $bulk ) : ?> 1090 1091 <label class="alignright"> 1092 <span class="title"><?php _e( 'Sticky' ); ?></span> 1093 <select name="sticky"> 1094 <option value="-1"><?php _e( '- No Change -' ); ?></option> 1095 <option value="sticky"><?php _e( 'Sticky' ); ?></option> 1096 <option value="unsticky"><?php _e( 'Not Sticky' ); ?></option> 1097 </select> 1098 </label> 1099 1100 <?php else : // $bulk ?> 1101 1102 <label class="alignleft"> 1103 <input type="checkbox" name="sticky" value="sticky" /> 1104 <span class="checkbox-title"><?php _e( 'Make this post sticky' ); ?></span> 1105 </label> 1106 1107 <?php endif; // $bulk ?> 1108 1109 <?php endif; // !$is_page && $can_publish && current_user_can( 'edit_others_posts' ) ?> 1110 1111 </div> 1112 1113 </div></fieldset> 1114 1115 <?php 1116 foreach ( $columns as $column_name => $column_display_name ) { 1117 if ( isset( $core_columns[$column_name] ) ) 1118 continue; 1119 do_action( $bulk ? 'bulk_edit_custom_box' : 'quick_edit_custom_box', $column_name, $type); 1120 } 1121 ?> 1122 <p class="submit inline-edit-save"> 1123 <a accesskey="c" href="#inline-edit" title="<?php _e('Cancel'); ?>" class="button-secondary cancel alignleft"><?php _e('Cancel'); ?></a> 1124 <a accesskey="s" href="#inline-edit" title="<?php _e('Save'); ?>" class="button-primary save alignright"><?php _e('Save'); ?></a> 1101 1125 <?php if ( ! $bulk ) { 1102 1126 wp_nonce_field( 'inlineeditnonce', '_inline_edit', false ); ?> … … 1104 1128 <?php } ?> 1105 1129 <input type="hidden" name="post_view" value="<?php echo $m; ?>" /> 1106 </div> 1130 <br class="clear" /> 1131 </p> 1107 1132 </td></tr> 1108 1133 <?php … … 2031 2056 <div id="replycontainer"><textarea rows="8" cols="40" name="replycontent" tabindex="104" id="replycontent"></textarea></div> 2032 2057 2033 <p id="replysubmit" >2034 <a href="#comments-form" class="cancel button " tabindex="106"><?php _e('Cancel'); ?></a>2035 <a href="#comments-form" class="save button " tabindex="104">2058 <p id="replysubmit" class="submit"> 2059 <a href="#comments-form" class="cancel button-secondary alignleft" tabindex="106"><?php _e('Cancel'); ?></a> 2060 <a href="#comments-form" class="save button-primary alignright" tabindex="104"> 2036 2061 <span id="savebtn" style="display:none;"><?php _e('Save'); ?></span> 2037 2062 <span id="replybtn" style="display:none;"><?php _e('Submit Reply'); ?></span></a> 2038 2063 <img class="waiting" style="display:none;" src="images/loading.gif" alt="" /> 2039 2064 <span class="error" style="display:none;"></span> 2065 <br class="clear" /> 2040 2066 </p> 2041 2067
Note: See TracChangeset
for help on using the changeset viewer.