eT("You can leave this blank, and automatically generate tokens using 'Generate Tokens'"); ?> </span> <?php } ?> </li> <li><label for='language'><?php eT("Language"); ?> :</label> <?php if (isset($language)) { echo languageDropdownClean($surveyid, $language); } else { echo languageDropdownClean($surveyid, Survey::model()->findByPk($surveyid)->language); } ?> </li> <li><label for='sent'><?php eT("Invitation sent?"); ?> </label> <input type='text' size='20' id='sent' name='sent' value="<?php if (isset($sent)) { echo $sent; } else { echo "N"; } ?>
."\t<li><label>ID:</label>\n"; $tokenoutput .=$clang->gT("Auto"); $tokenoutput .= "</li>\n" ."<li><label for='amount'>".$clang->gT("Number of tokens").":</label>\n" ."<input type='text' size='20' id='amount' name='amount' value=\"100\" /></li>\n" ."<li><label for='tokenlen'>".$clang->gT("Token length").":</label>\n" ."<input type='text' size='20' id='tokenlen' name='tokenlen' value=\"{$tokenlength}\" /></li>\n" ."<li><label for='firstname'>".$clang->gT("First name").":</label>\n" ."<input type='text' size='30' id='firstname' name='firstname' value=\"\" /></li>\n" ."<li><label for='lastname'>".$clang->gT("Last name").":</label>\n" ."<input type='text' size='30' id='lastname' name='lastname' value=\"\" /></li>\n" ."\t<li><label for='email'>".$clang->gT("Email").":</label>\n" ."\t<input type='text' maxlength='320' size='50' id='email' name='email' value=\"\" /></li>\n"; $tokenoutput .= "\t</li>\n" ."<li><label for='language'>".$clang->gT("Language").":</label>\n"; $tokenoutput .= languageDropdownClean($surveyid,GetBaseLanguageFromSurveyID($surveyid)); $tokenoutput .= "</li>\n" ."\t<li><label for='usesleft'>".$clang->gT("Uses left:")."</label>\n" ."\t<input type='text' size='20' id='usesleft' name='usesleft' value=\"1\" /></li>\n" ."\t<li><label for='validfrom'>".$clang->gT("Valid from").":</label>\n" ."\t<input type='text' class='popupdatetime' size='20' id='validfrom' name='validfrom' value=\""; if (isset($validfrom)){ $datetimeobj = new Date_Time_Converter($validfrom , "Y-m-d H:i:s"); $tokenoutput .=$datetimeobj->convert($dateformatdetails['phpdate'].' H:i'); } $tokenoutput .= "\" />\n <label for='validuntil'>".$clang->gT('until') ."\t</label><input type='text' size='20' id='validuntil' name='validuntil' class='popupdatetime' value=\""; if (isset($validuntil)){ $datetimeobj = new Date_Time_Converter($validuntil , "Y-m-d H:i:s"); $tokenoutput .=$datetimeobj->convert($dateformatdetails['phpdate'].' H:i'); }
<!-- Token --> <div class="form-group"> <label class="col-sm-2 control-label" for='token'><?php eT("Token"); ?>:</label> <div class="col-sm-10"> <input type='text' size='20' name='token' id='token' value="<?php if (isset($token)){echo $token;} ?>" /> <?php if ($subaction == "addnew"): ?> <span id="helpBlock" class="help-block"><?php eT("You can leave this blank, and automatically generate tokens using 'Generate Tokens'"); ?></span> <?php endif; ?> </div> </div> <!-- Language --> <div class="form-group"> <label class="col-sm-2 control-label" for='language'><?php eT("Language"); ?>:</label> <div class="col-sm-10"> <?php if (isset($language)){echo languageDropdownClean($surveyid, $language);}else{echo languageDropdownClean($surveyid, Survey::model()->findByPk($surveyid)->language);}?> </div> </div> <!-- Invitation sent --> <div class="form-group"> <label class="col-sm-2 control-label" for='sent'><?php eT("Invitation sent?"); ?></label> <div class="col-sm-10"> <input type='text' size='20' id='sent' name='sent' value="<?php if (isset($sent)){echo $sent;}else{echo "N";}?>" /> </div> </div> <!-- Reminder sent --> <div class="form-group"> <label class="col-sm-2 control-label" for='remindersent'><?php eT("Reminder sent?"); ?></label> <div class="col-sm-10">