Changeset 876146
- Timestamp:
- 03/16/2014 08:50:32 AM (12 years ago)
- Location:
- invoice-king-pro
- Files:
-
- 100 added
- 9 edited
-
tags/1.1.3 (added)
-
tags/1.1.3/css (added)
-
tags/1.1.3/css/font-awesome.min.css (added)
-
tags/1.1.3/css/invoicekingpro-styles.css (added)
-
tags/1.1.3/css/jquery-ui.css (added)
-
tags/1.1.3/fonts (added)
-
tags/1.1.3/fonts/FontAwesome.otf (added)
-
tags/1.1.3/fonts/fontawesome-webfont.eot (added)
-
tags/1.1.3/fonts/fontawesome-webfont.svg (added)
-
tags/1.1.3/fonts/fontawesome-webfont.ttf (added)
-
tags/1.1.3/fonts/fontawesome-webfont.woff (added)
-
tags/1.1.3/images (added)
-
tags/1.1.3/images/addon-attachments.jpg (added)
-
tags/1.1.3/images/addon-recurring.jpg (added)
-
tags/1.1.3/images/clean-invoice-theme.png (added)
-
tags/1.1.3/images/cross.png (added)
-
tags/1.1.3/images/default-with-image-invoice-theme.png (added)
-
tags/1.1.3/images/invkp-icon_16x16.png (added)
-
tags/1.1.3/images/invkp-icon_16x16_sat.png (added)
-
tags/1.1.3/images/invkp-icon_32x32.png (added)
-
tags/1.1.3/images/invkp-icon_32x32_sat.png (added)
-
tags/1.1.3/images/kpp-icon_16x16.png (added)
-
tags/1.1.3/images/kpp-icon_16x16_sat.png (added)
-
tags/1.1.3/images/kpp-icon_32x32.png (added)
-
tags/1.1.3/images/kpp-icon_32x32_sat.png (added)
-
tags/1.1.3/images/kpp_akp.jpg (added)
-
tags/1.1.3/images/kpp_dkp.jpg (added)
-
tags/1.1.3/images/kpp_invkp.jpg (added)
-
tags/1.1.3/images/kpp_relkp.jpg (added)
-
tags/1.1.3/images/kpp_rsskp.jpg (added)
-
tags/1.1.3/images/kpp_smtpkp.jpg (added)
-
tags/1.1.3/images/plus.png (added)
-
tags/1.1.3/images/tick.png (added)
-
tags/1.1.3/includes (added)
-
tags/1.1.3/includes/admin_area.php (added)
-
tags/1.1.3/includes/invoice_html.php (added)
-
tags/1.1.3/includes/pdf.php (added)
-
tags/1.1.3/includes/screens (added)
-
tags/1.1.3/includes/screens/kpp.php (added)
-
tags/1.1.3/includes/screens/settings.php (added)
-
tags/1.1.3/invoicekingpro.php (added)
-
tags/1.1.3/js (added)
-
tags/1.1.3/js/invoicekingpro-admin-functions.js (added)
-
tags/1.1.3/js/invoicekingpro-js.php (added)
-
tags/1.1.3/js/jquery.elastic.source.js (added)
-
tags/1.1.3/outputs (added)
-
tags/1.1.3/packages (added)
-
tags/1.1.3/packages/fpdf (added)
-
tags/1.1.3/packages/fpdf/font (added)
-
tags/1.1.3/packages/fpdf/font/courier.php (added)
-
tags/1.1.3/packages/fpdf/font/flora.php (added)
-
tags/1.1.3/packages/fpdf/font/flora.z (added)
-
tags/1.1.3/packages/fpdf/font/flora_bo.php (added)
-
tags/1.1.3/packages/fpdf/font/flora_bo.z (added)
-
tags/1.1.3/packages/fpdf/font/helvetica.php (added)
-
tags/1.1.3/packages/fpdf/font/helveticab.php (added)
-
tags/1.1.3/packages/fpdf/font/helveticabi.php (added)
-
tags/1.1.3/packages/fpdf/font/helveticai.php (added)
-
tags/1.1.3/packages/fpdf/font/helveticaneuebdit.php (added)
-
tags/1.1.3/packages/fpdf/font/helveticaneuebdit.z (added)
-
tags/1.1.3/packages/fpdf/font/helveticaneueit.php (added)
-
tags/1.1.3/packages/fpdf/font/helveticaneueit.z (added)
-
tags/1.1.3/packages/fpdf/font/helveticaneuelt.php (added)
-
tags/1.1.3/packages/fpdf/font/helveticaneuelt.z (added)
-
tags/1.1.3/packages/fpdf/font/makefont (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp1250.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp1251.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp1252.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp1253.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp1254.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp1255.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp1257.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp1258.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/cp874.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-1.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-11.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-15.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-16.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-2.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-4.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-5.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-7.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/iso-8859-9.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/koi8-r.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/koi8-u.map (added)
-
tags/1.1.3/packages/fpdf/font/makefont/makefont.php (added)
-
tags/1.1.3/packages/fpdf/font/symbol.php (added)
-
tags/1.1.3/packages/fpdf/font/times.php (added)
-
tags/1.1.3/packages/fpdf/font/timesb.php (added)
-
tags/1.1.3/packages/fpdf/font/timesbi.php (added)
-
tags/1.1.3/packages/fpdf/font/timesi.php (added)
-
tags/1.1.3/packages/fpdf/font/zapfdingbats.php (added)
-
tags/1.1.3/packages/fpdf/fpdf.php (added)
-
tags/1.1.3/readme.txt (added)
-
tags/1.1.3/themes (added)
-
tags/1.1.3/themes/default (added)
-
tags/1.1.3/themes/default/invoice_html.php (added)
-
tags/1.1.3/themes/default/pdf.php (added)
-
tags/1.1.3/themes/default/styles.css (added)
-
tags/1.1.3/themes/default/version (added)
-
trunk/includes/admin_area.php (modified) (24 diffs)
-
trunk/includes/invoice_html.php (modified) (3 diffs)
-
trunk/includes/pdf.php (modified) (1 diff)
-
trunk/includes/screens/kpp.php (modified) (3 diffs)
-
trunk/includes/screens/settings.php (modified) (44 diffs)
-
trunk/invoicekingpro.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/themes/default/invoice_html.php (modified) (3 diffs)
-
trunk/themes/default/version (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
invoice-king-pro/trunk/includes/admin_area.php
r811307 r876146 31 31 if (!empty($current_version)) { 32 32 $notice = get_option('invkp_theme_version_update_notice'); 33 $notice[$f] = "There is a new version of the invoice theme <strong>".ucfirst(str_replace(array('-', '_'), ' ', $f))."</strong>. Please make sure you up have the latest version of Invoice King Pro before downloading and installing your updated theme. <a href='http://kingpro.me/download_theme.php?k=".$current_version."'>Please download the new version here</a><br /><br /><a href='".admin_url('admin.php?action=invkpcheckthemeversion&theme='.$f)."'>Have you just installed this?</a>";33 $notice[$f] = __("There is a new version of the invoice theme", "invkptext")." <strong>".ucfirst(str_replace(array('-', '_'), ' ', $f))."</strong>. ".__("Please make sure you up have the latest version of Invoice King Pro before downloading and installing your updated theme.", "invkptext")." <a href='http://kingpro.me/download_theme.php?k=".$current_version."'>".__("Please download the new version here", "invkptext")."</a><br /><br /><a href='".admin_url('admin.php?action=invkpcheckthemeversion&theme='.$f)."'>".__("Have you just installed this?", "invkptext")."</a>"; 34 34 update_option('invkp_theme_version_update_notice', $notice); 35 35 } … … 80 80 foreach ($theme_notices as $note) : ?> 81 81 <div class="error"> 82 <p><?php _e( $note, 'invkp _text' ); ?></p>82 <p><?php _e( $note, 'invkptext' ); ?></p> 83 83 </div> 84 84 <?php endforeach; … … 93 93 ?> 94 94 <div class="error"> 95 <p><?php _e( "Your email could not be sent. Please check the email address and try again.", 'invkp _text' ); ?></p>95 <p><?php _e( "Your email could not be sent. Please check the email address and try again.", 'invkptext' ); ?></p> 96 96 </div> 97 97 <?php … … 99 99 ?> 100 100 <div class="updated"> 101 <p><?php _e( "Email sent successfully!", 'invkp _text' ); ?></p>101 <p><?php _e( "Email sent successfully!", 'invkptext' ); ?></p> 102 102 </div> 103 103 <?php … … 125 125 add_option( 'invkp_attn_name_label', 'Attn:' ); 126 126 add_option( 'invkp_tax_label', 'GST' ); 127 add_option( 'invkp_subtotal_label', 'Subtotal' ); 128 add_option( 'invkp_discount_label', 'Discount' ); 129 add_option( 'invkp_total_label', 'Total' ); 127 130 128 131 add_option( 'invkp_open_content_1', ''); … … 148 151 add_option( 'invkp_from', get_bloginfo('name')); 149 152 add_option( 'invkp_from_email', get_bloginfo('admin_email')); 150 add_option( 'invkp_email_subject', "{{invoice_type}} From".get_bloginfo('name'));151 $message = "Hi{{client_name}},"."\r\n\r\n";152 $message .= 'Please find attached the {{invoice_type}} for ${{invoice_total}}.'."\r\n\r\n";153 154 $message .= "Regards,"."\r\n";153 add_option( 'invkp_email_subject', "{{invoice_type}} ".__('From', "invkptext")." ".get_bloginfo('name')); 154 $message = __("Hi", "invkptext")." {{client_name}},"."\r\n\r\n"; 155 $message .= __('Please find attached the', "invkptext").' {{invoice_type}} '.__('for $', "invkptext").'{{invoice_total}}.'."\r\n\r\n"; 156 157 $message .= __("Regards,", "invkptext")."\r\n"; 155 158 $message .= get_bloginfo('name'); 156 159 add_option( 'invkp_email_message', $message); 157 add_option( 'invkp_paid_email_subject', "{{invoice_type}} From".get_bloginfo('name'));158 $message = "Hi{{client_name}},"."\r\n\r\n";159 $message .= 'Please find attached the {{invoice_type}} for{{invoice_number_label}}{{invoice_number}}.'."\r\n";160 $message .= 'Thank you for your business'."\r\n\r\n";161 162 $message .= "Regards,"."\r\n";160 add_option( 'invkp_paid_email_subject', "{{invoice_type}} ".__("From", "invkptext")." ".get_bloginfo('name')); 161 $message = __("Hi", "invkptext")." {{client_name}},"."\r\n\r\n"; 162 $message .= __('Please find attached the', "invkptext").' {{invoice_type}} '.__('for', "invkptext").' {{invoice_number_label}}{{invoice_number}}.'."\r\n"; 163 $message .= __('Thank you for your business', "invkptext")."\r\n\r\n"; 164 165 $message .= __("Regards,", "invkptext")."\r\n"; 163 166 $message .= get_bloginfo('name'); 164 167 add_option( 'invkp_paid_email_message', $message); … … 174 177 array( 175 178 'labels' => array( 176 'name' => __( 'Invoices' ),177 'singular_name' => __( 'Invoice' ),178 'all_items'=> 'All Invoices',179 'edit_item'=> 'Edit Invoice',180 'update_item'=> 'Update Invoice',181 'add_new_item'=> 'Add New Invoice',182 'new_item_name'=> 'New Invoice',183 'add_new' => 'Add New',184 'new_item' => 'New Invoice',185 'view_item' => 'View Invoice',186 'search_items' => 'Search Invoices',187 'not_found' => 'No invoices found',188 'not_found_in_trash' => 'No invoices found in Trash',179 'name' => __( 'Invoices', "invkptext"), 180 'singular_name' => __( 'Invoice', "invkptext"), 181 'all_items'=> __('All Invoices', "invkptext"), 182 'edit_item'=>__('Edit Invoice', "invkptext"), 183 'update_item'=>__('Update Invoice', "invkptext"), 184 'add_new_item'=>__('Add New Invoice', "invkptext"), 185 'new_item_name'=>__('New Invoice', "invkptext"), 186 'add_new' => __('Add New', "invkptext"), 187 'new_item' => __('New Invoice', "invkptext"), 188 'view_item' => __('View Invoice', "invkptext"), 189 'search_items' => __('Search Invoices', "invkptext"), 190 'not_found' => __('No invoices found', "invkptext"), 191 'not_found_in_trash' => __('No invoices found in Trash', "invkptext"), 189 192 'parent_item_colon' => '', 190 'menu_name' => 'Invoices'193 'menu_name' => __('Invoices', "invkptext") 191 194 ), 192 195 'public' => true, … … 200 203 array( 201 204 'labels' => array( 202 'name' => __( 'Clients' ),203 'singular_name' => __( 'Client' ),204 'all_items'=> 'All Clients',205 'edit_item'=> 'Edit Client',206 'update_item'=> 'Update Client',207 'add_new_item'=> 'Add New Client',208 'new_item_name'=> 'New Client',209 'add_new' => 'Add New',210 'new_item' => 'New Client',211 'view_item' => 'View Client',212 'search_items' => 'Search Clients',213 'not_found' => 'No clients found',214 'not_found_in_trash' => 'No clients found in Trash',205 'name' => __( 'Clients', "invkptext"), 206 'singular_name' => __( 'Client', "invkptext"), 207 'all_items'=>__('All Clients', "invkptext"), 208 'edit_item'=>__('Edit Client', "invkptext"), 209 'update_item'=>__('Update Client', "invkptext"), 210 'add_new_item'=>__('Add New Client', "invkptext"), 211 'new_item_name'=>__('New Client', "invkptext"), 212 'add_new' => __('Add New', "invkptext"), 213 'new_item' => __('New Client', "invkptext"), 214 'view_item' => __('View Client', "invkptext"), 215 'search_items' => __('Search Clients', "invkptext"), 216 'not_found' => __('No clients found', "invkptext"), 217 'not_found_in_trash' => __('No clients found in Trash', "invkptext"), 215 218 'parent_item_colon' => '', 216 'menu_name' => 'Clients'219 'menu_name' => __('Clients', "invkptext") 217 220 ), 218 221 'public' => true, … … 235 238 background: url(<?= plugins_url('/images/kpp-icon_16x16.png', dirname(__FILE__)) ?>) no-repeat center center !important; 236 239 } 240 #toplevel_page_kpp_menu .wp-menu-image:before {display: none;} 237 241 #icon-options-general.icon32-posts-kpp_menu, #icon-kpp_menu.icon32 {background: url(<?= plugins_url('/images/kpp-icon_32x32.png', dirname(__FILE__)) ?>) no-repeat;} 238 242 … … 243 247 background: url(<?= plugins_url('/images/invkp-icon_16x16.png', dirname(__FILE__)) ?>) no-repeat center center !important; 244 248 } 249 #menu-posts-invkp_invoices .wp-menu-image:before {display: none;} 245 250 #icon-edit.icon32-posts-invkp_invoices {background: url(<?= plugins_url('/images/invkp-icon_32x32_sat.png', dirname(__FILE__)) ?>) no-repeat;} 246 251 </style> … … 253 258 $columns = array( 254 259 'cb' => '<input type="checkbox" />', 255 'title' => __( 'Description' ),256 'invoice_no' => __('Invoice No.' ),257 'client' => __( 'Client' ),258 'total' => __( 'Total' ),259 'invoice_paid' => __( 'Paid?' ),260 'date' => __( 'Date' ),260 'title' => __( 'Description' , "invkptext"), 261 'invoice_no' => __('Invoice No.', "invkptext"), 262 'client' => __( 'Client' , "invkptext"), 263 'total' => __( 'Total' , "invkptext"), 264 'invoice_paid' => __( 'Paid?' , "invkptext"), 265 'date' => __( 'Date' , "invkptext"), 261 266 ); 262 267 … … 301 306 $columns = array( 302 307 'cb' => '<input type="checkbox" />', 303 'title' => __( 'Company Name' ), 304 'email' => __( 'Attached Email' ), 305 'invoices_attached' => __( 'Invoices' ), 308 'name' => __( 'Client Name', "invkptext" ), 309 'title' => __( 'Company Name' , "invkptext"), 310 'email' => __( 'Attached Email' , "invkptext"), 311 'invoices_attached' => __( 'Invoices' , "invkptext"), 306 312 ); 307 313 … … 313 319 function invkp_client_columns($column_name, $ID) { 314 320 switch ($column_name) { 321 case 'name' : 322 // Get client email 323 $email = get_post_meta($ID, 'invkp_client_attn_name'); 324 echo $email[0]; 325 break; 326 315 327 case 'email' : 316 328 // Get client email … … 337 349 $paid_invoice = get_post_meta($post->ID, 'invkp_paid_invoice'); 338 350 if (!empty($paid_invoice) && $paid_invoice[0] == 1) 339 $actions['markunpaid'] = '<a href=\''.admin_url('admin.php?action=invkpmarkunpaid&post='.$post->ID).'\'> Mark Unpaid</a>';351 $actions['markunpaid'] = '<a href=\''.admin_url('admin.php?action=invkpmarkunpaid&post='.$post->ID).'\'>'.__("Mark Unpaid", "invkptext").'</a>'; 340 352 else 341 $actions['markpaid'] = '<a href=\''.admin_url('admin.php?action=invkpmarkpaid&post='.$post->ID).'\'> Mark Paid</a>';342 $actions['viewpdf'] = '<a href=\''.admin_url('admin.php?action=invkpviewpdf&post='.$post->ID).'\' target=\'blank\'> View PDF</a>';343 $actions['emailpdf'] = '<a href=\''.admin_url('admin.php?action=invkpemailpdf&post='.$post->ID).'\'> Email PDF</a>';353 $actions['markpaid'] = '<a href=\''.admin_url('admin.php?action=invkpmarkpaid&post='.$post->ID).'\'>'.__("Mark Paid", "invkptext").'</a>'; 354 $actions['viewpdf'] = '<a href=\''.admin_url('admin.php?action=invkpviewpdf&post='.$post->ID).'\' target=\'blank\'>'.__('View PDF', "invkptext").'</a>'; 355 $actions['emailpdf'] = '<a href=\''.admin_url('admin.php?action=invkpemailpdf&post='.$post->ID).'\'>'.__('Email PDF', "invkptext").'</a>'; 344 356 } 345 357 return $actions; … … 383 395 $currency_symbol = get_option('invkp_revenue_currency'); 384 396 $tax_label = get_option("invkp_tax_label"); 397 $subtotal_label = get_option("invkp_subtotal_label"); 398 $discount_label = get_option("invkp_discount_label"); 399 $total_label = get_option("invkp_total_label"); 385 400 $paid_label = get_option("invkp_paid_invoice_type"); 386 401 $paid_watermark = get_option('invkp_paid_watermark'); … … 432 447 $currency_symbol = get_option('invkp_revenue_currency'); 433 448 $tax_label = get_option("invkp_tax_label"); 449 $subtotal_label = get_option("invkp_subtotal_label"); 450 $discount_label = get_option("invkp_discount_label"); 451 $total_label = get_option("invkp_total_label"); 434 452 $paid_label = get_option("invkp_paid_invoice_type"); 435 453 $paid_watermark = get_option('invkp_paid_watermark'); … … 492 510 global $post; 493 511 if($post->post_type == 'invkp_invoices') 494 return $title = 'Invoice Description for your convinence';512 return $title = __('Invoice Description for your convinence', "invkptext"); 495 513 if($post->post_type == 'invkp_clients') 496 return $title = 'Company Name';514 return $title = __('Company Name', "invkptext"); 497 515 return $title; 498 516 } … … 502 520 function invkp_change_meta_boxes() 503 521 { 504 add_meta_box('postinvoicedatadiv', __('Invoice' ), 'invkp_post_invoice', 'invkp_invoices', 'advanced', 'high');505 add_meta_box('postinvoiceoptionsdatadiv', __('Invoice Options' ), 'invkp_post_invoice_options', 'invkp_invoices', 'side', 'high');506 add_meta_box('postinvoiceclientdatadiv', __('Client Details' ), 'invkp_post_client_details', 'invkp_invoices', 'side', 'high');507 508 add_meta_box('postclientdatadiv', __('Client Details' ), 'invkp_post_client', 'invkp_clients', 'advanced', 'high');522 add_meta_box('postinvoicedatadiv', __('Invoice', "invkptext"), 'invkp_post_invoice', 'invkp_invoices', 'advanced', 'high'); 523 add_meta_box('postinvoiceoptionsdatadiv', __('Invoice Options', "invkptext"), 'invkp_post_invoice_options', 'invkp_invoices', 'side', 'high'); 524 add_meta_box('postinvoiceclientdatadiv', __('Client Details', "invkptext"), 'invkp_post_client_details', 'invkp_invoices', 'side', 'high'); 525 526 add_meta_box('postclientdatadiv', __('Client Details', "invkptext"), 'invkp_post_client', 'invkp_clients', 'advanced', 'high'); 509 527 do_action('invkp_additional_invoice_meta_box'); 510 528 } … … 518 536 $inv_nonce = wp_create_nonce(basename(__FILE__)); 519 537 echo '<input type="hidden" name="invkp_client_meta_box_nonce" value="'.$inv_nonce.'" />'; 520 echo '<div><label> Company Contact Name:</label><input type="text" name="invkp_client_attn_name" value="'.$custom_fields['invkp_client_attn_name'][0].'" /></div>';521 echo '<div><label> Address:</label><input type="text" name="invkp_client_address" value="'.$custom_fields['invkp_client_address'][0].'" /></div>';522 echo '<div class="left"><label> Suburb:</label><input type="text" name="invkp_client_suburb" value="'.$custom_fields['invkp_client_suburb'][0].'" /></div>';523 echo '<div class="right"><label> State:</label><input type="text" name="invkp_client_state" value="'.$custom_fields['invkp_client_state'][0].'" /></div>';524 echo '<div class="left"><label> Postcode/Zip:</label><input type="text" name="invkp_client_postcode" value="'.$custom_fields['invkp_client_postcode'][0].'" /></div>';525 echo '<div class="left"><label> Email:</label><input type="text" name="invkp_client_email" value="'.$custom_fields['invkp_client_email'][0].'" /></div>';526 echo '<div class="right"><label> Phone:</label><input type="text" name="invkp_client_phone" value="'.$custom_fields['invkp_client_phone'][0].'" /></div>';538 echo '<div><label>'.__('Company Contact Name', "invkptext").':</label><input type="text" name="invkp_client_attn_name" value="'.$custom_fields['invkp_client_attn_name'][0].'" /></div>'; 539 echo '<div><label>'.__('Address', "invkptext").':</label><input type="text" name="invkp_client_address" value="'.$custom_fields['invkp_client_address'][0].'" /></div>'; 540 echo '<div class="left"><label>'.__('Suburb', "invkptext").':</label><input type="text" name="invkp_client_suburb" value="'.$custom_fields['invkp_client_suburb'][0].'" /></div>'; 541 echo '<div class="right"><label>'.__('State', "invkptext").':</label><input type="text" name="invkp_client_state" value="'.$custom_fields['invkp_client_state'][0].'" /></div>'; 542 echo '<div class="left"><label>'.__('Postcode/Zip', "invkptext").':</label><input type="text" name="invkp_client_postcode" value="'.$custom_fields['invkp_client_postcode'][0].'" /></div>'; 543 echo '<div class="left"><label>'.__('Email', "invkptext").':</label><input type="text" name="invkp_client_email" value="'.$custom_fields['invkp_client_email'][0].'" /></div>'; 544 echo '<div class="right"><label>'.__('Phone', "invkptext").':</label><input type="text" name="invkp_client_phone" value="'.$custom_fields['invkp_client_phone'][0].'" /></div>'; 527 545 } 528 546 … … 557 575 else $subtotal_col = get_option('invkp_calculate_subtotal'); 558 576 if (!isset($calc_ops[0])) { 559 echo "Please visit the settings page to setup your defaults for the invoice";577 echo __("Please visit the settings page to setup your defaults for the invoice", "invkptext"); 560 578 echo "<br /><br />"; 561 echo "<a href='".admin_url('/ options-general.php?page=invoicekingpro')."'>Settings Page</a>";579 echo "<a href='".admin_url('/admin.php?page=invoicekingpro')."'>".__('Settings Page', "invkptext")."</a>"; 562 580 return; 563 581 } … … 595 613 do_action('invkp_additional_post_invoice_options'); 596 614 597 echo '<div class="misc-pub-section"><label for="invkp_discount_type"> Discount Type:</label>';598 echo '<select name="invkp_discount_type" id="invkp_discount_type" style="float: right;margin-top: -3px;"><option value="percentage"', ($discount_type == 'percentage') ? ' selected' : '' , '> Percentage</option><option value="setvalue"', ($discount_type == 'setvalue') ? ' selected' : '' , '>Set Value</option></select>';615 echo '<div class="misc-pub-section"><label for="invkp_discount_type">'.__('Discount Type', "invkptext").':</label>'; 616 echo '<select name="invkp_discount_type" id="invkp_discount_type" style="float: right;margin-top: -3px;"><option value="percentage"', ($discount_type == 'percentage') ? ' selected' : '' , '>'.__('Percentage', "invkptext").'</option><option value="setvalue"', ($discount_type == 'setvalue') ? ' selected' : '' , '>'.__('Set Value', "invkptext").'</option></select>'; 599 617 echo '</div>'; 600 echo '<div class="misc-pub-section"><label for="invkp_discount_value"> Discount Value:</label>';618 echo '<div class="misc-pub-section"><label for="invkp_discount_value">'.__('Discount Value', "invkptext").':</label>'; 601 619 echo '<input type="text" name="invkp_discount_value" id="invkp_discount_value" value="'. $discount_value .'" class="calculate" style="width: 70px;float: right;margin-top: -3px;" />'; 602 620 echo '</div>'; 603 echo '<div class="misc-pub-section"><label for="invkp_tax_percentage"> Tax Percentage:</label>';621 echo '<div class="misc-pub-section"><label for="invkp_tax_percentage">'.__('Tax Percentage', "invkptext").':</label>'; 604 622 echo '<input type="text" name="invkp_tax_percentage" id="invkp_tax_percentage" value="'. $tax_percentage .'" class="calculate" style="width: 70px;float: right;margin-top: -3px;" />'; 605 623 echo '</div>'; 606 echo '<div class="misc-pub-section"><label for="invkp_paid_invoice"> Invoice Paid?:</label>';624 echo '<div class="misc-pub-section"><label for="invkp_paid_invoice">'.__('Invoice Paid?', "invkptext").':</label>'; 607 625 echo '<input type="hidden" name="invkp_paid_invoice" id="invkp_paid_invoice_no" value="0" />'; 608 626 echo '<input type="checkbox" name="invkp_paid_invoice" id="invkp_paid_invoice_yes" value="1"'.$checked.' style="float: right;margin-top: 2px;" />'; … … 646 664 } 647 665 648 echo '<div class="misc-pub-section" style="margin-bottom: 20px;"><label for="invkp_select_client"> Use Existing Client Details:</label>';649 echo '<select id="invkp_select_client" style="display:block;width: 100%;"><option value="">-- SELECT--</option>'.$client_dropdown.'</select>';666 echo '<div class="misc-pub-section" style="margin-bottom: 20px;"><label for="invkp_select_client">'.__('Use Existing Client Details', "invkptext").':</label>'; 667 echo '<select id="invkp_select_client" style="display:block;width: 100%;"><option value="">-- '.__('SELECT', "invkptext").' --</option>'.$client_dropdown.'</select>'; 650 668 echo '</div>'; 651 669 echo '<input type="hidden" name="invkp_client_link" id="invkp_client_link" value="'.$output['invkp_client_link'][0].'" />'; 652 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_company"> Company Name:</label>';670 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_company">'.__('Company Name', "invkptext").':</label>'; 653 671 echo '<input type="text" name="invkp_selected_client_company" id="invkp_selected_client_company" value="'.$output['invkp_selected_client_company'][0].'" style="width: 100%;" /></div>'; 654 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_company"> Company Contact Name:</label>';672 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_company">'.__('Company Contact Name', "invkptext").':</label>'; 655 673 echo '<input type="text" name="invkp_selected_client_attn" id="invkp_selected_client_attn" value="'.$output['invkp_selected_client_attn'][0].'" style="width: 100%;" /></div>'; 656 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_address"> Address:</label>';674 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_address">'.__('Address', "invkptext").':</label>'; 657 675 echo '<input type="text" name="invkp_selected_client_address" id="invkp_selected_client_address" value="'.$output['invkp_selected_client_address'][0].'" style="width: 100%;" /></div>'; 658 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_suburb"> Suburb:</label>';676 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_suburb">'.__('Suburb', "invkptext").':</label>'; 659 677 echo '<input type="text" name="invkp_selected_client_suburb" id="invkp_selected_client_suburb" value="'.$output['invkp_selected_client_suburb'][0].'" style="width: 100%;" /></div>'; 660 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_state"> State:</label>';678 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_state">'.__('State', "invkptext").':</label>'; 661 679 echo '<input type="text" name="invkp_selected_client_state" id="invkp_selected_client_state" value="'.$output['invkp_selected_client_state'][0].'" style="width: 100%;" /></div>'; 662 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_postcode"> Postcode:</label>';680 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_postcode">'.__('Postcode', "invkptext").':</label>'; 663 681 echo '<input type="text" name="invkp_selected_client_postcode" id="invkp_selected_client_postcode" value="'.$output['invkp_selected_client_postcode'][0].'" style="width: 100%;" /></div>'; 664 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_email"> Email:</label>';682 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_email">'.__('Email', "invkptext").':</label>'; 665 683 echo '<input type="text" name="invkp_selected_client_email" id="invkp_selected_client_email" value="'.$output['invkp_selected_client_email'][0].'" style="width: 100%;" /></div>'; 666 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_phone"> Phone:</label>';684 echo '<div style="margin-bottom: 10px;"><label for="invkp_selected_client_phone">'.__('Phone', "invkptext").':</label>'; 667 685 echo '<input type="text" name="invkp_selected_client_phone" id="invkp_selected_client_phone" value="'.$output['invkp_selected_client_phone'][0].'" style="width: 100%;" /></div>'; 668 686 echo '<div style="margin-bottom: 10px;">'; 669 echo '<input type="button" id="insert_details" class="button" value=" Insert Details" /><input type="button" id="save_client" class="button-primary right" value="Save Client" />';687 echo '<input type="button" id="insert_details" class="button" value="'.__('Insert Details', "invkptext").'" /><input type="button" id="save_client" class="button-primary right" value="'.__('Save Client', "invkptext").'" />'; 670 688 echo '</div>'; 671 689 } … … 970 988 $output['invkp_tax_label'] = get_post_meta( $id, 'invkp_tax_label' ); 971 989 if (!isset($output['invkp_tax_label'][0])) $output['invkp_tax_label'][0] = get_option('invkp_tax_label'); 990 991 $output['invkp_subtotal_label'] = get_post_meta( $id, 'invkp_subtotal_label' ); 992 if (!isset($output['invkp_subtotal_label'][0])) $output['invkp_subtotal_label'][0] = get_option('invkp_subtotal_label'); 993 994 $output['invkp_discount_label'] = get_post_meta( $id, 'invkp_discount_label' ); 995 if (!isset($output['invkp_discount_label'][0])) $output['invkp_discount_label'][0] = get_option('invkp_discount_label'); 996 997 $output['invkp_total_label'] = get_post_meta( $id, 'invkp_total_label' ); 998 if (!isset($output['invkp_total_label'][0])) $output['invkp_total_label'][0] = get_option('invkp_total_label'); 999 972 1000 $output['invkp_payment_terms'] = (get_post_meta( $id, 'invkp_payment_terms' ) ? get_post_meta( $id, 'invkp_payment_terms' ) : array('')); 973 1001 … … 1222 1250 register_setting( 'invkp-options', 'invkp_attn_name_label' ); 1223 1251 register_setting( 'invkp-options', 'invkp_tax_label' ); 1252 register_setting( 'invkp-options', 'invkp_subtotal_label' ); 1253 register_setting( 'invkp-options', 'invkp_discount_label' ); 1254 register_setting( 'invkp-options', 'invkp_total_label' ); 1224 1255 1225 1256 register_setting( 'invkp-options', 'invkp_open_content_1' ); -
invoice-king-pro/trunk/includes/invoice_html.php
r798365 r876146 81 81 <td style="width: <?= $column_widths[$col] ?>%;"><input type="text" name="invkp_subtotal" id="invkp_subtotal" value="<?= $custom_fields['invkp_subtotal'][0] ?>" placeholder="Subtotal - To be calculated" readonly /></td> 82 82 <?php elseif ($c === count($columns)-1) : ?> 83 <th style="text-align: right;"> Subtotal</th>83 <th style="text-align: right;"><?= $custom_fields['invkp_subtotal_label'][0] ?></th> 84 84 <?php else : ?> 85 85 <td></td> … … 92 92 <td style="width: <?= $column_widths[$col] ?>%;"><input type="text" name="invkp_discount" id="invkp_discount" value="<?= $custom_fields['invkp_discount'][0] ?>" placeholder="Discount - To be calculated" readonly /></td> 93 93 <?php elseif ($c === count($columns)-1) : ?> 94 <th style="text-align: right;"> Discount</th>94 <th style="text-align: right;"><?= $custom_fields['invkp_discount_label'][0] ?></th> 95 95 <?php else : ?> 96 96 <td></td> … … 114 114 <td style="width: <?= $column_widths[$col] ?>%;"><input type="text" name="invkp_total" id="invkp_total" value="<?= $custom_fields['invkp_total'][0] ?>" placeholder="Total - To be calculated" readonly /></td> 115 115 <?php elseif ($c === count($columns)-1) : ?> 116 <th style="text-align: right;"> Total</th>116 <th style="text-align: right;"><?= $custom_fields['invkp_total_label'][0] ?></th> 117 117 <?php else : ?> 118 118 <td></td> -
invoice-king-pro/trunk/includes/pdf.php
r811307 r876146 200 200 $pdf_filename = invkp_gen_filename($invoice[0]); 201 201 202 $pdf_path = plugin_dir_path(__FILE__)."../ ../outputs/".$pdf_filename.".pdf";202 $pdf_path = plugin_dir_path(__FILE__)."../outputs/".$pdf_filename.".pdf"; 203 203 $pdf->Output($pdf_path, "F"); 204 204 ?> -
invoice-king-pro/trunk/includes/screens/kpp.php
r811307 r876146 1 1 <div class="wrap"> 2 <div id="icon-options-general" class="icon32 icon32-posts-kpp_menu"><br></div><h2>King Pro Plugin Suite</h2>2 <div id="icon-options-general" class="icon32 icon32-posts-kpp_menu"><br></div><h2>King Pro Plugin <?= __('Suite', "invkptext") ?></h2> 3 3 <div class="kpp_block"> 4 <h2> Connect</h2>4 <h2><?= __('Connect', "invkptext") ?></h2> 5 5 <div id="kpp_social"> 6 6 <div class="kpp_social facebook"><a href="https://www.facebook.com/KingProPlugins" target="_blank"><i class="icon-facebook"></i> <span class="kpp_width"><span class="kpp_opacity">Facebook</span></span></a></div> … … 12 12 <br class="clear"> 13 13 <div class="kpp_block"> 14 <h2> AvailablePlugins</h2>14 <h2><?= __('Available', "invkptext") ?> Plugins</h2> 15 15 <div class="kpp_plugin"> 16 16 <img src="<?= plugins_url('../images/kpp_akp.jpg', dirname(__FILE__)) ?>" alt="Ad King Pro" /> 17 17 <span class="title">Ad King Pro</span> 18 <span class="description"> Upload. Link. Go.</span>19 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=adkingpro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title=" More information about Ad King Pro">Install</a></span>18 <span class="description"><?= __('Upload. Link. Go.', "invkptext") ?></span> 19 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=adkingpro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title="<?= __('More information about', "invkptext") ?> Ad King Pro"><?= __('Install', "invkptext") ?></a></span> 20 20 </div> 21 21 <div class="kpp_plugin"> 22 22 <img src="<?= plugins_url('../images/kpp_invkp.jpg', dirname(__FILE__)) ?>" alt="Invoice King Pro" /> 23 23 <span class="title">Invoice King Pro</span> 24 <span class="description"> Invoicing made easy!</span>25 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=invoice-king-pro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title=" More information about Invoice King Pro">Install</a></span>24 <span class="description"><?= __('Invoicing made easy!', 'invkptext') ?></span> 25 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=invoice-king-pro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title="<?= __("More information about", 'invkptext') ?> Invoice King Pro"><?= __('Install', "invkptext") ?></a></span> 26 26 </div> 27 27 <div class="kpp_plugin"> 28 28 <img src="<?= plugins_url('../images/kpp_rsskp.jpg', dirname(__FILE__)) ?>" alt="RSS King Pro" /> 29 29 <span class="title">RSS King Pro</span> 30 <span class="description"> RSS feeds your way</span>31 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=rsskingpro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title=" More information about RSS King Pro">Install</a></span>30 <span class="description"><?= __('RSS feeds your way', 'invkptext') ?></span> 31 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=rsskingpro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title="<?= __("More information about", 'invkptext') ?> RSS King Pro"><?= __('Install', "invkptext") ?></a></span> 32 32 </div> 33 33 <div class="kpp_plugin"> … … 40 40 <img src="<?= plugins_url('../images/kpp_smtpkp.jpg', dirname(__FILE__)) ?>" alt="SMTP King Pro" /> 41 41 <span class="title">SMTP King Pro</span> 42 <span class="description"> Send mail from WP from your email</span>43 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=smtp-king-pro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title=" More information about SMTP King Pro">Install</a></span>42 <span class="description"><?= __('Send mail from WP from your email', 'invkptext') ?></span> 43 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=smtp-king-pro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title="<?= __("More information about", 'invkptext') ?> SMTP King Pro"><?= __('Install', "invkptext") ?></a></span> 44 44 </div> 45 45 <div class="kpp_plugin"> 46 46 <img src="<?= plugins_url('../images/kpp_relkp.jpg', dirname(__FILE__)) ?>" alt="Related King Pro" /> 47 47 <span class="title">Related King Pro</span> 48 <span class="description"> Keep traffic on your site</span>49 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=related-king-pro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title=" More information about Related King Pro">Install</a></span>48 <span class="description"><?= __('Keep traffic on your site', 'invkptext') ?></span> 49 <span class="links"><a href="<?= admin_url('plugin-install.php?tab=plugin-information&plugin=related-king-pro&TB_iframe=true&width=600&height=550'); ?>" class="thickbox" title="<?= __("More information about", 'invkptext') ?> Related King Pro"><?= __('Install', "invkptext") ?></a></span> 50 50 </div> 51 51 </div> -
invoice-king-pro/trunk/includes/screens/settings.php
r811307 r876146 4 4 5 5 <div class="kpp_block filled"> 6 <h2> Connect</h2>6 <h2><?= __('Connect', 'invkptext') ?></h2> 7 7 <div id="kpp_social"> 8 8 <div class="kpp_social facebook"><a href="https://www.facebook.com/KingProPlugins" target="_blank"><i class="icon-facebook"></i> <span class="kpp_width"><span class="kpp_opacity">Facebook</span></span></a></div> … … 10 10 <div class="kpp_social google"><a href="https://plus.google.com/b/101488033905569308183/101488033905569308183/about" target="_blank"><i class="icon-google-plus"></i> <span class="kpp_width"><span class="kpp_opacity">Google+</span></span></a></div> 11 11 </div> 12 <h4> Found an issue? Post your issue on the <a href="http://wordpress.org/support/plugin/invoice-king-pro" target="_blank">support forums</a>. If you would prefer, please email your concern to<a href="mailto:[email protected]">[email protected]</a></h4>12 <h4><?= __("Found an issue? Post your issue on the", 'invkptext') ?> <a href="http://wordpress.org/support/plugin/invoice-king-pro" target="_blank"><?= __("support forums", 'invkptext') ?></a>. <?= __("If you would prefer, please email your concern to", 'invkptext') ?> <a href="mailto:[email protected]">[email protected]</a></h4> 13 13 </div> 14 14 15 15 <div class="invkp_tabs"> 16 <a class="invkp_invoice_settings active"> Invoice Settings</a>17 <a class="invkp_default_details"> Default Details</a>18 <a class="invkp_email_settings"> Email Settings</a>16 <a class="invkp_invoice_settings active"><?= __("Invoice Settings", 'invkptext') ?></a> 17 <a class="invkp_default_details"><?= __("Default Details", 'invkptext') ?></a> 18 <a class="invkp_email_settings"><?= __("Email Settings", 'invkptext') ?></a> 19 19 <?php do_action('invkp_additional_settings_tab'); ?> 20 <a class="invkp_themes"> Themes</a>21 <a class="invkp_addons"> Add-ons</a>22 <a class="invkp_howto"> How-To</a>23 <a class="invkp_faq"> FAQ</a>20 <a class="invkp_themes"><?= __("Themes", 'invkptext') ?></a> 21 <a class="invkp_addons"><?= __("Add-ons", 'invkptext') ?></a> 22 <a class="invkp_howto"><?= __("How-To", 'invkptext') ?></a> 23 <a class="invkp_faq"><?= __("FAQ", 'invkptext') ?></a> 24 24 </div> 25 25 … … 28 28 ?> 29 29 <div class="updated invkp_notice"> 30 <p><?php _e( "Settings have been saved", 'invkp _text' ); ?></p>30 <p><?php _e( "Settings have been saved", 'invkptext' ); ?></p> 31 31 </div> 32 32 <?php elseif (isset($_GET['settings-updated']) && $_GET['settings-updated'] === 'false') : ?> 33 33 <div class="error invkp_notice"> 34 <p><?php _e( "Settings have <strong>NOT</strong> been saved. Please try again.", 'invkp _text' ); ?></p>34 <p><?php _e( "Settings have <strong>NOT</strong> been saved. Please try again.", 'invkptext' ); ?></p> 35 35 </div> 36 36 <?php endif; ?> … … 43 43 <?php /****** INVOICE SETTINGS ******/ ?> 44 44 <div id="invkp_invoice_settings" class="invkp_section active"> 45 <?php submit_button( 'Save Settings', 'primary', 'submit', false, array('id'=>'invkp_invoice_settings_top_submit')); ?>45 <?php submit_button(__('Save Settings', 'invkptext'), 'primary', 'submit', false, array('id'=>'invkp_invoice_settings_top_submit')); ?> 46 46 <table class="form-table"> 47 47 <tr valign="top"> 48 <th scope="row"> Invoice Theme</th>48 <th scope="row"><?= __("Invoice Theme", 'invkptext') ?></th> 49 49 <td> 50 50 <?php $val = get_option('invkp_theme'); ?> 51 <?php 52 $plugin_path = plugin_dir_path(__FILE__); 53 if (strstr($plugin_path, "includes\screens/")) { 54 $dir = str_replace("includes\screens/","",$plugin_path.'themes\\'); 55 $folder = scandir($dir); 56 } else { 57 $dir = str_replace("includes/screens/","",$plugin_path.'themes/'); 58 $folder = scandir($dir); 59 } 60 $exclude = array('.', '..'); 61 ?> 51 62 <select name="invkp_theme"> 52 63 <?php 53 $folder = scandir(str_replace("includes/screens/","",plugin_dir_path(__FILE__)).'themes/');54 $exclude = array('.', '..');55 64 foreach ($folder as $f) { 56 if (!in_array($f, $exclude) && is_dir( str_replace("includes/screens/","",plugin_dir_path(__FILE__)).'themes/'.$f)) {65 if (!in_array($f, $exclude) && is_dir($dir.$f)) { 57 66 $selected = ''; 58 67 if ($val == $f) $selected = ' selected'; … … 63 72 </select> 64 73 </td> 65 <td>* More themes can be downloaded from the <a href="http://kingpro.me/plugins/invoice-king-pro/themes/" target="_blank">King Pro Plugins website</a></td>74 <td>* <?= __("More themes can be downloaded from the", 'invkptext') ?> <a href="http://kingpro.me/plugins/invoice-king-pro/themes/" target="_blank">King Pro Plugins <?=__("website", 'invkptext') ?></a></td> 66 75 </tr> 67 76 … … 71 80 72 81 <tr valign="top"> 73 <th scope="row"> Currency Symbol</th>82 <th scope="row"><?= __("Currency Symbol", 'invkptext') ?></th> 74 83 <td> 75 84 <?php $val = get_option('invkp_revenue_currency'); ?> … … 80 89 81 90 <tr valign="top"> 82 <th scope="row"> Invoice Type Label</th>91 <th scope="row"><?= __("Invoice Type Label", 'invkptext') ?></th> 83 92 <td> 84 93 <?php $val = get_option('invkp_invoice_type'); ?> … … 89 98 90 99 <tr valign="top"> 91 <th scope="row"> Paid Invoice Type Label</th>100 <th scope="row"><?= __("Paid Invoice Type Label", 'invkptext') ?></th> 92 101 <td> 93 102 <?php $val = get_option('invkp_paid_invoice_type'); ?> … … 98 107 99 108 <tr valign="top"> 100 <th scope="row"> Paid Invoice Watermark</th>109 <th scope="row"><?= __("Paid Invoice Watermark", 'invkptext') ?></th> 101 110 <td> 102 111 <?php $val = get_option('invkp_paid_watermark'); ?> … … 107 116 108 117 <tr valign="top"> 109 <th scope="row"> Invoice Number Label</th>118 <th scope="row"><?= __("Invoice Number Label", 'invkptext') ?></th> 110 119 <td> 111 120 <?php $val = get_option('invkp_invoice_no_label'); ?> … … 116 125 117 126 <tr valign="top"> 118 <th scope="row"> Purchase Order Label</th>127 <th scope="row"><?= __("Purchase Order Label", 'invkptext') ?></th> 119 128 <td> 120 129 <?php $val = get_option('invkp_po_label'); ?> … … 125 134 126 135 <tr valign="top"> 127 <th scope="row"> Attention to Label</th>136 <th scope="row"><?= __("Attention to Label", 'invkptext') ?></th> 128 137 <td> 129 138 <?php $val = get_option('invkp_attn_name_label'); ?> … … 132 141 <td></td> 133 142 </tr> 134 135 <tr valign="top"> 136 <th scope="row">GST/Tax Label</th> 143 144 <tr valign="top"> 145 <th scope="row"><?= __("Subtotal Label", 'invkptext') ?></th> 146 <td> 147 <?php $val = get_option('invkp_subtotal_label'); ?> 148 <input type="text" name="invkp_subtotal_label" value="<?= $val ?>" /> 149 </td> 150 <td></td> 151 </tr> 152 153 <tr valign="top"> 154 <th scope="row"><?= __("Discount Label", 'invkptext') ?></th> 155 <td> 156 <?php $val = get_option('invkp_discount_label'); ?> 157 <input type="text" name="invkp_discount_label" value="<?= $val ?>" /> 158 </td> 159 <td></td> 160 </tr> 161 162 <tr valign="top"> 163 <th scope="row"><?= __("GST/Tax Label", 'invkptext') ?></th> 137 164 <td> 138 165 <?php $val = get_option('invkp_tax_label'); ?> … … 141 168 <td></td> 142 169 </tr> 170 171 <tr valign="top"> 172 <th scope="row"><?= __("Total Label", 'invkptext') ?></th> 173 <td> 174 <?php $val = get_option('invkp_total_label'); ?> 175 <input type="text" name="invkp_total_label" value="<?= $val ?>" /> 176 </td> 177 <td></td> 178 </tr> 143 179 144 180 <tr valign="top"> 145 <th scope="row"> Invoice Number Generating</th>181 <th scope="row"><?= __("Invoice Number Generating", 'invkptext') ?></th> 146 182 <td> 147 183 <?php $val = get_option('invkp_invoice_no_gen'); ?> 148 184 <input type="text" name="invkp_invoice_no_gen" value="<?= $val ?>" /> 149 185 </td> 150 <td> Refer to the help in the How-to tab</td>151 </tr> 152 153 <tr valign="top"> 154 <th scope="row"> Last Invoice Number Generated</th>186 <td><?= __("Refer to the help in the How-to tab", 'invkptext') ?></td> 187 </tr> 188 189 <tr valign="top"> 190 <th scope="row"><?= __("Last Invoice Number Generated", 'invkptext') ?></th> 155 191 <td> 156 192 <?php $val = get_option('invkp_invoice_no_gen_last'); ?> 157 193 <input type="text" name="invkp_invoice_no_gen_last" value="<?= $val ?>" /> 158 194 </td> 159 <td> Refer to the help in the How-to tab</td>160 </tr> 161 162 <tr valign="top"> 163 <th scope="row"> Current Invoice Number Increment</th>195 <td><?= __("Refer to the help in the How-to tab", 'invkptext') ?></td> 196 </tr> 197 198 <tr valign="top"> 199 <th scope="row"><?= __("Current Invoice Number Increment", 'invkptext') ?></th> 164 200 <td> 165 201 <?php $val = get_option('invkp_invoice_no_gen_incr'); ?> 166 202 <input type="text" name="invkp_invoice_no_gen_incr" value="<?= $val ?>" /> 167 203 </td> 168 <td> Refer to the help in the How-to tab</td>204 <td><?= __("Refer to the help in the How-to tab", 'invkptext') ?></td> 169 205 </tr> 170 206 171 207 <tr valign="top"> 172 <th scope="row"> Invoice Filename Format</th>208 <th scope="row"><?= __("Invoice Filename Format", 'invkptext') ?></th> 173 209 <td> 174 210 <?php $val = get_option('invkp_pdf_filename'); ?> … … 176 212 </td> 177 213 <td> 178 Refer to the help in the How-to tab- Example:<br />214 <?= __("Refer to the help in the How-to tab", 'invkptext') ?> - Example:<br /> 179 215 {pid}-{company_name}-{inv_id} 180 216 </td> … … 182 218 183 219 <tr valign="top"> 184 <th scope="row"> Define Columns</th>220 <th scope="row"><?= __("Define Columns", 'invkptext') ?></th> 185 221 <td> 186 222 <div class="invkp_columns"> … … 191 227 ?> 192 228 <div> 193 <span style="width: 181px; display: inline-block; font-weight: bold; margin-bottom: 5px;"> Name</span>194 <span style="width: 72px; display: inline-block; font-weight: bold; margin-bottom: 5px;"> Type</span>195 <span style="display: inline-block; font-weight: bold; margin-bottom: 5px;"> Width(%)</span>229 <span style="width: 181px; display: inline-block; font-weight: bold; margin-bottom: 5px;"><?= __("Name", 'invkptext') ?></span> 230 <span style="width: 72px; display: inline-block; font-weight: bold; margin-bottom: 5px;"><?= __("Type", 'invkptext') ?></span> 231 <span style="display: inline-block; font-weight: bold; margin-bottom: 5px;"><?= __("Width", 'invkptext') ?> (%)</span> 196 232 </div> 197 233 <?php if (is_array($val)) : ?> … … 200 236 <input type="text" name="invkp_columns[]" value="<?= $val[$c] ?>" /> 201 237 <select name="invkp_column_types[]"> 202 <option value="text"<?= ($type_val[$c] == 'text') ? ' selected' : '' ?>> Text</option>203 <option value="numeric"<?= ($type_val[$c] == 'numeric') ? ' selected' : '' ?>> Numeric</option>204 <option value="price"<?= ($type_val[$c] == 'price') ? ' selected' : '' ?>> Price</option>238 <option value="text"<?= ($type_val[$c] == 'text') ? ' selected' : '' ?>><?= __("Text", 'invkptext') ?></option> 239 <option value="numeric"<?= ($type_val[$c] == 'numeric') ? ' selected' : '' ?>><?= __("Numeric", 'invkptext') ?></option> 240 <option value="price"<?= ($type_val[$c] == 'price') ? ' selected' : '' ?>><?= __("Price", 'invkptext') ?></option> 205 241 </select> 206 242 <input type="text" name="invkp_column_widths[]" value="<?= $width_val[$c] ?>" size="3" placeholder="0%" style="text-align: right;" />% 207 <?php if ($c > 0) : ?><a class="remove_invkp_column"> Remove</a><?php endif; ?>243 <?php if ($c > 0) : ?><a class="remove_invkp_column"><?= __("Remove", 'invkptext') ?></a><?php endif; ?> 208 244 </div> 209 245 <?php endfor; ?> … … 212 248 <input type="text" name="invkp_columns[]" value="" /> 213 249 <select name="invkp_column_types[]"> 214 <option value="text"> Text</option>215 <option value="numeric"> Numeric</option>216 <option value="price"> Price</option>250 <option value="text"><?= __("Text", 'invkptext') ?></option> 251 <option value="numeric"><?= __("Numeric", 'invkptext') ?></option> 252 <option value="price"><?= __("Price", 'invkptext') ?></option> 217 253 </select> 218 254 <input type="text" name="invkp_column_widths[]" value="" size="3" placeholder="0%" />% … … 221 257 </div> 222 258 <br /> 223 <a class="add_invkp_column"> Add Column</a>224 </td> 225 <td> Leave width blank to generate even columns</td>226 </tr> 227 228 <tr valign="top"> 229 <th scope="row"> Row Calculation</th>259 <a class="add_invkp_column"><?= __("Add Column", 'invkptext') ?></a> 260 </td> 261 <td><?= __("Leave width blank to generate even columns", 'invkptext') ?></td> 262 </tr> 263 264 <tr valign="top"> 265 <th scope="row"><?= __("Row Calculation", 'invkptext') ?></th> 230 266 <td> 231 267 <div class="invkp_row_calculation"> … … 245 281 ?> 246 282 <select name="invkp_calculate_rows[]" class="row"> 247 <option value="">-- SELECT--</option>283 <option value="">-- <?= __("SELECT", 'invkptext') ?> --</option> 248 284 <?php foreach ($cols as $col) : ?> 249 285 <option value="<?= $col ?>"<?php if ($calc_cols[$c] == $col) echo ' selected'; ?>><?= $col ?></option> … … 253 289 <?php if (isset($calc_ops[$c]) && $calc_ops[$c] <> '') : ?> 254 290 <select name='invkp_calculate_operators[]'> 255 <option value=''>-- SELECT--</option>291 <option value=''>-- <?= __("SELECT", 'invkptext') ?> --</option> 256 292 <option value='*'<?php if ($calc_ops[$c] == '*') echo ' selected'; ?>>*</option> 257 293 <option value='+'<?php if ($calc_ops[$c] == '+') echo ' selected'; ?>>+</option> … … 264 300 <?php endif; ?> 265 301 <select name="invkp_calculate_rows[]" class="row"> 266 <option value="">-- SELECT--</option>302 <option value="">-- <?= __("SELECT", 'invkptext') ?> --</option> 267 303 <?php foreach ($cols as $col) : ?> 268 304 <option value="<?= $col ?>"><?= $col ?></option> … … 272 308 </div> 273 309 </td> 274 <td> Options available after "Define Columns" saved.</td>275 </tr> 276 277 <tr valign="top"> 278 <th scope="row"> Subtotals Calculation Column</th>310 <td><?= __('Options available after "Define Columns" saved.', 'invkptext') ?></td> 311 </tr> 312 313 <tr valign="top"> 314 <th scope="row"><?= __("Subtotals Calculation Column", 'invkptext') ?></th> 279 315 <td> 280 316 <?php … … 288 324 ?> 289 325 <select name="invkp_calculate_subtotal"> 290 <option value="">-- SELECT--</option>326 <option value="">-- <?= __("SELECT", 'invkptext') ?> --</option> 291 327 <?php foreach ($cols as $col) : ?> 292 328 <option value="<?= $col ?>"<?php if ($subtotal_col == $col) echo ' selected'; ?>><?= $col ?></option> … … 294 330 </select> 295 331 </td> 296 <td> Options available after "Define Columns" saved.</td>332 <td><?= __('Options available after "Define Columns" saved.', 'invkptext') ?></td> 297 333 </tr> 298 334 </table> 299 <?php submit_button( 'Save Settings', 'primary', 'submit', false, array('id'=>'invkp_invoice_settings_bottom_submit')); ?>335 <?php submit_button(__('Save Settings', 'invkptext'), 'primary', 'submit', false, array('id'=>'invkp_invoice_settings_bottom_submit')); ?> 300 336 </div> 301 337 302 338 <?php /****** DEFAULT DETAILS ******/ ?> 303 339 <div id="invkp_default_details" class="invkp_section"> 304 <?php submit_button( 'Save Options', 'primary', 'submit', false, array('id'=>'invkp_default_details_top_submit')); ?>340 <?php submit_button(__('Save Options', 'invkptext'), 'primary', 'submit', false, array('id'=>'invkp_default_details_top_submit')); ?> 305 341 <table class="form-table"> 306 342 <tr valign="top"> 307 <th scope="row"> Your Company Name</th>343 <th scope="row"><?= __("Your Company Name", 'invkptext') ?></th> 308 344 <td> 309 345 <?php $val = get_option('invkp_company_name'); ?> … … 314 350 315 351 <tr valign="top"> 316 <th scope="row"> Your Address</th>352 <th scope="row"><?= __("Your Address", 'invkptext') ?></th> 317 353 <td> 318 354 <?php $val = get_option('invkp_address'); ?> … … 323 359 324 360 <tr valign="top"> 325 <th scope="row"> Your Suburb/Town</th>361 <th scope="row"><?= __("Your Suburb/Town", 'invkptext') ?></th> 326 362 <td> 327 363 <?php $val = get_option('invkp_suburb'); ?> … … 332 368 333 369 <tr valign="top"> 334 <th scope="row"> Your State</th>370 <th scope="row"><?= __("Your State", 'invkptext') ?></th> 335 371 <td> 336 372 <?php $val = get_option('invkp_state'); ?> … … 341 377 342 378 <tr valign="top"> 343 <th scope="row"> Your Postcode/Zip</th>379 <th scope="row"><?= __("Your Postcode/Zip", 'invkptext') ?></th> 344 380 <td> 345 381 <?php $val = get_option('invkp_postcode'); ?> … … 350 386 351 387 <tr valign="top"> 352 <th scope="row"> Your Phone</th>388 <th scope="row"><?= __("Your Phone", 'invkptext') ?></th> 353 389 <td> 354 390 <?php $val = get_option('invkp_phone'); ?> … … 359 395 360 396 <tr valign="top"> 361 <th scope="row"> Your Email</th>397 <th scope="row"><?= __("Your Email", 'invkptext') ?></th> 362 398 <td> 363 399 <?php $val = get_option('invkp_email'); ?> … … 368 404 369 405 <tr valign="top"> 370 <th scope="row"> Additional Detail</th>406 <th scope="row"><?= __("Additional Detail", 'invkptext') ?></th> 371 407 <td> 372 408 <?php $val = get_option('invkp_add_detail'); ?> 373 409 <input type="text" name="invkp_add_detail" value="<?= $val ?>" /> 374 410 </td> 375 <td> eg Business Details (ie ABN)</td>411 <td><?= __("eg Business Details (ie ABN)", 'invkptext') ?></td> 376 412 </tr> 377 413 378 414 <tr valign="top"> 379 <th scope="row"> Open Content Block 1</th>415 <th scope="row"><?= __("Open Content Block 1", 'invkptext') ?></th> 380 416 <td> 381 417 <?php $val = get_option('invkp_open_content_1'); ?> … … 386 422 387 423 <tr valign="top"> 388 <th scope="row"> Open Content Block 2</th>424 <th scope="row"><?= __("Open Content Block 2", 'invkptext') ?></th> 389 425 <td> 390 426 <?php $val = get_option('invkp_open_content_2'); ?> … … 394 430 </tr> 395 431 </table> 396 <?php submit_button( 'Save Options', 'primary', 'submit', false, array('id'=>'invkp_default_details_bottom_submit')); ?>432 <?php submit_button(__('Save Options', 'invkptext'), 'primary', 'submit', false, array('id'=>'invkp_default_details_bottom_submit')); ?> 397 433 </div> 398 434 399 435 <?php /****** EMAIL SETTINGS ******/ ?> 400 436 <div id="invkp_email_settings" class="invkp_section"> 401 <?php submit_button( 'Save Settings', 'primary', 'submit', false, array('id'=>'invkp_email_settings_top_submit')); ?>437 <?php submit_button(__('Save Settings', 'invkptext'), 'primary', 'submit', false, array('id'=>'invkp_email_settings_top_submit')); ?> 402 438 <table class="form-table"> 403 439 <tr valign="top"> 404 <th scope="row"> From Name</th>440 <th scope="row"><?= __("From Name", 'invkptext') ?></th> 405 441 <td> 406 442 <?php $val = get_option('invkp_from'); ?> … … 411 447 412 448 <tr valign="top"> 413 <th scope="row"> From Email</th>449 <th scope="row"><?= __("From Email", 'invkptext') ?></th> 414 450 <td> 415 451 <?php $val = get_option('invkp_from_email'); ?> … … 420 456 421 457 <tr valign="top"> 422 <th scope="row"> BCC the above email?</th>458 <th scope="row"><?= __("BCC the above email?", 'invkptext') ?></th> 423 459 <td> 424 460 <?php $val = get_option('invkp_bcc'); ?> … … 426 462 <input type="checkbox" name="invkp_bcc" value="1"<?= ($val == 1) ? " checked" : '' ?> /> 427 463 </td> 428 <td> Have all email correspondence sent to the above email</td>429 </tr> 430 431 <tr valign="top"> 432 <th scope="row"> Subject</th>464 <td><?= __("Have all email correspondence sent to the above email", 'invkptext') ?></td> 465 </tr> 466 467 <tr valign="top"> 468 <th scope="row"><?= __("Subject", 'invkptext') ?></th> 433 469 <td> 434 470 <?php $val = get_option('invkp_email_subject'); ?> … … 439 475 440 476 <tr valign="top"> 441 <th scope="row"> Message</th>477 <th scope="row"><?= __("Message", 'invkptext') ?></th> 442 478 <td> 443 479 <?php $val = get_option('invkp_email_message'); ?> … … 448 484 449 485 <tr valign="top"> 450 <th scope="row"> Paid Subject</th>486 <th scope="row"><?= __("Paid Subject", 'invkptext') ?></th> 451 487 <td> 452 488 <?php $val = get_option('invkp_paid_email_subject'); ?> … … 457 493 458 494 <tr valign="top"> 459 <th scope="row"> Paid Message</th>495 <th scope="row"><?= __("Paid Message", 'invkptext') ?></th> 460 496 <td> 461 497 <?php $val = get_option('invkp_paid_email_message'); ?> … … 465 501 </tr> 466 502 </table> 467 <?php submit_button( 'Save Settings', 'primary', 'submit', false, array('id'=>'invkp_email_settings_bottom_submit')); ?>503 <?php submit_button(__('Save Settings', 'invkptext'), 'primary', 'submit', false, array('id'=>'invkp_email_settings_bottom_submit')); ?> 468 504 </div> 469 505 … … 472 508 <?php /****** THEMES ******/ ?> 473 509 <div id="invkp_themes" class="invkp_section"> 474 <h2> Themes</h2>510 <h2><?= __("Themes", 'invkptext') ?></h2> 475 511 476 <p> Personalise your invoices by using an Invoice King Pro theme. The current selection is below. If you would like one that is customised just for you,477 contact <a href="mailto:[email protected]">[email protected]</a>.</p>512 <p><?= __("Personalise your invoices by using an Invoice King Pro theme. The current selection is below. If you would like one that is customised just for you, 513 contact", 'invkptext') ?> <a href="mailto:[email protected]">[email protected]</a>.</p> 478 514 479 515 <div class="kpp_item"> 480 516 <a href="<?= plugins_url('../images/clean-invoice-theme.png', dirname(__FILE__)) ?>"><img alt="Clean Invoice" src="<?= plugins_url('../images/clean-invoice-theme.png', dirname(__FILE__)) ?>" /></a> 481 517 <span class="title">Clean</span> 482 <span class="description"> Nice sharp design using<br />a custom font.</span>483 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/themes/" target='_blank' title="Get the 'Clean' theme"> Get It</a></span>518 <span class="description"><?= __("Nice sharp design using<br />a custom font", 'invkptext') ?>.</span> 519 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/themes/" target='_blank' title="Get the 'Clean' theme"><?= __("Get It", 'invkptext') ?></a></span> 484 520 </div> 485 521 486 522 <div class="kpp_item"> 487 523 <a href="<?= plugins_url('../images/default-with-image-invoice-theme.png', dirname(__FILE__)) ?>"><img alt="Default with Logo" src="<?= plugins_url('../images/default-with-image-invoice-theme.png', dirname(__FILE__)) ?>" /></a> 488 <span class="title">Default with Logo</span> 489 <span class="description">The default theme with added feature to upload a logo</span> 490 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/themes/" target='_blank' title="Get the 'Default with Logo' theme">Get It</a></span> 524 <span class="title"><?= __("Default with Logo", 'invkptext') ?></span> 525 <span class="description"><?= __("The default theme with added feature to upload a logo", 'invkptext') ?></span> 526 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/themes/" target='_blank' title="Get the 'Default with Logo' theme"><?= __("Get It", 'invkptext') ?></a></span> 527 </div> 528 529 <div class="kpp_item"> 530 <a href="<?= plugins_url('../images/clean-invoice-theme.png', dirname(__FILE__)) ?>"><img alt="Clean with Logo" src="<?= plugins_url('../images/clean-invoice-theme.png', dirname(__FILE__)) ?>" /></a> 531 <span class="title"><?= __("Clean with Logo", 'invkptext') ?></span> 532 <span class="description"><?= __("Nice sharp design using<br />a custom font with added feature to upload a logo", 'invkptext') ?>.</span> 533 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/themes/" target='_blank' title="Get the 'Clean' theme"><?= __("Get It", 'invkptext') ?></a></span> 491 534 </div> 492 535 </div> … … 494 537 <?php /****** ADDONS ******/ ?> 495 538 <div id="invkp_addons" class="invkp_section"> 496 <h2> Add-ons</h2>497 <p> Expand the functionality of Invoice King Pro to your necessity by installing Addons. Is there additional functionality your looking for that an addon498 doesn't cover? Contact <a href="mailto:[email protected]">[email protected]</a> and fill us in about what you after.</p>539 <h2><?= __("Add-ons", 'invkptext') ?></h2> 540 <p><?= __("Expand the functionality of Invoice King Pro to your necessity by installing Addons. Is there additional functionality your looking for that an addon 541 doesn't cover? Contact", 'invkptext') ?> <a href="mailto:[email protected]">[email protected]</a> <?= __("and fill us in about what you after.", 'invkptext') ?></p> 499 542 500 543 <div class="kpp_item"> 501 <img alt=" Recurring Invoice" src="<?= plugins_url('../images/addon-recurring.jpg', dirname(__FILE__)) ?>" />502 <span class="title"> Recurring Invoices</span>503 <span class="description"> Turn new and existing invoices into automatic recurring invoices via a cron</span>504 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/add-ons/" target='_blank' title="Get the 'Recurring Invoices' Add-on"> Get It</a></span>544 <img alt="<?= __("Recurring Invoice", 'invkptext') ?>" src="<?= plugins_url('../images/addon-recurring.jpg', dirname(__FILE__)) ?>" /> 545 <span class="title"><?= __("Recurring Invoices", 'invkptext') ?></span> 546 <span class="description"><?= __("Turn new and existing invoices into automatic recurring invoices via a cron", 'invkptext') ?></span> 547 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/add-ons/" target='_blank' title="Get the 'Recurring Invoices' Add-on"><?= __("Get It", 'invkptext') ?></a></span> 505 548 </div> 506 549 <div class="kpp_item"> 507 <img alt=" Attachments" src="<?= plugins_url('../images/addon-attachments.jpg', dirname(__FILE__)) ?>" />508 <span class="title"> Attachments</span>509 <span class="description"> Attach additional files to all and individual invoices when sent to client</span>510 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/add-ons/" target='_blank' title="Get the 'Attachments' Add-on"> Get It</a></span>550 <img alt="<?= __("Attachments", 'invkptext') ?>" src="<?= plugins_url('../images/addon-attachments.jpg', dirname(__FILE__)) ?>" /> 551 <span class="title"><?= __("Attachments", 'invkptext') ?></span> 552 <span class="description"><?= __("Attach additional files to all and individual invoices when sent to client", 'invkptext') ?></span> 553 <span class="links"><a href="http://kingpro.me/plugins/invoice-king-pro/add-ons/" target='_blank' title="Get the 'Attachments' Add-on"><?= __("Get It", 'invkptext') ?></a></span> 511 554 </div> 512 555 </div> -
invoice-king-pro/trunk/invoicekingpro.php
r811307 r876146 4 4 Plugin URI: http://kingpro.me/plugins/invoice-king-pro/ 5 5 Description: Invoice King Pro allows you to create, send and manage invoices for whatever purpose. If AdKingPro is installed as well, automatically generate invoices for revenue outputs. 6 Version: 1.1. 26 Version: 1.1.3 7 7 Author: Ash Durham 8 8 Author URI: http://durham.net.au/ … … 28 28 29 29 global $invkp_db_version; 30 $invkp_db_version = "1.1. 2";30 $invkp_db_version = "1.1.3"; 31 31 $invkp_safe_theme = '1.2'; 32 32 … … 46 46 47 47 // END INSTALL 48 49 function invkp_languages_init() { 50 load_plugin_textdomain('invkptext', false, basename( dirname( __FILE__ ) ) . '/languages' ); 51 } 52 add_action('plugins_loaded', 'invkp_languages_init'); 48 53 49 54 if (get_option("invpk_db_version") != $invkp_db_version) { -
invoice-king-pro/trunk/readme.txt
r811307 r876146 4 4 Tags: invoice, invoicing, pdf, clients, revenue, money, themes, theme, dollars, paid, payment, receipt, clients, email 5 5 Requires at least: 3.0.1 6 Tested up to: 3. 7.17 Stable tag: 1.1. 26 Tested up to: 3.8.1 7 Stable tag: 1.1.3 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 115 115 == Changelog == 116 116 117 = 1.1.3 = 118 * Made totals labels editable within admin 119 * Converted text to enable translations 120 117 121 = 1.1.2 = 118 122 * Update to KPP section with release of new plugin … … 173 177 == Upgrade Notice == 174 178 179 = 1.1.3 = 180 * Made totals labels editable within admin 181 * Converted text to enable translations 182 175 183 = 1.1.2 = 176 184 * Update to KPP section with release of new plugin -
invoice-king-pro/trunk/themes/default/invoice_html.php
r798365 r876146 81 81 <td style="width: <?= $column_widths[$col] ?>%;"><input type="text" name="invkp_subtotal" id="invkp_subtotal" value="<?= $custom_fields['invkp_subtotal'][0] ?>" placeholder="Subtotal - To be calculated" readonly /></td> 82 82 <?php elseif ($c === count($columns)-1) : ?> 83 <th style="text-align: right;"> Subtotal</th>83 <th style="text-align: right;"><?= $custom_fields['invkp_subtotal_label'][0] ?></th> 84 84 <?php else : ?> 85 85 <td></td> … … 92 92 <td style="width: <?= $column_widths[$col] ?>%;"><input type="text" name="invkp_discount" id="invkp_discount" value="<?= $custom_fields['invkp_discount'][0] ?>" placeholder="Discount - To be calculated" readonly /></td> 93 93 <?php elseif ($c === count($columns)-1) : ?> 94 <th style="text-align: right;"> Discount</th>94 <th style="text-align: right;"><?= $custom_fields['invkp_discount_label'][0] ?></th> 95 95 <?php else : ?> 96 96 <td></td> … … 114 114 <td style="width: <?= $column_widths[$col] ?>%;"><input type="text" name="invkp_total" id="invkp_total" value="<?= $custom_fields['invkp_total'][0] ?>" placeholder="Total - To be calculated" readonly /></td> 115 115 <?php elseif ($c === count($columns)-1) : ?> 116 <th style="text-align: right;"> Total</th>116 <th style="text-align: right;"><?= $custom_fields['invkp_total_label'][0] ?></th> 117 117 <?php else : ?> 118 118 <td></td> -
invoice-king-pro/trunk/themes/default/version
r811307 r876146 1 1. 21 1.4
Note: See TracChangeset
for help on using the changeset viewer.