本文整理汇总了PHP中tpl_button函数的典型用法代码示例。如果您正苦于以下问题:PHP tpl_button函数的具体用法?PHP tpl_button怎么用?PHP tpl_button使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了tpl_button函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: hsc
?>
</label>
<textarea name="meta[Iptc.Keywords]" id="keywords" class="edit"><?php
echo hsc(tpl_img_getTag(array('IPTC.Keywords', 'EXIF.Category')));
?>
</textarea><br />
<input type="submit" value="<?php
echo $lang['btn_save'];
?>
" title="ALT+S"
accesskey="s" class="button" />
</form>
</div>
<div class="footer">
<hr>
<?php
tpl_button('backtomedia');
?>
</div>
</div>
</div>
</body>
</html>
示例2: tpl_action
/**
* Wrapper around tpl_button() and tpl_actionlink()
*
* @author Anika Henke <anika@selfthinker.org>
* @param
* @param bool $link link or form button?
* @param bool $wrapper HTML element wrapper
* @param bool $return return or print
* @param string $pre prefix for links
* @param string $suf suffix for links
* @param string $inner inner HTML for links
* @return bool|string
*/
function tpl_action($type, $link = false, $wrapper = false, $return = false, $pre = '', $suf = '', $inner = '')
{
$out = '';
if ($link) {
$out .= tpl_actionlink($type, $pre, $suf, $inner, 1);
} else {
$out .= tpl_button($type, 1);
}
if ($out && $wrapper) {
$out = "<{$wrapper}>{$out}</{$wrapper}>";
}
if ($return) {
return $out;
}
print $out;
return $out ? true : false;
}
示例3: tpl_button
tpl_button('subscribens');
?>
<?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*/
示例4: tpl_youarehere
?>
<div class="breadcrumbs">
<?php
tpl_youarehere();
?>
</div>
<?php
}
?>
<div class="bar-left" id="bar__bottomleft">
<?php
tpl_button('edit');
?>
<?php
tpl_button('login');
?>
<?php
// AFEGIT Jordi 10/02/2011
$exporta = str_replace('wikiform/wikiform', 'wikiform/wikiexport', $_SERVER["REQUEST_URI"]);
?>
<a style=" background-color: #FFFFFF;
border: 1px solid #CCCCCC;
color: #000000;
cursor: pointer;
font-size: 100%;
margin: 1px;
padding: 0.125em 0.4em;
text-decoration: none;
示例5: 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>
示例6: tpl_content
tpl_content();
?>
<div class="page_controls">
<div style="float: right">
<?php
tpl_button('edit');
?>
<?php
tpl_button('top');
?>
</div>
<?php
tpl_button('login');
?>
<?php
tpl_button('admin');
?>
</div>
</div>
<div class="footer">
<div class="pageinfo"><?php
tpl_pageinfo();
?>
</div>
<p>Copyright © 2006 Alexey Remizov | Design mostly based on work <a href="http://www.oswd.org/design/preview/id/2429">“Leaves”</a> by <a href="http://smallpark.org">SmallPark</a></p>
</div>
</div>
</body>
</html>
示例7: tpl_button
tpl_button('profile');
?>
<?php
tpl_button('admin');
?>
<?php
tpl_button('subscribe');
?>
<?php
tpl_button('recent');
?>
<?php
tpl_button('history');
?>
<?php
tpl_button('edit');
?>
</div>
<?php
}
?>
<!-- MAIN -->
<?php
if ($ACT == "show" && in_array($INFO['id'], split(" ", $conf['rawhtml']))) {
?>
<!-- RAW HTML -->
<section id="wrapper" class="<?php
print $ACT;
?>
">
示例8: tpl_button
?>
<?php
tpl_button('admin');
?>
<?php
tpl_button('edit');
?>
<?php
tpl_button('profile');
?>
<?php
tpl_button('login');
?>
<?php
tpl_button('index');
?>
</div>
</div>
</div>
<div id="wiki_toc" style="display:none" class="dokuwiki">
<h5 style="text-align:center;margin:0;border:none;">Table of Contents</h5>
<?php
tpl_toc();
?>
</div>