dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14361
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4856: Removed the unused file.
------------------------------------------------------------
revno: 4856
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-10-06 15:59:53 +0700
message:
Removed the unused file.
removed:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/userSettings.vm
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== removed file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/userSettings.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/userSettings.vm 2011-10-05 13:46:03 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/userSettings.vm 1970-01-01 00:00:00 +0000
@@ -1,100 +0,0 @@
-#if( $availableLocales )
-<script type="text/javascript">
- function languageChanged( list )
- {
- var locale = list.options[list.selectedIndex].value;
- window.location.href = "setCurrentLocale.action?currentLocale=" + locale;
- }
-
- function languageChangedDb( list )
- {
- var locale = list.options[list.selectedIndex].value;
- window.location.href = "setCurrentLocaleDb.action?currentLocaleDb=" + locale;
- }
-
- function sortOrderChanged( list )
- {
- var sortOrder = list.options[list.selectedIndex].value;
- window.location.href = "setCurrentSortOrder.action?currentSortOrder=" + sortOrder;
- }
-
- function displayPropertyChanged( list )
- {
- var property = list.options[list.selectedIndex].value;
- window.location.href = "setCurrentDisplayProperty.action?currentDisplayProperty=" + property;
- }
-
- function autoSaveDataEntryForm( value )
- {
- window.location.href = "setAutoSaveDataEntryForm.action?autoSave=" + value;
- }
-
- function styleChanged( list )
- {
- var style = list.options[list.selectedIndex].value;
- window.location.href = "setCurrentStyle.action?currentStyle=" + style;
- }
-
- function chartsInDashboardDisplayChanged( list )
- {
- var listValue = list.options[list.selectedIndex].value;
- window.location.href = "setCurrentChartsInDashboard.action?chartsInDashboard=" + listValue;
- }
-</script>
-
-<form>
-<h3>$i18n.getString("user_general_settings")</h3>
-
-<h4>$i18n.getString( "language" )</h4>
-
-<select onchange="languageChanged( this );" style="min-width:250px">
-#foreach( $locale in $availableLocales )
- <option value="$locale.toString()" #if( $locale == $currentLocale )selected="selected"#end>$locale.getDisplayName()</option>
-#end
-</select>
-
-<h4>$i18n.getString( "db_language" )</h4>
-
-<select id="localeSelectDb" onchange="languageChangedDb( this );" style="min-width:250px">
-#foreach( $locale in $availableLocalesDb )
- <option value="$locale.toString()" #if( $locale == $currentLocaleDb )selected="selected"#end>$locale.getDisplayName()</option>
-#end
-</select>
-
-<h4>$i18n.getString( "sort_order" )</h4>
-
-<select onchange="sortOrderChanged( this );" style="min-width:250px">
-#foreach( $sortOrder in $sortOrders )
- <option value="$sortOrder" #if( $sortOrder == $currentSortOrder )selected="selected"#end>$i18n.getString( $sortOrder )</option>
-#end
-</select>
-
-<h4>$i18n.getString( "display_property" )</h4>
-
-<select onchange="displayPropertyChanged( this );" style="min-width:250px">
-#foreach( $property in $displayProperties )
- <option value="$property" #if( $property == $currentDisplayProperty )selected="selected"#end>$i18n.getString( $property )</option>
-#end
-</select>
-
-<h4>$i18n.getString( "style" )</h4>
-
-<select onchange="styleChanged( this );" style="min-width:250px">
-#foreach( $style in $styles.entrySet() )
- <option value="$style.value" #if( $style.value == $currentStyle )selected="selected"#end>$i18n.getString( $style.key )</option>
-#end
-</select>
-
-<h4>$i18n.getString( "dashboard_charts_to_display" )</h4>
-
-<select onchange="chartsInDashboardDisplayChanged( this )" style="min-width:250px">
-#foreach( $charts in $chartsInDashboardOptions )
- <option value="$charts" #if($charts == $chartsInDashboard) selected="selected"#end>$charts</option>
-#end
-</select>
-
-<h4>$i18n.getString( "auto_save_data_entry_form" )</h4>
-<input type="checkbox" #if($autoSave == 'true') checked #end onchange="autoSaveDataEntryForm(this.checked);"/>
-
-</form>
-#end