adrian15 | 29 Nov 14:12
Picon
Gravatar

List: Admin can see list title even if editlist accesslevel is none

If an admin that had list page enabled wanted to see its lists and at 
the same time editlist acceslevel was set to none:

He saw listing but with the title of each mailing list empty.

This is because the title was set to be an editlist link with the 
PageLink2 function.

This patch fixes this issue.

As always I will open a mantis issue for this problem 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_02_list_delete_any_list/phplist/public_html/lists/admin/list.php svn_r1703_sin_punto_svn_improved_03_list_title_can_be_seen_always/phplist/public_html/lists/admin/list.php
---
svn_r1703_sin_punto_svn_improved_02_list_delete_any_list/phplist/public_html/lists/admin/list.php	2009-11-29
13:01:51.000000000 +0100
+++
svn_r1703_sin_punto_svn_improved_03_list_title_can_be_seen_always/phplist/public_html/lists/admin/list.php	2009-11-29
14:08:12.000000000 +0100
@@ -176,7 +176,7 @@
     );
     $ls->addColumn($row['id'],
       $GLOBALS['I18N']->get('Name'),
-      PageLink2("editlist",stripslashes($row['name']),"id=".$row["id"]));
+      stripslashes($row['name']));
     $ls->addColumn($row['id'],
       $GLOBALS['I18N']->get('Order'),
       sprintf('<input type="text" name="listorder[%d]" value="%d" size="5">',$row['id'],$row['listorder']));
_______________________________________________
Phplist-developers mailing list
Phplist-developers <at> tincan.co.uk
http://mail.tincan.co.uk/mailman/listinfo/phplist-developers

Gmane