diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index f9da99543..342fe8369 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -915,7 +915,7 @@ class e_form } // $ret = "".$label.""; // using colorXXXbox. - $ret = "".$label.""; // using bootstrap. + $ret = "".$label.""; // using bootstrap. // $footer = "
Save
"; @@ -982,13 +982,13 @@ class e_form if($localonly == true) { $text = ""; - $text .= "Click on the avatar to change it"; // TODO LAN + $text .= "Click on the avatar to change it"; } else { $text = ""; $text .= ""; - $text .= ""; //TODO Common LAN. + $text .= ""; } $avFiles = e107::getFile()->get_files(e_AVATAR_DEFAULT,".jpg|.png|.gif|.jpeg|.JPG|.GIF|.PNG"); @@ -1005,7 +1005,7 @@ class e_form if(count($avFiles) > 0) { - $text .= "
OR
"; + $text .= "
".LAN_EFORM_003."
"; $count = 1; } } @@ -1014,7 +1014,7 @@ class e_form foreach($avFiles as $fi) { $img_path = $tp->thumbUrl(e_AVATAR_DEFAULT.$fi['fname']); - $text .= "\n "; + $text .= "\n "; $count++; @@ -1024,11 +1024,11 @@ class e_form if($count == 0) { $text .= "
"; - $text .= "
No Avatars Available
"; //TODO LAN + $text .= "
".LAN_EFORM_005."
"; if(ADMIN) { - $text .= "
Admin-Only Notice: The folder ".e_AVATAR_DEFAULT." is empty. Upload some default avatars images to this folder for users to choose avatars from.
"; //TODO LAN + $text .= "
".LAN_EFORM_006." ".e_AVATAR_DEFAULT." ".LAN_EFORM_007."
"; } $text .= "
"; @@ -1457,7 +1457,7 @@ e107::getDebug()->log($sc_parameters); if(empty($users)) { - return "Unavailable"; + return LAN_UNAVAILABLE; } $opt = array(); @@ -1842,7 +1842,7 @@ e107::getDebug()->log($sc_parameters); $text .= " "; - $loading = vartrue($options['loading'],'Please wait...'); + $loading = vartrue($options['loading'],LAN_LOADING); $buttonId = $target.'-start'; @@ -2534,7 +2534,7 @@ e107::getDebug()->log($sc_parameters); $tp = e107::getParser(); $text = ' - '.$this->text($name, $searchVal,20,'class=search-query&placeholder=Search…').' + '.$this->text($name, $searchVal,20,'class=search-query&placeholder='.LAN_SEARCH.'…').' '; @@ -2817,7 +2817,7 @@ e107::getDebug()->log($sc_parameters); $text = '
- '.($label ? $label : 'No Label Provided').' + '.($label ? $label : LAN_NO_LABEL_PROVIDED).'