2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2021-04-18 15:07:22 +02:00
parent 03f7ec13cf
commit cad7ea0b92
3 changed files with 6 additions and 6 deletions

View File

@@ -735,7 +735,7 @@ class Translate
* @param string $str string root to translate * @param string $str string root to translate
* @param string $countrycode country code (FR, ...) * @param string $countrycode country code (FR, ...)
* @return string translated string * @return string translated string
* @see transcountrynoentities() * @see transcountrynoentities(), picto_from_langcode()
*/ */
public function transcountry($str, $countrycode) public function transcountry($str, $countrycode)
{ {
@@ -753,7 +753,7 @@ class Translate
* @param string $str string root to translate * @param string $str string root to translate
* @param string $countrycode country code (FR, ...) * @param string $countrycode country code (FR, ...)
* @return string translated string * @return string translated string
* @see transcountry() * @see transcountry(), picto_from_langcode()
*/ */
public function transcountrynoentities($str, $countrycode) public function transcountrynoentities($str, $countrycode)
{ {

View File

@@ -7996,7 +7996,7 @@ function dol_validElement($element)
} }
/** /**
* Return img flag of country for a language code or country code * Return img flag of country for a language code or country code.
* *
* @param string $codelang Language code ('en_IN', 'fr_CA', ...) or ISO Country code on 2 characters in uppercase ('IN', 'FR') * @param string $codelang Language code ('en_IN', 'fr_CA', ...) or ISO Country code on 2 characters in uppercase ('IN', 'FR')
* @param string $moreatt Add more attribute on img tag (For example 'style="float: right"' or 'class="saturatemedium"') * @param string $moreatt Add more attribute on img tag (For example 'style="float: right"' or 'class="saturatemedium"')

View File

@@ -4220,7 +4220,7 @@ if ($action == 'replacesite' || $action == 'replacesiteconfirm' || $massaction =
print getTitleFieldOfList("Type", 0, $_SERVER['PHP_SELF'], 'type_container', '', $param, '', $sortfield, $sortorder, '')."\n"; print getTitleFieldOfList("Type", 0, $_SERVER['PHP_SELF'], 'type_container', '', $param, '', $sortfield, $sortorder, '')."\n";
print getTitleFieldOfList("Page", 0, $_SERVER['PHP_SELF'], 'pageurl', '', $param, '', $sortfield, $sortorder, '')."\n"; print getTitleFieldOfList("Page", 0, $_SERVER['PHP_SELF'], 'pageurl', '', $param, '', $sortfield, $sortorder, '')."\n";
print getTitleFieldOfList("Categories", 0, $_SERVER['PHP_SELF']); print getTitleFieldOfList("Categories", 0, $_SERVER['PHP_SELF']);
print getTitleFieldOfList("Language", 0, $_SERVER['PHP_SELF'], 'lang', '', $param, '', $sortfield, $sortorder, '')."\n"; print getTitleFieldOfList("Language", 0, $_SERVER['PHP_SELF'], 'lang', '', $param, '', $sortfield, $sortorder, 'center ')."\n";
print getTitleFieldOfList("", 0, $_SERVER['PHP_SELF']); print getTitleFieldOfList("", 0, $_SERVER['PHP_SELF']);
print getTitleFieldOfList("DateLastModification", 0, $_SERVER['PHP_SELF'], 'tms', '', $param, '', $sortfield, $sortorder, 'center ')."\n"; // Date last modif print getTitleFieldOfList("DateLastModification", 0, $_SERVER['PHP_SELF'], 'tms', '', $param, '', $sortfield, $sortorder, 'center ')."\n"; // Date last modif
print getTitleFieldOfList("", 0, $_SERVER['PHP_SELF']); print getTitleFieldOfList("", 0, $_SERVER['PHP_SELF']);
@@ -4278,8 +4278,8 @@ if ($action == 'replacesite' || $action == 'replacesiteconfirm' || $massaction =
$param .= '&searchstring='.urlencode($searchkey); $param .= '&searchstring='.urlencode($searchkey);
// Language // Language
print '<td>'; print '<td class="center">';
print $answerrecord->lang; print picto_from_langcode($answerrecord->lang, $answerrecord->lang);
print '</td>'; print '</td>';
// Number of words // Number of words