Skip to Content.
Sympa Menu

en - [sympa-users] Re: Hiding the 'Rename list' option from web interface

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "Eddy Beliveau" <address@concealed>
  • To: <address@concealed>, <address@concealed>
  • Subject: [sympa-users] Re: Hiding the 'Rename list' option from web interface
  • Date: Wed, 14 Mar 2007 12:05:45 -0400

Is it possible to remove the 'Rename List' option under the Admin sub-menu? We
don't want our users renaming their lists after they have been set up!

Hi!

You can do the following:
# copy /usr/share/sympa/web_tt2/list_admin_menu.tt2 /etc/sympa/web_tt2/list_admin_menu.tt2

Then surround the following lines in file /etc/sympa/web_tt2/list_admin_menu.tt2
[% IF may_create_list %]
<li><a class="menuLinks" href="[% path_cgi %]/rename_list_request/[% list %]">[%|loc%]Rename List[%END%]</a></li>
[% END %]

with comments symbols, like the following:

<!--
[% IF may_create_list %]
<li><a class="menuLinks" href="[% path_cgi %]/rename_list_request/[% list %]">[%|loc%]Rename List[%END%]</a></li>
[% END %]
-->

But, I would prefer this instead:

[% IF is_listmaster %]
[% IF may_create_list %]
<li><a class="menuLinks" href="[% path_cgi %]/rename_list_request/[% list %]">[%|loc%]Rename List[%END%]</a></li>
[% END %]
[% END %]

Hope it helps
Eddy




Archive powered by MHonArc 2.6.19+.

Top of Page