Skip to content

Commit

Permalink
#31 [Admin] fix: mssing trad and minwidth
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Nov 15, 2023
1 parent 8d760e2 commit 3e49497
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions admin/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,17 @@

print '<tr class="oddeven"><td><label for="url_yourls_api">' . $langs->trans('URLYourlsAPI') . '</label></td>';
print '<td>' . $langs->trans('URLYourlsAPIDescription') . '</td>';
print '<td><input type="text" name="url_yourls_api" value="' . $conf->global->EASYURL_URL_YOURLS_API . '"></td>';
print '<td><input class="minwidth300" type="text" name="url_yourls_api" value="' . $conf->global->EASYURL_URL_YOURLS_API . '"></td>';
print '</td></tr>';

print '<tr class="oddeven"><td><label for="signature_token_yourls_api">' . $langs->trans('SignatureTokenYourlsAPI') . '</label></td>';
print '<td>' . $langs->trans('SignatureTokenYourlsAPIDescription') . '</td>';
print '<td><input type="password" name="signature_token_yourls_api" value="' . $conf->global->EASYURL_SIGNATURE_TOKEN_YOURLS_API . '"></td>';
print '<td><input class="minwidth300" type="password" name="signature_token_yourls_api" value="' . $conf->global->EASYURL_SIGNATURE_TOKEN_YOURLS_API . '"></td>';
print '</td></tr>';

print '<tr class="oddeven"><td><label for="default_original_url">' . $langs->trans('DefaultOriginalUrl') . '</label></td>';
print '<td>' . $langs->trans('DefaultOriginalUrlDescription') . '</td>';
print '<td><input type="text" name="default_original_url" value="' . $conf->global->EASYURL_DEFAULT_ORIGINAL_URL . '"></td>';
print '<td><input class="minwidth300" type="text" name="default_original_url" value="' . $conf->global->EASYURL_DEFAULT_ORIGINAL_URL . '"></td>';
print '</td></tr>';

print '<tr class="oddeven"><td>' . $langs->trans('UseShaUrl') . '</td>';
Expand Down
2 changes: 2 additions & 0 deletions langs/fr_FR/easyurl.lang
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ URLYourlsAPI = URL API YOURLS
URLYourlsAPIDescription = Cette option permet de configurer l'URL d'API YOURLS
SignatureTokenYourlsAPI = Token de signature
SignatureTokenYourlsAPIDescription = Cette option permet de configurer le token de signature d'API YOURLS
DefaultOriginalUrl = URL d'origine par défaut
DefaultOriginalUrlDescription = Cette option permet de configurer l'URL d'origine par défaut
UseShaUrl = SHA dans l'URL raccourcie
UseShaUrlDescription = Cette option permet d'ajouter un SHA (8 caractères) dans le raccourcissement des URLs
AutomaticEasyUrlGeneration = Génération automatique des URLs raccourcies
Expand Down

0 comments on commit 3e49497

Please sign in to comment.