[trean] Fwd: Little patch for Trean

Jan Schneider jan at horde.org
Wed Dec 31 03:26:23 PST 2003



----- Weitergeleitete Nachricht von micha at kovoks.nl -----
    Datum: Wed, 31 Dec 2003 12:02:59 +0100
    Von: Micha Kersloot <micha at kovoks.nl>
Antwort an: Micha Kersloot <micha at kovoks.nl>
 Betreff: Little patch for Trean
      An: jan at horde.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jan,

I think the following change in trean/templates/add/add.inc could be
usefull:

- --- add.inc.orig        2003-12-31 11:49:14.000000000 +0100
+++ add.inc     2003-12-31 11:55:24.000000000 +0100
@@ -65,7 +65,7 @@
  $addUrl = Util::addParameter($addUrl,
"name='+escape(document.title)+'");
  $addUrl = Util::addParameter($addUrl,  "url='+location.href");
  $addUrl = Horde::url($addUrl, true, -1);
- -$url = "javascript:d=new Date();location.href='$addUrl;";
+$url = "javascript:d=new
Date();book='$addUrl;bookwin=window.open(book,'Bookmark');
bookwin.focus();";
  echo "<a href=\"$url\"><u>" . Horde::img('note.gif') . ' ' . _("Add to
Bookmarks") . '</u></a>';
  ?>
    </td>



Met vriendelijke groet,

Micha Kersloot
http://www.kovoks.nl/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/8qznLG2Seh5hGQ4RAjsFAJ4s7kElskm7y1HBsJLD0loiB4pYDQCeNXzH
RFDyn2JZ/8Q7cDTA2GD6jZQ=
=05r9
-----END PGP SIGNATURE-----



----- Ende der weitergeleiteten Nachricht -----


Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the trean mailing list