Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once($_SERVER['DOCUMENT_ROOT']. '/' . "config.php");
- require_once ($GLOBALS["ob_absolute_path"]."dbo/applicationhelper.class.inc");
- function online_applications_admin_contents($display) {
- }
- function _online_applications_admin_page() {
- $output = array();
- $tpl = drupal_get_path('module', 'applications') . '/online_applications_admin_home.tpl.php';
- $output = theme_render_template($tpl, $output);
- return $output;
- }
- function _online_applications_review_page($appType) {
- $output = array();
- // $periodID = $helper->GetCurrentPeriodID("LS");
- $output['periodID'] = $appType;
- $tpl = drupal_get_path('module', 'online_applications_admin') . '/online_applications_admin_review.tpl.php';
- $output = theme_render_template($tpl, $output);
- // return theme('test', array('results' => $appType));
- return $output;
- }
- // function test_theme() {
- // return array(
- // 'test' => array(
- // 'template' => '',
- // 'variables' => array(
- // 'results' => NULL,
- // )
- // ),
- // );
- // }
- // function template_preprocess_test(&$variables) {
- // $variables['appType'] = 'wtf';
- // return $variables;
- // }
- function _online_applications_currentPeriod_page() {
- $output = array();
- $tpl = drupal_get_path('module', 'online_applications_admin') . '/online_applications_admin_currentPeriod.tpl.php';
- $output = theme_render_template($tpl, $output);
- return $output;
- }
- function _online_applications_adminHome_page() {
- $output = array();
- $tpl = drupal_get_path('module', 'online_applications_admin') . '/online_applications_admin_home.tpl.php';
- $output = theme_render_template($tpl, $output);
- return $output;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement