</div> </div> <?php } ?> <h3><?php eT("Add or delete token attributes"); ?> </h3> <div class="row"> <div class="col-lg-12 content-right"> <p><?php neT('There is {n} user attribute field in this token table.|There are {n} user attribute fields in this token table.', $nrofattributes); ?> </p> <?php echo CHtml::form(array("admin/tokens/sa/updatetokenattributes/surveyid/{$surveyid}"), 'post', array('id' => 'addattribute')); ?> <p> <label for="addnumber"><?php eT('Number of attribute fields to add:'); ?> </label> <div class='col-sm-1'> <input class='form-control' type="text" id="addnumber" name="addnumber" size="3" maxlength="3" value="1" /> </div> </p> <p>
<div class='header ui-widget-header'> <h3 class='pagetitle'><?php neT("Select which fields to import as attributes with your {n} participant.|Select which fields to import as attributes with your {n} participants.", $linecount); ?> </h3> </div> <div class='row draggable-container' style='z-index: 1;'> <div class='col-sm-4'> <div id="csvattribute" class="panel panel-primary"> <div class="panel-heading"> <?php eT("CSV field names "); ?> <div class='pull-right'> <span id='move-all' class='btn fa fa-arrow-right no-padding' data-toggle='tooltip' data-title='<?php eT('Move all fields to create column'); ?> '></span> </div> </div> <div class='panel-body'> <p class='help-block'><?php eT("The following additional fields were found in your CSV file."); ?> </p> <div class="csvatt droppable-csv"> <?php foreach ($firstline as $value) { echo "<div id='cs_" . $value . "' data-name='" . $value . "' class='draggable well well-sm csv-attribute-item'>" . $value . "</div>"; }
</div> </div> <?php } ?> <h3><?php eT("Add/delete survey participant attributes"); ?> </h3> <div class="row"> <div class="col-lg-12 content-right"> <p><?php neT('There is {n} user attribute field in this survey participant table.|There are {n} user attribute fields in this survey participant table.', $nrofattributes); ?> </p> <?php echo CHtml::form(array("admin/tokens/sa/updatetokenattributes/surveyid/{$surveyid}"), 'post', array('id' => 'addattribute')); ?> <p> <label for="addnumber"><?php eT('Number of attribute fields to add:'); ?> </label> <div class='col-sm-1'> <input class='form-control' type="text" id="addnumber" name="addnumber" size="3" maxlength="3" value="1" /> </div> </p> <p>
</a> </li> </ul> </li> <!-- active surveys --> <?php if ($activesurveyscount > 0) { ?> <li> <a href="<?php echo $this->createUrl('admin/survey/sa/listsurveys/active/Y'); ?> "> <?php neT("{n} active survey|{n} active surveys", $activesurveyscount); ?> </a> </li> <?php } ?> <?php if ($showupdate) { ?> <li class=""> <a href="#notifications"> <?php if ($showupdate) { ?>
</p> </div> <h4><?php echo flattenText($surveyinfo['surveyls_title']) . " (" . gT("ID") . " " . $surveyinfo['sid'] . ")"; ?> </h4> <!-- Table for big screens --> <table class="items table hidden-xs" id='surveydetails'> <!-- Survey URL --> <tr> <td class='col-sm-2'> <strong> <?php neT("Survey URL:|Survey URLs:", count($aAdditionalLanguages) + 1); ?> </strong> </td> <td> </td> </tr> <!-- Base language --> <tr> <td style="border-top: none; padding-left: 2em"> <?php echo getLanguageNameFromCode($surveyinfo['language'], false); ?> <?php eT('(Base language)');