function pickle_top_utility()
{
    //the utility html starts here
    ?>
    <div class="top_container">
        <div class="top_container_content">
            <div id="login">
                <span class="loginout"><?php 
    wp_loginout();
    ?>
</span>
                <span class="register"><?php 
    wp_register('| ', '');
    ?>
</span>
            </div>
            <div id="greeting">
                <p>Please tell us what pickle pleases you. <span style="color:red;">Join Here</span></p>
            </div>
            <div class="search_form_container">
                <?php 
    get_search_form();
    ?>
            </div>
        </div>
    </div>
    <?php 
    //the utility html ends here
}
function widget_chaostheory_meta($args)
{
    extract($args);
    if (empty($title)) {
        $title = __('Meta', 'chaostheory');
    }
    ?>
		<?php 
    echo $before_widget;
    ?>
			<?php 
    echo $before_title . $title . $after_title;
    ?>
			<ul>
				<?php 
    wp_register();
    ?>
				<li><?php 
    wp_loginout();
    ?>
</li>
				<?php 
    wp_meta();
    ?>
			</ul>
		<?php 
    echo $after_widget;
}
    function get_sidebar($index)
    {
        if (!dynamic_sidebar($index)) {
            if (!dynamic_sidebar('Default Sidebar')) {
                ?>
					<div class="sidebarbox widget_meta">		
						
						<h3 class="sidebar-title"><span>Meta</span></h3>
							<ul>
								<?php 
                wp_register();
                ?>
								<li><?php 
                wp_loginout();
                ?>
</li>
								<?php 
                wp_meta();
                ?>
							</ul>

					</div>
				<?php 
            }
        }
    }
Beispiel #4
0
 function widget_simple_login($args)
 {
     extract($args);
     $options = get_option('widget_simple_login');
     $title = apply_filters('widget_title', $options['title']);
     switch ($options['redirectto']) {
         case "site":
             $redirect = "/";
             break;
         case "custom":
             $redirect = $options['customredirect'];
             break;
         case "actual":
             $redirect = $_SERVER['REQUEST_URI'];
             break;
         case "admin":
             //default setting
         //default setting
         default:
             $redirect = "";
     }
     echo $before_widget;
     echo $before_title . $title . $after_title;
     echo "\t<ul>\n\t\t";
     wp_register();
     echo "\n\t\t<li>";
     wp_loginout($redirect);
     echo "</li>\n\t</ul>\n";
     echo $after_widget;
 }
Beispiel #5
0
 /**
  * create the widget's public face
  */
 public function widget($args, $instance)
 {
     if (!isset($instance['title'])) {
         $instance['title'] = '';
     }
     $text = __('Admin', 'teaberry');
     $title = $instance['title'] == '' ? $text : $instance['title'];
     $title = apply_filters('widget_title', $title);
     /* before and after widget args */
     echo $args['before_widget'];
     if (!empty($title)) {
         echo $args['before_title'] . $title . $args['after_title'];
     }
     echo '<ul>';
     echo wp_register('<li>', '</li>', false);
     $redirect = is_home() ? false : get_permalink();
     /* show different link based on user status */
     if (is_user_logged_in()) {
         $url = wp_logout_url($redirect);
         $text = __('Logout', 'teaberry');
         echo '<li><a href="' . $url . '" title="Logout">' . $text . '</a></li>';
     } else {
         $url = wp_login_url($redirect);
         $text = __('Login', 'teaberry');
         echo '<li><a href="' . $url . '" title="Login">' . $text . '</a></li>';
     }
     echo '</ul>';
     echo $args['after_widget'];
 }
Beispiel #6
0
function widget_thematic_meta($args)
{
    extract($args);
    if (empty($title)) {
        $title = __('Meta', 'thematic');
    }
    ?>
			<?php 
    echo $before_widget;
    ?>
				<?php 
    echo thematic_before_title() . $title . thematic_after_title();
    ?>
				<ul>
					<?php 
    wp_register();
    ?>
					<li><?php 
    wp_loginout();
    ?>
</li>
					<?php 
    wp_meta();
    ?>
				</ul>
			<?php 
    echo $after_widget;
}
function ons_display_open_header()
{
    ?>

  <div class="loginout">
    <span><?php 
    wp_loginout($redirect);
    ?>
</span>
    <span> | </span>
    <span><?php 
    wp_register('', '');
    ?>
</span>
  </div>

  <!-- header links -->
  <div style="position: absolute; top: 25px;">
    <img id="Image-Maps_7201206261231527" src="/wp-content/uploads/2012/06/transparent.png"" usemap="#Image-Maps_7201206261231527" border="0" width="1000" height="100" alt="">
    <map id="_Image-Maps_7201206261231527" name="Image-Maps_7201206261231527">
      <area shape="rect" coords="5,25,188,115" href="http://neighbourhoodstudy.ca/" alt="Ottawa Neighbourhood Study" title="Ottawa Neighbourhood Study">
      <area shape="rect" coords="197,53,348,120" href="http://ottawa.ca/en/health_safety/about/oph/index.html" alt="Ottawa Public Health" title="Ottawa Public Health">
      <area shape="rect" coords="353,53,477,120" href="http://www.uottawa.ca/" alt="University of Ottawa" title="University of Ottawa">
      <area shape="rect" coords="478,53,622,120" href="http://www.coalitionottawa.ca" alt="Coalition of Community and Health" title="Coalition of Community and Health">
      <area shape="rect" coords="622,53,715,120" href="http://www.ibm.com" alt="IBM" title="IBM">
      <area shape="rect" coords="716,53,844,120" href="http://www.champlainlhin.on.ca" alt="Champlain Local Health" title="Champlain Local Health">
      <area shape="rect" coords="847,53,991,120" href="http://www.unitedway.org" alt="United Way" title="United Way">
    </map>
  </div>

<?php 
}
Beispiel #8
0
        function widget($args, $instance)
        {
            extract($args);
            $title = apply_filters('widget_title', $instance['title']);
            $meta = $instance['meta'];
            if (!is_user_logged_in() || is_user_logged_in() && $meta) {
                echo $before_widget;
                if ($title) {
                    echo $before_title . $title . $after_title;
                }
                if (!is_user_logged_in()) {
                    wp_connect();
                } else {
                    $url = is_singular() ? get_permalink() : '';
                    ?>
			<ul>
			<?php 
                    wp_register();
                    ?>
			<li><?php 
                    wp_loginout($url);
                    ?>
</li>
			</ul>
        <?php 
                }
                echo $after_widget;
            }
        }
Beispiel #9
0
function suffusion_sbtab_meta()
{
    echo '<ul>';
    wp_register();
    ?>
		<li><?php 
    wp_loginout();
    ?>
</li>
		<li class="rss"><a href="<?php 
    bloginfo('rss2_url');
    ?>
" title="<?php 
    echo esc_attr(__('Syndicate this site using RSS 2.0', 'suffusion'));
    ?>
"><?php 
    _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>', 'suffusion');
    ?>
</a></li>
		<li class="rss"><a href="<?php 
    bloginfo('comments_rss2_url');
    ?>
" title="<?php 
    echo esc_attr(__('The latest comments to all posts in RSS', 'suffusion'));
    ?>
"><?php 
    _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>', 'suffusion');
    ?>
</a></li>
<?php 
    wp_meta();
    echo '</ul>';
}
Beispiel #10
0
 /**
  * Widget
  * Display the widget in the sidebar
  * Save output to the cache if empty
  *
  * @param  array  sidebar arguments
  * @param  array  instance
  */
 public function widget($args, $instance)
 {
     extract($args);
     // Print the widget wrapper
     echo $before_widget;
     if (is_user_logged_in()) {
         // Get current user instance
         global $current_user;
         // Print title
         $title = $instance['title_user'] ? $instance['title_user'] : __('Hey %s!', 'jigoshop');
         if ($title) {
             echo $before_title . sprintf($title, ucwords($current_user->display_name)) . $after_title;
         }
         // Create the default set of links
         $links = apply_filters('jigoshop_widget_logout_user_links', array(__('My Account', 'jigoshop') => get_permalink(jigoshop_get_page_id('myaccount')), __('Change Password', 'jigoshop') => get_permalink(jigoshop_get_page_id('change_password')), __('Logout', 'jigoshop') => wp_logout_url(home_url())));
     } else {
         // Print title
         $title = $instance['title_guest'] ? $instance['title_guest'] : __('Login', 'jigoshop');
         if ($title) {
             echo $before_title . $title . $after_title;
         }
         do_action('jigoshop_widget_login_before_form');
         // Get redirect URI
         $redirect_to = apply_filters('jigoshop_widget_login_redirect', get_permalink(jigoshop_get_page_id('myaccount')));
         $fields = array();
         // Support for other plugins which uses GET parameters
         $fields = apply_filters('jigoshop_get_hidden_fields', $fields);
         echo "<form action='" . esc_url(wp_login_url($redirect_to)) . "' method='post' class='jigoshop_login_widget'>";
         foreach ($fields as $key => $value) {
             echo '<input type="hidden" name="' . $key . '" value="' . $value . '" />';
         }
         // Username
         echo "\n\t\t\t<p>\n\t\t\t\t<label for='log'>" . __('Username', 'jigoshop') . "</label>\n\t\t\t\t<input type='text' name='log' id='log' class='input-text username' />\n\t\t\t</p>\n\t\t\t";
         // Password
         echo "\n\t\t\t<p>\n\t\t\t\t<label for='pwd'>" . __('Password', 'jigoshop') . "</label>\n\t\t\t\t<input type='password' name='pwd' id='pwd' class='input-text password' />\n\t\t\t</p>\n\t\t\t";
         echo "\n\t\t\t<p>\n\t\t\t\t<input type='submit' name='submit' value='" . __('Login', 'jigoshop') . "' class='input-submit' />\n\t\t\t\t<a class='forgot' href='" . esc_url(wp_lostpassword_url($redirect_to)) . "'>" . __('Forgot it?', 'jigoshop') . "</a>\n\t\t\t</p>\n\t\t\t";
         if (Jigoshop_Base::get_options()->get('jigoshop_enable_signup_form') == 'yes') {
             echo '<p class="register">';
             wp_register(__('New user?', 'jigoshop') . ' ', '');
             echo '</p>';
         }
         echo "</form>";
         do_action('jigoshop_widget_login_after_form');
         $links = apply_filters('jigoshop_widget_login_user_links', array());
     }
     // Loop & print out the links
     if ($links) {
         echo "\n\t\t\t<nav role='navigation'>\n\t\t\t\t<ul class='pagenav'>";
         foreach ($links as $title => $href) {
             $href = esc_url($href);
             echo "<li><a title='Go to {$title}' href='{$href}'>{$title}</a></li>";
         }
         echo "\n\t\t\t\t</ul>\n\t\t\t</nav>";
     }
     // Print closing widget wrapper
     echo $after_widget;
 }
Beispiel #11
0
    function widget($args, $instance)
    {
        extract($args);
        $title = apply_filters('widget_title', empty($instance['title']) ? __('Meta', 'tfuse') : $instance['title'], $instance, $this->id_base);
        $before_widget = ' <div id="meta-' . $args['widget_id'] . '" class="widget-container widget_meta">';
        $after_widget = '</div>';
        $before_title = '<h3 class="widget-title">';
        $after_title = '</h3>';
        echo $before_widget;
        $title = tfuse_qtranslate($title);
        if ($title) {
            echo $before_title . $title . $after_title;
        }
        ?>

			<ul>
			<?php 
        wp_register();
        ?>

			<li><?php 
        wp_loginout();
        ?>
</li>
			<li><a href="<?php 
        bloginfo('rss2_url');
        ?>
" title="<?php 
        echo esc_attr(__('Syndicate this site using RSS 2.0', 'tfuse'));
        ?>
"><?php 
        _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>');
        ?>
</a></li>
			<li><a href="<?php 
        bloginfo('comments_rss2_url');
        ?>
" title="<?php 
        echo esc_attr(__('The latest comments to all posts in RSS', 'tfuse'));
        ?>
"><?php 
        _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>');
        ?>
</a></li>
			<li><a href="http://wordpress.org/" title="<?php 
        echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'tfuse'));
        ?>
">WordPress.org</a></li>
			<?php 
        wp_meta();
        ?>

			</ul>
<?php 
        echo $after_widget;
    }
 /**
  *
  * Display the login form with shortcode
  *
  */
 public function clp_display()
 {
     $eol = "\n";
     ob_start();
     echo '<div class="a5_custom_login_container" style="margin: 5px; padding: 20px;">' . $eol;
     if (!is_user_logged_in()) {
         $formargs['redirect'] = isset(self::$options['redirect']) && !empty(self::$options['redirect']) ? self::$options['redirect'] : home_url($_SERVER['REQUEST_URI']);
         $formargs['form_id'] = isset(self::$options['form_id']) && !empty(self::$options['form_id']) ? self::$options['form_id'] : 'loginform';
         $formargs['label_username'] = isset(self::$options['label_username']) && !empty(self::$options['label_username']) ? self::$options['label_username'] : __('Username');
         $formargs['label_password'] = isset(self::$options['label_password']) && !empty(self::$options['label_password']) ? self::$options['label_password'] : __('Password');
         $formargs['label_remember'] = isset(self::$options['label_remember']) && !empty(self::$options['label_remember']) ? self::$options['label_remember'] : __('Remember Me');
         $formargs['label_log_in'] = isset(self::$options['label_log_in']) && !empty(self::$options['label_log_in']) ? self::$options['label_log_in'] : __('Log In');
         $formargs['id_username'] = isset(self::$options['id_username']) && !empty(self::$options['id_username']) ? self::$options['id_username'] : '******';
         $formargs['id_password'] = isset(self::$options['id_password']) && !empty(self::$options['id_password']) ? self::$options['id_password'] : '******';
         $formargs['id_remember'] = isset(self::$options['id_remember']) && !empty(self::$options['id_remember']) ? self::$options['id_remember'] : 'rememberme';
         $formargs['id_submit'] = isset(self::$options['id_submit']) && !empty(self::$options['id_submit']) ? self::$options['id_submit'] : 'wp-submit';
         $formargs['remember'] = isset(self::$options['hide_remember']) && !empty(self::$options['hide_remember']) ? false : true;
         $formargs['value_username'] = isset(self::$options['value_username']) && !empty(self::$options['value_username']) ? self::$options['value_username'] : NULL;
         $formargs['value_remember'] = isset(self::$options['value_remember']) && !empty(self::$options['value_remember']) ? true : false;
         if (isset(self::$options['title']) && !empty(self::$options['title'])) {
             $title_tag = ' title="' . self::$options['title'] . '"';
         }
         if (isset(self::$options['logo']) && !empty(self::$options['logo'])) {
             $img_tag = '<img src="' . self::$options['logo'] . '"' . $title_tag . ' />';
         }
         if (isset($img_tag)) {
             echo isset(self::$options['url']) && !empty(self::$options['url']) ? '<a href="' . self::$options['url'] . '"' . $title_tag . '>' . $img_tag . '</a>' : $img_tag;
         }
         if (isset(self::$options['login_message']) && !empty(self::$options['login_message'])) {
             echo self::$options['login_message'];
         }
         wp_login_form($formargs);
         if (isset(self::$options['login_footer']) && !empty(self::$options['login_footer'])) {
             echo self::$options['login_footer'];
         }
     } else {
         wp_loginout(home_url());
         echo ' | ';
         wp_register('', '');
     }
     echo '</div>' . $eol;
     $output = ob_get_contents();
     if (!empty(self::$options['_login_form_top'])) {
         $output = str_replace(self::$options['_login_form_top'], self::$options['login_form_top'], $output);
     }
     if (!empty(self::$options['_login_form'])) {
         $output = str_replace(self::$options['_login_form'], self::$options['login_form'], $output);
     }
     if (!empty(self::$options['_login_form_bottom'])) {
         $output = str_replace(self::$options['_login_form_bottom'], self::$options['login_form_bottom'], $output);
     }
     ob_end_clean();
     return $output;
 }
Beispiel #13
0
function add_login_logout_link($items, $args)
{
    $loginoutlink = wp_loginout('index.php', false);
    if (!is_user_logged_in()) {
        $registerlink = wp_register('', '', false);
        $items .= '<li class="menu-item login">' . $loginoutlink . '</li>' . '<li class="menu-item register">' . $registerlink . '</li>';
    } else {
        $items .= '<li class="menu-item login">' . $loginoutlink . '</li>';
    }
    return $items;
}
    function widget($args, $instance)
    {
        extract($args);
        $title = apply_filters('widget_title', empty($instance['title']) ? __('Meta') : $instance['title'], $instance, $this->id_base);
        echo $before_widget;
        if ($title) {
            echo $before_title . $title . $after_title;
        }
        ?>
			<ul>
			<?php 
        wp_register();
        ?>
			<li><?php 
        wp_loginout();
        ?>
</li>
			<li><a rel="nofollow" href="<?php 
        bloginfo('rss2_url');
        ?>
" title="<?php 
        echo esc_attr(__('Syndicate this site using RSS 2.0'));
        ?>
"><?php 
        _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>');
        ?>
</a></li>
			<li><a rel="nofollow" href="<?php 
        bloginfo('comments_rss2_url');
        ?>
" title="<?php 
        echo esc_attr(__('The latest comments to all posts in RSS'));
        ?>
"><?php 
        _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>');
        ?>
</a></li>
			<li><a rel="nofollow" href="http://wordpress.org/" title="<?php 
        echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.'));
        ?>
">WordPress.org</a></li>
			<?php 
        wp_meta();
        ?>
			</ul>
<?php 
        echo $after_widget;
    }
Beispiel #15
0
function widget_iblog_meta()
{
    ?>
	<!--sidebox start -->
	<div id="meta" class="dbx-box">
	  <h3 class="dbx-handle"><?php 
    _e('Meta', TDOMAIN);
    ?>
</h3>
	  <div class="dbx-content">
	    <ul>
			<?php 
    wp_register();
    ?>
			<li class="login"><?php 
    wp_loginout();
    ?>
</li>
			<?php 
    wp_meta();
    ?>
	        <li class="rss"><a href="<?php 
    bloginfo('rss2_url');
    ?>
"><?php 
    _e('Entries (RSS)', TDOMAIN);
    ?>
</a></li>
	        <li class="rss"><a href="<?php 
    bloginfo('comments_rss2_url');
    ?>
"><?php 
    _e('Comments (RSS)', TDOMAIN);
    ?>
</a></li>
			<li class="wordpress"><a href="http://www.wordpress.org" title="<?php 
    _e('Powered by WordPress', TDOMAIN);
    ?>
">WordPress</a></li>

	    </ul>
	  </div>
	</div>
	<!--sidebox end -->
<?php 
}
Beispiel #16
0
    public function widget($args, $instance)
    {
        /** This filter is documented in wp-includes/default-widgets.php */
        $title = apply_filters('widget_title', empty($instance['title']) ? __('Meta') : $instance['title'], $instance, $this->id_base);
        echo $args['before_widget'];
        if ($title) {
            echo $args['before_title'] . $title . $args['after_title'];
        }
        ?>
			<ul>
			<?php 
        wp_register();
        ?>
			<li><?php 
        wp_loginout();
        ?>
</li>
			<li><a href="<?php 
        bloginfo('rss2_url');
        ?>
"><?php 
        _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>');
        ?>
</a></li>
			<li><a href="<?php 
        bloginfo('comments_rss2_url');
        ?>
"><?php 
        _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>');
        ?>
</a></li>
<?php 
        /**
         * Filter the "Powered by WordPress" text in the Meta widget.
         *
         * @since 3.6.0
         *
         * @param string $title_text Default title text for the WordPress.org link.
         */
        echo apply_filters('widget_meta_poweredby', sprintf('<li><a href="%s" title="%s">%s</a></li>', esc_url(__('https://wordpress.org/')), esc_attr__('Powered by WordPress, state-of-the-art semantic personal publishing platform.'), _x('WordPress.org', 'meta widget link text')));
        wp_meta();
        ?>
			</ul>
<?php 
        echo $args['after_widget'];
    }
function ro_userpanel($args)
{
    global $user_identity, $user_email, $post, $wpdb;
    extract($args);
    $title = htmlspecialchars("User Panel");
    echo $before_widget . $before_title . $title . $after_title;
    if ($user_identity) {
        echo '<p align="center">';
        echo $user_identity;
        echo '</p>';
        echo '<ul>';
        wp_register();
        echo '<li><a href="' . get_option('siteurl') . '/wp-login.php?action=logout&redirect_to=' . get_option('home') . '" title="Logout">Logout</a></li></ul>';
        wp_meta();
        echo '</ul><br /><br />';
    } else {
        echo '
			<p align="center">
			<form name="loginform" id="loginform" action="' . get_option('siteurl') . '/wp-login.php" method="post">
			<div>User Name</div>
			<input  type="text" name="log" id="log" value="" size="20" tabindex="1" />
			<div>Password</div>
			<input type="password" name="pwd" id="pwd" value="" size="20" tabindex="2" />
			<div>Remember Me <input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" checked="checked" /><br /><input type="submit" name="submit" id="submit" value="Login" tabindex="4" /></div>
			<div><a href="' . get_option('siteurl') . '/wp-register.php">Register</a></div>
			<input type="hidden" name="redirect_to" value="' . get_option('home') . '" /></form></p>';
    }
    $todaydate = date('Y-m-d', time()) . '%';
    $todayc = $wpdb->get_results("SELECT * FROM `wp_users` WHERE `user_registered` LIKE '{$todaydate}'");
    $timestamp = strtotime("Yesterday");
    $ytddate = date('Y-m-d', $timestamp) . '%';
    $ytdc = $wpdb->get_results("SELECT * FROM `wp_users` WHERE `user_registered` LIKE '{$ytddate}'");
    $get_latestacc = $wpdb->get_row("SELECT * FROM `wp_users` ORDER BY `wp_users`.`ID` DESC LIMIT 1");
    $get_allwp = $wpdb->get_results("SELECT * FROM `wp_users` WHERE `wp_users`.`user_login` != 'admin'");
    echo '
		<h4>Membership</h4>
		<ul>
			<li><img src="' . get_option('siteurl') . '/wp-content/plugins/Ro-Module/images/ur-moderator.gif" alt="membership" title="Membership" /> Latest: <strong>' . $get_latestacc->user_login . '</strong></li>
			<li><img src="' . get_option('siteurl') . '/wp-content/plugins/Ro-Module/images/ur-author.gif" alt="membership" title="Membership" /> Today: <strong>' . count($todayc) . '</strong></li>
			<li><img src="' . get_option('siteurl') . '/wp-content/plugins/Ro-Module/images/ur-admin.gif" alt="membership" title="Membership" /> Yesterday: <strong>' . count($ytdc) . '</strong></li>
			<li><img src="' . get_option('siteurl') . '/wp-content/plugins/Ro-Module/images/ur-guest.gif" alt="membership" title="Membership" /> Overall: <strong>' . count($get_allwp) . '</strong></li>
		</ul>
	';
    echo $after_widget;
}
Beispiel #18
0
 public function login_form()
 {
     if ($_REQUEST['login'] == 'failed') {
         echo " <strong>ERROR</strong>: Invalid username or incorrect password.";
     }
     if (!is_user_logged_in()) {
         // Display WordPress login form:
         $args = array('redirect' => wplfta_get_options('wplfta_after_login_link'), 'form_id' => 'loginform-wplfta', 'label_username' => __(wplfta_get_options('wplfta_user_txt')), 'label_password' => __(wplfta_get_options('wplfta_password_txt')), 'label_remember' => __(wplfta_get_options('wplfta_remember_me_text')), 'label_log_in' => __(wplfta_get_options('wplfta_submit_buton_text')), 'remember' => true);
         wp_login_form($args);
     } else {
         // If logged in:
         wp_loginout(home_url());
         // Display "Log Out" link.
         echo " | ";
         wp_register('', '');
         // Display "Site Admin" link.
     }
 }
Beispiel #19
0
    function widget($args, $instance)
    {
        extract($args);
        $title = apply_filters('widget_title', empty($instance['title']) ? __('Meta', 'suffusion') : $instance['title']);
        echo $before_widget;
        if ($title) {
            echo $before_title . $title . $after_title;
        }
        ?>
			<ul>
			<?php 
        wp_register();
        ?>
			<li><?php 
        wp_loginout();
        ?>
</li>
			<li class="rss"><a href="<?php 
        bloginfo('rss2_url');
        ?>
" title="<?php 
        echo esc_attr(__('Syndicate this site using RSS 2.0', 'suffusion'));
        ?>
"><?php 
        _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>', 'suffusion');
        ?>
</a></li>
			<li class="rss"><a href="<?php 
        bloginfo('comments_rss2_url');
        ?>
" title="<?php 
        echo esc_attr(__('The latest comments to all posts in RSS', 'suffusion'));
        ?>
"><?php 
        _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>', 'suffusion');
        ?>
</a></li>
			<?php 
        wp_meta();
        ?>
			</ul>
<?php 
        echo $after_widget;
    }
Beispiel #20
0
function meta_sidebar_module($args)
{
    extract($args);
    echo $before_module . $before_title . $title . $after_title;
    ?>
	<ul>
		<?php 
    wp_register();
    ?>
		<li><?php 
    wp_loginout();
    ?>
</li>
		<li><a href="<?php 
    bloginfo('rss2_url');
    ?>
" title="<?php 
    _e('Syndicate this site using RSS 2.0');
    ?>
"><?php 
    _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>');
    ?>
</a></li>
		<li><a href="<?php 
    bloginfo('comments_rss2_url');
    ?>
" title="<?php 
    _e('The latest comments to all posts in RSS');
    ?>
"><?php 
    _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>');
    ?>
</a></li>
		<li><a href="http://wordpress.org/" title="<?php 
    _e('Powered by Wordpress, state-of-the-art semantic personal publishing platform.');
    ?>
">WordPress</a></li>
		<?php 
    wp_meta();
    ?>
	</ul>
	<?php 
    echo $after_module;
}
    function widget($args, $instance)
    {
        extract($args);
        $title = apply_filters('widget_title', empty($instance['title']) ? __('Meta Slim', 'mtt') : $instance['title'], $instance, $this->id_base);
        $link1_title = empty($instance['link1_title']) ? false : $instance['link1_title'];
        $link1_url = empty($instance['link1_url']) ? false : $instance['link1_url'];
        $link1 = '';
        if ($link1_title) {
            if ($link1_url) {
                $link1 = '<li><a href="' . $link1_url . '">' . $link1_title . '</a></li>';
            } else {
                $link1 = '<li>' . $link1_title . '</li>';
            }
        }
        echo $before_widget;
        if ($title) {
            echo $before_title . $title . $after_title;
        }
        ?>
            <ul>
                <?php 
        echo $link1;
        ?>
                <?php 
        wp_register();
        ?>
                <li><?php 
        wp_loginout();
        ?>
</li>
                <?php 
        wp_meta();
        ?>
            </ul>
        <?php 
        echo $after_widget;
    }
        function widget($args, $instance)
        {
            extract($args);
            $title = apply_filters('widget_title', empty($instance['title']) ? __('Meta') : $instance['title'], $instance, $this->id_base);
            echo $before_widget;
            if ($title) {
                echo $before_title . $title . $after_title;
            }
            ?>
        <ul>
            <?php 
            wp_register();
            ?>
            <li><?php 
            wp_loginout();
            ?>
</li>
            <?php 
            wp_meta();
            ?>
        </ul>
        <?php 
            echo $after_widget;
        }
Beispiel #23
0
    function widget($args, $instance)
    {
        extract($args);
        $title = apply_filters('widget_title', empty($instance['title']) ? __('Meta', 'bear-bones') : $instance['title'], $instance, $this->id_base);
        echo $before_widget;
        if ($title) {
            echo $before_title . $title . $after_title;
        }
        ?>
			<ul class="<?php 
        echo $id;
        ?>
-widget__list widget__list">
			<?php 
        wp_register();
        ?>
			<li class="<?php 
        echo $id;
        ?>
-widget__item widget__item"><?php 
        wp_loginout();
        ?>
</li>
			<li class="<?php 
        echo $id;
        ?>
-widget__item widget__item"><a href="<?php 
        bloginfo('rss2_url');
        ?>
" title="<?php 
        echo esc_attr(__('Syndicate this site using RSS 2.0', 'bear-bones'));
        ?>
"><?php 
        _e('Entries <abbr title="Really Simple Syndication">RSS</abbr>', 'bear-bones');
        ?>
</a></li>
			<li class="<?php 
        echo $id;
        ?>
-widget__item widget__item"><a href="<?php 
        bloginfo('comments_rss2_url');
        ?>
" title="<?php 
        echo esc_attr(__('The latest comments to all posts in RSS', 'bear-bones'));
        ?>
"><?php 
        _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>', 'bear-bones');
        ?>
</a></li>
			<li class="<?php 
        echo $id;
        ?>
-widget__item widget__item"><a href="<?php 
        esc_attr_e('http://wordpress.org/', 'bear-bones');
        ?>
" title="<?php 
        echo esc_attr(__('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'bear-bones'));
        ?>
"><?php 
        /* translators: meta widget link text */
        _e('WordPress.org', 'bear-bones');
        ?>
</a></li>
			<?php 
        wp_meta();
        ?>
			</ul>
<?php 
        echo $after_widget;
    }
Beispiel #24
0
    ?>
page_item<?php 
}
?>
"><a href="<?php 
echo get_settings('home');
?>
"><?php 
_e('Home');
?>
</a></li>
		<?php 
wp_list_pages('sort_column=id&depth=1&title_li=');
?>
		<?php 
wp_register('<li>', '</li>');
?>
<li><a href="http://jun200.ktkr.net/photo/">jun200's photo</a></li>
	</ul>

	<h1>
		<a href="<?php 
bloginfo('home');
?>
"><?php 
bloginfo('name');
?>
</a>
		<!-- img class="logo" src="<?php 
bloginfo('template_url');
?>
    wp_tag_cloud('smallest=10&largest=18&unit=px');
    ?>
		</div><!--.widget-->
		<div class="widget">
			<h2 class="title"><?php 
    _e('Archives', 'carrington-text');
    ?>
</h2>
			<ul>
				<?php 
    wp_get_archives();
    ?>
			</ul>
		</div><!--.widget-->
		<div class="widget under meta">
			<?php 
    wp_register('<p>', '</p>');
    ?>
 
			<p><?php 
    wp_loginout();
    ?>
</p>
		</div><!--.widget-->

<?php 
}
?>
	</div><!--#primary-sidebar-->
</div><!--#sidebar-->
Beispiel #26
0
function widget_sandbox_meta($args)
{
    extract($args);
    $options = get_option('widget_meta');
    $title = empty($options['title']) ? __('Meta', 'sandbox') : attribute_escape($options['title']);
    ?>
			<?php 
    echo $before_widget;
    ?>
				<?php 
    echo $before_title . $title . $after_title;
    ?>
				<ul>
					<?php 
    wp_register();
    ?>

					<li><?php 
    wp_loginout();
    ?>
</li>
					<?php 
    wp_meta();
    ?>

				</ul>
			<?php 
    echo $after_widget;
}
Beispiel #27
0
</h3>
				<ul>
					<?php 
    wp_list_categories('show_count=1&title_li=');
    ?>
				</ul>
			</div>

			<div class="widget-container">
				<h3 class="widget-title"><?php 
    _e('WordPress', 'cyberchimps');
    ?>
</h3>
				<ul>
					<?php 
    wp_register();
    ?>
					<li><?php 
    wp_loginout();
    ?>
</li>
					<li><a href="<?php 
    echo esc_url(__('http://wordpress.org/', 'cyberchimps'));
    ?>
" target="_blank"
					       title="<?php 
    esc_attr_e('Powered by WordPress, state-of-the-art semantic personal publishing platform.', 'cyberchimps');
    ?>
"> <?php 
    _e('WordPress', 'cyberchimps');
    ?>
Beispiel #28
0
 /**
  * Main data for view
  *
  * @return array
  */
 public static function main()
 {
     return array('TDU' => get_template_directory_uri(), 'search_form' => View::make('blocks/search-form'), 'sidebar_side_type' => Sidebar_Settings_Model::get_sidebar_side_type(), 'wp_query' => Utils::array_get($GLOBALS, 'wp_query', null), 'post' => Utils::array_get($GLOBALS, 'post', null), 'blog_layout_style' => Blog_Settings_Model::get_layout_style(), 'blog_content' => Misc_Model::get_blog_content(), 'read_more_button' => Misc_Model::get_blog_button(), 'columns_count' => Blog_Settings_Model::get_columns(), 'column_css_class' => Blog_Settings_Model::get_column_css_class(), 'category_list' => get_the_category_list(__(', ', 'photolab')), 'tag_list' => get_the_tag_list('', __(', ', 'photolab')), 'archive_list' => wp_get_archives(array('type' => 'monthly', 'echo' => false)), 'wp_register' => wp_register('<li>', '</li>', false), 'wp_loginout' => wp_loginout('', false), 'wp_meta' => Utils::echo_to_var(array(__CLASS__, 'wp_meta')), 'is_show_title_on_header' => Header_Settings_Model::is_show_title_on_header());
 }
Beispiel #29
0
function jbst_sidebar_default_content()
{
    ?>
				<aside id="search" class="widget widget_search">
					<?php 
    get_search_form();
    ?>
				</aside>

				<aside id="archives" class="widget">
					<h3 class="widget-title"><?php 
    _e('Archives', 'jamedo-bootstrap-start-theme');
    ?>
</h3>
					<ul>
						<?php 
    wp_get_archives(array('type' => 'monthly'));
    ?>
					</ul>
				</aside>

				<aside id="meta" class="widget">
					<h3 class="widget-title"><?php 
    _e('Meta', 'jamedo-bootstrap-start-theme');
    ?>
</h3>
					<ul>
						<?php 
    wp_register();
    ?>
						<li><?php 
    wp_loginout();
    ?>
</li>
						<?php 
    wp_meta();
    ?>
					</ul>
				</aside>
<?php 
}
?>
">
    <img src="<?php 
bloginfo('template_directory');
?>
/images/logo.png" />
  </a>
  </div>

  <div class="top-bar__menu">
    <?php 
//wp_nav_menu( array( 'theme_location' => 'header-menu' ) );
?>
    <div class="headerlinks">
      <span><?php 
wp_register(' ', ' ');
?>
</span>
      <span><?php 
wp_loginout(' ', ' ');
?>
</span>
    </div>
  </div>
</div>



<div class="SiteSidebar">
  <?php 
wp_nav_menu(array('theme_location' => 'side-menu'));