Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed badge integration problem

  • Loading branch information...
commit 06774b98ba7cff56381fa071fb52c50a40baf098 1 parent 466deb1
Yuttadhammo authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 qa-history-layer.php
  2. +1 −1  qa-plugin.php
View
4 qa-history-layer.php
@@ -373,11 +373,11 @@ function user_activity_form() {
$types = $typea['slug'];
$typed = $typea['name'];
- $badge_name=qa_lang('badges/'.$slug);
+ $badge_name=qa_badge_name($slug);
if(!qa_opt('badge_'.$slug.'_name')) qa_opt('badge_'.$slug.'_name',$badge_name);
$var = qa_opt('badge_'.$slug.'_var');
$name = qa_opt('badge_'.$slug.'_name');
- $desc = qa_badge_desc_replace($slug,$var,$name);
+ $desc = qa_badge_desc_replace($slug,$var,false);
$string = str_replace('^badge','<span class="badge-'.$types.'" title="'.$desc.' ('.$typed.')">'.qa_html($name).'</span>',$string);
}
View
2  qa-plugin.php
@@ -3,7 +3,7 @@
Plugin Name: History
Plugin URI: https://github.com/NoahY/q2a-history
Plugin Description: Adds complete activity history list to user profile
- Plugin Version: 1.1
+ Plugin Version: 1.2
Plugin Date: 2011-10-26
Plugin Author: NoahY
Plugin Author URI: http://www.question2answer.org/qa/user/NoahY
Please sign in to comment.
Something went wrong with that request. Please try again.