=== modified file 'dhis-2/dhis-services/dhis-service-options/src/main/java/org/hisp/dhis/options/help/DefaultHelpManager.java' --- dhis-2/dhis-services/dhis-service-options/src/main/java/org/hisp/dhis/options/help/DefaultHelpManager.java 2010-04-12 21:23:33 +0000 +++ dhis-2/dhis-services/dhis-service-options/src/main/java/org/hisp/dhis/options/help/DefaultHelpManager.java 2011-01-24 17:01:24 +0000 @@ -27,6 +27,8 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +import static org.hisp.dhis.system.util.StreamUtils.ENCODING_UTF; + import java.io.OutputStream; import javax.xml.transform.Result; @@ -52,7 +54,7 @@ { try { - Source source = new StreamSource( new ClassPathResource( "help_content.xml" ).getInputStream() ); + Source source = new StreamSource( new ClassPathResource( "help_content.xml" ).getInputStream(), ENCODING_UTF ); Result result = new StreamResult( out ); @@ -72,7 +74,7 @@ { try { - Source source = new StreamSource( new ClassPathResource( "help_content.xml" ).getInputStream() ); + Source source = new StreamSource( new ClassPathResource( "help_content.xml" ).getInputStream(), ENCODING_UTF ); Result result = new StreamResult( out ); @@ -91,7 +93,7 @@ private Transformer getTransformer( String stylesheetName ) throws Exception { - Source stylesheet = new StreamSource( new ClassPathResource( stylesheetName ).getInputStream() ); + Source stylesheet = new StreamSource( new ClassPathResource( stylesheetName ).getInputStream(), ENCODING_UTF ); return TransformerFactory.newInstance().newTransformer( stylesheet ); } === modified file 'dhis-2/dhis-services/dhis-service-options/src/main/resources/help_content.xml' --- dhis-2/dhis-services/dhis-service-options/src/main/resources/help_content.xml 2011-01-11 15:01:00 +0000 +++ dhis-2/dhis-services/dhis-service-options/src/main/resources/help_content.xml 2011-01-24 17:14:24 +0000 @@ -8,7 +8,7 @@ This section will describe how to add new users to the DHIS 2 application.
Open User Menu - To create or find a user begin with clicking on the �user� module displayed in the drop down menu of the Maintenance module located on the main tool bar on the top part of the displayed screen. User names already registered will appear as a list as seen in the screen shot below. + To create or find a user begin with clicking on the user module displayed in the drop down menu of the Maintenance module located on the main tool bar on the top part of the displayed screen. User names already registered will appear as a list as seen in the screen shot below. Select Users menu item @@ -25,11 +25,11 @@ - You can search for specific user names in the user list by entering the name in the �filter by user name� field as shown above. + You can search for specific user names in the user list by entering the name in the filter by user name field as shown above.
Define a new role - As part of creating a user name you are required to define the user role. Do so by clicking on the �user role� appearing on the left side of the displayed screen. + As part of creating a user name you are required to define the user role. Do so by clicking on the user role appearing on the left side of the displayed screen. Create new user role @@ -47,7 +47,7 @@ - The following screen will open and here in the first text box you need to give Name of the Role such as Super User, Admin User, etc. The second text box called �Description� gives more information about the type of User Role that is being created for e.g. State Admin User, District Data Entry. + The following screen will open and here in the first text box you need to give Name of the Role such as Super User, Admin User, etc. The second text box called Description gives more information about the type of User Role that is being created for e.g. State Admin User, District Data Entry. Role maintenance page @@ -56,7 +56,7 @@ - Next you will specify the particular data set(s) that are to be made available to the particular role. You will also need to specify the type of �authority� to be given to the particular user. For each of the three options namely Datasets, Reports and Authorities user can select multiple options from the scroll down menu provided against each field. A user can choose multiple options either by moving them one-by-one. + Next you will specify the particular data set(s) that are to be made available to the particular role. You will also need to specify the type of authority to be given to the particular user. For each of the three options namely Datasets, Reports and Authorities user can select multiple options from the scroll down menu provided against each field. A user can choose multiple options either by moving them one-by-one. Adding a dataset to a user role @@ -93,16 +93,16 @@ Click on the Add New button. - Enter New User details like User name, Password, Confirm password, Surname, First name and Email in new user�s option tabs. + Enter New User details like User name, Password, Confirm password, Surname, First name and Email in new users option tabs. Click on Add button for confirmation of new user details and follow the user error while creation of new user. - The recently created new user can be seen in main� User management Screen + The recently created new user can be seen in main User management Screen - You can edit (like password, surname�.etc) and delete the details of new/old users by selecting corresponding User�s Edit and Delete Buttons. + You can edit (like password, surname.etc) and delete the details of new/old users by selecting corresponding Users Edit and Delete Buttons. Click on Save tab after editing all details of a particular selected user. @@ -692,7 +692,7 @@ Data entry The data entry module is where data is manually registered in the DHIS 2 database.
- Opening the �Data Entry� screen + Opening the Data Entry screen Entering data in DHIS 2 is a very simple task, and involves the following steps. Click on the services tab displayed on the main menu. A drop down menu will appear listing the services provided by DHIS2. Click on the Data Entry option. Open DHIS2 data entry screen @@ -804,11 +804,11 @@ Data quality can be checked at the point of data entry through setting the minimum and maximum value range for each element manually or generating the min-max values using the DHIS 2 if there is historical data available for that data element.
Setting the minimum and maximum value range manually - If you are using the default entry screen click on the element for which you want to set the min-max value. A pop-up window will appear in which you can enter the vaules. On subsequent data entry if the value entered does not fall within the set min-max range the text box will change colour to red. The user will also get a pop-up as shown below. This change in colour is a prompt to check the data entered and make necessary correction. On the data entry screen the users also have the option to add a comment on how the discrepant figure might be explained (if required). This you can do by using the drop down menu of the �comment� box. In case you are using the custom data entry screen which is displayed when you deselect the �default data entry form� option on the top right corner of the screen. In this case the minimum and maximum values can be added by double-clicking on the data entry box instead of the data element. + If you are using the default entry screen click on the element for which you want to set the min-max value. A pop-up window will appear in which you can enter the vaules. On subsequent data entry if the value entered does not fall within the set min-max range the text box will change colour to red. The user will also get a pop-up as shown below. This change in colour is a prompt to check the data entered and make necessary correction. On the data entry screen the users also have the option to add a comment on how the discrepant figure might be explained (if required). This you can do by using the drop down menu of the comment box. In case you are using the custom data entry screen which is displayed when you deselect the default data entry form option on the top right corner of the screen. In this case the minimum and maximum values can be added by double-clicking on the data entry box instead of the data element.
Generated min-max values - It is possible to generate the min-max value, element-wise, using the DHIS2. In such case you merely need to click on the �Generate min-max� button near the upper right corner. In case of default data entry screen the min and max values, when generated, will appear on the left and right side of the data entry box. In case you deselect the default data entry form the generated values will appear on the top right end of the screen. + It is possible to generate the min-max value, element-wise, using the DHIS2. In such case you merely need to click on the Generate min-max button near the upper right corner. In case of default data entry screen the min and max values, when generated, will appear on the left and right side of the data entry box. In case you deselect the default data entry form the generated values will appear on the top right end of the screen.
@@ -1183,7 +1183,7 @@ DHIS 2 Excel Reporting A key requirement of a health information system is that the information contained in the system is available in many different formats that are familiar to the end-users. Many health information personnel are familiar with standard office productivity packages such as Microsoft Office or OpenOffice. Production of reports in Excel format allows health workers to submit reports to managers and other persons that may not have access to the HMIS, or lack training in its use. Excel offers the capability to deliver powerful, user-friendly reports to many different clients of the information system. - Users, especially health workers, can use DHIS 2 easily with the new Excel reporting tool developed by HISP Vietnam team. This module has been based on HISP India team�s ideas and technologies. The module has subsequently been merged into the main DHIS2 application. This reporting tool with Excel output files uses less memory and is comparatively faster when compared to other reporting modules + Users, especially health workers, can use DHIS 2 easily with the new Excel reporting tool developed by HISP Vietnam team. This module has been based on HISP India teams ideas and technologies. The module has subsequently been merged into the main DHIS2 application. This reporting tool with Excel output files uses less memory and is comparatively faster when compared to other reporting modules @@ -1254,7 +1254,7 @@ Row-based reports with multiple organisational - This type of report displays data elements� name in the fixed columns, and organisation units are be displayed automatically according to the selected parents organisation unit in a period of time. These organisation units are also grouped together following the administrative level, such as: province, district, commune, etc. + This type of report displays data elements name in the fixed columns, and organisation units are be displayed automatically according to the selected parents organisation unit in a period of time. These organisation units are also grouped together following the administrative level, such as: province, district, commune, etc. @@ -1271,7 +1271,7 @@ Reports with data elements and categories - This type of report displays data values which are combined of data elements and category combination. Data element names display as rows and category options are displayed as columns. Data elements� names, codes may be displayed automatically as well as the sequence numbers of the rows + This type of report displays data values which are combined of data elements and category combination. Data element names display as rows and category options are displayed as columns. Data elements names, codes may be displayed automatically as well as the sequence numbers of the rows @@ -1355,7 +1355,7 @@ Remove for removing report - Edit for editing report�s information. + Edit for editing reports information. Organisation unit Group : For choose which organisation group would be list in the report. This button only appear when the Report Type is Organisation Unit Listing @@ -1375,7 +1375,7 @@ - Fill the report item�s information + Fill the report items information @@ -1396,10 +1396,10 @@ Excel formula: if this item describes the excel formula - Data element Name: if report item is list of data element�s names + Data element Name: if report item is list of data elements names - Data element Code: If report item is list of data element�s codes + Data element Code: If report item is list of data elements codes Serial : If report item is list of auto generating sequence no @@ -1420,7 +1420,7 @@ - The category option would be default if data element hasn�t been combined with any category combo. Other options are described below: + The category option would be default if data element hasnt been combined with any category combo. Other options are described below: Sheet No*: type sheet no where this report item would be display in excel template file @@ -1533,7 +1533,7 @@ - Click Edit button to edit User role�s information + Click Edit button to edit User roles information @@ -1648,7 +1648,7 @@ - The category option would be default if data element hasn�t been combined with any category combo. Other options are described below: + The category option would be default if data element hasnt been combined with any category combo. Other options are described below: Sheet No*: type sheet no where this item would be display in excel template file @@ -1710,7 +1710,7 @@ Remove For removing report - Edit for editing report�s information. + Edit for editing reports information. Download for dowloading template file. @@ -2042,7 +2042,7 @@ - The exported data values are stored in an �xml file�. The file name is defined by the name of the source organisation unit and the period to allow the receiving organisation unit to identify the source and the period of the export file. The XML is placed in your home directory (On Windows this is normally C:\Documents and Settings\ under the sub-directories /dhis / import-export. + The exported data values are stored in an xml file. The file name is defined by the name of the source organisation unit and the period to allow the receiving organisation unit to identify the source and the period of the export file. The XML is placed in your home directory (On Windows this is normally C:\Documents and Settings\ under the sub-directories /dhis / import-export.
Exporting data to other DHIS2 systems @@ -2054,7 +2054,7 @@ - A pop-up save option will appear on the displayed screen (see picture below) prompting the saving of the exported data. You may save the export folder on your desktop or any other folder by selecting the �Save to Disk� option from the pop-up prompt. + A pop-up save option will appear on the displayed screen (see picture below) prompting the saving of the exported data. You may save the export folder on your desktop or any other folder by selecting the Save to Disk option from the pop-up prompt. @@ -2156,7 +2156,7 @@ If new: - If there are new data elements, indicators, or orgunits, first make sure whether they really are new or not. Data elements are rarely new, most of the time they are the old name of something that has been changed in the destination database (e.g. a master db at the national level). If you have changed some data elements names at the national level and these have not yet been updated in the district database, the old names that are in the district export files will appear as new data elements in your import preview. It is very important that you tell the DHIS that these are only just old names of a data element that already exists in your database, if not you will have two data elements meaning the same thing and both with an incomplete set of data. Use the �match new to existing� button to link the new data elements (that really are old) to the updated names in your national database, and make sure that the source database updates its metdata before the next data export. + If there are new data elements, indicators, or orgunits, first make sure whether they really are new or not. Data elements are rarely new, most of the time they are the old name of something that has been changed in the destination database (e.g. a master db at the national level). If you have changed some data elements names at the national level and these have not yet been updated in the district database, the old names that are in the district export files will appear as new data elements in your import preview. It is very important that you tell the DHIS that these are only just old names of a data element that already exists in your database, if not you will have two data elements meaning the same thing and both with an incomplete set of data. Use the match new to existing button to link the new data elements (that really are old) to the updated names in your national database, and make sure that the source database updates its metdata before the next data export. If updates: @@ -2409,7 +2409,7 @@
Data locking - This module gives users the privilege of locking certain datasets for chosen organisation units. This encourages timely data entry and prevents unwanted to changes to the data once it has been entered. When the �Data Administration� option is chosen the data locking interface is displayed. The user has to select the periodicity of the report e.g. monthly, quarterly or yearly for which the data is to be locked. The month, quarter or year for which the reports are to be locked is then specified. + This module gives users the privilege of locking certain datasets for chosen organisation units. This encourages timely data entry and prevents unwanted to changes to the data once it has been entered. When the Data Administration option is chosen the data locking interface is displayed. The user has to select the periodicity of the report e.g. monthly, quarterly or yearly for which the data is to be locked. The month, quarter or year for which the reports are to be locked is then specified. @@ -2433,7 +2433,7 @@ - The Apply Locks on All button locks the dataset for all the organisation units to which that dataset has been assigned. �Remove locks on All� removes all locks put on the organisation units corresponding to the selected dataset. After the operations are completed the user must click �Save� to apply the settings. The �Lock at level� button locks datasets at a particular level that the user chooses. . �Unlock at Level� removes locks that have been put on the organisation units corresponding to the selected dataset at the selected level. After the operations are completed, the user must click �Save� to apply the settings. The �Save� button will also lock those organisation unit datasets that have been specified by the user. + The Apply Locks on All button locks the dataset for all the organisation units to which that dataset has been assigned. Remove locks on All removes all locks put on the organisation units corresponding to the selected dataset. After the operations are completed the user must click Save to apply the settings. The Lock at level button locks datasets at a particular level that the user chooses. . Unlock at Level removes locks that have been put on the organisation units corresponding to the selected dataset at the selected level. After the operations are completed, the user must click Save to apply the settings. The Save button will also lock those organisation unit datasets that have been specified by the user.
Zero value storage === modified file 'dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/StreamUtils.java' --- dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/StreamUtils.java 2010-11-18 08:44:30 +0000 +++ dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/StreamUtils.java 2011-01-24 17:01:24 +0000 @@ -61,8 +61,8 @@ */ public class StreamUtils { - private static final String LINE_BREAK = "\n"; - private static final String ENCODING_UTF = "UTF8"; + public static final String LINE_BREAK = "\n"; + public static final String ENCODING_UTF = "UTF8"; /** * Loads a resorce from the classpath defined by the name parameter. === modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/org/hisp/dhis/de/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/org/hisp/dhis/de/i18n_module.properties 2011-01-06 16:37:59 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/org/hisp/dhis/de/i18n_module.properties 2011-01-24 16:42:11 +0000 @@ -115,4 +115,6 @@ value_must_positive_number = Value must be an positive number value_must_negative_number = Value must be an negative number datavalue_history = Data value history -max_must_be_greater_than_min = Max must be greater than min \ No newline at end of file +max_must_be_greater_than_min = Max must be greater than min +next = Next +prev = Prev \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/select.vm' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/select.vm 2011-01-17 12:03:26 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/select.vm 2011-01-24 17:14:24 +0000 @@ -23,7 +23,7 @@ - + @@ -32,8 +32,8 @@ === modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties 2011-01-20 12:47:58 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties 2011-01-24 17:01:24 +0000 @@ -5,6 +5,7 @@ error_in_input_parameters= Not all required parameters are selected! aggregation_mode= Aggregation mode reporting_unit= Reporting unit +reporting_period= Reporting period report_period= Report period report_parameters error_startDate = You must enter a valid start date! === modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm' --- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm 2011-01-18 10:54:09 +0000 +++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/dataSetReportForm.vm 2011-01-24 17:01:24 +0000 @@ -58,7 +58,7 @@
- -
+
-
+