29 Nov 16:14
List page: Id links to editlist page
adrian15 <adrian15sgd <at> gmail.com>
2009-11-29 15:14:37 GMT
2009-11-29 15:14:37 GMT
When evaluating svn_r1703 I have seen that id (the number) links to editlist (even if there is no permissions from the owner to editlist page). However I do not like this behaviour so I just rewrite the code so that the id is seen as a plain number. You might be interested in this patch or maybe not. I have made a patch so that the delete links come back. As always I will open a mantis issue whenever I have time. adrian15 -- Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/index.php?pid=10
diff -urN
svn_r1703_sin_punto_svn_improved_04_list_delete_link_not_there/phplist/public_html/lists/admin/list.php svn_r1703_sin_punto_svn_improved_05_id_is_not_a_link_to_editlist/phplist/public_html/lists/admin/list.php
---
svn_r1703_sin_punto_svn_improved_04_list_delete_link_not_there/phplist/public_html/lists/admin/list.php 2009-11-29
15:43:24.000000000 +0100
+++
svn_r1703_sin_punto_svn_improved_05_id_is_not_a_link_to_editlist/phplist/public_html/lists/admin/list.php 2009-11-29
16:08:56.000000000 +0100
@@ -146,7 +146,7 @@
$desc = $plugin->displayLists($row) . $desc;
}
- $ls->addElement($row["id"],PageUrl2("editlist&id=".$row["id"]));
+ $ls->addElement($row["id"]);
$html .= sprintf('
_______________________________________________ Phplist-developers mailing list Phplist-developers <at> tincan.co.uk http://mail.tincan.co.uk/mailman/listinfo/phplist-developers
RSS Feed