Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dignajar committed Nov 4, 2013
1 parent 7d42386 commit ef51dfa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 25 deletions.
2 changes: 1 addition & 1 deletion admin/templates/default/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ div.dashboard_box a.comment_spam {
border-left: 4px solid #D72020 !important;
}

div.dashboard_box a.comment_unapprove {
div.dashboard_box a.comment_unapproved {
border-left: 4px solid #F1CC19 !important;
}

Expand Down
31 changes: 7 additions & 24 deletions plugins/hello/plugin.bit
Original file line number Diff line number Diff line change
@@ -1,36 +1,19 @@
<?php
// =====================================================================
// PLUGIN INFO
// =====================================================================

$_PLUGIN_CONFIG['DATA'] = array(
'author'=>'Diego Najar',
'version'=>'3.6',
'url'=>'http://www.nibbleblog.com'
'author'=>'My name or nickname',
'version'=>'1.0',
'url'=>'http://www.mysite.com'
);

// =====================================================================
// PLUGIN CLASS
// =====================================================================
class PLUGIN_CATEGORIES extends Plugin
class PLUGIN_HELLO extends Plugin
{
public function blog_body()
{
global $categories;

$html = '<ul>';

foreach($categories as $category)
{
// URL generator
$href = Url::category($category['slug']);

$html .= '<li class="category"><a href="'.$href.'">'.$category['name'].'</a></li>';
}

$html .= '</ul>';
$html = '<p>Hello world</p>';

return $html;
}
}

?>
?>

0 comments on commit ef51dfa

Please sign in to comment.