Ejemplo n.º 1
0
 /**
  * Prints the template header HTML for a non-modal window.
  *
  * @param string page title
  * @param array JavaScript / CSS files to load
  * @return void
  */
 public static function printHeader($pageTitle, $headIncludes = array())
 {
     pageTitle($pageTitle);
     if($headIncludes)
     {
         foreach($headIncludes as $include)
         {
             pageHeaderInclude($include);
         }
     }
 }
Ejemplo n.º 2
0
 public function __construct($module,$cols) {
     $this->cols=$cols;
     $objHTML=ClsNaanalLibrary::getInstance("html");
     $this->objTable=$objHTML->getGenerator()->getTable("search",$cols);
     //$this->objTable->setParam("border",1);
     pageHeaderInclude('js/export.js');
     pageHeaderInclude('js/searchSaved.js');
     pageHeaderInclude('js/suggest.js');
     parent::__construct($module);
     $arrPager=ClsNaanalRequest::getInstance()->getPager();
     $pagination=getPagination("index.php?module={$module}", $this->objAuieoModel->getTotalRecords() , $arrPager["current_page"], $arrPager["items_per_page"]);
     $this->assign("total_records",$this->objAuieoModel->getTotalRecords());
     $this->assign("pagination",$pagination);
 }
Ejemplo n.º 3
0
<?php
pageHeaderInclude('js/sorttable.js');
pageHeaderInclude('js/highlightrows.js');

pageTitle('Contacts');
ob_start();
 ?>   
    <p class="note">Cold Call List (Only Contacts with Phone Numbers)</p>

    <?php if (!empty($this->rs)): ?>
        <table class="sortable" width="100%" rules="all" onmouseover="javascript:trackTableHighlight(event)">
            <tr>
                <th align="left">Company</th>
                <th align="left" nowrap="nowrap">First Name</th>
                <th align="left" nowrap="nowrap">Last Name</th>
                <th align="left">Title</th>
                <th align="left" nowrap="nowrap">Work Phone</th>
            </tr>

            <?php foreach ($this->rs as $rowNumber => $data): ?>
                <tr class="<?php TemplateUtility::printAlternatingRowClass($rowNumber); ?>">
                    <td valign="top" align="left"><?php $this->_($data['companyName']); ?></td>
                    <td valign="top" align="left"><?php $this->_($data['firstName']); ?></td>
                    <td valign="top" align="left"><?php $this->_($data['lastName']); ?></td>
                    <td valign="top" align="left"><?php $this->_($data['title']); ?></td>
                    <td valign="top" align="left"><?php $this->_($data['phoneWork']); ?></td>
                </tr>
            <?php endforeach; ?>
        </table>
    <?php endif; ?>
<?php $AUIEO_CONTENT=ob_get_clean(); ?>
Ejemplo n.º 4
0
<?php
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('js/listEditor.js');
pageTitle('Settings');
ob_start();

 ?>
<p class="note">Customize Extra Fields</p>

<form name="editSettingsForm" id="editSettingsForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=customizeExtraFields" method="post">
  <input type="hidden" name="postback" value="postback" />
  <table class="sortable" width="920">
    <div id="changedDiv" style="display:none;">
      <div style="font-weight:bold; border: 1px solid #000; background-color: #ff0000; padding:5px;">
         You have made changes, to apply them press 'Save' at the bottom of the page.
      </div>
      <br />
    </div>
    <input type="hidden" name="commandList" id="commandList" />
    <script type="text/javascript">
       function appendCommandList(command)
       {
          document.getElementById('commandList').value = document.getElementById('commandList').value + escape(command) + ',';
          document.getElementById('changedDiv').style.display = '';
          document.getElementById('buttonSave').style.display = '';
          document.getElementById('buttonDone').style.display = 'none';
       }
       var inlineEditIDCounter = 0;
    </script>
        <?php foreach (array(array("name" => "Job Orders", "RS" => $this->extraFieldSettingsJobOrdersRS, "type" => DATA_ITEM_JOBORDER), 
Ejemplo n.º 5
0
<?php
pageHeaderInclude('../js/careerPortalApply.js');
global $careerPage; 
if (isset($careerPage) && $careerPage == true)
{
    pageHeaderInclude('../js/lib.js');
    pageHeaderInclude('../js/sorttable.js');
    pageHeaderInclude('../js/calendarDateInput.js');
}
else
{
    pageHeaderInclude('js/lib.js');
    pageHeaderInclude('js/sorttable.js');
    pageHeaderInclude('js/calendarDateInput.js');
    pageHeaderInclude('js/careersPage.js');
}
pageTitle('Careers');
ob_start();
?>

        <style type="text/css" media="all">
            <?php echo($this->template['CSS']); ?>
			#poweredCATS { clear: both; margin: 30px auto; clear: both; width: 140px; height: 40px; border: none;}
			#poweredCATS img { border: none; }
        </style>
    <!-- TOP -->
    <?php echo($this->template['Header']); ?>

    <!-- CONTENT -->
    <?php echo($this->template['Content']); ?>
Ejemplo n.º 6
0
<?php
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('js/sorttable.js');
pageTitle('Settings');

ob_start();

if(isset($this->active))
{
    TemplateUtility::printTabs($this->active, $this->subActive); 
}
?>
    

        <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/settings.gif" width="24" height="24" border="0" alt="Settings" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Settings: Customize Filter</h2></td>
                </tr>
            </table>

            <p class="note">Show Grouping</p>

            <form name="showgrouping" id="showgrouping" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=filtergrouping" method="post">
                <input type="hidden" name="postback" id="postback" value="postback" />

                <?php if (isset($this->isDemoUser) && $this->isDemoUser): ?>
Ejemplo n.º 7
0
<?php
pageHeaderInclude('modules/contacts/validator.js');
pageHeaderInclude('js/searchSaved.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/searchAdvanced.js');
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('js/export.js');
pageTitle('Contacts');
ob_start();
 ?>





        <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/contact.gif" width="24" height="24" border="0" alt="Contacts" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Contacts: Search Contacts</h2></td>
                </tr>
            </table>

            <p class="note">Search Contacts</p>

            <table class="searchTable" id="searchTable ">
                <tr>
                    <td>
                        <form name="searchForm" id="searchForm" action="<?php echo(CATSUtility::getIndexName()); ?>" method="get" autocomplete="off">
Ejemplo n.º 8
0
<?php
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/dataGrid.js');
pageTitle('Activities');
ob_start();

            ?>
<div style="text-align: right;"><?php $this->dataGrid->printNavigation(false); ?>&nbsp;&nbsp;<?php echo($this->quickLinks); ?></div>
            <p class="note">
                <span style="float:left;">Activities - Page <?php echo($this->dataGrid->getCurrentPageHTML()); ?></span>
                <span style="float:right;">
                    <?php $this->dataGrid->drawRowsPerPageSelector(); ?>
                    <?php $this->dataGrid->drawShowFilterControl(); ?>
                </span>&nbsp;
            </p>

            <?php $this->dataGrid->drawFilterArea(); ?>
            <?php $this->dataGrid->draw();  ?>

            <div style="display:block;">
                <span style="float:left;">
                    <?php $this->dataGrid->printActionArea(); ?>
                </span>
                <span style="float:right;">
                    <?php $this->dataGrid->printNavigation(true); ?>
                </span>&nbsp;
            </div>

            
Ejemplo n.º 9
0
<?php
        pageHeaderInclude('modules/candidates/validator.js');
        pageHeaderInclude('js/searchSaved.js');
        pageHeaderInclude('js/export.js');
        pageHeaderInclude('js/searchAdvanced.js');
        pageHeaderInclude('js/highlightrows.js');
        pageHeaderInclude('js/sweetTitles.js');
        
        pageTitle('Candidates');
        ob_start();
        
include_once("modules/candidates/ClsCandidateFilter.php");
?>
<p class="note">Search Candidates</p>

<table class="searchTable" id="searchTable ">
    <tr>
        <td>
            <form name="searchForm" id="searchForm" action="<?php echo(CATSUtility::getIndexName()); ?>" method="get" autocomplete="off">
                <input type="hidden" name="m" id="moduleName" value="candidates" />
                <input type="hidden" name="a" id="moduleAction" value="search" />
                <input type="hidden" name="getback" id="getback" value="getback" />

                <?php TemplateUtility::printSavedSearch($this->savedSearchRS); ?>
<input type="checkbox" name="bulk_resume" value="1" <?php echo (isset($_REQUEST["bulk_resume"]) && $_REQUEST["bulk_resume"]) ? "checked":""  ?> /> Search Bulk Resume<br />
                <label id="searchModeLabel" for="searchMode">Search By:</label>&nbsp;
                <select id="searchMode" name="mode" onclick="advancedSearchConsider();" class="selectBox">
                    <option value="searchByFullName"<?php if ($this->mode == "searchByFullName"): ?> selected<?php endif; ?>>Candidate Name</option>
                    <option value="searchByResume"<?php if ($this->mode == "searchByResume" || empty($this->mode)): ?> selected<?php endif; ?>>Resume Keywords</option>
                    <option value="searchByKeySkills"<?php if ($this->mode == "searchByKeySkills"): ?> selected<?php endif; ?>>Key Skills</option>
                    <option value="phoneNumber"<?php if ($this->mode == "phoneNumber"): ?> selected<?php endif; ?>>Phone Number</option>
<?php
/* 
 * CandidATS
 * Sites Management
 *
 * Copyright (C) 2014 - 2015 Auieo Software Private Limited, Parent Company of Unicomtech.
 * 
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

pageHeaderInclude('js/lists.js');

pageTitle('Lists');

$AUIEO_CONTENT="";
ob_start();
?>
    <table>
        <tr>
            <td><!--Add to Static Lists-->Select the lists you want to add the item<?php if (count($this->dataItemIDArray) > 1): ?>s<?php endif; ?> too.</td>
       </tr>
    </table>
            <div class="addToListListBox" id="addToListBox">
                <input type="hidden" style="width:200px;" id="dataItemArray" value="<?php $this->_(implode(',', $this->dataItemIDArray)); ?>">
                <?php foreach($this->savedListsRS as $index => $data): ?>
                    <div class="<?php TemplateUtility::printAlternatingDivClass($index); ?>" id="savedListRow<?php echo($data['savedListID']); ?>">
                        <span style="float:left;">
                            <input type="checkbox" id="savedListRowCheck<?php echo($data['savedListID']); ?>">
                            &nbsp;
                            <span id="savedListRowDescriptionArea<?php echo($data['savedListID']); ?>"><?php $this->_($data['description']); ?></span>&nbsp;(<?php echo($data['numberEntries']); ?>)
<?php
pageHeaderInclude('js/questionnaire.js');
pageTitle('Settings');
ob_start();
?>
<style>
div.questionContainer { }
.questionText { font-size: 14px; color: #000000; font-weight: bold; }
td.questionType { }
td.questionTitleText { font-weight: bold; padding: 3px 0 3px 0; font-size: 11px; border-bottom: 1px solid #666666; }
td.questionColumnText { padding: 3px 0 0 0; margin: 0; }
div.actionContainerContents { border: 1px dotted #666666; padding: 10px; background-color: #e0e0e0; display: none; }
div.actionContainerPlainJane { }
#newAnswerContainer { display: none; }
div.answerContainerContents { border: 1px dotted #666666; padding: 10px; background-color: #e0e0e0; display: none; }
div.answerContainerPlainJane { }
#newQuestionContainer { border: 1px dotted #666666; padding: 10px; background-color: #e0e0e0; display: none; }
div.questionContainerContents { border: 1px dotted #666666; padding: 10px; background-color: #e0e0e0; }
div.questionContainerPlainJane { }
</style>


    <div style="width: 700px;">
    <p class="note">Careers Website Questionnaire</p>
    A questionnaire provides questions to candidates before they apply through your careers website.
    You can specify actions to perform based on the responses they give.
    </div>
    <br /><br />

    <form method="post" action="<?php echo CATSUtility::getIndexName(); ?>?m=settings&a=careerPortalQuestionnaire" name="questionnaireForm" onsubmit="return validateFields();">
    <input type="hidden" name="questionnaireID" value="<?php echo $this->questionnaireID; ?>" />
Ejemplo n.º 12
0
<?php
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/dataGrid.js');
pageHeaderInclude('js/home.js');
pageTitle('Home');

ob_start();
?>
            <table style="width:100%;">
                <tr>
                    <td align="left" valign="top" style="text-align: left; width: 33%; height:50px;">
                        <div class="noteUnsizedSpan" style="width:98%;">My Recent Calls</div>
                        <?php $this->dataGrid2->drawHTML();  ?>
                    </td>

                    <td align="center" valign="top" style="text-align: left; width: 33%; font-size:11px; height:50px;">
                        <?php echo($this->upcomingEventsFupHTML); ?>
                    </td>

                    <td align="center" valign="top" style="text-align: left; font-size:11px; height:50px;">
                        <?php echo($this->upcomingEventsHTML); ?>
                    </td>
                </tr>
            </table>

            <table style="width:100%;">
                <tr>
                    <td align="left" valign="top" style="text-align: left; width: 50%; height: 240px;">
                        <div class="noteUnsizedSpan" style="width:410px;">Recent Hires</div>

                        <table class="sortable" width="410" style="margin: 0 0 4px 0;">
Ejemplo n.º 13
0
<?php
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('modules/settings/Settings.js');
pageHeaderInclude('js/careerportal.js');
pageTitle('Settings');
$careerPortalEnabledId = 0;
ob_start();
?>

            <p class="note">Career Portal Settings</p>

            <table width="100%">
                <tr>
                    <td>
                        <form name="careerPortalSettingsForm" id="careerPortalSettingsForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=careerPortalSettings" method="post">
                            <input type="hidden" name="postback" value="postback" />
                            <input type="hidden" name="configured" value="1" />

                            <table class="editTable" width="100%">
                                <tr>
                                    <td class="tdVertical" style="width: 425px;">
                                        Enable Public Career Portal:
                                    </td>
                                    <td class="tdData">
                                        <input type="checkbox" name="enabled"<?php if ($this->careerPortalSettingsRS['enabled'] == '1'): ?> checked<?php endif; ?> onclick="document.getElementById('careerPortalSettingsForm').submit();">
                                    </td>
                                </tr>

                                <tr id="careerPortalEnabled<?php echo ++$careerPortalEnabledId; ?>">
                                    <td class="tdVertical">
                                        Allow Browsing of All Public Job Orders:
Ejemplo n.º 14
0
 <?php
pageHeaderInclude('modules/contacts/validator.js');
pageHeaderInclude('js/company.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/listEditor.js');
pageHeaderInclude('js/contact.js');
pageHeaderInclude('js/suggest.js');

pageTitle('Contacts');
ob_start();
 ?>


        <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/contact.gif" width="24" height="24" border="0" alt="Contacts" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Contacts: Add Contact</h2></td>
                </tr>
            </table>

            <form name="addContactForm" id="addContactForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=contacts&amp;a=add&amp;v=<?php if ($this->selectedCompanyID === false) { echo('-1'); } else { echo($this->selectedCompanyID); } ?>" method="post" onsubmit="return checkAddForm(document.addContactForm);" autocomplete="off">
                <input type="hidden" name="postback" id="postback" value="postback" />

                <table width="100%">
                    <tr>
                        <td width="50%" height="100%" valign="top">
                            <p class="noteUnsized">Basic Information</p>
Ejemplo n.º 15
0
<?php
pageHeaderInclude('modules/calendar/Calendar.css');
pageHeaderInclude('js/highlightrows.js');
pageHeaderInclude('modules/calendar/Calendar.js');
pageHeaderInclude('modules/calendar/CalendarUI.js');
pageHeaderInclude('modules/calendar/validator.js');
pageTitle('Calendar');
ob_start();
 ?>

        <div id="contents">
            <table width="100%">
                <tr>
                    <td width="3%">
                        
                    </td>
                    <td></td>
                    <td align="right" nowrap="nowrap">
                        <?php if ($this->userIsSuperUser == 1): ?>
                            <input type="checkbox" name="hideNonPublic" id="hideNonPublic" onclick="refreshView();" <?php if ($this->superUserActive): ?>checked<?php endif; ?>/>Show Entries from Other Users
                        <?php else: ?>
                            <input type="checkbox" style="display:none;" name="hideNonPublic" id="hideNonPublic" onclick="" />
                        <?php endif; ?>
                    </td>
                </tr>
            </table>

            <p class="note" id="calendarTitle">Calendar</p>

            <table style="border-collapse: collapse;">
Ejemplo n.º 16
0
<?php
pageHeaderInclude('modules/joborders/validator.js');
pageHeaderInclude('Create Job Order Attachment');

pageTitle('Job Order');

ob_start();
 if (!$this->isFinishedMode): ?>
        <form name="createAttachmentForm" id="createAttachmentForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=joborders&amp;a=createAttachment" enctype="multipart/form-data" method="post" onsubmit="return checkAttachmentForm(document.createAttachmentForm);">
            <input type="hidden" name="postback" id="postback" value="postback" />
            <input type="hidden" id="jobOrderID" name="jobOrderID" value="<?php echo($this->jobOrderID); ?>" />

            <table class="editTable">
                <tr>
                    <td class="tdVertical">Attachment:</td>
                    <td class="tdData"><input type="file" id="file" name="file" /></td>
                </tr>
            </table>
            <input type="submit" class="button" name="submit" id="submit" value="Create Attachment" />&nbsp;
            <input type="button" class="button" name="close" value="Cancel" onclick="parentHidePopWin();" />
        </form>
    <?php else: ?>
        <p>The file has been successfully attached.</p>

        <form>
            <input type="button" name="close" value="Close" onclick="parentHidePopWinRefresh();" />
        </form>
    <?php endif; ?>
	 <?php 
$AUIEO_CONTENT=ob_get_clean();
			?>
Ejemplo n.º 17
0
<?php
pageHeaderInclude('modules/candidates/validator.js');
pageHeaderInclude('Create Candidate Attachment');
pageTitle('Candidates');
ob_start();
 if (!$this->isFinishedMode): ?>
        <form name="createAttachmentForm" id="createAttachmentForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=candidates&amp;a=createAttachment" enctype="multipart/form-data" method="post" onsubmit="return checkCreateAttachmentForm(document.createAttachmentForm);">
            <input type="hidden" name="postback" id="postback" value="postback" />
            <input type="hidden" id="candidateID" name="candidateID" value="<?php echo($this->candidateID); ?>" />

            <table class="editTable">
                <tr>
                    <td class="tdVertical">Attachment:</td>
                    <td class="tdData"><input type="file" id="file" name="file" /></td>
                </tr>
                <tr>
                    <td class="tdVertical">Resume:</td>
                    <td>
                        <input type="radio" id="resume" name="resume" value="1" checked="checked" />Yes
                        <input type="radio" id="resume" name="resume" value="0" />No
                    </td>
                </tr>
            </table>
            <input type="submit" class="button" name="submit" id="submit" value="Create Attachment" />&nbsp;
            <input type="button" class="button" name="cancel" value="Cancel" onclick="parentHidePopWin();" />
        </form>
    <?php else: ?>
        <?php if(isset($this->resumeText) && $this->resumeText == ''): ?>
            <p>The file has been successfully attached, but CATS was unable to index the resume keywords to make the document searchable.  The file format may be unsupported by CATS.</p>
        <?php else: ?>
            <p>The file has been successfully attached.</p>
Ejemplo n.º 18
0
<?php
pageHeaderInclude('modules/import/import.js');
pageTitle('Import');
ob_start();
?>

        <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/reports.gif" width="24" height="24" border="0" alt="Import" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Import Data</h2></td>
                </tr>
            </table>

            <?php if (isset($this->errorMessage)): ?>

                <p class="warning" id="importHide0">Error!</p>

                <table class="searchTable" id="importHide1" width="100%">
                    <tr>
                        <td>
                            <?php echo($this->errorMessage); ?>
                        </td>
                    </tr>
                </table>

                <br />

            <?php elseif (isset($this->successMessage)): ?>
Ejemplo n.º 19
0
<?php
pageHeaderInclude('js/backup.js');
pageTitle('Settings');
ob_start();
?>



            <p class="note">Create Site Backup</p>

            <table class="searchTable" width="100%">
                <tr>
                    <td>
                        Create a backup of your entire CATS database (including all of your attachments).<br />
                        Note: Only one backup of your database can be stored on the server at a time.  Creating a new backup will
                        delete the previous backup.<br />
                        <br />
                    </td>
                </tr>
                    <td>
                    <span id="backupRunning" style="display:none;">
                        Backing up database, please wait... (Now would be a good time to take a coffee break!)
                        <br /><br />
                        Status:<br />
                    </span>
                    <span id="progressHistory">
                    </span>
                    <span id="progress">
                        Last backup:
                        <table class="attachmentsTable">
                            <?php foreach ($this->attachmentsRS as $rowNumber => $attachmentsData): ?>
Ejemplo n.º 20
0
<?php if ($this->isModal): ?>
        <?php
        pageHeaderInclude('modules/candidates/validator.js');
        pageHeaderInclude('js/addressParser.js');
        pageHeaderInclude('js/candidate.js');
        pageHeaderInclude('js/candidateParser.js');
        pageTitle('Candidates');
        ob_start();
        ?>
<?php else: ?>
     <?php
        pageHeaderInclude('modules/candidates/validator.js');
        pageHeaderInclude('js/addressParser.js');
        pageHeaderInclude('js/listEditor.js');
        pageHeaderInclude('js/candidate.js');
        pageHeaderInclude('js/candidateParser.js');
        pageTitle('Candidates');
        $AUIEO_MERGE_DELETE="";
        if(isset($_GET["attachmentID"]))
        {
            $AUIEO_MERGE_DELETE="&attachmentID={$_GET["attachmentID"]}";
        }
        $arrUrl=array();
        foreach($_GET as $k=>$v)
        {
            if($k=="a")
            {
                $v="delete";
            }
            $arrUrl[]="{$k}={$v}";
        }
Ejemplo n.º 21
0
<?php
pageHeaderInclude('modules/candidates/validator.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/listEditor.js');
pageHeaderInclude('js/doubleListEditor.js');
pageTitle('Candidates');
ob_start();
?>
            <p class="note">Edit Candidate</p>

            <form name="editCandidateForm" id="editCandidateForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=candidates&amp;a=edit" method="post" onsubmit="return checkEditForm(document.editCandidateForm);" autocomplete="off">
                <input type="hidden" name="postback" id="postback" value="postback" />
                <input type="hidden" id="candidateID" name="candidateID" value="<?php $this->_($this->data['candidate_id']); ?>" />

                <table class="editTable" width="700">
                    <tr>
                        <td class="tdVertical" valign="top" style="height: 28px;">
                            <label id="isHotLabel" for="isHot">Active:</label>
                        </td>
                        <td class="tdData" >
                            <input type="checkbox" id="isActive" name="isActive"<?php if ($this->data['is_active'] == 1): ?> checked<?php endif; ?> />
                            <img title="Unchecking this box indicates the candidate is inactive, and will no longer display on the resume search results." src="images/information.gif" alt="" width="16" height="16" />
                        </td>
                    </tr>
                    
                    <tr>
                        <td class="tdVertical">
                            <label id="firstNameLabel" for="firstName">First Name:</label>
                        </td>
                        <td class="tdData">
                            <input type="text" class="inputbox" id="firstName" name="firstName" value="<?php $this->_($this->data['first_name']); ?>" style="width: 150px;" />
Ejemplo n.º 22
0
<?php
pageHeaderInclude('modules/contacts/validator.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/suggest.js');
pageHeaderInclude('js/listEditor.js');
pageHeaderInclude('js/contact.js');
pageHeaderInclude('js/company.js');
pageTitle('Contacts');
ob_start();
?>

            <form name="editContactForm" id="editContactForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=contacts&amp;a=edit" method="post" onsubmit="return checkEditForm(document.editContactForm);" autocomplete="off">
                <input type="hidden" name="postback" id="postback" value="postback" />
                <input type="hidden" name="contactID" id="contactID" value="<?php echo($this->contactID); ?>" />

                <table width="100%">
                    <tr>
                        <td width="50%" height="100%" valign="top">
                            <p class="noteUnsized">Basic Information</p>

                            <table class="editTable" width="100%" height="285">
                                <tr>
                                    <td class="tdVertical">
                                        <label id="firstNameLabel" for="firstName">First Name:</label>
                                    </td>
                                    <td class="tdData">
                                        <input type="text" name="firstName" id="firstName" value="<?php $this->_($this->data['first_name']); ?>" class="inputbox" style="width: 150px" />&nbsp;*
                                    </td>
                                </tr>

                                <tr>
Ejemplo n.º 23
0
<?php
pageHeaderInclude('modules/joborders/validator.js');
pageTitle('Job Order');
ob_start();
?>

    <table>
        <tr>
            <td width="3%">
                <img src="images/job_orders.gif" width="24" height="24" border="0" alt="Job Orders" style="margin-top: 3px;" />&nbsp;
            </td>
            <td><h2>Job Orders: Add Job Order</h2></td>
       </tr>
    </table>

    <p class="noteUnsized">Add Job Order</p>
            
        <script type="text/javascript">
            var typeOfAdd="new";
        </script>
            
        <table class="editTable" width="100%">
            <tr>
                <td class="tdData"><input type="radio" name="typeOfAddElement" onclick="document.getElementById('copyFrom').disabled=true; typeOfAdd='new';" checked>&nbsp;Empty Job Order</td>
            </tr>
            <tr>
                <td class="tdData"><input type="radio" name="typeOfAddElement" onclick="document.getElementById('copyFrom').disabled=false; typeOfAdd='existing';">&nbsp;Copy Existing Job Order</td>
            </tr>
            <tr id="hideShowCopyExisting">
                <td class="tdData">
                    <select name="copyFrom" id="copyFrom" style="width:350px;" disabled>
Ejemplo n.º 24
0
<?php
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('js/eeo.js');

pageTitle('Settings');
ob_start();

 ?>


        <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/settings.gif" width="24" height="24" border="0" alt="Settings" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Settings: Administration</h2></td>
                </tr>
            </table>

            <p class="note">Equal Employment Opportunity Tracking Settings</p>

            <table width="100%">
                <tr>
                    <td>
                        <form name="EEOForm" id="EEOForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=eeo" method="post">
                            <input type="hidden" name="postback" value="postback" />

                            <table class="editTable" width="100%">
                                <tr>
                                    <td class="tdVertical" style="width: 250px;">
Ejemplo n.º 25
0
<?php
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('modules/settings/Settings.js');
pageTitle('Settings');
ob_start();
?>
       <div id="contents">
            <table>
                <tr>
                    <td width="3%">
                        <img src="images/settings.gif" width="24" height="24" border="0" alt="Settings" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td><h2>Settings: Administration</h2></td>
                </tr>
            </table>

            <p class="note">E-Mail Settings</p>

            <table>
                <tr>
                    <td>
                        <form name="emailSettingsForm" id="emailSettingsForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=emailSettings" method="post">
                            <input type="hidden" name="postback" value="postback" />
                            <input type="hidden" name="configured" value="1" />

                            <table class="editTable" width="700">
                                <tr id="fromAddressRow">
                                    <td class="tdVertical" style="width: 175px;">
                                        <label for="fromAddress" id="fromAddressLabel">From E-Mail Address for Outgoing Messages:</label>
                                    </td>
                                    <td class="tdData">
Ejemplo n.º 26
0
<?php
pageHeaderInclude('modules/joborders/validator.js');
pageHeaderInclude('js/company.js');
pageHeaderInclude('js/sweetTitles.js');
pageHeaderInclude('js/suggest.js');
pageHeaderInclude('js/joborder.js');
pageHeaderInclude('js/lib.js');
pageHeaderInclude('js/listEditor.js');
pageHeaderInclude('tinymce');

pageTitle('Job Orders');

ob_start();
 ?>

<p class="note">Add a new job order to the system.</p>

<?php if ($this->noCompanies): ?>
    <table style="margin-top: 8px; width: 50%;" class="selectView">
        <tr>
            <td>
                <span><span class="bold">You have not added any companies yet.</span> You can't add a job order until
                you add at least one company. Please go to the <a href="<?php echo(CATSUtility::getIndexName()); ?>?m=companies">Companies</a>
                module and add a company.</span>
            </td>
        </tr>
    </table>
<?php else: ?>
    <form name="addJobOrderForm" id="addJobOrderForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=joborders&amp;a=add" method="post" onsubmit="return checkAddForm(document.addJobOrderForm);" autocomplete="off">
        <input type="hidden" name="postback" id="postback" value="postback" />
Ejemplo n.º 27
0
<?php
pageHeaderInclude('modules/settings/validator.js');
pageTitle('Settings');
ob_start();

 ?>


        <div id="contents">
            <table width="100%">
                <tr>
                    <td width="3%">
                        <img src="images/settings.gif" width="24" height="24" border="0" alt="Settings" style="margin-top: 3px;" />&nbsp;
                    </td>
                    <td align="left"><h2>Settings: Customization</h2></td>
                </tr>
            </table>

            <p class="note">Calendar Customization</p>
            <table>
                <tr>
                    <td>
                        <form name="editCalendarForm" id="editCalendarForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=settings&amp;a=customizeCalendar" method="post">
                            <input type="hidden" name="postback" value="postback" />
                            <table class="editTable" width="700">
                                <tr>
                                    <td class="tdVertical" style="width:250px;">
                                        Disable AJAX dynamic event loading:
                                    </td>
                                    <td class="tdData">
                                        <input type="checkbox" name="noAjax"<?php if ($this->calendarSettingsRS['noAjax'] == '1'): ?> checked<?php endif; ?>>
Ejemplo n.º 28
0
<?php
pageHeaderInclude('js/sorttable.js');
pageHeaderInclude('Add Candidate to This Job Order Pipeline');

pageTitle('Job Orders');

ob_start();
if (!$this->isFinishedMode): ?>
        <p>Search for a candidate below, and then click on the candidate's
        first or last name to add the selected candidate to the job order
        pipeline.</p>

        <table class="searchTable">
            <form id="searchByFullNameForm" name="searchByFullNameForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=joborders&amp;a=considerCandidateSearch" method="post">
                <input type="hidden" name="postback" id="postback" value="postback" />
                <input type="hidden" id="mode_fullname" name="mode" value="searchByFullName" />
                <input type="hidden" id="jobOrderID_fullName" name="jobOrderID" value="<?php echo($this->jobOrderID); ?>" />

                <tr>
                    <td>Search by Full Name:&nbsp;</td>
                    <td><input type="text" class="inputbox" id="wildCardString_fullname" name="wildCardString" />&nbsp;*</td>
                </tr>
                <tr>
                    <td><input type="submit" class="button" id="searchByFullName" name="searchByFullName" value="Search by Full Name" /></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                </tr>
            </form>
        </table>
        <br />
Ejemplo n.º 29
0
<?php
pageHeaderInclude('js/sorttable.js');
pageHeaderInclude('js/match.js');
pageHeaderInclude('js/pipeline.js');
pageHeaderInclude('js/attachment.js');
pageTitle('Job Order');
ob_start();
?>
<p class="note">Job Order Details</p>

<?php if ($this->data['isAdminHidden'] == 1): ?>
    <p class="warning">This Job Order is hidden.  Only CATS Administrators can view it or search for it.  To make it visible by the site users, click <a href="<?php echo(CATSUtility::getIndexName()); ?>?m=joborders&amp;a=administrativeHideShow&amp;jobOrderID=<?php echo($this->jobOrderID); ?>&amp;state=0" style="font-weight:bold;">Here.</a></p>
<?php endif; ?>

<?php if (isset($this->frozen)): ?>
    <table style="font-weight:bold; border: 1px solid #000; background-color: #ffed1a; padding:5px; margin-bottom:7px;" width="<?php /* if ($this->isModal): */ if(false): ?>100%<?php else: ?>100%<?php endif; ?>" id="candidateAlreadyInSystemTable">
        <tr>
            <td class="tdVertical" style="width:100%;">
                This Job Order is <?php $this->_($this->data['status']); ?> and can not be modified.
               <?php if ($this->accessLevel >= ACCESS_LEVEL_EDIT): ?>
                   <a id="edit_link" href="<?php echo(CATSUtility::getIndexName()); ?>?m=joborders&amp;a=edit&amp;jobOrderID=<?php echo($this->jobOrderID); ?>">
                       <img src="images/actions/edit.gif" width="16" height="16" class="absmiddle" alt="edit" border="0" />&nbsp;Edit
                   </a>
                   the Job Order to make it Active.&nbsp;&nbsp;
               <?php endif; ?>
            </td>
        </tr>
    </table>
<?php endif; 
/*$objArray=new ClsAuieoArray(4);
foreach($this->fields_detail as $record)
Ejemplo n.º 30
0
<?php
pageHeaderInclude('modules/settings/validator.js');
pageHeaderInclude('modules/settings/downloads.css');
pageTitle('Settings');
ob_start();
?>


<script>
function sendNotificationEmail()
{
    var ajaxObj;
    try
    {
        // Firefox, Opera 8.0+, Safari
        ajaxObj = new XMLHttpRequest();
    }
    catch (e)
    {
        // Internet Explorer
        try
        {
            ajaxObj = new ActiveXObject("Msxml2.XMLHTTP");
        }
        catch (e)
        {
            try
            {
                ajaxObj = new ActiveXObject("Microsoft.XMLHTTP");
            }
            catch (e)