mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Minor LAN change to make changing avatar procedure easier to understand
This commit is contained in:
@@ -413,7 +413,7 @@ class e_form
|
|||||||
if($localonly == true)
|
if($localonly == true)
|
||||||
{
|
{
|
||||||
$text = "<input class='tbox' style='width:80%' id='{$idinput}' type='hidden' name='image' size='40' value='{$curVal}' maxlength='100' />";
|
$text = "<input class='tbox' style='width:80%' id='{$idinput}' type='hidden' name='image' size='40' value='{$curVal}' maxlength='100' />";
|
||||||
$text .= "<img src='".$img."' id='{$previnput}' class='img-rounded e-expandit e-tip avatar' style='cursor:pointer; width:".$pref['im_width']."px; height:".$pref['im_height']."px' title='Choose an avatar for yourself'/>"; // TODO LAN
|
$text .= "<img src='".$img."' id='{$previnput}' class='img-rounded e-expandit e-tip avatar' style='cursor:pointer; width:".$pref['im_width']."px; height:".$pref['im_height']."px' title='Click on the avatar to change it'/>"; // TODO LAN
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -1784,8 +1784,8 @@ class e_form
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$user_options = array('name' => $name); //required for some of the automated tasks
|
$user_options = array('name' => $name); //required for some of the automated tasks
|
||||||
}
|
}
|
||||||
|
|
||||||
return array_merge($def_options, $user_options);
|
return array_merge($def_options, $user_options);
|
||||||
|
Reference in New Issue
Block a user