Changeset 2245 for alternc-mailman
- Timestamp:
- 05/08/08 22:09:40 (1 week ago)
- Files:
-
- alternc-mailman/trunk/bureau/admin/mman_list.php (modified) (1 diff)
- alternc-mailman/trunk/debian/NEWS (modified) (1 diff)
- alternc-mailman/trunk/debian/changelog (modified) (1 diff)
- alternc-mailman/trunk/debian/postrm (modified) (1 diff)
- alternc-mailman/trunk/mailman.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc-mailman/trunk/bureau/admin/mman_list.php
r2097 r2245 78 78 <td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["id"]; ?>"></td> 79 79 <td><?php echo $val["list"]."@".$val["domain"] ?></td> 80 <?php // Use the URL of the webmail in case of IP redirection on the domain. There is probably a best way to fix this ?> 81 <td> <a href="https://mail.<?php echo $val["domain"]; ?>/cgi-bin/mailman/listinfo/<?php echo $val["name"] ?>"><?php __("Public page"); ?></a> </td> 82 <td> <a href="https://mail.<?php echo $val["domain"]; ?>/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a> </td> 83 <td> <a href="https://mail.<?php echo $val["domain"]; ?>/cgi-bin/mailman/admindb/<?php echo $val["name"] ?>"><?php __("Pending messages"); ?></a> </td> 80 <?php // Use the URL of the webmail in case of IP redirection on the domain. There is probably a best way to fix this 81 $mailman_url = variable_get('mailman_url'); 82 if (!empty($mailman_url)) $domaine = $mailman_url; else $domaine = $val["domain"]; 83 ?> 84 <td> <a href="https://<?php echo $domaine; ?>/cgi-bin/mailman/listinfo/<?php echo $val["name"] ?>"><?php __("Public page"); ?></a> </td> 85 <td> <a href="https://<?php echo $domaine; ?>/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a> </td> 86 <td> <a href="https://<?php echo $domaine; ?>/cgi-bin/mailman/admindb/<?php echo $val["name"] ?>"><?php __("Pending messages"); ?></a> </td> 84 87 <td> <a href="mman_members.php?id=<?php echo $val["id"] ?>"><?php __("List Members"); ?></a> </td> 85 88 </tr> alternc-mailman/trunk/debian/NEWS
r2223 r2245 1 alternc-mailman (1.7) stable; urgency=low 2 3 add a configuration variable to control the domain in the list urls. if it 4 is set, it will be used to construct the urls in the mailing list 5 listings. If it is unset, the list's domain name will be used. 6 7 the default behaviour is therefore reverted to the one before 1.5 (svn 8 [2097]) where the list domain is used (without the prepended "mail."). 9 10 in case the variable is set, the administrator still needs to convert the 11 urls of existing lists and fix the default url in mm_cfg.py for new lists. 12 this can be done with a script like this in /var/lib/mailman/change_url: 13 14 def change_url(mlist): 15 mlist.web_page_url='https://listes.koumbit.net/cgi-bin/mailman/' 16 mlist.Save() 17 mlist.Unlock() 18 19 ... called like this: 20 21 /usr/lib/mailman/bin/withlist -l -r change_url -a 22 23 See https://alternc.org/ticket/1131 for more information. 24 25 -- Antoine Beaupré <antoine@koumbit.org> Thu, 08 May 2008 16:02:34 -0400 26 1 27 alternc-mailman (1.6) stable; urgency=low 2 28 alternc-mailman/trunk/debian/changelog
r2222 r2245 1 alternc-mailman (1.7) stable; urgency=low 2 3 [ Patrick Hétu ] 4 * fix list URLs by adding a new variable (#1131) 5 6 -- Antoine Beaupré <antoine@koumbit.org> Thu, 08 May 2008 16:05:56 -0400 7 1 8 alternc-mailman (1.6) stable; urgency=low 2 9 alternc-mailman/trunk/debian/postrm
r2189 r2245 20 20 . "$CONFIGFILE" 21 21 mysql -f --defaults-file=/etc/alternc/my.cnf -e "DROP TABLE IF EXISTS mailman" 22 mysql -f --defaults-file=/etc/alternc/my.cnf -e "DELETE FROM variable WHERE name = 'mailman_url'" 22 23 fi 23 24 ;; alternc-mailman/trunk/mailman.sql
r1175 r2245 9 9 ) TYPE=MyISAM COMMENT='Mailman mailing lists'; 10 10 11 INSERT IGNORE INTO `variable` (name, value, comment) VALUES ('mailman_url', 0, 12 ' This is the domaine name that will be use to construct mailman\'s interface links. Set this to 0 or a "false" string to ignore and keep the default behavior (hosted domain in the URL).');
