예제 #1
0
    ?>
	</div>

	<!-- =================================== END OF BLOG C =================================== -->

	<div class="bSideItem">
		<h3><?php 
    echo T_('Misc');
    ?>
</h3>
		<ul>
			<?php 
    // Administrative links:
    user_login_link('<li>', '</li>');
    user_register_link('<li>', '</li>');
    user_admin_link('<li>', '</li>');
    user_profile_link('<li>', '</li>');
    user_subs_link('<li>', '</li>');
    user_logout_link('<li>', '</li>');
    ?>
		</ul>
	</div>

</div>
<!-- InstanceEndEditable --></div>
<div class="footer">
This is a demo page for <a href="http://b2evolution.net/">b2evolution</a>.
<!-- InstanceBeginEditable name="Baseline" -->
<?php 
    echo '</div>';
    ?>
예제 #2
0
 /**
  * Display the widget!
  *
  * @param array MUST contain at least the basic display params
  */
 function display($params)
 {
     $this->init_display($params);
     // User tools:
     echo $this->disp_params['block_start'];
     echo $this->disp_params['block_title_start'];
     echo T_('User tools');
     echo $this->disp_params['block_title_end'];
     echo $this->disp_params['list_start'];
     user_login_link($this->disp_params['item_start'], $this->disp_params['item_end'], $this->disp_params['user_login_link']);
     user_register_link($this->disp_params['item_start'], $this->disp_params['item_end'], $this->disp_params['user_register_link']);
     user_admin_link($this->disp_params['item_start'], $this->disp_params['item_end'], $this->disp_params['user_admin_link']);
     user_profile_link($this->disp_params['item_start'], $this->disp_params['item_end'], $this->disp_params['user_profile_link']);
     user_subs_link($this->disp_params['item_start'], $this->disp_params['item_end'], $this->disp_params['user_subs_link']);
     user_logout_link($this->disp_params['item_start'], $this->disp_params['item_end'], $this->disp_params['user_logout_link']);
     echo $this->disp_params['list_end'];
     echo $this->disp_params['block_end'];
 }
예제 #3
0
"><?php 
echo T_('Archives');
?>
</a>
		</strong>

		<p>
		<?php 
// Display a link to contact the owner of this blog (if owner accepts messages):
$Blog->contact_link(array('before' => ' [', 'after' => '] ', 'text' => T_('Contact'), 'title' => T_('Send a message to the owner of this blog...')));
?>

		<?php 
user_login_link(' [', '] ', '', '#', 'sidebar login link');
user_register_link(' [', '] ', '', '#', false, 'sidebar register link');
user_admin_link(' [', '] ');
user_logout_link(' [', '] ');
?>
		</p>
	</div>

	<hr>

	<?php 
// Please help us promote b2evolution and leave this logo on your blog:
powered_by(array('block_start' => '<div align="center">', 'block_end' => '</div>', 'img_url' => '$rsc$img/powered-by-b2evolution-120t.gif', 'img_width' => 120, 'img_height' => 32));
?>

	<?php 
// ---------------------------- SITE FOOTER INCLUDED HERE ----------------------------
// If site footers are enabled, they will be included here:
예제 #4
0
파일: _toolbar.inc.php 프로젝트: LFSF/oras
?>
</a></li>
		</ul>
	</li>

  	<?php 
if ($is_admin_page || $current_User->check_perm('admin', 'visible')) {
    // We are already in admin or we have permission to view admin options:
    if (!empty($Blog)) {
        $blog_param = '&amp;blog=' . $Blog->ID;
    } else {
        $blog_param = '';
    }
    // fp> The plan is to have drop downs for each of those menu entries in order to access any authorized blog immediately
    // Dashboard link:
    user_admin_link('<li>', '</li>', T_('Dashboard'), T_('Go to admin dashboard'));
    // View link:
    blog_home_link('<li>', '</li>', T_('See'), T_('See'));
    // Write link:
    echo '<li><a href="' . $admin_url . '?ctrl=items&amp;action=new' . $blog_param . '">' . T_('Write') . '</a></li>';
    // Manage link:
    echo '<li><a href="' . $admin_url . '?ctrl=items' . $blog_param . '">' . T_('Manage') . '</a></li>';
    // Upload link:
    echo '<li><a href="' . $admin_url . '?ctrl=files' . $blog_param . '">' . T_('Upload') . '</a></li>';
    // Customize current blog
    if (!empty($Blog) && $current_User->check_perm('blog_properties', 'edit', false, $Blog->ID)) {
        // We have permission to edit blog properties:
        echo '<li class="menu_close" onmouseover="evo_menu_show(this)" onmouseout="evo_menu_hide(this)">';
        echo '<a href="' . $admin_url . '?ctrl=coll_settings' . $blog_param . '">' . T_('Customize') . ' ' . get_icon('dropdown') . '</a>';
        echo '<ul>';
        echo '<li><a href="' . $admin_url . '?ctrl=coll_settings' . $blog_param . '">' . T_('Blog properties') . '</a></li>';