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:
@@ -203,9 +203,11 @@ $view .= '<div class="content-block">
|
||||
<p id="checkingMessage" style="margin: 0; font-size: 16px;">'.$softwaretool_checking.'</p>
|
||||
</div>
|
||||
|
||||
<div id="softwareOptions" style="margin-top: 20px; display:none;">
|
||||
<h3 style="margin-bottom: 20px; color: #333;">'.$softwaretool_select_upgrade.'</h3>
|
||||
<div id="softwareOptionsGrid" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; justify-content: center; max-width: 1200px; margin: 0 auto;">
|
||||
<div id="softwareOptionsContainer" style="margin-top: 20px; display:none; position: relative;">
|
||||
<div id="softwareOptions" style="filter: blur(8px); pointer-events: none; opacity: 0.3; transition: all 0.3s ease;">
|
||||
<h3 style="margin-bottom: 20px; color: #333;">'.$softwaretool_select_upgrade.'</h3>
|
||||
<div id="softwareOptionsGrid" style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; justify-content: center; max-width: 1200px; margin: 0 auto;">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -274,6 +276,18 @@ echo '
|
||||
var MOLLIE_ENABLED = '.(mollie_enabled ? 'true' : 'false').';
|
||||
var PAYPAL_ENABLED = '.(paypal_enabled ? 'true' : 'false').';
|
||||
var PAY_ON_DELIVERY_ENABLED = '.(pay_on_delivery_enabled ? 'true' : 'false').';
|
||||
|
||||
// Translation variables
|
||||
var TRANS_NAME = "'.($account_name ?? 'Name').'";
|
||||
var TRANS_EMAIL = "'.($account_email ?? 'Email').'";
|
||||
var TRANS_ADDRESS = "'.($shipping_address ?? 'Address').'";
|
||||
var TRANS_CITY = "'.($shipping_city ?? 'City').'";
|
||||
var TRANS_POSTAL = "'.($shipping_zip ?? 'Postal Code').'";
|
||||
var TRANS_COUNTRY = "'.($shipping_country ?? 'Country').'";
|
||||
var TRANS_USER_INFO_REQUIRED = "'.($user_information_required ?? 'User Information Required').'";
|
||||
var TRANS_USER_INFO_DESCRIPTION = "'.($user_information_description ?? 'Please provide your information to continue with software updates').'";
|
||||
var TRANS_CONTINUE = "'.($general_continue ?? 'Continue').'";
|
||||
|
||||
var port, textEncoder, writableStreamClosed, writer, historyIndex = -1;
|
||||
const lineHistory = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user