allow more options regarding the edit of signatures (account signatures), beware everything you edit here is filtered by purify, so not everything possible will have effect, so BEWARE and TEST -> you may destroy your signature using the new options

This commit is contained in:
Klaus Leithoff 2010-04-09 07:52:43 +00:00
parent 9db6808467
commit f8c6e7d25f
2 changed files with 4 additions and 4 deletions

View File

@ -172,9 +172,9 @@
$this->t->set_var('signatureID', $signatureID);
$this->t->set_var('tinymce',html::fckEditorQuick(
'signature', 'simple',
'signature', 'advanced',
$signatureData->fm_signature,
'150px')
'450px')
);
$this->t->set_var('checkbox_isDefaultSignature',html::checkbox(
@ -185,7 +185,7 @@
)
);
} else {
$this->t->set_var('tinymce',html::fckEditorQuick('signature', 'simple', '', '150px'));
$this->t->set_var('tinymce',html::fckEditorQuick('signature', 'advanced', '', '450px'));
$this->t->set_var('checkbox_isDefaultSignature',html::checkbox(
'isDefaultSignature', false, 'true', 'id="isDefaultSignature"'

View File

@ -210,7 +210,7 @@
$tableRows[] = array(
'1' => $signature['fm_signatureid'] != -1 ? html::checkbox('signatureID', false, $signature['fm_signatureid']) : '',
'.1' => 'style="width:30px"',
'2' => '<a href="" onclick="egw_openWindowCentered(\''. $urlEditSignature ."&signatureID=".$signature['fm_signatureid']. '\',\'felamiMailACL\',\'600\',\'230\'); return false;">'. @htmlspecialchars($description, ENT_QUOTES, $this->charset) .'</a>',
'2' => '<a href="" onclick="egw_openWindowCentered(\''. $urlEditSignature ."&signatureID=".$signature['fm_signatureid']. '\',\'felamiMailACL\',\'750\',egw_getWindowOuterHeight()/2); return false;">'. @htmlspecialchars($description, ENT_QUOTES, $this->charset) .'</a>',
);
}