Adding forms for searching Gmane and SF bugtracker
[squirrelmail.git] / plugins / bug_report / bug_report.php
index 35757acf7c3e4eadebccf3e3d22a556e961af294..1c82086fd6f85bd22f8b5e9e48602241fc6dd9ce 100644 (file)
@@ -31,6 +31,7 @@ require_once(SM_PATH . 'functions/forms.php');
 displayPageHeader($color, 'None');
 
 include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
 displayPageHeader($color, 'None');
 
 include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
+include_once(SM_PATH . 'plugins/bug_report/functions.php');
 global $body;
 
 $body_top = "I subscribe to the squirrelmail-users mailing list.\n" .
 global $body;
 
 $body_top = "I subscribe to the squirrelmail-users mailing list.\n" .
@@ -114,4 +115,25 @@ $body = htmlspecialchars($body_top) . $body;
    </tr>
    </table>
    </form>
    </tr>
    </table>
    </form>
+   <br />
+   <?php
+        // special forms that allow searching for bugs in mailing list and bugtracker
+       echo html_tag('table',
+                  html_tag('tr',
+                           html_tag('th',_("Search Mailing List Archives"),'center',$color[0])
+                           ) .
+                  html_tag('tr',
+                           html_tag('td', add_gmane_form())
+                           ) .
+                  html_tag('tr',
+                           html_tag('td', '&nbsp;<br />')
+                           ) .
+                  html_tag('tr',
+                           html_tag('th',_("Search SourceForge Bugtracker"),'center',$color[0])
+                           ) .
+                  html_tag('tr',
+                           html_tag('td', add_sf_bug_form())
+                           )
+                  ,'center','','width="95%"');
+  ?>
 </body></html>
 </body></html>