[-] MO : #PSCFV-2354 - Remove chars number limit of version number
This commit is contained in:
@@ -44,9 +44,9 @@ function addVariation(id_variation)
|
||||
}
|
||||
newRow += '</select></td>';
|
||||
newRow += '<td style="font-weight: bold;">'+compafrom+'</td>';
|
||||
newRow += '<td><input type="text" value="'+compatibility_from+'" name="compafrom_'+idRow+'" maxlength="'+compatibility_length+'" /></td>';
|
||||
newRow += '<td><input type="text" value="'+compatibility_from+'" name="compafrom_'+idRow+'"/></td>';
|
||||
newRow += '<td style="font-weight: bold;">'+compato+'</td>';
|
||||
newRow += '<td><input type="text" value="'+compatibility_to+'" name="compato_'+idRow+'" maxlength="'+compatibility_length+'" /></td>';
|
||||
newRow += '<td><input type="text" value="'+compatibility_to+'" name="compato_'+idRow+'"/></td>';
|
||||
|
||||
if ($('#variation_table tr').length > 0)
|
||||
$('#variation_table tr:last').after(newRow);
|
||||
|
||||
@@ -215,7 +215,6 @@ class ThemeInstallator extends Module
|
||||
define('MAX_WEBSITE_LENGTH', 128);
|
||||
define('MAX_DESCRIPTION_LENGTH', 64);
|
||||
define('MAX_T_VER_LENGTH', 3);
|
||||
define('MAX_COMPATIBILITY_VER', 7);
|
||||
define('ARCHIVE_NAME', _IMPORT_FOLDER_.'uploaded.zip');
|
||||
define('XMLFILENAME', 'Config.xml');
|
||||
|
||||
@@ -1406,13 +1405,13 @@ class ThemeInstallator extends Module
|
||||
<div style="float: left;">
|
||||
<label>'.$this->l('Compatible From').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" value="'.$val.'" name="compa_from" maxlength="'.MAX_COMPATIBILITY_VER.'" />
|
||||
<input type="text" value="'.$val.'" name="compa_from"/>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-left: 30px; float: left;">
|
||||
<label>'.$this->l('To').'</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" value="'.$val2.'" name="compa_to" maxlength="'.MAX_COMPATIBILITY_VER.'"/>
|
||||
<input type="text" value="'.$val2.'" name="compa_to">
|
||||
</div>
|
||||
</div>
|
||||
<p class="clear"> </p>';
|
||||
@@ -1449,7 +1448,6 @@ class ThemeInstallator extends Module
|
||||
var compato = "'.$this->l('To').'";
|
||||
var name_length = "'.MAX_NAME_LENGTH.'";
|
||||
var doc_default_val = "'.$this->l('Documentation').'";
|
||||
var compatibility_length = "'.MAX_COMPATIBILITY_VER.'";
|
||||
var compatibility_from = "'.DEFAULT_COMPATIBILITY_FROM.'";
|
||||
var compatibility_to = "'.DEFAULT_COMPATIBILITY_TO.'";
|
||||
var select_default = "'.$this->l('Choose a theme').'";
|
||||
|
||||
@@ -12,6 +12,7 @@ $_MODULE['<{themeinstallator}prestashop>themeinstallator_5fd13c2b89a6eaaa4614bfe
|
||||
$_MODULE['<{themeinstallator}prestashop>themeinstallator_0dea6caeb83e5c11d3678284e64ebed8'] = 'Une erreur est survenue durant le téléchargement du fichier';
|
||||
$_MODULE['<{themeinstallator}prestashop>themeinstallator_c186217583219f4cd040d9ee8d388ffb'] = 'Une erreur est survenue durant l\'extraction du fichier .zip';
|
||||
$_MODULE['<{themeinstallator}prestashop>themeinstallator_0210b6456cdccad569cb56026bb0f689'] = 'Mauvais fichier de configuration';
|
||||
$_MODULE['<{themeinstallator}prestashop>themeinstallator_416fa810b877005364d8dc1f61a2b7f0'] = 'Vous devez sélectionner au moins un thème';
|
||||
$_MODULE['<{themeinstallator}prestashop>themeinstallator_a7eca295291f53a23ab7ba0a9c7fd9de'] = 'Cette fonctionnalité a été désactivée.';
|
||||
$_MODULE['<{themeinstallator}prestashop>themeinstallator_5b6cf869265c13af8566f192b4ab3d2a'] = 'Documentation';
|
||||
$_MODULE['<{themeinstallator}prestashop>themeinstallator_6bdbe5a8a9f446d4d758ee4c22648771'] = 'Vous devriez consulter la documentation';
|
||||
|
||||
Reference in New Issue
Block a user