root/dev/mods/signature_generator/sig_list.php @ 291

Revision 212, 0.5 KB (checked in by ralle030583, 13 years ago)

- replaced $config->getConfig with config::getconfig so we havent a mix in all files<br>
- added valing='top' to award boxes to make the awards nice in board with not many pilots<br>
- removed not needed includes<br>
- added event 'killmail_delete' which is called before real delete of a killmail<br>
- admin can see classified system in the killmaildetails

Line 
1<?php
2$page = new Page('Signature Listing');
3
4$signatures = array();
5$dir = opendir('mods/signature_generator/signatures');
6while ($line = readdir($dir))
7{
8    if (file_exists('mods/signature_generator/signatures/'.$line.'/'.$line.'.php'))
9    {
10        $signatures[] = $line;
11    }
12}
13$smarty->assign('signatures', $signatures);
14$smarty->assign('pilot', intval($_REQUEST['i']));
15$smarty->assign('kb_host', KB_HOST);
16
17$page->setContent($smarty->fetch('file:'.getcwd().'/mods/signature_generator/sig_list.tpl'));
18$page->generate();
19?>
Note: See TracBrowser for help on using the browser.