[dev] Small imp/compose.php fix, wrong qoutes used
Tautvydas Želvys
tautvydas.zelvys at ktu.lt
Fri Sep 16 11:11:45 UTC 2011
Hello,
I am sending small imp/compose.php fix, because on php there where wrong
qoutes used, and mail redirection address book, wasn't working.
---
imp/compose.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/imp/compose.php b/imp/compose.php
index ae65ce1..5014f48 100644
--- a/imp/compose.php
+++ b/imp/compose.php
@@ -745,7 +745,7 @@ if ($redirect) {
if ($registry->hasMethod('contacts/search')) {
$t->set('abook', $blank_url->copy()->link(array(
'class' => 'widget',
- 'onclick.raw' => 'window.open("' .
Horde::url('contacts.php')->add(array('formname' => 'redirect',
'to_only' => 1)) . '", "contacts",
"toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes,width=550,height=300,left=100,top=100");
return false;',
+ 'onclick.raw' => "window.open('" .
Horde::url('contacts.php')->add(array('formname' => 'redirect',
'to_only' => 1)) . "', 'contacts',
'toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes,width=550,height=300,left=100,top=100');
return false;",
'title' => _("Address Book")
)) . Horde::img('addressbook_browse.png') . '<br />' .
_("Address Book") .'</a>');
}
--
More information about the dev
mailing list