diff --git a/action.php b/action.php index 646a4af..c1413a8 100644 --- a/action.php +++ b/action.php @@ -79,6 +79,7 @@ switch ($VARS['action']) { } $component->setCapacity($VARS['capacity']); $component->setModel($VARS['model']); + $component->setManufacturer($VARS['manufacturer']); $component->setPrice($VARS['price'] * 1.0); $component->setPrivateNotes($VARS['privatenotes']); $component->setPublicNotes($VARS['publicnotes']); diff --git a/pages/viewmachine.php b/pages/viewmachine.php index 101e1e0..0265e57 100644 --- a/pages/viewmachine.php +++ b/pages/viewmachine.php @@ -147,6 +147,12 @@ $machine = new Machine($machineid); getManufacturer())) { + ?> + get("Manufacturer"); ?>: getManufacturer()); ?>
+ getTestedDate())) { ?> get("Tested On"); ?>: getTestedDate())); ?>
diff --git a/public/index.php b/public/index.php index 66ac23c..4ffdfdb 100644 --- a/public/index.php +++ b/public/index.php @@ -113,7 +113,7 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_

- Enter a Netsyms machine ID number, serial number, or tracking code. + Enter a , serial number, or tracking code.

@@ -143,7 +143,7 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_ ?>

- Enter a Netsyms machine ID number, serial number, or tracking code. + Enter a , serial number, or tracking code.

@@ -290,6 +290,12 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_ getManufacturer())) { + ?> + get("Manufacturer"); ?>: getManufacturer()); ?>
+ getPublicNotes())) { ?>
@@ -335,7 +341,7 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_ Look up another machine:

- + " required />
diff --git a/settings.template.php b/settings.template.php index 36db69d..f54fa48 100644 --- a/settings.template.php +++ b/settings.template.php @@ -36,6 +36,9 @@ $SETTINGS = [ ], // Name of the app. "site_title" => "MachineManager", + "branding" => [ + "machineidnumber" => "Netsyms machine ID number" + ], // Settings for connecting to the AccountHub server. "accounthub" => [ // URL for the API endpoint