Well, the link that is placed is textual, just like the other profile links...
In other news, I have fixed it so that while your pets are training the button disappears and when they are done the button reappears to finish...
In pet_engine.php find the function trainMenu replace the entire function with this:
function trainMenu() {
global $txt, $scripturl;
$date = date('z');
if ($date < 10) {
$date = '00'.$date;
}
elseif ($date < 100) {
$date = '0'.$date;
}
$date = date('y').$date.date('H');
if ($this->training == 1) {
if ($date > ($this->training_date($this->trainingend))){
$middlestring = $txt['pets_course_finish2'];
$command = $txt['pets_train_pet'];
$returnstring = "<form method='post' action='".$scripturl."?action=shop;do=pets;type=train;pet=".$this->id."'> ";
$returnstring .= $middlestring;
$returnstring .= " <input type='submit' value='{$command}'></form>";
}
else{
$middlestring = sprintf($txt['pets_course_taking'], $this->training_date($this->trainingend));
$command = $txt['pets_train_pet'];
$returnstring = "<form method='post' action='".$scripturl."?action=shop;do=pets;type=train;pet=".$this->id."'> ";
$returnstring .= $middlestring;
}
}
else {
$middlestring = $txt['pets_train_cost'].$this->calcTrainCost();
$command = $txt['pets_train'];
$returnstring = "<form method='post' action='".$scripturl."?action=shop;do=pets;type=train;pet=".$this->id."'> ";
$returnstring .= $middlestring;
$returnstring .= " <input type='submit' value='{$command}'></form>";
}
return $returnstring;
}
And add this line to the shop.english.php
$txt['pets_course_finish2'] = 'Your pet has completed its course!';