本文整理汇总了PHP中URL::out方法的典型用法代码示例。如果您正苦于以下问题:PHP URL::out方法的具体用法?PHP URL::out怎么用?PHP URL::out使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类URL
的用法示例。
在下文中一共展示了URL::out方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: if
<?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?>
<div id="search">
<?php echo $theme->search_form() ?>
</div>
<div id="feeds">
<div class="feedlink"><a href="<?php URL::out( 'atom_feed', array( 'index' => '1' ) ); ?>"><?php _e( "{blog entries}" ); ?></a></div>
<div class="feedlink"><a href="<?php URL::out( 'atom_feed_comments' ); ?>"><?php _e( "{comments}" ); ?></a></div>
</div>
<div id="habari-link">
<?php if ($show_powered) : ?>
<a href="http://habariproject.org/" title="<?php _e( "Powered by Habari" ); ?>"><img src="<?php Site::out_url('theme'); ?>/images/pwrd_habari.png" alt="<?php _e( "Powered by Habari" ); ?>"></a>
<?php endif; ?>
</div>
<div id="sidebar">
<!-- Call your plugins theme functions here-->
<?php echo $theme->area('sidebar'); ?>
</div>
示例2: array
<div id="sidebar">
<div id="rss">
<a href="<?php
URL::out('atom_feed', array('index' => '1'));
?>
"><span>Subscribe</span></a>
</div>
<div id="sidebar_main">
<h2>Search</h2>
<div id="search_block">
<form method="get" id="searchform" action="<?php
URL::out('display_search');
?>
/">
<div>
<input type="text" name="criteria" id="s" class="field" value="Searching for ?" onfocus="if (this.value == 'Searching for ?') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Searching for ?';}" />
<input type="image" src="<?php
Site::out_url('theme');
?>
/img/search.gif" id="searchsibmit" class="submit" name="submit" />
</div>
</form>
</div>
<?php
include "sidebar-text.php";
?>
示例3:
"><?php
echo $comment->date->out('d-m-Y / H:i');
?>
</a>, said:</p>
<div class="response">
<?php
echo $comment->content_out;
?>
</div>
<p>
<?php
if ($user) {
?>
<a href="<?php
URL::out('admin', 'page=comment&id=' . $comment->id);
?>
" title="<?php
_e('Edit this comment');
?>
"><?php
_e('Edit this comment');
?>
</a>
<?php
}
?>
</p>
</li>
示例4: array
<div id="search">
<?php
$theme->search_form();
?>
</div>
<div id="feeds">
<div class="feedlink"><a href="<?php
URL::out('atom_feed', array('index' => '1'));
?>
"><?php
_e("{blog entries}");
?>
</a></div>
<div class="feedlink"><a href="<?php
URL::out('atom_feed_comments');
?>
"><?php
_e("{comments}");
?>
</a></div>
</div>
<div id="habari-link">
<?php
if ($show_powered) {
?>
<a href="http://habariproject.org/" title="<?php
_e("Powered by Habari");
?>
"><img src="<?php
Site::out_url('theme');
示例5: _e
</a></li>
<?php
} else {
?>
<li><a href="<?php
URL::out('admin', 'page=preview_theme&theme_dir=' . $inactive_theme['dir'] . '&theme_name=' . $inactive_theme['info']->name);
?>
"><?php
_e('Preview');
?>
</a></li>
<?php
}
?>
<li><a href="<?php
URL::out('admin', 'page=activate_theme&theme_dir=' . $inactive_theme['dir'] . '&theme_name=' . $inactive_theme['info']->name);
?>
"><?php
_e('Activate');
?>
</a></li>
</ul>
<?php
}
?>
</div>
<?php
}
}
?>
示例6: array
<script type="text/javascript">
$(document).ready(function(){
$('#generate-guid').click(function(){
spinner.start();
$.get(
'<?php
URL::out('auth_ajax', array('context' => 'generate_guid'));
?>
',
function(data) {
$('#<?php
echo $id;
?>
').val(data);
$('#<?php
echo $id;
?>
').focus();
spinner.stop();
}
);
});
});
</script>
<div class="container">
<button type="button" id="generate-guid" style="float:right">Generate New GUID</button>
</div>
<?php
include HABARI_PATH . '/system/admin/formcontrols/admincontrol_text.php';
示例7: array
?>
">
<span class="checkbox"><input type="checkbox" class="checkbox" name="checkbox_ids[<?php
echo $tag->id;
?>
]" id="checkbox_ids[<?php
echo $tag->id;
?>
]"></span><label for="checkbox_ids[<?php
echo $tag->id;
?>
]"><?php
echo $tag->term_display;
?>
</label><span class="count"><a href="<?php
URL::out('admin', array('page' => 'posts', 'search' => 'tag:' . $tag->tag_text_searchable));
?>
" title="<?php
echo Utils::htmlspecialchars(_t('Manage posts tagged %1$s', array($tag->term_display)));
?>
"><?php
echo $tag->count;
?>
</a></span>
</li>
<?php
}
} else {
?>
<div class="message none">
<p><?php
示例8: array
?>
</span> <a href="<?php
URL::out('admin', array('page' => 'posts', 'user_id' => $post->user_id, 'type' => $post->content_type, 'status' => 'any'));
?>
" title="<?php
_e('Search for other items by %s', array($post->author->displayname));
?>
"><?php
echo $post->author->displayname;
?>
</a></span>
<span class="date pct15"><span class="dim"><?php
_e('on');
?>
</span> <a href="<?php
URL::out('admin', array('page' => 'posts', 'type' => $post->content_type, 'year_month' => $post->pubdate->get('Y-m')));
?>
" title="<?php
_e('Search for other items from %s', array($post->pubdate->get('M, Y')));
?>
"><?php
$post->pubdate->out(HabariDateTime::get_default_date_format());
?>
</a></span>
<span class="time pct10"><span class="dim"><?php
_e('at');
?>
<?php
$post->pubdate->out(HabariDateTime::get_default_time_format());
?>
</span></span>
示例9: array
URL::out('atom_feed', array('index' => '1'));
?>
">Entries RSS</a> <a href="<?php
URL::out('atom_feed_comments');
?>
">Comments RSS</a> <a href="http://validator.w3.org/check?uri=referer">XHTML</a> <?php
if ($loggedin) {
?>
<a href="<?php
Site::out_url('admin');
?>
" title="Admin area">Site Admin</a><?php
} else {
?>
<a href="<?php
URL::out('user', array('page' => 'login'));
?>
" title="login">Login</a><?php
}
?>
</p>
</div>
</div>
<?php
$theme->footer();
?>
</body>
</html>
<!-- end footer.php -->
示例10: die
<?php
if (!defined('HABARI_PATH')) {
die('No direct access');
}
include_once 'header.php';
?>
<?php
include 'navigator.php';
?>
<form method="post" action="<?php
URL::out('admin', array('page' => 'logs'));
?>
" class="buttonform">
<div class="container transparent item controls">
<input type="hidden" name="nonce" id="nonce" value="<?php
echo $wsse['nonce'];
?>
">
<input type="hidden" name="timestamp" id="timestamp" value="<?php
echo $wsse['timestamp'];
?>
">
<input type="hidden" name="password_digest" id="password_digest" value="<?php
echo $wsse['digest'];
?>
">
示例11: _e
</a></li>
<?php
}
}
?>
</ul>
</div>
<?php
if ($loggedin) {
?>
<p><?php
_e('You are logged in as');
?>
<a href="<?php
URL::out('admin', 'page=user&user=' . $user->username);
?>
"><?php
echo $user->username;
?>
</a>.</p>
<p><?php
_e('Want to');
?>
<a href="<?php
Site::out_url('habari');
?>
/auth/logout"><?php
_e('log out');
?>
?</a></p>
示例12: array
} else {
echo '<p>' . $da_blurbtext . '</p>';
}
?>
</div>
<?php
$theme->twitter();
?>
<?php
if ($sidenotes->count()) {
?>
<div id="sidenotes">
<h3><a href="<?php
URL::out('atom_feed_tag', array('tag' => $theme->da_sidenotes_tag));
?>
" title="Side Notes Feed"><img alt="Side Notes Feed" src="<?php
echo $this->theme_url;
?>
/images/feed.png" /></a> Side Notes</h3>
<ul>
<?php
foreach ($sidenotes as $sidenote) {
?>
<li><?php
echo $sidenote->content_out;
?>
</li>
<?php
}
示例13:
if ((string) $help['name'] == '') {
echo '<div class="help">' . $help->value . '</div>';
}
}
}
?>
</div>
<?php
if (isset($this->engine_vars['configure']) && $configure == $plugin['plugin_id']) {
?>
<div id="pluginconfigure">
<?php
Plugins::plugin_ui($configure, $configaction);
?>
<a class="link_as_button" href="<?php
URL::out('admin', 'page=plugins');
?>
"><?php
_e('Close');
?>
</a>
</div>
<?php
}
?>
</div>
<?php
}
示例14: _e
" title="<?php
_e('Go to Site');
?>
"><?php
Options::out('title');
?>
</a></h1>
<div class="container">
<p><?php
_e('Your comment did not pass our spam filter. Please enter the text you see on the box below to verify you are not a spam bot and your comment is valid. Thank You and sorry for the inconveneance', 'mollom');
?>
</p>
<form method="post" action="<?php
URL::out('mollom_fallback', array('fallback' => 'captcha'));
?>
">
<p>
<?php
echo $theme->captcha['html'];
?>
<br />
<?php
echo $theme->audio_captcha['html'];
?>
<br />
<label><?php
_e('Enter the text you see in the image above or press play to hear the text.', 'mollom');
示例15: array
</header>
<div class="content"><?php
echo $comment->content_out;
?>
</div>
</article>
<?php
}
?>
</div>
<?php
}
?>
<form action="<?php
URL::out('submit_feedback', array('id' => $post->id));
?>
" method="post">
<fieldset>
<dl>
<dt></dt>
<dd>
<textarea name="content" id="comment-content" cols="20" rows="10"></textarea>
</dd>
<dt>
<label for="name"><?php
_e('Name');
if (Options::get('comments_require_id') == 1) {
?>
<span class="required">*</span><?php