示例#1
0
function wptouch_title()
{
    if (is_home()) {
        echo wptouch_bloginfo('site_title');
    } else {
        echo wptouch_bloginfo('site_title') . wp_title(' » ', 0);
    }
}
示例#2
0
    ?>
" />
						</div>
					</li>
					<?php 
    if (classic_show_account_tab()) {
        ?>
						<li><a class="no-ajax" href="<?php 
        wptouch_bloginfo('wpurl');
        ?>
/wp-register.php"><?php 
        _e('Register for an account', 'wptouch-pro');
        ?>
</a></li>
						<li><a class="no-ajax" href="<?php 
        wptouch_bloginfo('wpurl');
        ?>
/wp-login.php?action=lostpassword"><?php 
        _e('Reset password', 'wptouch-pro');
        ?>
</a></li>
					<?php 
    }
    ?>
				</ul>
				</form>	
			<?php 
}
?>
		</div>
    ?>
</h1>
			<?php 
}
?>
		</a>
		<div id="menu-toggle" class="menu-btn tappable show-hide-toggle" data-effect-target="menu" data-menu-target="menu" role="button"><!--icon-reorder--></div>
	</header>

	<?php 
if (bauhaus_should_show_search()) {
    ?>
	<div id="search-dropper">
		<div id="wptouch-search-inner">
			<form method="get" id="searchform" action="<?php 
    wptouch_bloginfo('search_url');
    ?>
/">
				<input type="text" name="s" id="search-text" placeholder="<?php 
    _e('Search this website', 'wptouch-pro');
    ?>
&hellip;" />
				<input name="submit" type="submit" id="search-submit" value="<?php 
    _e('Search', 'wptouch-pro');
    ?>
" class="button-dark" />
			</form>
		</div>
	</div>
	<?php 
}
示例#4
0
}
?>
		</div>
	</div>
	<?php 
if ($_GET['page'] != 'wptouch-admin-touchboard' && $_GET['page'] != 'wptouch-admin-license' && $_GET['page'] != 'wptouch-admin-themes-and-addons' && $_GET['page'] != 'wptouch-admin-upgrade' && $_GET['page'] != 'wptouch-admin-upgrade-license') {
    ?>
		<br /><br /><br /><!-- add some space above -->
		<input type="submit" name="wptouch-submit-3" id="submit" class="button-primary" value="<?php 
    _e('Save Changes', 'wptouch-pro');
    ?>
" />
		<input type="submit" name="wptouch-preview-theme" id="preview" class="preview-button button-secondary" value="<?php 
    _e("Preview Theme", "wptouch-pro");
    ?>
" data-url="<?php 
    wptouch_bloginfo('url');
    ?>
/?wptouch_preview_theme=enabled"  />
		<input type="submit" name="wptouch-reset-3" id="reset" class="reset-button button-secondary" value="<?php 
    _e('Reset Settings', 'wptouch-pro');
    ?>
" />
		<input type="hidden" name="wptouch-admin-nonce" value="<?php 
    echo wp_create_nonce('wptouch-post-nonce');
    ?>
" />
	<?php 
}
?>
</form>
示例#5
0
	<?php 
}
if (wptouch_has_menu()) {
    ?>
		<div class="menubar-button button" id="menu"><?php 
    _e("menu", "wptouch-pro");
    ?>
</div>
	<?php 
}
?>
	</div>	

	<div class="head-center">
		<h1><?php 
wptouch_bloginfo('site_title');
?>
</h1>
	</div>
	
	<div class="head-right">
	<?php 
if (classic_ipad_show_wordtwit_button()) {
    ?>
		<div class="menubar-button button" id="wordtwit"><p class="wordtwit-icon"></p></div>
	<?php 
}
if (classic_ipad_show_flickr_button()) {
    ?>
		<div class="menubar-button button" id="flickr"><p class="flickr-icon"></p></div>
	<?php 
示例#6
0
<div class="<?php 
        wptouch_post_classes();
        ?>
 rounded-corners-8px">

	<div class="title-area">
		<a href="<?php 
        wptouch_the_permalink();
        ?>
" class="ipad-read-entry"></a>

		<?php 
        if (is_sticky()) {
            ?>
			<img src="<?php 
            wptouch_bloginfo('template_directory');
            ?>
/images/paperclip.png" alt="paperclip" class="paperclip" />
		<?php 
        }
        ?>

		<?php 
        if (classic_use_calendar_icons() || classic_use_thumbnail_icons()) {
            ?>
			<?php 
            if (wptouch_get_comment_count()) {
                ?>
 
				<div class="comment-bubble <?php 
                wptouch_comment_bubble_size();
示例#7
0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php 
language_attributes();
?>
>
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="<?php 
wptouch_bloginfo('html_type');
?>
; charset=<?php 
wptouch_bloginfo('charset');
?>
" />
	<title><?php 
wptouch_title();
?>
</title>
	<?php 
wptouch_head();
?>
	<link type="text/css" rel="stylesheet" media="screen" href="<?php 
classic_the_static_css_url('ipad');
?>
?version=<?php 
classic_the_static_css_version('ipad');
?>
"></link>
</head>		
<?php 
flush();
?>
			<tr>
				<td class="box-table-number"><a href="#" rel="icon-sets" class="wptouch-admin-switch"><?php 
wptouch_bloginfo('icon_set_count');
?>
</a></td>
				<td class="box-table-text"><a href="#" rel="icon-sets" class="wptouch-admin-switch"><?php 
_e("Icon Sets", "wptouch-pro");
?>
</a></td>
			</tr>
			<?php 
if (wptouch_get_bloginfo('warnings')) {
    ?>
			<tr id="board-warnings">
				<td class="box-table-number"><a href="#" rel="plugin-conflicts" class="wptouch-admin-switch"><?php 
    wptouch_bloginfo('warnings');
    ?>
</a></td>
				<td class="box-table-text"><a href="#" rel="plugin-conflicts" class="wptouch-admin-switch"><?php 
    _e("Warnings", "wptouch-pro");
    ?>
</a></td>
			</tr>
			<?php 
}
?>
			<?php 
if (wptouch_has_license() && !$settings->admin_client_mode_hide_licenses) {
    ?>
			<tr id="wptouch-licenses-remaining">
				<td class="box-table-number">&nbsp;</td>
$settings = wptouch_get_settings();
if (wptouch_theme_supports_ipad()) {
    if ($settings->ipad_support === 'full') {
        $ipad_support = '(<a href="pane-active-theme" class="wptouch-admin-switch" rel="ipad-settings">' . __('iPad theme ON', "wptouch-pro") . '<a/>)';
    } else {
        $ipad_support = '(<a href="pane-active-theme" class="wptouch-admin-switch" rel="ipad-settings">' . __('iPad Theme OFF', "wptouch-pro") . '<a/>)';
    }
}
?>
<ul>
	<li><?php 
_e("Active Theme", "wptouch-pro");
?>
: <span><?php 
wptouch_bloginfo('active_theme_friendly_name');
?>
 <?php 
if (wptouch_theme_supports_ipad()) {
    echo $ipad_support;
}
?>
</span></li>	
	
	<li>
	<?php 
if (wptouch_has_proper_auth() && !$settings->admin_client_mode_hide_licenses) {
    ?>
	
		<?php 
    if (wptouch_has_license()) {