Pastoid

The page you are looking at now is at this URL: http://pastoid.com/auj

This paste was last updated on March 30, 2009 at 11:42 pm.

Pasted Coderaw

<ul class="dropbutton">
	<?php $actions = array(
		'edit' => array('url' => URL::get('admin', 'page=publish&id=' . $post->id), 'title' => sprintf( _t('Edit \'%s\''), $post->title ), 'label' => _t('Edit'), 'permission' => 'edit' ),
		'read' => array('url' => $post->permalink . '?preview=1', 'title' => sprintf( _t('View \'%s\''), $post->title ), 'label' => _t('View') ),
		'delete' => array('url' => 'javascript:itemManage.remove('. $post->id . ', \'post\');', 'title' => _t('Delete this item'), 'label' => _t('Delete'), 'permission' => 'delete' )
	);
	$actions = Plugins::filter('post_actions', $actions, $post);
	$permissions = $post->get_access();
	foreach( $actions as $action ): 
	?>
		<?php if( !isset( $action['permission'] ) || ACL::access_check( $permissions, $action['permission'] ) ) { ?>
		<li><a href="<?php echo $action['url']; ?>" title="<?php echo $action['title']; ?>"><?php echo $action['label']; ?></a></li>
		<?php } ?>
	<?php endforeach; ?>
</ul>
 
 

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 6
search.live.com 1
Is this paste spam?
<Hide