Skip to content

Commit 038f4e3

Browse files
committed
Minor improvements to formatting
Files changed in commit: Suppliers.php
1 parent d71bd03 commit 038f4e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Suppliers.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function Is_ValidAccount($ActNo) {
313313
echo '<p class="page_title_text"><img src="' . $RootPath . '/css/' . $Theme . '/images/supplier.png" title="' . __('Search') . '" alt="" />' . ' ' . __('Suppliers') . '</p>';
314314
if (isset($SupplierID)) {
315315
echo '<p>
316-
<a href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . $SupplierID . '">' . __('Review Supplier Contact Details') . '</a>
316+
<a class="toplink" href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . $SupplierID . '">' . __('Review Supplier Contact Details') . '</a>
317317
</p>';
318318
}
319319
$InputError = 0;
@@ -441,11 +441,11 @@ function Is_ValidAccount($ActNo) {
441441
$longitude = $json[0]['lon'];
442442
} else {
443443
// No results found
444-
echo '<p>' . __('Address') . ': ' . $Address . ' ' . __('failed to geocode') . ' - ' . __('No results found') . '</p>';
444+
echo '<h3>' . __('Address') . ': ' . $Address . ' ' . __('failed to geocode') . ' - ' . __('No results found') . '</h3>';
445445
}
446446
} else {
447447
// Connection failed
448-
echo '<p>' . __('Address') . ': ' . $Address . ' ' . __('failed to geocode') . ' - ' . __('Connection failed') . '</p>';
448+
echo '<h3>' . __('Address') . ': ' . $Address . ' ' . __('failed to geocode') . ' - ' . __('Connection failed') . '</h3>';
449449
}
450450

451451
// Respect Nominatim usage policy: 1 request per second
@@ -604,7 +604,7 @@ function Is_ValidAccount($ActNo) {
604604
prnMsg(__('A new supplier for') . ' ' . $_POST['SuppName'] . ' ' . __('has been added to the database'), 'success');
605605

606606
echo '<p>
607-
<a href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . $SupplierID . '">' . __('Review Supplier Contact Details') . '</a>
607+
<a class="toplink" href="' . $RootPath . '/SupplierContacts.php?SupplierID=' . $SupplierID . '">' . __('Review Supplier Contact Details') . '</a>
608608
</p>';
609609

610610
unset($SupplierID);
@@ -1296,7 +1296,7 @@ function Is_ValidAccount($ActNo) {
12961296
<input type="submit" name="submit" value="' . __('Update Supplier') . '" />
12971297
</div>';
12981298
// echo '<p><font color=red><b>' . __('WARNING') . ': ' . __('There is no second warning if you hit the delete button below') . '. ' . __('However checks will be made to ensure there are no outstanding purchase orders or existing accounts payable transactions before the deletion is processed') . '<br /></font></b>';
1299-
prnMsg(__('WARNING') . ': ' . __('There is no second warning if you hit the delete button below') . '. ' . __('However checks will be made to ensure there are no outstanding purchase orders or existing accounts payable transactions before the deletion is processed'), 'Warn');
1299+
prnMsg(__('WARNING') . ': ' . __('There is no second warning if you hit the delete button below') . '. ' . __('However checks will be made to ensure there are no outstanding purchase orders or existing accounts payable transactions before the deletion is processed'), 'info');
13001300
echo '<div class="centre">
13011301
<input type="reset" name="delete" value="' . __('Delete Supplier') . '" onclick="return confirm(\'' . __('Are you sure you wish to delete this supplier?') . '\');" />
13021302
</div>';

0 commit comments

Comments
 (0)