- Timestamp:
- 09/20/11 17:22:24 (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r125 r126 236 236 unless ($permissions{admin} || $permissions{domain_create}); 237 237 238 # hmm. nothing to do here?239 # - group list is filled by the same bit that fills the group list in the menu 238 fill_grouplist("grouplist"); 239 240 240 if ($webvar{add_failed}) { 241 241 $page->param(add_failed => 1); … … 664 664 changepage(page => "domlist", errmsg => "You are not permitted to make bulk domain changes") 665 665 unless ($permissions{admin} || $permissions{domain_edit} || $permissions{domain_create} || $permissions{domain_delete}); 666 667 fill_grouplist("grouplist"); 666 668 667 669 ##fixme … … 1120 1122 1121 1123 # don't need this while we've got the dropdown in the menu. hmm. 1122 #fill_grouplist;1124 fill_grouplist("grouplist"); 1123 1125 1124 1126 $page->param(ifrom => $webvar{ifrom}) if $webvar{ifrom}; … … 1248 1250 $page->param(subs => ($tmpgrplist ? 1 : 0)); # probably not useful to pass gobs of data in for a boolean 1249 1251 $page->param(inlogingrp => $curgroup == $logingroup); 1250 1251 # stuff for menu group change. nb: this is icky.1252 fill_grouplist("grouplist");1253 1252 1254 1253 # fill in the URL-to-self -
trunk/templates/menu.tmpl
r117 r126 9 9 <TMPL_IF mayimport><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=axfr">AXFR Import</a><br /></TMPL_IF> 10 10 <TMPL_IF maybulk><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=bulkdomain">Bulk Domain Operations</a><br /></TMPL_IF> 11 <hr />12 Current group:13 <form action="<TMPL_VAR NAME=whereami>" method="post">14 <fieldset>15 <select name="group">16 <TMPL_LOOP NAME=grouplist><option value="<TMPL_VAR NAME=groupval>"<TMPL_IF NAME=groupactive> selected="selected"</TMPL_IF>><TMPL_VAR NAME=groupname></option>17 </TMPL_LOOP>18 </select>19 <input type="hidden" name="action" value="chgroup" />20 <input type="submit" value="Change group" />21 </fieldset>22 </form>23 11 <hr /> 24 12 <a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=grpman">Manage groups</a><br />
Note:
See TracChangeset
for help on using the changeset viewer.