- Timestamp:
- 05/20/15 16:02:58 (9 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r720 r727 1265 1265 $page->param(mergefree => $fb_list); 1266 1266 1267 ##fixme: push this up the stack somewhere so the labels can be fed to the relevant templates when/as needed 1267 1268 # scope 1268 1269 my %merge_friendly = ( 1269 1270 keepall => "Keep mergeable allocations as suballocations of new block", 1270 mergepeer => " Make suballocations of mergeable allocations direct children of new block",1271 mergepeer => "Keep suballocations of mergeable allocations", 1271 1272 clearpeer => "Keep only suballocations of $binfo->{block}", 1272 1273 clearall => "Clear all suballocations" 1273 1274 ); 1274 $page->param(scope => $merge_friendly{$webvar{mscope}}); 1275 $page->param(vis_scope => $merge_friendly{$webvar{scope}}); 1276 $page->param(scope => $webvar{scope}); 1275 1277 } # confMerge() 1276 1278 -
trunk/templates/confmerge.tmpl
r720 r727 11 11 <input type="hidden" name="action" value="domerge"> 12 12 <input type="hidden" name="block" value="<TMPL_VAR NAME=block>"> 13 <input type="hidden" name="scope" value="<TMPL_VAR NAME=scope>"> 13 14 <TMPL_IF ismaster> 14 15 <input type="hidden" name="typelist" value="mm"> … … 54 55 <tr> 55 56 <td>Merge scope:</td> 56 <td><TMPL_VAR NAME= scope></td>57 <td><TMPL_VAR NAME=vis_scope></td> 57 58 </tr> 58 59 </TMPL_IF> … … 83 84 </tr> 84 85 </table> 85 <TMPL_IF ismaster><input type="hidden" name="alloctype" value="mm"></TMPL_IF> 86 <TMPL_IF ismaster> 87 <input type="hidden" name="alloctype" value="mm"> 88 </TMPL_IF> 86 89 </fieldset> 87 90 </form> -
trunk/templates/merge.tmpl
r719 r727 13 13 <TMPL_IF ismaster> 14 14 <input type="hidden" name="alloctype" value="mm"> 15 <input type="hidden" name="scope" value="mergepeer"> 15 16 </TMPL_IF> 16 17 … … 53 54 <td>Merge scope:<br>(new or existing container types only)</td> 54 55 <td> 55 <input type="radio" name=" mscope" value="keepall">Keep mergable allocations as suballocations of new block<br>56 <input type="radio" name=" mscope" value="mergepeer" checked="checked">Make suballocations direct children of new block<br>57 <input type="radio" name=" mscope" value="clearpeer">Keep only suballocations of <TMPL_VAR NAME=oldblock><br>58 <input type="radio" name=" mscope" value="clearall">Clear all suballocations56 <input type="radio" name="scope" value="keepall">Keep mergable allocations as suballocations of new block<br> 57 <input type="radio" name="scope" value="mergepeer" checked="checked">Keep suballocations of mergeable allocations<br> 58 <input type="radio" name="scope" value="clearpeer">Keep only suballocations of <TMPL_VAR NAME=oldblock><br> 59 <input type="radio" name="scope" value="clearall">Clear all suballocations 59 60 </td> 60 61 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.