diff --git a/admin/html.php b/admin/html.php index b2e3b2df28f..923e181fee8 100644 --- a/admin/html.php +++ b/admin/html.php @@ -343,7 +343,7 @@ else { $surveysummary .= "gT("Survey cannot be activated. Either you have no permission or there are no questions.", "js")."');return false\" name='ActivateSurvey' title='' alt='".$clang->gT("Survey cannot be activated. Either you have no permission or there are no questions.")."' align='left' />\n" ; + . "onmouseover=\"showTooltip(event,'".$clang->gT("Survey cannot be activated. Either you have no permission or there are no questions.", "js")."');return false\" name='ActivateSurvey' title='' alt='".$clang->gT("Survey cannot be activated. Either you have no permission or there are no questions.")."' align='left' />\n" ; } } elseif ($activated == "Y") @@ -774,7 +774,7 @@ } if ($sumcount3 == 0 && $sumrows5['define_questions']) { - $surveysummary .= "\t[".$clang->gT("You need to add questions")."]"; + $surveysummary .= "\t[".$clang->gT("You need to add questions")."]
"; } } $surveysummary .= $surveysummary2 diff --git a/admin/questionhandling.php b/admin/questionhandling.php index e7578d1cb7d..d4b7a2cc11f 100644 --- a/admin/questionhandling.php +++ b/admin/questionhandling.php @@ -34,7 +34,6 @@ if ($action == "addquestion") { - if($sumrows5['define_questions']) { $newquestionoutput = "\t
\n" diff --git a/admin/userrighthandling.php b/admin/userrighthandling.php index 3d9b35250c1..d683eb03746 100644 --- a/admin/userrighthandling.php +++ b/admin/userrighthandling.php @@ -854,13 +854,13 @@ $grplangs[] = $baselang; $grplangs = array_reverse($grplangs); - $newgroupoutput = "" - ."\n" + $newgroupoutput = "" + ."
\n" ."\t" ."
\n\t\t".$clang->gT("Add Group")."
\n"; - $newgroupoutput .="\n\t
\n" + $newgroupoutput .="\n\t" . "\t
\n" . '
'; foreach ($grplangs as $grouplang) { @@ -879,11 +879,11 @@ . "\t\n" . "\t
\n" - . "\t
\n" + . "\t
\n" . "
\n" - . "".$clang->gT("OR")."\n" + . "".$clang->gT("OR")."\n" . "
\n" - . "\n\t
\n" + . "\n\t\n\t" . "\t\n" . "\t\t\n"
\n" . "\t\t".$clang->gT("Import Group")."
".$clang->gT("Select CSV File:")."