mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
24
apps/atlbiomed/modules/support/actions/actions.class.php
Executable file
24
apps/atlbiomed/modules/support/actions/actions.class.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* support actions.
|
||||
*
|
||||
* @package atlbiomed
|
||||
* @subpackage support
|
||||
* @author Your name here
|
||||
* @version SVN: $Id: actions.class.php 2692 2006-11-15 21:03:55Z fabien $
|
||||
*/
|
||||
class supportActions extends sfActions
|
||||
{
|
||||
/**
|
||||
* Executes index action
|
||||
*
|
||||
*/
|
||||
public function executeIndex()
|
||||
{
|
||||
$c = new Criteria();
|
||||
$c->add(UserPeer::USER_TYPE, 'Administrator');
|
||||
$c->add(UserPeer::USER_TYPE, 'Office');
|
||||
$this->administrator = UserPeer::doSelect($c);
|
||||
}
|
||||
}
|
14
apps/atlbiomed/modules/support/templates/indexSuccess.php
Executable file
14
apps/atlbiomed/modules/support/templates/indexSuccess.php
Executable file
@ -0,0 +1,14 @@
|
||||
<h2>Administrative Contacts</h2>
|
||||
|
||||
<?php
|
||||
foreach($administrator as $admin)
|
||||
{
|
||||
echo $admin->getLastName().', '.$admin->getFirstName().' - '.mail_to($admin->getEmail(), $admin->getEmail(), 'encode=true');
|
||||
?><br /><?
|
||||
}
|
||||
?>
|
||||
<br />
|
||||
<h2>Bug Reporting</h2>
|
||||
Hepner, Nicholas - <?php echo mail_to('nicholas.hepner@ciphent.com', 'nicholas.hepner@ciphent.com'); ?>
|
||||
|
||||
|
Reference in New Issue
Block a user