Enhance product links and translations; update styles and add registration modal
- Updated product links in rma.php and rma_manage.php to include icons for better UX. - Improved German, Spanish, Dutch, Polish, Portuguese, and US translations with new phrases for software licenses and user information prompts. - Refactored CSS to remove redundant styles and added new styles for a registration modal, enhancing the overall UI. - Introduced JavaScript variables for user information prompts in softwaretool.php for better localization support.
This commit is contained in:
@@ -1755,7 +1755,7 @@ function warrantyStatus($input){
|
||||
if (!empty($input) && $input < $warrantydate){
|
||||
$warranty_date_due = '<span class="status warranty_outdated">'.$warranty_outdated_text.'</span>';
|
||||
} else {
|
||||
$warranty_date_due ='<span class="status warranty">'.$warranty_recent.' ('.date('Y-m-d', strtotime($input. ' + 365 days')).')</span>';
|
||||
$warranty_date_due ='<span class="">'.$warranty_recent.' ('.date('Y-m-d', strtotime($input. ' + 365 days')).')</span>';
|
||||
}
|
||||
|
||||
return $warranty_date_due;
|
||||
@@ -1788,7 +1788,7 @@ function serviceStatus($input){
|
||||
if (!empty($input) && $input < $servicedate){
|
||||
$service_date_due = '<span class="status service_renewal">'.$service_renewal_text.'</span>';
|
||||
} else {
|
||||
$service_date_due ='<span class="status service">'.$service_recent.' ('.date('Y-m-d', strtotime($input. ' + 365 days')).')</span>';
|
||||
$service_date_due ='<span class="">'.$service_recent.' ('.date('Y-m-d', strtotime($input. ' + 365 days')).')</span>';
|
||||
}
|
||||
|
||||
return $service_date_due;
|
||||
@@ -1815,7 +1815,7 @@ function availableFirmware($sw_version,$sw_version_latest){
|
||||
|
||||
switch ($sw_version_latest) {
|
||||
case 1:
|
||||
$message = '<span class="status firmware_recent">'.$firmware_recent_text.'</span>';
|
||||
$message = '<span class="">'.$firmware_recent_text.'</span>';
|
||||
break;
|
||||
|
||||
case 0:
|
||||
@@ -1823,7 +1823,7 @@ function availableFirmware($sw_version,$sw_version_latest){
|
||||
break;
|
||||
|
||||
default:
|
||||
$message ='<span class="status">✓</span>';
|
||||
$message ='<span class="">✓</span>';
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user