Selaa lähdekoodia

Change the function name from thorder_by to th_order_by

Mark Crane 13 vuotta sitten
vanhempi
commit
ffd72a86aa
3 muutettua tiedostoa jossa 15 lisäystä ja 15 poistoa
  1. 3 3
      invoices/v_invoice_items.php
  2. 5 5
      invoices/v_invoices.php
  3. 7 7
      user_contacts/users.php

+ 3 - 3
invoices/v_invoice_items.php

@@ -68,9 +68,9 @@ require_once "includes/paging.php";
 	echo "<div align='center'>\n";
 	echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
 	echo "<tr>\n";
-	echo thorder_by('item_qty', 'Quantity', $order_by, $order);
-	echo thorder_by('item_unit_price', 'Unit Price', $order_by, $order);
-	echo thorder_by('item_desc', 'Description', $order_by, $order);
+	echo th_order_by('item_qty', 'Quantity', $order_by, $order);
+	echo th_order_by('item_unit_price', 'Unit Price', $order_by, $order);
+	echo th_order_by('item_desc', 'Description', $order_by, $order);
 	echo "<th nowrap='nowrap'>Amount</th>\n";
 	echo "<td align='right' width='42'>\n";
 	echo "	<a href='v_invoice_items_edit.php?invoice_uuid=".$_GET['id']."&contact_uuid=".$contact_uuid."' alt='add'>$v_link_label_add</a>\n";

+ 5 - 5
invoices/v_invoices.php

@@ -112,11 +112,11 @@ require_once "includes/paging.php";
 	echo "<div align='center'>\n";
 	echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
 	echo "<tr>\n";
-	echo thorder_by('invoice_number', 'Invoice Number', $order_by, $order);
-	echo thorder_by('org', 'Organization', $order_by, $order);
-	echo thorder_by('n_given', 'Given Name', $order_by, $order);
-	echo thorder_by('n_family', 'Family Name', $order_by, $order);
-	echo thorder_by('invoice_date', 'Date', $order_by, $order);
+	echo th_order_by('invoice_number', 'Invoice Number', $order_by, $order);
+	echo th_order_by('org', 'Organization', $order_by, $order);
+	echo th_order_by('n_given', 'Given Name', $order_by, $order);
+	echo th_order_by('n_family', 'Family Name', $order_by, $order);
+	echo th_order_by('invoice_date', 'Date', $order_by, $order);
 	echo "<td align='right' width='42'>\n";
 	echo "	<a href='v_invoices_edit.php?contact_uuid=".$_GET['id']."' alt='add'>$v_link_label_add</a>\n";
 	echo "</td>\n";

+ 7 - 7
user_contacts/users.php

@@ -89,13 +89,13 @@ require_once "includes/paging.php";
 	echo "<div align='center'>\n";
 	echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
 	echo "<tr>\n";
-	echo thorder_by('username', 'Username', $order_by, $order);
-	echo thorder_by('user_type', 'Type', $order_by, $order);
-	echo thorder_by('user_category', 'Category', $order_by, $order);
-	echo thorder_by('user_first_name', 'First Name', $order_by, $order);
-	echo thorder_by('user_last_name', 'Last Name', $order_by, $order);
-	echo thorder_by('user_company_name', 'Organization', $order_by, $order);
-	echo thorder_by('user_phone_1', 'Phone', $order_by, $order);
+	echo th_order_by('username', 'Username', $order_by, $order);
+	echo th_order_by('user_type', 'Type', $order_by, $order);
+	echo th_order_by('user_category', 'Category', $order_by, $order);
+	echo th_order_by('user_first_name', 'First Name', $order_by, $order);
+	echo th_order_by('user_last_name', 'Last Name', $order_by, $order);
+	echo th_order_by('user_company_name', 'Organization', $order_by, $order);
+	echo th_order_by('user_phone_1', 'Phone', $order_by, $order);
 	echo "<td align='right' width='42'>\n";
 	if (permission_exists('contacts_add')) {
 		echo "	<a href='users_edit.php' alt='add'>$v_link_label_add</a>\n";