[Tickets #4951] new_bookmark bad url in ./templates/browse.php
bugs@bugs.horde.org
bugs at bugs.horde.org
Tue Jan 30 06:35:34 PST 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4951
-----------------------------------------------------------------------
Ticket | 4951
Created By | pehrle at ac-reims.fr
Summary | new_bookmark bad url in ./templates/browse.php
Queue | Trean
Type | Bug
State | Unconfirmed
Priority | 1. Low
Owners |
-----------------------------------------------------------------------
pehrle at ac-reims.fr (2007-01-30 06:35) wrote:
When a user click on new_bookmark javascript link generated by
./templates/browse.php
the url is :
if (action == "new_bookmark" || (document.bookmarks != null &&
document.bookmarks.other_actions.value == "new_bookmark")) {
window.location =
"/horde3/trean/add.php?f=157&Horde=43a6a8c15196ce0440a6ac199b9eb4df";
but ..&Hord... gives login horde page (see
http://bugs.horde.org/ticket/?id=4948)
I try to modify ./templates/browse.php to
- window.location = "<?php echo
Horde::applicationUrl(Util::addParameter('add.php', 'f',
Util::nonInputVar('folderId')), true); ?>";
+ window.location = "<?php echo
Horde::applicationUrl(Util::addParameter('add.php', 'f',
Util::nonInputVar('folderId'))); ?>";
and it works fine.
More information about the bugs
mailing list