本文整理匯總了PHP中CATSUtility::getIndexName方法的典型用法代碼示例。如果您正苦於以下問題:PHP CATSUtility::getIndexName方法的具體用法?PHP CATSUtility::getIndexName怎麽用?PHP CATSUtility::getIndexName使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CATSUtility
的用法示例。
在下文中一共展示了CATSUtility::getIndexName方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: __construct
public function __construct($siteID, $parameters)
{
/* Pager configuration. */
$this->_tableWidth = 915;
$this->_defaultAlphabeticalSortBy = 'lastName';
$this->ajaxMode = false;
$this->showExportCheckboxes = true;
//BOXES WILL NOT APPEAR UNLESS SQL ROW exportID IS RETURNED!
$this->showActionArea = true;
$this->showChooseColumnsBox = true;
$this->allowResizing = true;
$this->dateCriterion = '';
if (isset($parameters['period']) && !empty($parameters['period'])) {
$this->dateCriterion .= ' AND activity.date_created >= ' . $parameters['period'] . ' ';
} else {
if (isset($parameters['startDate']) && !empty($parameters['startDate'])) {
$this->dateCriterion .= ' AND activity.date_created >= \'' . $parameters['startDate'] . '\' ';
}
if (isset($parameters['endDate']) && !empty($parameters['endDate'])) {
$this->dateCriterion .= ' AND activity.date_created <= \'' . $parameters['endDate'] . '\' ';
}
}
$this->defaultSortBy = 'dateCreatedSort';
$this->defaultSortDirection = 'DESC';
$this->_defaultColumns = array(array('name' => 'Date', 'width' => 110), array('name' => 'First Name', 'width' => 85), array('name' => 'Last Name', 'width' => 75), array('name' => 'Regarding', 'width' => 125), array('name' => 'Activity', 'width' => 65), array('name' => 'Notes', 'width' => 240), array('name' => 'Entered By', 'width' => 60));
$this->_db = DatabaseConnection::getInstance();
$this->_siteID = $siteID;
$this->_assignedCriterion = "";
$this->_dataItemIDColumn = 'company.company_id';
$this->_classColumns = array('Date' => array('pagerRender' => 'return $rsData[\'dateCreated\'];', 'sortableColumn' => 'dateCreatedSort', 'pagerWidth' => 110, 'pagerOptional' => true, 'alphaNavigation' => true, 'filterHaving' => 'dateCreated'), 'First Name' => array('pagerRender' => 'if ($rsData[\'dataItemType\']==' . DATA_ITEM_CANDIDATE . ') {$ret = \'<img src="images/mru/candidate.gif" height="12" alt="" />\';} else if ($rsData[\'dataItemType\']==' . DATA_ITEM_CONTACT . ') {$ret = \'<img src="images/mru/contact.gif" height="12">\';} else {$ret = \'<img src="images/mru/blank.gif">\';} if ($rsData[\'isHot\'] == 1) $className = \'jobLinkHot\'; else $className = \'jobLinkCold\'; if ($rsData[\'dataItemType\']==' . DATA_ITEM_CANDIDATE . ') {return $ret.\' <a href="' . CATSUtility::getIndexName() . '?m=candidates&a=show&candidateID=\'.$rsData[\'dataItemID\'].\'" class="\'.$className.\'" title="\'.htmlspecialchars(InfoString::make($rsData[\'dataItemType\'],$rsData[\'dataItemID\'],$rsData[\'siteID\'])).\'">\'.htmlspecialchars($rsData[\'firstName\']).\'</a>\';} else {return $ret.\' <a href="' . CATSUtility::getIndexName() . '?m=contacts&a=show&contactID=\'.$rsData[\'dataItemID\'].\'" class="\'.$className.\'" title="\'.htmlspecialchars(InfoString::make($rsData[\'dataItemType\'],$rsData[\'dataItemID\'],$rsData[\'siteID\'])).\'">\'.htmlspecialchars($rsData[\'firstName\']).\'</a>\';}', 'sortableColumn' => 'firstName', 'pagerWidth' => 85, 'pagerOptional' => false, 'alphaNavigation' => true, 'filterHaving' => 'firstName'), 'Last Name' => array('pagerRender' => 'if ($rsData[\'isHot\'] == 1) $className = \'jobLinkHot\'; else $className = \'jobLinkCold\'; if ($rsData[\'dataItemType\']==' . DATA_ITEM_CANDIDATE . ') {return \'<a href="' . CATSUtility::getIndexName() . '?m=candidates&a=show&candidateID=\'.$rsData[\'dataItemID\'].\'" class="\'.$className.\'" title="\'.htmlspecialchars(InfoString::make($rsData[\'dataItemType\'],$rsData[\'dataItemID\'],$rsData[\'siteID\'])).\'"> \'.htmlspecialchars($rsData[\'lastName\']).\'</a>\';} else {return \'<a href="' . CATSUtility::getIndexName() . '?m=contacts&a=show&contactID=\'.$rsData[\'dataItemID\'].\'" class="\'.$className.\'" title="\'.htmlspecialchars(InfoString::make($rsData[\'dataItemType\'],$rsData[\'dataItemID\'],$rsData[\'siteID\'])).\'"> \'.htmlspecialchars($rsData[\'lastName\']).\'</a>\';}', 'sortableColumn' => 'lastName', 'pagerWidth' => 75, 'pagerOptional' => false, 'alphaNavigation' => true, 'filterHaving' => 'lastName'), 'Regarding' => array('pagerRender' => 'if ($rsData[\'jobIsHot\'] == 1) $className = \'jobLinkHot\'; else $className = \'jobLinkCold\'; if ($rsData[\'companyIsHot\'] == 1) $companyClassName = \'jobLinkHot\'; else $companyClassName = \'jobLinkCold\'; if ($rsData[\'regardingJobTitle\'] == \'\') {$ret = \'General\'; } else {$ret = \'<a href="' . CATSUtility::getIndexName() . '?m=joborders&a=show&jobOrderID=\'.$rsData[\'jobOrderID\'].\'" class="\'.$className.\'">\'.htmlspecialchars($rsData[\'regardingJobTitle\']).\'</a>\'; if($rsData[\'regardingCompanyName\'] != \'\') {$ret .= \' <a href="' . CATSUtility::getIndexName() . '?m=companies&a=show&companyID=\'.$rsData[\'companyID\'].\'" class="\'.$companyClassName.\'">(\'.htmlspecialchars($rsData[\'regardingCompanyName\']).\')\';}} return $ret;', 'sortableColumn' => 'regarding', 'pagerWidth' => 125, 'pagerOptional' => true, 'alphaNavigation' => true, 'filterHaving' => 'regarding'), 'Activity' => array('pagerRender' => '$ret = $rsData[\'typeDescription\']; return $ret;', 'sortableColumn' => 'typeDescription', 'pagerWidth' => 65, 'pagerOptional' => true, 'alphaNavigation' => true, 'filter' => 'activity_type.short_description'), 'Notes' => array('pagerRender' => 'return $rsData[\'notes\'];', 'sortableColumn' => 'notes', 'pagerWidth' => 240, 'pagerOptional' => true, 'alphaNavigation' => true, 'filterHaving' => 'notes'), 'Entered By' => array('pagerRender' => 'return StringUtility::makeInitialName($rsData[\'enteredByFirstName\'], $rsData[\'enteredByLastName\'], false, LAST_NAME_MAXLEN);', 'exportRender' => 'return $rsData[\'enteredByFirstName\'] . " " .$rsData[\'enteredByLastName\'];', 'sortableColumn' => 'enteredBySort', 'pagerWidth' => 60, 'alphaNavigation' => true, 'filter' => 'CONCAT(entered_by_user.last_name, entered_by_user.first_name)'));
parent::__construct("activity:ActivityDataGrid", $parameters);
}
示例2: getForm
/**
* Generates HTML code for export forms / menus.
*
* @param flag data item type being exported
* @param string comma-separated list of data item IDs
* @param integer number of pixles right the export box should be displayed
* @return array containing parts of html code for the export form.
*/
public static function getForm($dataItemType, $IDs, $popUpOffset = 35, $linkOffset = 5)
{
$indexName = CATSUtility::getIndexName();
/* Build form header. */
$header = '<form name="selectedObjects" action="' . $indexName . '" method="get">' . "\n" . '<input type="hidden" name="m" value="export" />' . "\n" . '<input type="hidden" name="onlySelected" value="true" />' . "\n" . '<input type="hidden" name="dataItemType" value="' . $dataItemType . '" />' . "\n";
/* Build form menu. */
$allRecordsURL = sprintf('%s?m=export&a=export&dataItemType=%s', $indexName, $dataItemType);
if ($_REQUEST["m"] == "candidates") {
$objSearchDS = new SearchDataStructure($_REQUEST["m"]);
$objSearchDS->loadFromURL();
$_SESSION["AUIEO"]["CANDIDATS"]["SearchDS"] = $objSearchDS;
$allRecordsJoborderURL = sprintf('%s?m=candidates&a=considerForJobSearch&candidateID=SearchDS', $indexName);
}
$currentPageURL = sprintf('%s?m=export&a=export&dataItemType=%s&ids=%s', $indexName, $dataItemType, $IDs);
if ($_REQUEST["m"] == "candidates") {
$arrID = explode(",", $IDs);
foreach ($arrID as $ind => $id) {
$arrID[$ind] = "candidateID[]=" . trim($id);
}
$candidateIDs = implode("&", $arrID);
$currentPageJoborderURL = sprintf('%s?m=candidates&a=considerForJobSearch&%s', $indexName, $candidateIDs);
}
$menu = '<div style="float: left; margin-left: 4px; margin-right: ' . $linkOffset . 'px;">' . '<form name="selectAll" action="#">' . '<input type="checkbox" name="allBox" title="Select All" onclick="toggleChecksAll();" />' . '</form>' . '</div>' . '<a href="#" id="exportBoxLink" onclick="showBox(\'ExportBox\'); return false;">Export</a> | <a href="#" id="deleteBoxLink" onclick="deleteSelected(); return false;">Delete</a>';
if ($_REQUEST["m"] == "candidates") {
$menu = $menu . ' | <a href="#" id="addToJoborderBoxLink" onclick="showBox(\'JoborderBox\'); return false;">Add to joborder</a>';
}
$menu = $menu . '<br />' . '<div class="exportPopup" id="ExportBox" align="left" onmouseover="showBox(\'ExportBox\');" onmouseout="hideBox(\'ExportBox\');">' . '<a href="' . $allRecordsURL . '">Export All Records</a><br />' . '<a href="' . $currentPageURL . '">Export Current Page</a><br />' . '<a href="#" onclick="checkSelected(); return false;">Export Selected Records</a>' . '</div>';
if ($_REQUEST["m"] == "candidates") {
$menu = $menu . '
<div class="exportPopup" id="JoborderBox" align="left" onmouseover="showBox(\'JoborderBox\');" onmouseout="hideBox(\'JoborderBox\');">' . '<a href="javascript:void(0);" onclick="showPopWin(\'' . $allRecordsJoborderURL . '\', 750, 390, null); return false;">All Records</a><br />' . '<a href="javascript:void(0);" onclick="showPopWin(\'' . $allRecordsJoborderURL . '\', 750, 390, null); return false;">Current Page</a><br />' . '<a href="#" onclick="checkSelected(); return false;">Selected Records</a>' . '</div>';
}
$footer = '</form>';
return array('header' => $header, 'footer' => $footer, 'menu' => $menu);
}
示例3: __construct
public function __construct()
{
parent::__construct();
$this->_authenticationRequired = true;
$this->_moduleDirectory = 'lists';
$this->_moduleName = 'lists';
$this->_moduleTabText = 'Lists';
$this->_subTabs = array('Show Lists' => CATSUtility::getIndexName() . '?m=lists');
}
示例4: __construct
public function __construct()
{
parent::__construct();
$this->_authenticationRequired = true;
$this->_moduleDirectory = 'joborders';
$this->_moduleName = 'joborders';
$this->_moduleTabText = 'Job Orders';
$this->_subTabs = array('Add Job Order' => 'javascript:void(0);*js=showPopWin(\'' . CATSUtility::getIndexName() . '?m=joborders&a=addJobOrderPopup\', 400, 250, null);*al=' . ACCESS_LEVEL_EDIT, 'Search Job Orders' => CATSUtility::getIndexName() . '?m=joborders&a=search');
}
示例5: __construct
public function __construct()
{
parent::__construct();
$this->_authenticationRequired = true;
$this->_moduleDirectory = 'contacts';
$this->_moduleName = 'contacts';
$this->_moduleTabText = 'Contacts';
$this->_subTabs = array('Add Contact' => CATSUtility::getIndexName() . '?m=contacts&a=add*al=' . ACCESS_LEVEL_EDIT, 'Search Contacts' => CATSUtility::getIndexName() . '?m=contacts&a=search', 'Cold Call List' => CATSUtility::getIndexName() . '?m=contacts&a=showColdCallList');
}
示例6: __construct
public function __construct()
{
parent::__construct();
$this->_authenticationRequired = true;
$this->_moduleDirectory = 'companies';
$this->_moduleName = 'companies';
$this->_moduleTabText = 'Companies';
$this->_subTabs = array('Add Company' => CATSUtility::getIndexName() . '?m=companies&a=add*al=' . ACCESS_LEVEL_EDIT . '*hrmode=0', 'Search Companies' => CATSUtility::getIndexName() . '?m=companies&a=search*hrmode=0', 'Go To My Company' => CATSUtility::getIndexName() . '?m=companies&a=internalPostings*hrmode=0');
}
示例7: getInnerActionArea
/**
* Adds more options to the action area on the pager. Overloads
* DataGrid Inner Action Area function.
*
* @return html innerActionArea commands.
*/
public function getInnerActionArea()
{
$html = parent::getInnerActionArea();
$newParameterArray = $this->_parameters;
$newParameterArray['exportIDs'] = '<dynamic>';
$html .= sprintf('<a href="javascript:void(0);" onclick="window.location.href=\'%s?m=export&a=exportByDataGrid&i=%s&p=%s&&dynamicArgument%s=\' + urlEncode(serializeArray(exportArray%s));">Export Selected</a><br />', CATSUtility::getIndexName(), urlencode($this->_instanceName), urlencode(serialize($newParameterArray)), urlencode($this->_instanceName), md5($this->_instanceName));
//$html .= sprintf(
// '<a href="">Delete Selected</a><br />'
// );
return $html;
}
示例8: getForm
/**
* Generates HTML code for export forms / menus.
*
* @param flag data item type being exported
* @param string comma-separated list of data item IDs
* @param integer number of pixles right the export box should be displayed
* @return array containing parts of html code for the export form.
*/
public static function getForm($dataItemType, $IDs, $popUpOffset = 35, $linkOffset = 5)
{
$indexName = CATSUtility::getIndexName();
/* Build form header. */
$header = '<form name="selectedObjects" action="' . $indexName . '" method="get">' . "\n" . '<input type="hidden" name="m" value="export" />' . "\n" . '<input type="hidden" name="onlySelected" value="true" />' . "\n" . '<input type="hidden" name="dataItemType" value="' . $dataItemType . '" />' . "\n";
/* Build form menu. */
$allRecordsURL = sprintf('%s?m=export&a=export&dataItemType=%s', $indexName, $dataItemType);
$currentPageURL = sprintf('%s?m=export&a=export&dataItemType=%s&ids=%s', $indexName, $dataItemType, $IDs);
$menu = '<div style="float: left; margin-left: 4px; margin-right: ' . $linkOffset . 'px;">' . '<form name="selectAll" action="#">' . '<input type="checkbox" name="allBox" title="Select All" onclick="toggleChecksAll();" />' . '</form>' . '</div>' . '<a href="#" id="exportBoxLink" onclick="showBox(\'ExportBox\'); return false;">Export</a><br />' . '<div class="exportPopup" id="ExportBox" align="left" onmouseover="showBox(\'ExportBox\');" onmouseout="hideBox(\'ExportBox\');">' . '<a href="' . $allRecordsURL . '">Export All Records</a><br />' . '<a href="' . $currentPageURL . '">Export Current Page</a><br />' . '<a href="#" onclick="checkSelected(); return false;">Export Selected Records</a>' . '</div>';
$footer = '</form>';
return array('header' => $header, 'footer' => $footer, 'menu' => $menu);
}
示例9: __construct
public function __construct()
{
parent::__construct();
$this->_authenticationRequired = true;
$this->_moduleDirectory = 'lists';
$this->_moduleName = 'lists';
$this->_moduleTabText = 'Lists';
$this->_subTabs = array(
'Show Lists' => CATSUtility::getIndexName() . '?m=lists'
/* 'New Static List' => CATSUtility::getIndexName() . '?m=lists&a=newListStatic*al=' . ACCESS_LEVEL_EDIT, */
/* 'New Dynamic List' => CATSUtility::getIndexName() . '?m=lists&a=newListDynamic*al=' . ACCESS_LEVEL_EDIT */
);
}
示例10: getInnerActionArea
/**
* Adds more options to the action area on the pager. Overloads
* DataGrid Inner Action Area function.
*
* @return html innerActionArea commands.
*/
public function getInnerActionArea()
{
//TODO: Add items:
// - Add to List
// - Add to Pipeline
// - Mass set rank (depends on each candidate having their own personal rank - are we going to do this?)
$html = '';
$html .= $this->getInnerActionAreaItem('Remove From This List', CATSUtility::getIndexName() . '?m=lists&a=removeFromListDatagrid&dataItemType=' . DATA_ITEM_CANDIDATE . '&savedListID=' . $this->getMiscArgument(), false);
$html .= $this->getInnerActionAreaItemPopup('Add To Pipeline', CATSUtility::getIndexName() . '?m=candidates&a=considerForJobSearch', 750, 460);
if (MAIL_MAILER != 0) {
$html .= $this->getInnerActionAreaItem('Send E-Mail', CATSUtility::getIndexName() . '?m=candidates&a=emailCandidates');
}
$html .= $this->getInnerActionAreaItem('Export', CATSUtility::getIndexName() . '?m=export&a=exportByDataGrid');
$html .= parent::getInnerActionArea();
return $html;
}
示例11: __construct
public function __construct()
{
parent::__construct();
$this->_realAccessLevel = $_SESSION['CATS']->getRealAccessLevel();
$this->_authenticationRequired = true;
$this->_moduleDirectory = 'settings';
$this->_moduleName = 'settings';
$this->_moduleTabText = 'Settings';
/* Only CATS professional on site gets to make career portal customizer users. */
if (!file_exists('modules/asp') && LicenseUtility::isProfessional()) {
$this->_settingsUserCategories = array(array('Career Portal Customizer', 'careerportal', 'This user can\'t do anything but modify the career portal settings. It is intended to be used by the CATS Professional Support Team. This user does not count against your maximum users.', ACCESS_LEVEL_SA, ACCESS_LEVEL_READ));
}
$mp = array('Administration' => CATSUtility::getIndexName() . '?m=settings&a=administration', 'My Profile' => CATSUtility::getIndexName() . '?m=settings');
/* Only CATS professional can download addons. */
if (file_exists('modules/asp') || LicenseUtility::isProfessional()) {
$mp['Downloads'] = CATSUtility::getIndexName() . '?m=settings&a=downloads';
}
$this->_subTabs = $mp;
$this->_hooks = $this->defineHooks();
}
示例12: __construct
public function __construct()
{
parent::__construct();
$this->_realAccessLevel = $_SESSION['CATS']->getRealAccessLevel();
$this->_authenticationRequired = true;
$this->_moduleDirectory = 'settings';
$this->_moduleName = 'settings';
$this->_moduleTabText = 'Settings';
$mp = array(
'Administration' => CATSUtility::getIndexName() . '?m=settings&a=administration',
'My Profile' => CATSUtility::getIndexName() . '?m=settings'
);
$mp['Downloads'] = CATSUtility::getIndexName() . '?m=settings&a=downloads';
$this->_subTabs = $mp;
$this->_hooks = $this->defineHooks();
}
示例13: displayPublicJobOrders
private function displayPublicJobOrders()
{
$site = new Site(-1);
$careerPortalSiteID = $site->getFirstSiteID();
if (!eval(Hooks::get('RSS_SITEID'))) {
return;
}
$jobOrders = new JobOrders($careerPortalSiteID);
$rs = $jobOrders->getAll(JOBORDERS_STATUS_ACTIVE, -1, -1, -1, false, true);
/* XML Headers */
header('Content-type: text/xml');
$indexName = CATSUtility::getIndexName();
$stream = sprintf("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" . "<rss version=\"2.0\">\n" . "<channel>\n" . "<title>New Job Orders</title>\n" . "<description>CATS RSS Feed</description>\n" . "<link>%s</link>\n" . "<pubDate>%s</pubDate>\n", CATSUtility::getAbsoluteURI(), DateUtility::getRSSDate());
foreach ($rs as $rowIndex => $row) {
$uri = sprintf("%scareers/?p=showJob&ID=%d", CATSUtility::getAbsoluteURI(), $row['jobOrderID']);
// Fix URL if viewing from /rss without using globals or dirup '../'
if (strpos($_SERVER['PHP_SELF'], '/rss/') !== false) {
$uri = str_replace('/rss/', '/', $uri);
}
$stream .= sprintf("<item>\n" . "<title>%s (%s)</title>\n" . "<description>Located in %s.</description>\n" . "<link>%s</link>\n" . "</item>\n", $row['title'], $jobOrders->typeCodeToString($row['type']), StringUtility::makeCityStateString($row['city'], $row['state']), $uri);
}
$stream .= "</channel>\n</rss>\n";
echo $stream;
}
示例14: getHTMLOfLink
/**
* Returns link HTML for a data item.
*
* @param flag Data Item type flag.
* @param integer Data Item ID.
* @param boolean Show name / data item title?
* @return string Link HTML (<a href="...">...</a>).
*/
private function getHTMLOfLink($dataItemID, $dataItemType, $showTitle = true)
{
$string = '<a href="' . CATSUtility::getIndexName();
switch ($dataItemType) {
case DATA_ITEM_CANDIDATE:
$candidates = new Candidates($this->_siteID);
$string .= '?m=candidates&a=show&candidateID=' . $dataItemID . '">';
$string .= '<img src="images/mru/candidate.gif" alt="" style="border: none;" title="Candidate" />';
if ($showTitle) {
$data = $candidates->get($dataItemID);
if (!isset($data['firstName'])) {
$string = '<img src="images/mru/company.gif" alt="" style="border: none;" /> (Candidate Deleted)<a>';
} else {
$string .= ' ' . $data['firstName'] . ' ' . $data['lastName'];
}
}
$image = 'images/mru/candidate.gif';
break;
case DATA_ITEM_COMPANY:
$companies = new Companies($this->_siteID);
$string .= '?m=companies&a=show&companyID=' . $dataItemID . '">';
$string .= '<img src="images/mru/company.gif" alt="" style="border: none;" title="Company" />';
if ($showTitle) {
$data = $companies->get($dataItemID);
if (!isset($data['name'])) {
$string = '<img src="images/mru/company.gif" alt="" style="border: none;" /> (Company Deleted)<a>';
} else {
$string .= ' ' . $data['name'];
}
}
break;
case DATA_ITEM_CONTACT:
$contacts = new Contacts($this->_siteID);
$string .= '?m=contacts&a=show&contactID=' . $dataItemID . '">';
$string .= '<img src="images/mru/contact.gif" alt="" style="border: none;" title="Contact" />';
if ($showTitle) {
$data = $contacts->get($dataItemID);
if (!isset($data['firstName'])) {
$string = '<img src="images/mru/contact.gif" alt="" style="border: none;" /> (Contact Deleted)<a>';
} else {
$string .= ' ' . $data['firstName'] . ' ' . $data['lastName'];
}
}
break;
case DATA_ITEM_JOBORDER:
$jobOrders = new JobOrders($this->_siteID);
$string .= '?m=joborders&a=show&jobOrderID=' . $dataItemID . '">';
$string .= '<img src="images/mru/job_order.gif" alt="" style="border: none;" title="Job Order" />';
if ($showTitle) {
$data = $jobOrders->get($dataItemID);
if (!isset($data['title'])) {
$string = '<img src="images/mru/job_order.gif" alt="" style="border: none;" /> (Job Order Deleted)<a>';
} else {
$string .= ' ' . $data['title'];
}
}
break;
}
$string .= '</a>';
return $string;
}
示例15: echo
<td>
<select id="addFieldSelect<?php echo($index); ?>">
<?php foreach($this->extraFieldTypes as $extraFieldTypeIndex => $extraFieldTypeData): ?>
<option value="<?php echo($extraFieldTypeIndex); ?>"><?php $this->_($extraFieldTypeData['name']); ?></option>
<?php endforeach; ?>
</select>
</td>
</tr>
</table>
<input type="button" class="button" value="Add Field" onclick="onAddField<?php echo($index); ?>();" />
<input type="button" class="button" value="Cancel" onclick="onHideAddArea<?php echo($index); ?>();" />
</div>
<div id="addFieldOption<?php echo($index); ?>">
<a href="javascript:void(0);" onclick="document.getElementById('addField<?php echo($index); ?>').style.display=''; document.getElementById('addFieldOption<?php echo($index); ?>').style.display='none'; document.getElementById('addFieldName<?php echo($index); ?>').value=''; document.getElementById('addFieldName<?php echo($index); ?>').focus();">
<img src="images/actions/add_small.gif" border="0" /> Add field to <?php echo($data['name']); ?>
</a>
</div>
<br />
<br />
</td>
</tr>
<?php endforeach; ?>
</table>
<input type="submit" class="button" value="Save" style="display:none;" id="buttonSave" />
<input type="button" name="back" class = "button" value="Done" id="buttonDone" onclick="document.location.href='<?php echo(CATSUtility::getIndexName()); ?>?m=settings&a=administration';" />
</form>
<?php
$AUIEO_CONTENT=ob_get_clean();
?>