WackoWiki: projects/WackoFormatter/InMantisBT ...

Home Page | Изменения | Новые Комменты | Пользователи | Каталог | Регистрация | Вход:  Пароль:  

WackoFormatter 4 Mantis Bugtracker


  1. Download WackoFormatter from http://wackowiki.com/projects/wackoformatter
  2. Unpack WackoFormatter.php to WackoFormatter folder in the root of Mantis directory.
  3. Download WackoFormatter4Mantis.php and place to the same folder as WackoFormatter.php
  4. Change core/string_api.php, function string_display_links to

<?php
function string_display_links$p_string ) {
  require_once(
"WackoFormatter/WackoFormatter4Mantis.php");
  
$parser = &new WackoFormatter();
  
$Config = &new WackoFormatterConfigMantis();

  
$parser->SetObject($Config);

  
$p_string $parser->Format($p_string);

  
$p_string string_process_bug_link$p_string );
  
$p_string string_process_cvs_link$p_string );
                
  return 
$p_string;
}
?>


  1. Add contents of wacko.css (belongs to WackoFormatter) to css/default.css (belongs to Mantis).
  2. Enjoy!

 
Файлов нет. [Показать файлы/форму]
Комментариев нет. [Показать комментарии/форму]
Donate
Время работы: 4.135 s
Использовано памяти: 2.095 Mb