本文整理汇总了PHP中eT函数的典型用法代码示例。如果您正苦于以下问题:PHP eT函数的具体用法?PHP eT怎么用?PHP eT使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了eT函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: PrepareEditorScript
<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;
示例2: eT
?>
' 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 -->
示例3: eT
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 />
示例4: gT
</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>
示例5: eT
</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
}
示例6: eT
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
}
示例7: array
?>
" />
</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>
示例8: array
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>
示例9: eT
<!-- 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>
示例10: eT
<!-- 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>
示例11: foreach
<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>
示例12: eT
<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>
示例13: eT
?>
</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>
示例14: if
<!-- 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>
示例15: eT
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;
?>