<div id='tab-<?php echo $type; ?> '> <?php Yii::app()->loadHelper('admin/htmleditor'); echo PrepareEditorScript(true, Yii::app()->getController()); ?> <div class='translate'> <?php if (App()->getConfig('googletranslateapikey')) { ?> <input type='button' class='auto-trans' value='<?php eT("Auto Translate"); ?> ' id='auto-trans-tab-<?php echo $type; ?> ' /> <img src='<?php echo Yii::app()->getConfig("adminimageurl"); ?> /ajax-loader.gif' style='display: none' class='ajax-loader' alt='<?php eT("Loading..."); ?> ' /> <?php } echo $translateTabs;
?> ' name='questionposition' id='questionposition'> <option value=''><?php eT("At end"); ?> </option> <option value='0'><?php eT("At beginning"); ?> </option> <?php foreach ($aQuestions as $oq) { ?> <option value='<?php echo $oq->attributes['question_order'] + 1; ?> '><?php eT("After"); ?> : <?php echo $oq->attributes['title']; ?> </option> <?php } ?> </select> </div> </div> <!-- end of PositionWidget : form_group -->
eT("Corner lines"); ?> </option> <option value='boxes' <?php if ($queXMLEdgeDetectionFormat == "boxes") { ?> selected='selected' <?php } ?> ><?php eT("Corner boxes"); ?> </option> </select> </li> <input type='hidden' name='ok' value='Y' /> <input type='submit' value="<?php eT("queXML PDF export"); ?> " /> </form> <?php echo CHtml::form(array("admin/export/sa/quexmlclear/surveyid/{$surveyid}/"), 'post', array('class' => 'form44')); echo CHtml::htmlButton(gT('Reset to default settings'), array('type' => 'submit')); ?> </form> </div><br />
</b><br> <?php if (isset($toldtable) && $toldtable) { echo gT("The tokens table associated with this survey has been renamed to: ") . " {$tnewtable}<br>"; } ?> <?php if (isset($sNewTimingsTableName)) { echo gT("The response timings table has been renamed to: ") . " " . $sNewTimingsTableName; } ?> <br> </p> <?php eT("You should note the name(s) of the table(s) in case you need to access this information later."); ?> <br> <p><?php eT("Note: If you deactivated this survey in error, it is possible to restore this data easily if you do not make any changes to the survey structure. See the LimeSurvey documentation for further details"); ?> </p> </div> <?php } ?> </div> </div> </div>
</strong></td> <td><strong><?php eT("Answers"); ?> </strong></td> <td> </td> <td> </td> <td style="padding: 3px;"> <?php if (Permission::model()->hasSurveyPermission($iSurveyId, 'quotas', 'update')) { ?> <?php echo CHtml::form(array("admin/quotas/sa/new_answer/surveyid/{$iSurveyId}"), 'post'); ?> <input name="submit" type="submit" class="quota_new btn btn-default" value="<?php eT("Add answer"); ?> " /> <input type="hidden" name="sid" value="<?php echo $iSurveyId; ?> " /> <input type="hidden" name="action" value="quotas" /> <input type="hidden" name="quota_id" value="<?php echo $quotalisting['id']; ?> " /> <input type="hidden" name="subaction" value="new_answer" /> </form> <?php }
eT("URL:"); ?> </label> <div class="col-sm-8"> <?php echo $this->createAbsoluteUrl("admin/remotecontrol"); ?> </div> </div> <div class="form-group"> <label class="col-sm-4 control-label" for='rpc_publish_api'><?php eT("Publish API on /admin/remotecontrol:"); ?> </label> <div class="col-sm-6"> <?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'rpc_publish_api', 'id' => 'rpc_publish_api', 'value' => getGlobalSetting('rpc_publish_api'), 'onLabel' => gT('On'), 'offLabel' => gT('Off'))); ?> </div> </div> <?php if (Yii::app()->getConfig("demoMode") == true) { ?> <p><?php eT("Note: Demo mode is activated. Marked (*) settings can't be changed."); ?> </p> <?php }
?> " /> </li> </ul> </form> <?php echo CHtml::form(array('admin/survey/sa/importsurveyresources'), 'post', array('id' => 'importsurveyresources', 'name' => 'importsurveyresources', 'class' => 'form30', 'enctype' => 'multipart/form-data', 'onsubmit' => 'return validatefilename(this,"' . gT('Please select a file to import!', 'js') . '");')); ?> <input type='hidden' name='surveyid' value='<?php echo $surveyid; ?> ' /> <input type='hidden' name='action' value='importsurveyresources' /> <ul class="list-unstyled"> <li><label for='the_file'><?php eT("Select ZIP File:"); ?> </label> <input id='the_file' name='the_file' type='file' /></li> <li><label> </label> <input type='button' class="btn btn-default" value='<?php eT("Import Resources ZIP Archive"); ?> ' <?php echo $ZIPimportAction; ?> /></li> </ul> </form> </div>
echo CHtml::form(array("admin/questiongroups/sa/import"), 'post', array('id' => 'importgroup', 'name' => 'importgroup', 'class' => 'form30', 'enctype' => 'multipart/form-data', 'onsubmit' => 'return validatefilename(this,"' . gT('Please select a file to import!', 'js') . '");')); ?> <ul> <li> <label for='the_file'><?php eT("Select question group file (*.lsg):"); ?> </label> <input id='the_file' name="the_file" type="file" /></li> <li><label for='translinksfields'><?php eT("Convert resource links?"); ?> </label> <input id='translinksfields' name="translinksfields" type="checkbox" checked="checked"/></li></ul> <p><input type='submit' value='<?php eT("Import question group"); ?> ' /> <input type='hidden' name='action' value='importgroup' /> <input type='hidden' name='sid' value='<?php echo $surveyid; ?> ' /> </form> </div> <?php } ?> </div>
<!-- Edit label sets --> <li class="dropdown-item"> <a href="<?php echo $this->createUrl("admin/labels/sa/view"); ?> "> <?php eT("Edit label sets"); ?> </a> </li> <!-- Template Editor --> <li class="dropdown-item"> <a href="<?php echo $this->createUrl("admin/templates/sa/view"); ?> "> <?php eT("Template editor"); ?> </a> </li> </ul> </li> </ul> </li>
<!-- Relevance equation --> <div class="form-group"> <label class="control-label col-sm-2" for='grelevance'><?php eT("Relevance equation:"); ?> </label> <div class="col-sm-3"> <textarea cols='1' class="form-control" rows='1' id='grelevance' name='grelevance'></textarea> </div> </div> <?php } ?> </div> <!-- Save question group --> <p> <input type='submit' class="hidden" value='<?php eT("Save question group"); ?> ' /> </p> </div> <?php } ?> </div> </form> </div> </div>
<tbody> <?php foreach($aResults as $oResult) { ?> <tr> <td><?php echo $oResult->scid; ?></td> <td align='center'> <?php if (Permission::model()->hasSurveyPermission($iSurveyId,'responses','update')) { ?> <input style='height: 16; width: 16px; font-size: 8; font-family: verdana' type='image' src='<?php echo $sImageURL; ?>edit_16.png' title='<?php eT('Edit entry'); ?>' onclick="window.open('<?php echo $this->createUrl("admin/dataentry/sa/editdata/subaction/edit/surveyid/{$iSurveyId}/id/{$oResult->srid}"); ?>', '_top')" /> <?php } if (Permission::model()->hasSurveyPermission($iSurveyId,'responses','delete')) { ?> <input style='height: 16; width: 16px; font-size: 8; font-family: verdana' type='image' src='<?php echo $sImageURL; ?>token_delete.png' title='<?php eT('Delete entry'); ?>' onclick="if (confirm('<?php eT('Are you sure you want to delete this entry?', 'js'); ?>')) { window.open('<?php echo $this->createUrl("admin/saved/delete/surveyid/{$iSurveyId}/srid/{$oResult->srid}/scid/{$oResult->scid}"); ?>', '_top'); }" /> <?php } ?> </td> <td><?php echo $oResult->identifier; ?></td> <td><?php echo $oResult->ip; ?></td> <td><?php echo $oResult->saved_date; ?></td> <td><a href='mailto: <?php echo $oResult->email; ?>'> <?php echo $oResult->email; ?></td> </tr> <?php } ?> </tbody> </table> <br /> </p>
<a href='http://donate.limesurvey.org'> <img alt='<?php eT("Support this project - Donate to "); ?> LimeSurvey' title='<?php eT("Support this project - Donate to "); ?> LimeSurvey!' src='<?php echo IMAGE_BASE_URL; ?> donate.png'/> </a> </div> <!-- Lime survey website --> <div class="col-xs-6 col-md-4 col-lg-6 text-right"> <a title='<?php eT("Visit our website!"); ?> ' href='http://www.limesurvey.org' target='_blank'>LimeSurvey</a><br /><?php echo $versiontitle . " " . $versionnumber . " " . $buildtext; ?> </div> </div> </div> </footer> </body> </html>
?> </span> </li> <li id="step1Updt" class="off"> <?php eT("Pre-installation check"); ?> </li> <li id="step2Updt" class="off"> <?php eT("Change log"); ?> </li> <li id="step3Updt" class="off"> <?php eT("File system"); ?> </li> <li id="step4Updt" class="off"> <?php eT("Backup"); ?> </li> <li id="step5Updt" class="off"> <?php eT("End"); ?> </li> </ol> </div>
<!-- checkbox --> <input type="checkbox" class="checkboxbtn" name='perm_<?php echo $sPermissionKey.'_'.$sCRUDKey;?>' id='perm_<?php echo $sPermissionKey.'_'.$sCRUDKey;?>' <?php if(Permission::model()->hasGlobalPermission( $sPermissionKey, $sCRUDKey, $oUser->uid)):?> checked="checked" <?php endif; ?> <?php if(substr($sPermissionKey,0,5) === 'auth_' && $sCRUDKey === 'read'): ?> style="visibility:hidden" <?php endif; ?>/> <?php endif; ?> <?php endif; ?> </td> <?php endforeach; ?> </tr> <?php endforeach; ?> </table> <!-- submit button --> <p> <input type='submit' class="hidden" value='<?php eT("Save");?>' /> <input type='hidden' name='action' value='surveyrights' /> <input type='hidden' name='uid' value='<?php echo $oUser->uid;?>' /> </p> </form> </div> </div>
id="answer<?php echo $name; ?> " value="" <?php echo $naChecked; ?> onclick="<?php echo $checkconditionFunction; ?> " /> <span class="fa fa-genderless"></span> <span class='wrap-normal'><?php eT('No answer'); ?> </span> </label> <?php } ?> </div> </div> <!-- Value --> <input type="hidden" name="java<?php echo $name; ?>
Button to ckeck the available updates. This launch the Comfort Updater process --> <input type='button' id="ajaxcheckupdate" value='<?php eT("Check now"); ?>' /> <span id='ajaxlastupdatecheck'><?php echo sprintf(gT("Last check: %s"),$updatelastcheck); ?></span> </li> <li> <label for='updatenotificationforbranch'><?php echo eT("Show update notifications:"); ?></label> <select name='updatenotificationforbranch' id='updatenotificationforbranch'> <option value='never' <?php if ($UpdateNotificationForBranch=='never') { echo "selected='selected'";} ?> ><?php echo eT("Never"); ?></option> <option value='stable' <?php if ($UpdateNotificationForBranch=='stable') { echo "selected='selected'";} ?> ><?php echo eT("For stable versions"); ?></option> <option value='both' <?php if ($UpdateNotificationForBranch=='both') { echo "selected='selected'";} ?> ><?php echo eT("For stable and unstable versions"); ?></option> </select> </li> <!-- FOR AJAX REQUEST --> <input type="hidden" id="updateBranch" value="<?php echo $UpdateNotificationForBranch;?>"/> <!-- The js will inject inside this li the HTML of the update buttons --> <li style="text-align: center" id="udapteButtonsContainer"> <img src="<?php echo Yii::app()->baseUrl;?>/images/ajax-loader.gif" alt="loading..." id="ajaxLoading" style="display: none;"/> <br/> <span id="updatesavailable"></span> </li> </ul> </div>
<h2><?php echo sprintf(gT("New answer for quota '%s'"), $quota_name);?></h2> <p class="lead"><?php eT("Select answer:");?></p> <?php echo CHtml::form(array("admin/quotas/sa/insertquotaanswer/surveyid/{$iSurveyId}"), 'post', array('#'=>'quota_'.sanitize_int($_POST['quota_id']))); ?> <p> <select name="quota_anscode" size="15"> <?php while (list($key,$value) = each($question_answers)) { if (!isset($value['rowexists'])) echo '<option value="'.$key.'">'.strip_tags(substr($value['Display'],0,40)).'</option>'; } ?> </select> </p> <p> <input class="btn btn-lg btn-success" name="submit" type="submit" class="submit btn btn-default" value="<?php eT("Next");?>" /> <input type="hidden" name="sid" value="<?php echo $iSurveyId;?>" /> <input type="hidden" name="action" value="quotas" /> <input type="hidden" name="subaction" value="insertquotaanswer" /> <input type="hidden" name="quota_qid" value="<?php echo sanitize_int($_POST['quota_qid']);?>" /> <input type="hidden" name="quota_id" value="<?php echo sanitize_int($_POST['quota_id']);?>" /> <br/> <?php eT("Save this, then create another:");?> <input type="checkbox" name="createanother"> </p> </form> </div> <?php endif;?> </div> </div> </div>
?> <?php if ($first) { ?> <span class="icon-add text-success btnaddanswer" data-assessmentvisible='<?php echo $assessmentvisible; ?> ' data-position="<?php echo $position; ?> " data-code="<?php echo $title; ?> " data-scale-id="<?php echo $scale_id; ?> " data-toggle="tooltip" data-placement="bottom" title="<?php eT("Insert a new answer option after this one"); ?> "></span> <span class="glyphicon glyphicon-trash text-danger btndelanswer" data-toggle="tooltip" data-placement="bottom" title="<?php eT("Delete this answer option"); ?> "></span> <?php } ?> </td> </tr>
<!-- The form launching the update of the updater. --> <?php $url = Yii::app()->createUrl("admin/update/sa/updateUpdater"); echo CHtml::beginForm($url, 'post', array('id' => 'launchUpdateUpdaterForm')); ?> <?php echo CHtml::hiddenField('destinationBuild', $serverAnswer->destinationBuild); ?> <a class="button ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only limebutton" href="<?php echo Yii::app()->createUrl("admin/globalsettings"); ?> " role="button" aria-disabled="false"> <span class="ui-button-text"><?php eT("Cancel"); ?> </span> </a> <?php echo CHtml::submitButton(gT("Continue"), array('class' => "ajax_button ui-button ui-widget ui-state-default ui-corner-all")); echo CHtml::endForm(); ?> <!-- this javascript code manage the step changing. It will catch the form submission, then load the ComfortUpdater for the required build --> <script type="text/javascript" src="<?php echo Yii::app()->baseUrl; ?> /scripts/admin/comfortupdater/comfortUpdateNextStep.js"></script> <script> $('#launchUpdateUpdaterForm').comfortUpdateNextStep({'step': 0});
<a href="<?php echo App()->createUrl('/admin/survey/sa/view/surveyid/' . $oSurvey->sid); ?> "> <?php echo flattenText($oSurvey->defaultlanguage->surveyls_title); ?> </a> </li> <li> <a href="<?php echo App()->createUrl('admin/tokens/sa/index/surveyid/' . $oSurvey->sid); ?> "> <?php eT('Survey participants'); ?> </a> </li> <li class="active"> <?php echo $active; ?> </li> </ol> </div> <?php } elseif (isset($oSurvey)) { ?> <div class=""> <ol class="breadcrumb">
<option value="<?php echo $intUid; ?> " <?php echo $selected; ?> > <?php echo $sUsersName; ?> </option>; <?php } } } ?> </select> <input type="hidden" name="uid" value="<?php echo $postuserid; ?> " /> <input type="hidden" name="user" value="<?php echo $postuser; ?> " /> <input type="hidden" name="action" value="finaldeluser" /><br /> <br /> <input type="submit" value="<?php eT("Delete User"); ?> " /> </form> </div>
echo $fncount + 2; ?> > <?php if (Permission::model()->hasSurveyPermission($iSurveyId, 'responses', 'delete')) { ?> <img id='imgDeleteMarkedResponses' src='<?php echo $sImageURL; ?> token_delete.png' alt='<?php eT('Delete marked responses'); ?> ' /> <?php } if ($bHasFileUploadQuestion) { ?> <img id='imgDownloadMarkedFiles' src='<?php echo $sImageURL; ?> down_all.png' alt='<?php eT('Download marked files'); ?> ' /> <?php } ?> </td> </tr> </tfoot>
<!-- views/admin/export/statistics_subviews/_header.php --> <h3 id="survey-action-title"> <?php eT("Statistics"); ?> <span id="statistics-render-chevron" class="glyphicon glyphicon-chevron-up"></span> </h3>
<!-- Edit your personal preferences --> <li> <a href="<?php echo $this->createUrl("/admin/user/sa/personalsettings"); ?> "><?php eT("Edit your personal preferences"); ?> </a> </li> <li class="divider"></li> <!-- Logout --> <li> <a href="<?php echo $this->createUrl("admin/authentication/sa/logout"); ?> "> <?php eT("Logout"); ?> </a> </li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </nav>
?> </option> <option value='--a--'><?php eT("Expired"); ?> </option> <option value='--e--'><?php eT("Inactive"); ?> </option> <option value='--c--'><?php eT("Active"); ?> </option> </select> <select id='gs_access_select' style='display: none'> <option value=''><?php eT("Any"); ?> </option> <option><?php eT("Open"); ?> </option> <option><?php eT("Closed"); ?> </option> </select> <br />
echo CHtml::label(gT('Please select your preferred language:'), 'installerLang', array('class' => 'control-label')); ?> <br/><br/> </div> <div class="col-md-3"> <?php echo CHtml::dropDownList('installerLang', 'en', $languages, array('id' => 'installerLang', 'class' => 'form-control', 'encode' => false)); ?> <br/><br/> </div> </div> </div> <?php echo CHtml::tag('p', array(), gT('Your preferred language will be used through out the installation process.')); ?> <div class="row navigator"> <div class="col-md-8"></div> <div class="col-md-4"> <input class='btn btn-default' type="submit" value="<?php eT('Start installation'); ?> " /> </div> </div> <?php echo CHtml::endForm(); ?> </div> </div>
?> " id="answer<?php echo $myfname; ?> " value="<?php echo $dispVal; ?> " onkeyup="<?php echo $checkconditionFunction; ?> " title="<?php eT('Only numbers may be entered in this field.'); ?> " <?php echo $maxlength; ?> /> </div> <input type="hidden" name="slider_user_no_action_<?php echo $myfname; ?> " id="slider_user_no_action_<?php echo $myfname; ?> " value="<?php echo $dispVal;
<h2 class="danger"><?php eT("Import a VV response data file"); ?> :</h2> <p class="lead text-danger"> <?php eT("Cannot import the VVExport file."); ?> </p> <p> <?php eT("This survey is not active. You must activate the survey before attempting to import a VVexport file."); ?> </p> <p> <a class="btn btn-lg btn-default" href='<?php echo $this->createUrl('admin/survey/sa/view/' . $surveyid); ?> '><?php eT("Return to survey administration"); ?> </a> </p> </div> <?php } ?> </div></div></div>
eT("Download marked files"); ?> ' ; var sDownLoadAll='<?php eT("Download all files"); ?> ' ; var sConfirmationArchiveMessage='<?php eT("This function creates a ZIP archive of several survey archives and can take some time - please be patient! Do you want to continue?", 'js'); ?> '; <?php } ?> </script> <div class='side-body <?php echo getSideBodyClass(true); ?> '> <h3><?php eT('Survey responses'); ?> </h3> <div class="row"> <div id="displayResponsesContainer" class="content-right" style="overflow-x: scroll; padding-bottom: 2em"> <table id="displayresponses"></table> <div id="pager" style="position: relative;"></div> </div> </div> </div>
<div id="conditionsource"> <ul class='nav nav-tabs'> <li role='presentation' class='active'> <a data-toggle='tab' href="#SRCPREVQUEST"> <span> <?php eT("Previous questions"); ?> </span> </a> </li> <li role='presentation'> <a data-toggle='tab'href="#SRCTOKENATTRS"> <span> <?php eT("Survey participant attributes"); ?> </span> </a> </li> </ul> <div class="tab-content"> <div id='SRCPREVQUEST' class='tab-pane fade in active'> <select class='form-control' name='cquestions' id='cquestions' size='<?php echo $qcountI; ?> '>