Permalink
Browse files

Updated dashboard to be more consistent and to support wordpress in a…

… subdirectory
  • Loading branch information...
1 parent 2bef394 commit e862706453e5f15975e75ac4f8943fac40b71738 @emeraldimp emeraldimp committed Apr 18, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 admin/mf_dashboard.php
View
@@ -20,8 +20,8 @@ function main() {
$custom_taxonomies = $this->get_custom_taxonomies();
print '<div class="wrap">';
- // print screen icon
- print get_screen_icon('magic-fields');
+ // print screen icon
+ print get_screen_icon('magic-fields');
print '<h2>'.__( 'Magic Fields',$mf_domain).'</h2>';
print '<h3>'.__( 'Post Types', $mf_domain ).'<a href="admin.php?page=mf_dispatcher&mf_section=mf_posttype&mf_action=add_post_type" class="add-new-h2 button">'.__( 'Add new Post Type', $mf_domain ).'</a></h3>';
@@ -84,7 +84,7 @@ function main() {
?>
<div class="message-box info">
<p>
- ooh, you do haven't created any Custom Taxonomy, try creating one <a href="<?php print bloginfo('url');?>/wp-admin/admin.php?page=mf_dispatcher&mf_section=mf_custom_taxonomy&mf_action=add_custom_taxonomy">here</a>
+ ooh, you do haven't created any Custom Taxonomy, try creating one <a href="admin.php?page=mf_dispatcher&mf_section=mf_custom_taxonomy&mf_action=add_custom_taxonomy">here</a>
</p>
</div>

0 comments on commit e862706

Please sign in to comment.