2
<h3>$i18n.getString( "data_element_sort_order" )</h3>
4
<form id="sortOrderForm" action="saveDataElementSortOrder.action" method="post">
7
<input type="button" value="$i18n.getString( 'move_up' )" style="width:130px" onclick="moveUpSelectedOption( 'dataElements' )"><input
8
type="button" value="$i18n.getString( 'move_down' )" style="width:130px" onclick="moveDownSelectedOption( 'dataElements' )"><input
9
type="button" value="$i18n.getString( 'move_to_top' )" style="width:130px" onclick="moveSelectedOptionToTop( 'dataElements' )"><input
10
type="button" value="$i18n.getString( 'move_to_bottom' )" style="width:130px" onclick="moveSelectedOptionToBottom( 'dataElements' )">
14
<select multiple id="dataElements" name="dataElements" size="25" style="width:680px">
15
#foreach ( $element in $dataElements )
16
<option value="$element.id">$element.name</option>
22
<input type="button" value="$i18n.getString( 'save' )" style="width:130px" onclick="submitForm()"><input
23
type="button" value="$i18n.getString( 'cancel' )" style="width:130px" onclick="window.location.href='dataElement.action'">
28
<script type="text/javascript">
31
selectAllById( "dataElements" );
32
document.getElementById( "sortOrderForm" ).submit();