Skip to content

Commit

Permalink
Fixed issue #3893: Tab layout issue when creating a group in multilin…
Browse files Browse the repository at this point in the history
…gual surveys

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8007 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Nov 30, 2009
1 parent e88b4c7 commit e0ff55f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions admin/grouphandling.php
Expand Up @@ -31,13 +31,13 @@
// $newgroupoutput .="<table width='100%' border='0' class='tab-page'>\n\t<tr><td>\n"
$newgroupoutput .="\n"
. '<div class="tab-pane" id="tab-pane-newgroup">';
$newgroupoutput .= "<form action='$scriptname' id='addnewgroup' name='addnewgroup' method='post' onsubmit=\"if (1==0 ";
$newgroupoutput .= "<form action='$scriptname' id='newquestiongroup' name='newquestiongroup' method='post' onsubmit=\"if (1==0 ";

foreach ($grplangs as $grouplang)
{
$newgroupoutput .= "|| document.getElementById('group_name_$grouplang').value.length==0 ";
}
$newgroupoutput .=" ) {alert ('".$clang->gT("Error: You have to enter a group title for each language.",'js')."'); return false;}\" ";
$newgroupoutput .=" ) {alert ('".$clang->gT("Error: You have to enter a group title for each language.",'js')."'); return false;}\" >";

foreach ($grplangs as $grouplang)
{
Expand All @@ -47,7 +47,7 @@
. "<li>"
. "<label for='group_name_$grouplang'>".$clang->gT("Title").":</label>\n"
. "<input type='text' size='80' maxlength='100' name='group_name_$grouplang' id='group_name_$grouplang' /><font color='red' face='verdana' size='1'> ".$clang->gT("Required")."</font></li>\n"
. "\t<li><label for='description_$grouplang'>".$clang->gT("Description:")."</li>\n"
. "\t<li><label for='description_$grouplang'>".$clang->gT("Description:")."</label>\n"
. "<textarea cols='80' rows='8' id='description_$grouplang' name='description_$grouplang'></textarea>"
. getEditor("group-desc","description_".$grouplang, "[".$clang->gT("Description:", "js")."](".$grouplang.")",$surveyid,'','',$action)
. "</li>\n"
Expand Down
6 changes: 3 additions & 3 deletions admin/styles/default/adminstyle.css
Expand Up @@ -941,7 +941,7 @@ div.messagebox .warningheader {
#edittoken li label:first-child,
#importsurvey li label:first-child,
#importgroup li label:first-child,
#addnewgroup li label:first-child,
#newquestiongroup li label:first-child,
#addnewsurvey li label:first-child{
width: 30%;
text-align: right;
Expand All @@ -967,7 +967,7 @@ div.messagebox .warningheader {
#addattribute li,
#exportdialog li,
#addnewsurvey li,
#addnewgroup li,
#newquestiongroup li,
#importsurvey li,
#importgroup li,
#addnewquotaform li,
Expand Down Expand Up @@ -1008,7 +1008,7 @@ div.loader {

#frmcopyquestion iframe,
#sendreminder iframe,
#addnewgroup iframe,
#newquestiongroup iframe,
#sendinvitation iframe,
#addnewsurvey iframe {
width:600px !important;
Expand Down

0 comments on commit e0ff55f

Please sign in to comment.