本文整理汇总了PHP中tpl_license函数的典型用法代码示例。如果您正苦于以下问题:PHP tpl_license函数的具体用法?PHP tpl_license怎么用?PHP tpl_license使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tpl_license函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bootstrap3_conf
</span>
<?php
}
?>
</div>
<?php
if ($conf['license']) {
?>
<div id="dw__license" class="text-center small" <?php
bootstrap3_conf('semantic') ? 'itemprop="license"' : '';
?>
>
<?php
echo tpl_license('');
?>
</div>
<?php
}
?>
<?php
// DokuWiki badges
require_once 'tpl_badges.php';
// Footer hook
tpl_includeFile('footer.html');
// Footer DokuWiki page
require_once 'tpl_footer.php';
// Cookie-Law banner
require_once 'tpl_cookielaw.php';
示例2: tpl_button
?>
<?php
tpl_button('index');
?>
<?php
tpl_button('top');
?>
</div>
<div class="clearer"></div>
</div>
</div>
<?php
tpl_license(false);
?>
</div>
<?php
/*old includehook*/
@(include dirname(__FILE__) . '/footer.html');
?>
<div class="no"><?php
/* provide DokuWiki housekeeping, required in all templates */
tpl_indexerWebBug();
?>
</div>
</body>
</html>
示例3: tpl_action
echo '</li>';
}
tpl_action('admin', 1, 'li');
_tpl_action('userpage', 1, 'li');
tpl_action('profile', 1, 'li');
_tpl_action('register', 1, 'li');
/* DW versions > 2011-02-20 can use the core function tpl_action('register', 1, 'li') */
tpl_action('login', 1, 'li');
?>
</ul>
</div>
<?php
}
?>
<?php
tpl_license('button');
?>
</div>
</div><!-- /footer -->
<?php
_tpl_include('footer.html');
?>
</div></div><!-- /site -->
<div class="no"><?php
tpl_indexerWebBug();
?>
</div>
示例4: tpl_action
if (bootstrap3_conf('showLoginOnFooter')) {
?>
<span class="loginLink hidden-print">
<?php
echo tpl_action('login', 1, 0, 1, '<i class="fa fa-sign-in"></i> ');
?>
</span>
<?php
}
?>
</div>
<div class="text-center hidden-print">
<p id="dw__license"><?php
tpl_license('');
?>
</p>
</div>
<?php
// DokuWiki badges
require_once 'tpl_badges.php';
// Footer hook
tpl_includeFile('footer.html');
// Footer DokuWiki page
require_once 'tpl_footer.php';
?>
</footer>
示例5: tpl_license
// must be run from within DokuWiki
if (!defined('DOKU_INC')) {
die;
}
?>
<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer"><div class="pad">
<?php
tpl_license('');
// license text
?>
<div class="buttons">
<?php
tpl_license('button', true, false, false);
// license button, no wrapper
$target = $conf['target']['extern'] ? 'target="' . $conf['target']['extern'] . '"' : '';
?>
<a href="http://www.dokuwiki.org/donate" title="Donate" <?php
echo $target;
?>
><img
src="<?php
echo tpl_basedir();
?>
images/button-donate.gif" width="80" height="15" alt="Donate" /></a>
<a href="http://www.php.net" title="Powered by PHP" <?php
echo $target;
?>
><img
示例6: tpl_button
<?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
<div class="bar" id="bar__bottom">
<div class="bar-left" id="bar__bottomleft">
<?php tpl_button('edit')?>
<?php tpl_button('history')?>
<?php tpl_button('revert')?>
</div>
<div class="bar-right" id="bar__bottomright">
<?php tpl_button('subscribe')?>
<?php tpl_button('media')?>
<?php tpl_button('admin')?>
<?php tpl_button('profile')?>
<?php tpl_button('login')?>
<?php tpl_button('index')?>
<?php tpl_button('top')?> 
</div>
<div class="clearer"></div>
</div>
</div>
<?php tpl_license(false);?>
</div>
<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
</body>
</html>
示例7: flush
<?php
flush();
?>
<div id="footer">
<div class="site">
<div id="page_meta" class="meta">
<?php
tpl_pageinfo();
?>
</div>
</div>
<div id="footer_info">
<div class="site">
<?php
tpl_license('button', true);
?>
<a target="_blank" href="http://www.chimeric.de" title="www.chimeric.de"><img src="<?php
echo DOKU_TPL;
?>
images/button-chimeric-de.png" width="80" height="15" alt="www.chimeric.de" border="0" /></a>
<a target="_blank" href="http://jigsaw.w3.org/css-validator/check/referer" title="Valid CSS"><img src="<?php
echo DOKU_TPL;
?>
images/button-css.png" width="80" height="15" alt="Valid CSS" border="0" /></a>
<a target="_blank" href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php
echo DOKU_TPL;
?>
images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" border="0" /></a>
<a target="_blank" href="http://www.firefox-browser.de" title="do yourself a favour and use a real browser - get firefox"><img src="<?php
echo DOKU_TPL;
示例8: tpl_flush
<?php
tpl_flush();
?>
<?php
tpl_includeFile('pagefooter.html');
?>
</div></div><!-- /content -->
<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer">
<div class="doc"><?php
white_pageinfo();
?>
</div>
<?php
tpl_license('badge', false, false);
?>
</div><!-- /footer -->
<?php
tpl_includeFile('footer.html');
?>
</div><!-- /wrapper -->
</div><!-- /site -->
<div class="no"><?php
tpl_indexerWebBug();
?>
</div>
</body>
示例9: tpl_license
<?php
/**
* M1 Mobile Menu, included in the main and detail files. Also includes all mobile menu information.
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) {
die;
}
?>
<div id="dokuwiki__footer">
<div class="doc">
<?php
//tpl_pageinfo() /* 'Last modified' etc */
?>
</div>
<?php
tpl_license($img = button, $imgonly = 1);
?>
</div><!-- /footer -->
示例10: tpl_license
<?php
/**
* Template footer, included in the main and detail files
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) die();
?>
<!-- ********** FOOTER ********** -->
<div id="dokuwiki__footer"><div class="pad">
<?php tpl_license(''); // license text ?>
<div class="buttons">
<?php
tpl_license('button', true, false, false); // license button, no wrapper
$target = ($conf['target']['extern']) ? 'target="'.$conf['target']['extern'].'"' : '';
?>
</div>
</div></div><!-- /footer -->
<?php tpl_includeFile('footer.html') ?>
示例11: tpl_pageinfo
</div><!-- /content-inner-inner -->
</div><!-- /content-inner -->
</div><!-- /content-region-inner -->
</div><!-- /content-region -->
</div><!-- /content-group-inner -->
</div><!-- /content-group -->
</div><!-- /main-content-inner -->
</div><!-- /main-content -->
</div><!-- /main-group-inner -->
</div><!-- /main-group -->
</div><!-- /main-inner -->
</div><!-- /main -->
</div>
<div class="footer-message-wrapper full-width" id="footer-message-wrapper">
<div class="footer-message row grid16-16" id="footer-message">
<div class="footer-message-inner inner clearfix" id="footer-message-inner">
<div id="dokuwiki__footer">
<div class="doc"><?php tpl_pageinfo() // 'Last modified' etc ?></div>
<?php tpl_license('button'); // content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 ?>
</div>
<?php _tpl_include('footer.html'); ?>
<?php tpl_indexerWebBug(); // provide DokuWiki housekeeping, required in all templates ?>
</div><!-- /footer-message-inner -->
</div><!-- /footer-message -->
</div>
</div>
</div>
</body>
</html>
示例12: tpl_pageinfo
<?php
/**
* M1 Mobile Menu, included in the main and detail files. Also includes all mobile menu information.
*/
// must be run from within DokuWiki
if (!defined('DOKU_INC')) {
die;
}
?>
<div id="dokuwiki__footer">
<div class="doc">
<?php
tpl_pageinfo();
?>
</div>
<?php
tpl_license($img = 0);
?>
</div><!-- /footer -->