blob: 28be8e9e24291da238cbc1630b3de55149b4c7a1 [file] [log] [blame]
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php";
$App = new App();
$Nav = new Nav();
$Menu = new Menu();
include($App->getProjectCommon());
$pageTitle = "Auto-Reminder Tool README FIRST";
$pageKeywords = "";
$pageAuthor = "Mario Parra Virgen 22/02/06";
ob_start();
?>
<div id="maincontent">
<div id="midcolumn">
<h1><?= $pageTitle ?></h1>
<h3><b>--- AUTO-REMINDER TOOL RULES ---</b></h3>
<ul>
<li>Please read this document before add/modify rules files.</li>
<li>All the &quot;.class.php&quot; files inside this directoy will be considered as Rules for the auto-reminder tool. So if you want<br>
to add a new rule, name its file as: &quot;name_of_the_rule.class.php&quot;. And please be carefull about what you add/modify.</li>
<li>Every rule class file has to have AT LEAST one function inside called &quot;process&quot;.</li>
<li>This &quot;process&quot; function MUST have ONLY 2 parameters ($old_object_project_info, $new_object_project_info)</li>
<li>The &quot;process&quot; function has to return a string with the message that wants to be added to the reminder e-mail sent to the project leaders if the rule fails.<br>
If the rule success, then return &quot;&quot; or NULL.</li>
<li>If you have any doubts about this, please ask your system administrator before add/modify something inside.</li>
</ul>
<br/><br/><br/>
</div>
</div>
<?php
# Paste your HTML content between the EOHTML markers!
$html = ob_get_contents();
ob_end_clean();
# Generate the web page
$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle,
$html);
?>