当前位置: 首页>>代码示例>>PHP>>正文


PHP URL::out方法代码示例

本文整理汇总了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>
开发者ID:rynodivino,项目名称:system,代码行数:17,代码来源:sidebar.php

示例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";
?>
开发者ID:habari-extras,项目名称:naturalpower,代码行数:31,代码来源:sidebar.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>
开发者ID:habari-extras,项目名称:simplerer,代码行数:31,代码来源:comments.php

示例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');
开发者ID:ringmaster,项目名称:system,代码行数:30,代码来源:sidebar.php

示例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 
    }
}
?>
开发者ID:ringmaster,项目名称:system,代码行数:31,代码来源:themes.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';
开发者ID:ringmaster,项目名称:plugin_directory,代码行数:29,代码来源:guidcontrol.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 
开发者ID:wwxgitcat,项目名称:habari,代码行数:31,代码来源:tag_collection.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>
开发者ID:wwxgitcat,项目名称:habari,代码行数:31,代码来源:posts_items.php

示例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 -->
开发者ID:habari-extras,项目名称:hemingway,代码行数:30,代码来源: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'];
?>
">
开发者ID:wwxgitcat,项目名称:habari,代码行数:31,代码来源:logs.php

示例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>
开发者ID:habari-extras,项目名称:milk,代码行数:31,代码来源:sidebar.php

示例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>&nbsp;Side Notes</h3>
					<ul>
					<?php 
    foreach ($sidenotes as $sidenote) {
        ?>
						<li><?php 
        echo $sidenote->content_out;
        ?>
</li>
					<?php 
    }
开发者ID:ringmaster,项目名称:dark-autumn,代码行数:31,代码来源:sidebar.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 
}
开发者ID:ringmaster,项目名称:system,代码行数:31,代码来源:plugin.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');
开发者ID:habari-extras,项目名称:mollom,代码行数:31,代码来源:mollom_fallback_captcha.php

示例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 
开发者ID:ahutchings,项目名称:habari-sparse,代码行数:31,代码来源:entry.single.php


注:本文中的URL::out方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。