コード例 #1
0
    public static function getTasksHeadersHtml()
    {
        global $mod_strings;
        $returnedHtml = '
		<h4 class="reportPanelHeader">' . asol_ReportsManagementFunctions::getCollapsableHeader('LBL_REPORT_SCHEDULED_TASKS', 'scheduledDiv') . '</h4>
		<table class="list view" id="tasks_Table">
			<thead>
				<tr>
					<th nowrap="nowrap" scope="col" class="center">
						<input type="checkbox" class="massiveCheck_all" />
					</th>
					<th nowrap="nowrap" scope="col">
						<div align="left" width="100%" style="white-space: nowrap;">
						' . $mod_strings['LBL_REPORT_TASK_NAME'] . '
						</div>
					</th>
					<th nowrap="nowrap" scope="col">
						<div align="left" width="100%" style="white-space: nowrap;">
						' . $mod_strings['LBL_REPORT_EXECUTION_RANGE'] . '
						</div>
					</th>
					<th nowrap="nowrap" scope="col">
						<div align="left" width="100%" style="white-space: nowrap;">
						' . $mod_strings['LBL_REPORT_DAY_VALUE'] . '
						</div>
					</th>
					<th nowrap="nowrap" scope="col">
						<div align="left" width="100%" style="white-space: nowrap;">
						' . $mod_strings['LBL_REPORT_TIME_VALUE'] . '
						</div>
					</th>
					<th nowrap="nowrap" scope="col">
						<div align="left" width="100%" style="white-space: nowrap;">
						' . $mod_strings['LBL_REPORT_EXECUTION_END_DATE'] . '
						</div>
					</th>
					<th nowrap="nowrap" scope="col">
						<div align="left" width="100%" style="white-space: nowrap;">
						' . $mod_strings['LBL_REPORT_TASK_STATE'] . '
						</div>
					</th>
					<th nowrap="nowrap" scope="col">
						<div align="right" width="100%" style="white-space: nowrap;">
						<input type="button" class="button" value="' . $mod_strings['LBL_REPORT_ADD_TASK'] . '" onClick="insertTask(\'tasks_Table\')">
						<input type="hidden" id="tasksGlobalIndex" value="0">
						</div>
					</th>
				</tr>
			</thead>
			
			<tfoot>
				<tr>
					<td colspan="8">
						<input disabled type="button" class="massiveBtn_all" value="' . $mod_strings['LBL_REPORT_MULTIDELETE_TASK'] . '" onClick="deleteRows(\'tasks_Table\', \'massiveCheck\', \'massiveCheck_all\', \'massiveBtn_all\', \'LBL_REPORT_MULTIDELETE_TASK_ALERT\');"/>
					</td>
				</tr>
			</tfoot>
			
			<tbody>
			</tbody>
		</table>
		';
        return $returnedHtml;
    }
コード例 #2
0
										<h4 class="reportPanelHeader">' . asol_ReportsManagementFunctions::getCollapsableHeader('LBL_REPORT_DISTRIBUTION_LIST', 'distributionList', true) . '</h4>
										<table id="distribution_List_Table" class="edit view" style="' . $distributionListVisibility . '">
											<tr>
												<td>
													<div id="task_implementation_field" class="yui-navset detailview_tabs yui-navset-top"></div>
												</td>
											</tr>
				
										</table>
				
									</div>';
if (asol_ReportsUtils::isDomainsInstalled()) {
    $domainPublishVisibility = $manageWithTabs ? '' : 'display: none';
    echo '
										<div id="domainPublishing" class="reportPanel">
											<h4 class="reportPanelHeader">' . asol_ReportsManagementFunctions::getCollapsableHeader('LBL_ASOL_DOMAINS_PUBLISH_FEATURE_PANEL', 'domainPublishing', true) . '</h4>
											<table class="edit view" style="' . $domainPublishVisibility . '">
												<tbody>
													<tr>
														' . asol_manageDomains::getBeanDomainNameHtml($focus->asol_domain_name) . '
														' . asol_manageDomains::getEmptyCellHtml() . '
													</tr>
													<tr>
														' . asol_manageDomains::getBeanPublishManagementButtonHtml($focus->id, 'asol_reports') . '
														' . asol_manageDomains::getBeanPublishDomainHtml($focus->asol_published_domain) . '
													</tr>
												</tbody>
											</table>
					
										</div>';
}