projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace CVS with SVN
[squirrelmail.git]
/
functions
/
strings.php
diff --git
a/functions/strings.php
b/functions/strings.php
index 2e610b3862e2e6a8037d0eec4535681bce14851c..68c607819bd9d230c41590d0e189109b252c9b49 100644
(file)
--- a/
functions/strings.php
+++ b/
functions/strings.php
@@
-792,7
+792,7
@@
function quoteimap($str) {
* @since 1.4.2
*/
function makeComposeLink($url, $text = null, $target='') {
* @since 1.4.2
*/
function makeComposeLink($url, $text = null, $target='') {
- global $compose_new_win, $
javascript_on, $
compose_width,
+ global $compose_new_win, $compose_width,
$compose_height, $oTemplate;
if(!$text) {
$compose_height, $oTemplate;
if(!$text) {
@@
-809,7
+809,7
@@
function makeComposeLink($url, $text = null, $target='') {
// if javascript is on, use onclick event to handle it
// if javascript is on, use onclick event to handle it
- if(
$javascript_on
) {
+ if(
checkForJavascript()
) {
sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION);
$compuri = SM_BASE_URI.$url;
sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION);
$compuri = SM_BASE_URI.$url;