Provide a non-javascript link for editing permissions.
authorJan Schneider <jan@horde.org>
Mon, 3 Aug 2009 17:20:46 +0000 (19:20 +0200)
committerJan Schneider <jan@horde.org>
Mon, 3 Aug 2009 17:20:46 +0000 (19:20 +0200)
nag/templates/tasklist_list.php

index 00253e1..d8537b2 100644 (file)
@@ -30,7 +30,7 @@
    <td><?php $url = $subscribe_url_base . $tasklist->get('owner') . '/' . $tasklist->getName() . '.ics'; echo Horde::link($url, _("Click or copy this URL to display this task list"), '', '_blank') . htmlspecialchars(shorten_url($url)) . '</a>' ?></td>
    <td><?php echo Horde::link(Horde_Util::addParameter($edit_url_base, 't', $tasklist->getName()), _("Edit")) . $edit_img . '</a>' ?></td>
 <?php if (empty($conf['share']['no_sharing'])): ?>
-   <td><?php echo Horde::link('', _("Change Permissions"), '', '_blank', Horde::popupJs($perms_url_base, array('params' => array('share' => $tasklist->getName()), 'urlencode' => true)) . 'return false;') . $perms_img . '</a>' ?></td>
+   <td><?php echo Horde::link(Horde_Util::addParameter($perms_url_base, 'share', $tasklist->getName()), _("Change Permissions"), '', '_blank', Horde::popupJs($perms_url_base, array('params' => array('share' => $tasklist->getName()), 'urlencode' => true)) . 'return false;') . $perms_img . '</a>' ?></td>
 <?php endif; ?>
    <td><?php echo Horde::link(Horde_Util::addParameter($delete_url_base, 't', $tasklist->getName()), _("Delete")) . $delete_img . '</a>' ?></td>
   </tr>