Skip to content

Commit

Permalink
Updated Feature: give name and Description to imported groups
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey181@6571 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tim Wahrendorff committed Mar 20, 2009
1 parent 141c615 commit f468705
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 1 addition & 2 deletions admin/remotecontrol/lsrc.helper.php
Expand Up @@ -3517,7 +3517,6 @@ function deleteSurvey($surveyid)

return true;

}

}
}
?>
8 changes: 7 additions & 1 deletion admin/remotecontrol/lsrc.testclient.php
Expand Up @@ -289,9 +289,11 @@ function soapCheck ($path2wsdl)
{
$iVid = $_REQUEST['sid'];
$sMod = $_REQUEST['mod'];
$sGroupName = $_REQUEST['groupName'];
$sGroupDescription = $_REQUEST['groupDescription'];
try
{
$sReturn = $client->sImportGroup($user, $pass, $iVid, $sMod);
$sReturn = $client->sImportGroup($user, $pass, $iVid, $sMod, $sGroupName, $sGroupDescription);
}
catch (SoapFault $fault)
{
Expand Down Expand Up @@ -541,6 +543,10 @@ function soapCheck ($path2wsdl)
{echo "<option value='".$aMods[$n]."'>".$aMods[$n]."</option>";}
?>
</select> <? //print_r($mods);?> <br />
<b>Name of the group:</b><br/>
<input type='text' name='groupName' size='30' maxlength='150' /> <br />
<b>groupDescription:</b><br/>
<input type='text' name='groupDescription' size='30' maxlength='255' /> <br />
<?php echo "<input type='hidden' name='wsdl' size='97' value='".$wsdl."' />" ?>
<input type='submit' name='impGroup' value='add group to survey!' /></form>
</div>
Expand Down

0 comments on commit f468705

Please sign in to comment.