forked from extern/egroupware
- IE workaround only for IE
- phpgwapi as default app-name for image-buttons
This commit is contained in:
parent
ab9ec83bc4
commit
d484a2227f
@ -339,11 +339,13 @@ htmlareaConfig.editorURL = '."'$this->phpgwapi_js_url/htmlarea/';";
|
|||||||
return "<input $type name=\"$name\" value=\"".$this->htmlspecialchars($value)."\" $options />\n";
|
return "<input $type name=\"$name\" value=\"".$this->htmlspecialchars($value)."\" $options />\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
function submit_button($name,$lang,$onClick='',$no_lang=0,$options='',$image='',$app='')
|
function submit_button($name,$lang,$onClick='',$no_lang=0,$options='',$image='',$app='phpgwapi')
|
||||||
{
|
{
|
||||||
// workaround for idots and IE button problem (wrong cursor-image)
|
// workaround for idots and IE button problem (wrong cursor-image)
|
||||||
$options .= ' style="cursor: hand;"';
|
if ($this->user_agent == 'msie')
|
||||||
|
{
|
||||||
|
$options .= ' style="cursor: pointer; cursor: hand;"';
|
||||||
|
}
|
||||||
if ($image != '')
|
if ($image != '')
|
||||||
{
|
{
|
||||||
$image = str_replace(array('.gif','.GIF','.png','.PNG'),'',$image);
|
$image = str_replace(array('.gif','.GIF','.png','.PNG'),'',$image);
|
||||||
|
Loading…
Reference in New Issue
Block a user