Skip to content

Commit

Permalink
Fixed issue #1101: Wrong BG-Color of Create/Add new group to a survey
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@3115 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jul 23, 2007
1 parent 422d32c commit 327a2e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions admin/html.php
Expand Up @@ -343,7 +343,7 @@
else
{
$surveysummary .= "<img src='$imagefiles/activate_disabled.png' onmouseout=\"hideTooltip()\""
. "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' /></a>\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")
Expand Down Expand Up @@ -774,7 +774,7 @@
}
if ($sumcount3 == 0 && $sumrows5['define_questions'])
{
$surveysummary .= "\t<font class='statusentryhighlight'>[".$clang->gT("You need to add questions")."]</font>";
$surveysummary .= "\t<font class='statusentryhighlight'>[".$clang->gT("You need to add questions")."]</font><br />";
}
}
$surveysummary .= $surveysummary2
Expand Down
1 change: 0 additions & 1 deletion admin/questionhandling.php
Expand Up @@ -34,7 +34,6 @@

if ($action == "addquestion")
{

if($sumrows5['define_questions'])
{
$newquestionoutput = "\t<form action='$scriptname' name='addnewquestion1' method='post'>\n"
Expand Down
12 changes: 6 additions & 6 deletions admin/userrighthandling.php
Expand Up @@ -854,13 +854,13 @@
$grplangs[] = $baselang;
$grplangs = array_reverse($grplangs);

$newgroupoutput = "<tr><td><form action='$scriptname' name='addnewgroupfrom' method='post'>"
."<table width='100%' border='0'><tr>\n"
$newgroupoutput = "<form action='$scriptname' name='addnewgroupfrom' method='post'>"
."<table width='100%' border='0' class='tab-page'><tr>\n"
."\t<td colspan='2' class='settingcaption'>\n\t\t<strong>".$clang->gT("Add Group")."</strong></td>"
."</tr></table>\n";


$newgroupoutput .="<table width='100%' border='0'>\n\t<tr><td>\n"
$newgroupoutput .="<table width='100%' border='0' class='tab-page'>\n\t<tr><td>\n"
. '<div class="tab-pane" id="tab-pane-1">';
foreach ($grplangs as $grouplang)
{
Expand All @@ -879,11 +879,11 @@
. "\t<input type='hidden' name='action' value='insertnewgroup' />\n"
. "\t<input type='hidden' name='sid' value='$surveyid' /></td></tr>"
. "\t<tr><td colspan='2' align='center'><input type='submit' value='".$clang->gT("Add Group")."' />\n"
. "\t</td></table>\n"
. "\t</td></tr></table>\n"
. "</form></td></tr>\n"
. "<tr><td align='center'><strong>".$clang->gT("OR")."</strong></td></tr>\n"
. "<tr><td align='center' class='tab-page'><strong>".$clang->gT("OR")."</strong></td></tr>\n"
. "<tr><td><form enctype='multipart/form-data' name='importgroup' action='$scriptname' method='post' onsubmit='return validatefilename(this,\"".$clang->gT('Please select a file to import!','js')."\");'>\n"
. "<table width='100%' border='0'>\n\t<tr><td colspan='3' class='settingcaption'>\n"
. "<table width='100%' border='0' class='tab-page'>\n\t<tr><td colspan='3' class='settingcaption'>\n"
. "\t\t<strong>".$clang->gT("Import Group")."</strong></td></tr>\n\t<tr>"
. "\t\n"
. "\t\t<td align='right'><strong>".$clang->gT("Select CSV File:")."</strong></td>\n"
Expand Down

0 comments on commit 327a2e7

Please sign in to comment.