本文整理汇总了PHP中print_unescaped函数的典型用法代码示例。如果您正苦于以下问题:PHP print_unescaped函数的具体用法?PHP print_unescaped怎么用?PHP print_unescaped使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了print_unescaped函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: testPrintUnescapedNormalString
public function testPrintUnescapedNormalString()
{
$normalString = "This is a good string!";
ob_start();
print_unescaped($normalString);
$result = ob_get_clean();
ob_end_clean();
$this->assertEqual("This is a good string!", $result);
}
开发者ID:ryanshoover,项目名称:core,代码行数:9,代码来源:template.php
示例2: p
?>
<a class="button newquestion" href="http://owncloud.org/support" target="_blank"><?php
p($l->t('Online Documentation'));
?>
</a>
<a class="button newquestion" href="http://forum.owncloud.org" target="_blank"><?php
p($l->t('Forum'));
?>
</a>
<?php
if ($_['admin']) {
?>
<a class="button newquestion" href="https://github.com/owncloud/core/blob/master/CONTRIBUTING.md" target="_blank"><?php
p($l->t('Bugtracker'));
?>
</a>
<?php
}
?>
<a class="button newquestion" href="http://owncloud.com" target="_blank"><?php
p($l->t('Commercial Support'));
?>
</a>
</div>
<div class="help-includes">
<iframe src="<?php
print_unescaped($_['url']);
?>
" class="help-iframe">abc</iframe>
</div>
开发者ID:omusico,项目名称:isle-web-framework,代码行数:30,代码来源:help.php
示例3: p
<label class="bold"><?php
p($l->t('Primary CalDAV address'));
?>
</label>
<input id="primarycaldav" type="text" value="<?php
print_unescaped(OCP\Util::linkToRemote('caldav'));
?>
" style="width:90%" readonly>
</li>
<li>
<label class="bold"><?php
p($l->t('iOS/OS X CalDAV address'));
?>
</label>
<input id="ioscaldav" type="text" value="<?php
print_unescaped(OCP\Util::linkToRemote('caldav'));
?>
principals/<?php
p(urlencode(OCP\USER::getUser()));
?>
/" style="width:90%" readonly>
</li>
</ul>
</div>
</div>
<!-- End of settings -->
</div>
<div id="app-content">
<div id="fullcalendar"><div id="loading" class="icon-loading"></div></div>
<div id="dialog_holder"></div>
</div>
开发者ID:CDN-Sparks,项目名称:owncloud,代码行数:31,代码来源:calendar.php
示例4: p
</form>
<?php
if (!empty($_['alt_login'])) {
?>
<form id="alternative-logins">
<fieldset>
<legend><?php
p($l->t('Alternative Logins'));
?>
</legend>
<ul>
<?php
foreach ($_['alt_login'] as $login) {
?>
<li><a class="button" href="<?php
print_unescaped($login['href']);
?>
" ><?php
p($login['name']);
?>
</a></li>
<?php
}
?>
</ul>
</fieldset>
</form>
<?php
}
?>
开发者ID:droiter,项目名称:openwrt-on-android,代码行数:30,代码来源:login.php
示例5: p
<?php
}
?>
</span>
</th>
<th id="headerSize"><?php
p($l->t('Size'));
?>
</th>
<th id="headerDate">
<span id="modified"><?php
p($l->t('Modified'));
?>
</span>
</th>
</tr>
</thead>
<tbody id="fileList">
<?php
print_unescaped($_['fileList']);
?>
</tbody>
</table>
<div id="editor"></div>
<!-- config hints for javascript -->
<input type="hidden" name="allowZipDownload" id="allowZipDownload" value="<?php
p($_['allowZipDownload']);
?>
" />
开发者ID:DOM-Digital-Online-Media,项目名称:apps,代码行数:30,代码来源:index.php
示例6: script
<?php
script('user_permission', 'script');
style('user_permission', 'style');
?>
<div id="app">
<div id="app-navigation">
<?php
print_unescaped($this->inc('part.navigation'));
?>
<?php
print_unescaped($this->inc('part.settings'));
?>
</div>
<div id="app-content">
<div id="app-content-wrapper">
<?php
print_unescaped($this->inc('part.content'));
?>
</div>
</div>
</div>
开发者ID:yheric455042,项目名称:owncloud82,代码行数:24,代码来源:main.php
示例7: p
?>
<link><?php
p($activity['link']);
?>
</link>
<?php
}
if (!empty($activity['timestamp'])) {
?>
<pubDate><?php
p(date('r', $activity['timestamp']));
?>
</pubDate>
<?php
}
if (!empty($activity['message'])) {
?>
<description><![CDATA[<?php
print_unescaped(str_replace("\n", '<br />', \OCP\Util::sanitizeHTML($activity['messageformatted']['full'])));
?>
]]></description>
<?php
}
?>
</item>
<?php
}
?>
</channel>
</rss>
开发者ID:enoch85,项目名称:owncloud-testserver,代码行数:30,代码来源:rss.php
示例8: p
?>
">
<div class="icon-loading-dark" style="display:none;"></div>
<span>
<?php
p($l->t('Apps'));
?>
</span>
</a>
</li>
<?php
}
?>
</ul>
</div>
</div></nav>
<div id="content-wrapper">
<div id="content" class="app-<?php
p($_['appid']);
?>
" role="main">
<?php
print_unescaped($_['content']);
?>
</div>
</div>
</body>
</html>
开发者ID:evanjt,项目名称:core,代码行数:30,代码来源:layout.user.php
示例9: p
</div>
<?php
}
$lastDate = $currentDate;
?>
<div class="section activity-section group" data-date="<?php
p($currentDate);
?>
">
<h2>
<span class="tooltip" title="<?php
p($dateTimeFormatter->formatDate($event['timestamp']));
?>
">
<?php
p(ucfirst($currentDate));
?>
</span>
</h2>
<div class="boxcontainer">
<?php
}
print_unescaped($displayHelper->show($event));
}
if (!empty($_['activity'])) {
?>
</div>
</div>
<?php
}
开发者ID:AARNet,项目名称:activity,代码行数:31,代码来源:stream.list.php
示例10: p
" data-deprecate-to="<?php
p($deprecateTo->getIdentifier());
?>
" />
<?php
} else {
?>
<input type="checkbox" id="allowUserMountingBackends<?php
p($i);
?>
" class="checkbox" name="allowUserMountingBackends[]" value="<?php
p($backend->getIdentifier());
?>
" <?php
if ($backend->isVisibleFor(BackendService::VISIBILITY_PERSONAL)) {
print_unescaped(' checked="checked"');
}
?>
/>
<label for="allowUserMountingBackends<?php
p($i);
?>
"><?php
p($backend->getText());
?>
</label> <br />
<?php
}
?>
<?php
$i++;
开发者ID:drognisep,项目名称:Portfolio-Site,代码行数:31,代码来源:settings.php
示例11: p
?>
" class="svg action delete"
title="<?php
p($l->t('Unshare'));
?>
">
</span>
</li>
<?php
}
?>
</ul>
<?php
if (!$eventsharees) {
$nobody = $l->t('Nobody');
print_unescaped('<div id="sharedWithNobody">' . OC_Util::sanitizeHTML($nobody) . '</div>');
}
?>
<br />
<strong><?php
p($l->t('Shared via calendar'));
?>
</strong>
<ul class="sharedby calendarlist">
<?php
foreach ($calsharees as $sharee) {
?>
<li data-share-with="<?php
p($sharee['share_with']);
?>
"
开发者ID:CDN-Sparks,项目名称:owncloud,代码行数:31,代码来源:part.share.php
示例12: print_unescaped
</label>
<img class="svg" src="<?php
print_unescaped(image_path('', 'actions/user.svg'));
?>
" alt=""/>
<?php
if ($_['isEncrypted']) {
?>
<br /><br />
<?php
print_unescaped($l->t("Your files are encrypted. If you haven't enabled the recovery key, there will be no way to get your data back after your password is reset. If you are not sure what to do, please contact your administrator before you continue. Do you really want to continue?"));
?>
<br />
<input type="checkbox" name="continue" value="Yes" />
<?php
print_unescaped($l->t('Yes, I really want to reset my password now'));
?>
<br/><br/>
<?php
}
?>
</p>
<input type="submit" id="submit" value="<?php
echo $l->t('Request reset');
?>
" />
<?php
}
?>
</fieldset>
</form>
开发者ID:CDN-Sparks,项目名称:owncloud,代码行数:31,代码来源:lostpassword.php
示例13: p
}
?>
value='none'>
<?php
p($l->t('Unlimited'));
?>
</option>
<?php
foreach ($_['quota_preset'] as $preset) {
?>
<?php
if ($preset !== 'default') {
?>
<option <?php
if ($_['default_quota'] == $preset) {
print_unescaped('selected="selected"');
}
?>
value='<?php
p($preset);
?>
'>
<?php
p($preset);
?>
</option>
<?php
}
?>
<?php
}
开发者ID:evanjt,项目名称:core,代码行数:31,代码来源:part.setquota.php
示例14: p
?>
"/></span>
<span class="ldap_config_state_indicator"></span> <span class="ldap_config_state_indicator_sign"></span>
<button class="ldap_action_back invisible" name="ldap_action_back"
type="button">
<?php
p($l->t('Back'));
?>
</button>
<button class="ldap_action_continue" name="ldap_action_continue" type="button">
<?php
p($l->t('Continue'));
?>
</button>
<a href="<?php
p(link_to_docs('admin-ldap'));
?>
"
target="_blank" rel="noreferrer">
<img src="<?php
print_unescaped(image_path('', 'actions/info.png'));
?>
"
style="height:1.75ex" />
<span class="ldap_grey"><?php
p($l->t('Help'));
?>
</span>
</a>
</div>
开发者ID:rchicoli,项目名称:owncloud-core,代码行数:30,代码来源:part.wizardcontrols.php
示例15: print_unescaped
<?php
OCP\Util::addStyle('lostpassword', 'resetpassword');
?>
<form action="<?php
print_unescaped($_['link']);
?>
" id="reset-password" method="post">
<fieldset>
<p>
<label for="password" class="infield"><?php
p($l->t('New password'));
?>
</label>
<input type="password" name="password" id="password" value="" placeholder="<?php
p($l->t('New Password'));
?>
" required />
<img class="svg" id="password-icon" src="<?php
print_unescaped(image_path('', 'actions/password.svg'));
?>
" alt=""/>
</p>
<input type="submit" id="submit" value="<?php
p($l->t('Reset password'));
?>
" />
</fieldset>
</form>
<?php
OCP\Util::addScript('core', 'lostpassword');
开发者ID:olucao,项目名称:owncloud-core,代码行数:31,代码来源:resetpassword.php
示例16: p
?>
</th>
<th>
<?php
p($l->t('Experience'));
?>
</th>
</tr>
<?php
foreach ($_['members'] as $member => $cnt) {
if (!is_null($member) && $member != '0') {
$skills = OC_Collaboration_Skillset::readSkills($member);
$skl_cnt = count($skills);
if ($skl_cnt == 0) {
print_unescaped('<tr><td>' . $member . '</td><td>' . $cnt['proj_cnt'] . '</td><td>' . $cnt['tot_cnt'] . '</td><td colspan="3" >' . $l->t('Skills yet to be added by member') . '</td></tr>');
} else {
print_unescaped('<tr><td rowspan="' . $skl_cnt . '" >' . $member . '</td><td rowspan="' . $skl_cnt . '" >' . $cnt['proj_cnt'] . '</td><td rowspan="' . $skl_cnt . '" >' . $cnt['tot_cnt'] . '</td>');
foreach ($skills as $skill) {
print_unescaped('<td>' . $skill['skill'] . '</td><td>' . OC_Collaboration_Skillset::getExpertiseString($skill['expertise']) . '</td><td>' . $skill['experience'] . ' ' . $l->t('year(s)') . '</td></tr><tr>');
}
print_unescaped('</tr>');
}
}
}
?>
</table>
</div>
开发者ID:pjrobertson,项目名称:owncloud-collaboration,代码行数:30,代码来源:skillset_details.php
示例17: p
</fieldset>
<fieldset id="casSettings-2">
<p><label for="cas_autocreate"><?php
p($l->t('Autocreate user after CAS login?'));
?>
</label><input type="checkbox" id="cas_autocreate" name="cas_autocreate" <?php
print_unescaped($_['cas_autocreate'] != false ? 'checked="checked"' : '');
?>
></p>
<p><label for="cas_update_user_data"><?php
p($l->t('Update user data after login?'));
?>
</label><input type="checkbox" id="cas_update_user_data" name="cas_update_user_data" <?php
print_unescaped($_['cas_update_user_data'] != false ? 'checked="checked"' : '');
?>
></p>
<p><label for="cas_protected_groups"><?php
p($l->t('Groups that will not be unlinked from the user when sync the CAS server and the owncloud'));
?>
</label><input type="text" id="cas_protected_groups" name="cas_protected_groups" value="<?php
p($_['cas_protected_groups']);
?>
" /></p> <?php
p($l->t('(protected grop are multivalued, use comma to separate the values)'));
?>
<p><label for="cas_default_group"><?php
p($l->t('Default group when autocreating users and no group data was found for the user'));
?>
</label><input type="text" id="cas_default_group" name="cas_default_group" value="<?php
开发者ID:Karamaz0V1,项目名称:user_minimalcas,代码行数:29,代码来源:settings.php
示例18: print_unescaped
</span> <a class="action" href="#"> <img src="<?php
print_unescaped(\OCP\Util::imagePath('core', 'actions/rename.svg'));
?>
" />
</a>
</span>
<div class="easybackup_explanation easybackup_bullet">
4)
<?php
p($l->t('Start backing up your data manually or on regular basis'));
?>
</div>
<form action="<?php
print_unescaped($_['backupUrl']);
?>
">
<button id="easybackup_goToBackup" type="submit" <?php
if ($_['statusContainer']->getOverallStatus() != \OCA\EasyBackup\StatusContainer::OK) {
print_unescaped('"disabled"');
}
?>
>
<?php
p($l->t('Backup...'));
?>
</button>
</form>
<!-- Invisible target for upload response -->
<iframe id="easybackup_upload_target" style="visibility: hidden; width: 1px; height: 1px" name="easybackup_upload_target" src=""></iframe>
开发者ID:ArcherSys,项目名称:ArcherSysOSCloud7,代码行数:30,代码来源:configuration.inc.php
示例19: print_unescaped
* ownCloud - Calendar App
*
* @author Raghu Nayyar
* @author Georg Ehrke
* @copyright 2016 Raghu Nayyar <[email protected]>
* @copyright 2016 Georg Ehrke <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
?>
<ul class="app-navigation-list subscription-list">
<div ng-class="{loading: is.loading}"></div>
<li ng-repeat="calendar in calendars | orderBy:['order'] | subscriptionFilter" class="app-navigation-list-item" ng-class="{active: calendar.enabled}">
<?php
print_unescaped($this->inc('part.calendarlist.item'));
?>
</li>
</ul>
开发者ID:dominicrico,项目名称:calendar-rework,代码行数:30,代码来源:part.subscriptionlist.php
示例20: p
<h1 class="hidden-visually">
<?php
p($theme->getName());
?>
</h1>
</div>
<div id="logo-claim" style="display:none;"><?php
p($theme->getLogoClaim());
?>
</div>
</div>
</header>
<?php
}
?>
<?php
print_unescaped($_['content']);
?>
<div class="push"></div><!-- for sticky footer -->
</div>
</div>
<footer role="contentinfo">
<p class="info">
<?php
print_unescaped($theme->getLongFooter());
?>
</p>
</footer>
</body>
</html>
开发者ID:samj1912,项目名称:repo,代码行数:30,代码来源:layout.guest.php
注:本文中的print_unescaped函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论