Skip to content

Commit

Permalink
Dev Reworked dataentry to use CreateFieldMap - saved around 400 lines…
Browse files Browse the repository at this point in the history
… of code

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@8332 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Feb 2, 2010
1 parent f0e47a2 commit 6bdd64a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion admin/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@



if (isset($surveyid) && $surveyid && $action!='dataentry')
if (isset($surveyid) && $surveyid && $action!='dataentry' && $action!='browse')
{
if(hasRight($surveyid))
{
Expand Down
6 changes: 3 additions & 3 deletions common.php
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ function createFieldMap($surveyid, $style="null", $force_refresh=false) {
if ($style == "full")
{
$fieldmap[$counter]['title']="";
$fieldmap[$counter]['question']=$clang->gT("Datestamp");
$fieldmap[$counter]['question']=$clang->gT("Date last action");
$fieldmap[$counter]['group_name']="";
}
$counter++;
Expand All @@ -2108,7 +2108,7 @@ function createFieldMap($surveyid, $style="null", $force_refresh=false) {
if ($style == "full")
{
$fieldmap[$counter]['title']="";
$fieldmap[$counter]['question']=$clang->gT("Start date");
$fieldmap[$counter]['question']=$clang->gT("Date started");
$fieldmap[$counter]['group_name']="";
}
$counter++;
Expand All @@ -2121,7 +2121,7 @@ function createFieldMap($surveyid, $style="null", $force_refresh=false) {
if ($style == "full")
{
$fieldmap[$counter]['title']="";
$fieldmap[$counter]['question']=$clang->gT("Submit date");
$fieldmap[$counter]['question']=$clang->gT("Date submitted");
$fieldmap[$counter]['group_name']="";
}
$counter++;
Expand Down

0 comments on commit 6bdd64a

Please sign in to comment.