Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 11 Years ago How To Edit This {$reputation_link} In The Template 'usercp_reputation'?
#1
Solved: 11 Years ago
Hello,

I would like to edit this {$reputation_link} which is found in the template 'usercp_reputation'?

The output is this:

<strong class="reputation_neutral">0</strong>

And I would like to change it to:

<span class="reputation_neutral">0</span>
#2
Solved: 11 Years ago
Does anyone know?
#3
Solved: 11 Years ago
Change both instances of strong to span here:
function get_reputation($reputation, $uid=0)
{
	global $theme;

	$display_reputation = '';

	if($uid != 0)
	{
		$display_reputation = "<a href=\"reputation.php?uid={$uid}\">";
	}

	$display_reputation .= "<strong class=\"";

	if($reputation < 0)
	{
		$display_reputation .= "reputation_negative";
	}
	elseif($reputation > 0)
	{
		$display_reputation .= "reputation_positive";
	}
	else
	{
		$display_reputation .= "reputation_neutral";
	}

	$display_reputation .= "\">{$reputation}</strong>";

	if($uid != 0)
	{
		$display_reputation .= "</a>";
	}

	return $display_reputation;
}
in inc/functions.php
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 2 Guest(s)