6.0.0-git
2019-03-21

[#4951] new_bookmark bad url in ./templates/browse.php
Summary new_bookmark bad url in ./templates/browse.php
Queue Trean
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester pehrle (at) ac-reims (dot) fr
Created 2007-01-30 (4433 days ago)
Due 01/30/2007 (4433 days ago)
Updated 2007-02-04 (4428 days ago)
Assigned 2007-01-30 (4433 days ago)
Resolved 2007-02-04 (4428 days ago)
Milestone
Patch No

History
2007-02-04 23:39:11 Chuck Hagenbuch State ⇒ Resolved
 
2007-01-30 14:48:23 Chuck Hagenbuch Comment #2
Assigned to Chuck Hagenbuch
State ⇒ Assigned
Reply to this comment
I'm just about done with a revamp of trean's UI that gets rid of a lot 
of this javascript period.
2007-01-30 14:35:34 pehrle (at) ac-reims (dot) fr Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ new_bookmark bad url in ./templates/browse.php
Due ⇒ 2007-01-30
Queue ⇒ Trean
Reply to this comment
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.




Saved Queries