$Ministry->createTable(); /*[RAD_DAOBJ_TABLE]*/ } else { echo 'Skipping Tables ... <br>'; } // end if !skipTables // check to see if parameter 'skipLabel' was provided $skipLabel = isset($_REQUEST['skipLabel']); // if not, then add labels to DB ... if (!$skipLabel) { /* * Insert Labels in DB */ // Create Application Upload Series $labelManager = new MultilingualManager(); $labelManager->addSeries(modulecim_hrdb::MULTILINGUAL_SERIES_KEY); // Create General Field labels for modulecim_hrdb $labelManager->addPage(modulecim_hrdb::MULTILINGUAL_PAGE_FIELDS); // // Country table // $labelManager->addLabel("[title_country_desc]", "Country", "en"); $labelManager->addLabel("[formLabel_country_desc]", "Country", "en"); $labelManager->addLabel("[example_country_desc]", "Canada", "en"); $labelManager->addLabel("[error_country_desc]", "Invalid country", "en"); $labelManager->addLabel("[title_country_shortDesc]", "Short form", "en"); $labelManager->addLabel("[formLabel_country_shortDesc]", "Short form", "en"); $labelManager->addLabel("[example_country_shortDesc]", "CAN", "en"); $labelManager->addLabel("[error_country_shortDesc]", "Invalid short form", "en"); // // Province table
} } else { echo 'Skipping Module Table ... <br>'; } // check to see if the parameter 'skipTables' was provided $skipTables = isset($_REQUEST['skipTables']); // if NOT then reset the tables... if (!$skipTables) { /*[RAD_DAOBJ_TABLE]*/ } else { echo 'Skipping Tables ... <br>'; } // end if !skipTables // check to see if parameter 'skipLabel' was provided $skipLabel = isset($_REQUEST['skipLabel']); // if not, then add labels to DB ... if (!$skipLabel) { /* * Insert Labels in DB */ // Create Application Upload Series $labelManager = new MultilingualManager(); $labelManager->addSeries(module[ModuleName]::MULTILINGUAL_SERIES_KEY); // Create General Field labels for module[ModuleName] $labelManager->addPage(module[ModuleName]::MULTILINGUAL_PAGE_FIELDS); /*[RAD_FIELDS_LABEL]*/ /*[RAD_PAGE_LABEL]*/ } else { echo 'Skipping Labels ... <br>'; } // end if !skipLabels
$Page->createTable(); /*[RAD_DAOBJ_TABLE]*/ } else { echo 'Skipping Tables ... <br>'; } // end if !skipTables // check to see if parameter 'skipLabel' was provided $skipLabel = isset($_REQUEST['skipLabel']); // if not, then add labels to DB ... if (!$skipLabel) { /* * Insert Labels in DB */ // Create Application Upload Series $labelManager = new MultilingualManager(); $labelManager->addSeries(modulecim_c4cwebsite::MULTILINGUAL_SERIES_KEY); // Create General Field labels for modulecim_c4cwebsite $labelManager->addPage(modulecim_c4cwebsite::MULTILINGUAL_PAGE_FIELDS); // // Page table // $labelManager->addLabel("[title_page_id]", "Page ID", "en"); $labelManager->addLabel("[formLabel_page_id]", "Page ID", "en"); $labelManager->addLabel("[title_page_parentID]", "Parent Page", "en"); $labelManager->addLabel("[formLabel_page_parentID]", "Parent Page", "en"); $labelManager->addLabel("[title_page_breadcrumbTitle]", "Title", "en"); $labelManager->addLabel("[formLabel_page_breadcrumbTitle]", "Title", "en"); $labelManager->addLabel("[title_page_templateName]", "Template", "en"); $labelManager->addLabel("[formLabel_page_templateName]", "Template", "en"); $labelManager->addLabel("[title_page_link]", "Link", "en"); $labelManager->addLabel("[formLabel_page_link]", "Link", "en");
$StatDataType->createTable(); /*[RAD_DAOBJ_TABLE]*/ } else { echo 'Skipping Tables ... <br>'; } // end if !skipTables // check to see if parameter 'skipLabel' was provided $skipLabel = isset($_REQUEST['skipLabel']); // if not, then add labels to DB ... if (!$skipLabel) { /* * Insert Labels in DB */ // Create Application Upload Series $labelManager = new MultilingualManager(); $labelManager->addSeries(modulep2c_stats::MULTILINGUAL_SERIES_KEY); // Create General Field labels for modulep2c_stats $labelManager->addPage(modulep2c_stats::MULTILINGUAL_PAGE_FIELDS); // // // // Statistic table - alternate naming scheme // // // $labelManager->addLabel( "[title_statistic_name]", "Statistic", "en" ); // $labelManager->addLabel( "[title_statistic_desc]", "Stat Description", "en" ); // $labelManager->addLabel( "[title_scope_id]", "Scope", "en" ); // $labelManager->addLabel( "[title_scope_ref_id]", "Associated Area", "en" ); // $labelManager->addLabel( "[title_freq_id]", "Report Frequency", "en" ); // $labelManager->addLabel( "[title_meas_id]", "Measurement Type", "en" ); // $labelManager->addLabel( "[formLabel_statistic_name]", "Statistic", "en" ); // $labelManager->addLabel( "[formLabel_statistic_desc]", "Stat Description", "en" ); // $labelManager->addLabel( "[formLabel_scope_id]", "Scope", "en" ); // $labelManager->addLabel( "[formLabel_scope_ref_id]", "Associated Area", "en" );
if (!$skipTables) { /*[RAD_DAOBJ_TABLE]*/ } else { echo 'Skipping Tables ... <br>'; } // end if !skipTables // check to see if parameter 'skipLabel' was provided $skipLabel = isset($_REQUEST['skipLabel']); // if not, then add labels to DB ... if (!$skipLabel) { /* * Insert Labels in DB */ // Create Application Upload Series $labelManager = new MultilingualManager(); $labelManager->addSeries(modulecim_staff_info::MULTILINGUAL_SERIES_KEY); // Create General Field labels for modulecim_staff_info $labelManager->addPage(modulecim_staff_info::MULTILINGUAL_PAGE_FIELDS); /*[RAD_FIELDS_LABEL]*/ // Create CommonDisplay labels $labelManager->addPage(CommonDisplay::MULTILINGUAL_PAGE_KEY); /* // // Use this section to create your common page label information: // $labelManager->addLabel( "[Title]", "Title", "en" ); $labelManager->addLabel( "[Instr]", "Instructions", "en" ); */ // Create home labels $labelManager->addPage(page_home::MULTILINGUAL_PAGE_KEY); $labelManager->addLabel("[Title]", "Staff Info", "en");
$NumTickets->createTable(); /*[RAD_DAOBJ_TABLE]*/ } else { echo 'Skipping Tables ... <br>'; } // end if !skipTables // check to see if parameter 'skipLabel' was provided $skipLabel = isset($_REQUEST['skipLabel']); // if not, then add labels to DB ... if (!$skipLabel) { /* * Insert Labels in DB */ // Create Application Upload Series $labelManager = new MultilingualManager(); $labelManager->addSeries(moduleaia_reg::MULTILINGUAL_SERIES_KEY); // Create General Field labels for moduleaia_reg $labelManager->addPage(moduleaia_reg::MULTILINGUAL_PAGE_FIELDS); // // Person table // $labelManager->addLabel("[title_person_fname]", "First Name", "en"); $labelManager->addLabel("[formLabel_person_fname]", "First Name", "en"); $labelManager->addLabel("[example_person_fname]", "Russ", "en"); $labelManager->addLabel("[error_person_fname]", "Invalid first name.", "en"); $labelManager->addLabel("[title_person_lname]", "Last Name", "en"); $labelManager->addLabel("[formLabel_person_lname]", "Last Name", "en"); $labelManager->addLabel("[example_person_lname]", "Martin", "en"); $labelManager->addLabel("[error_person_lname]", "Invalid last name.", "en"); $labelManager->addLabel("[title_person_phone]", "Permanent Phone Number", "en"); $labelManager->addLabel("[formLabel_person_phone]", "Permanent Phone Number", "en");
if (substr($files1[$i], 0, 5) == "site_") { //echo "checking {$files1[$i]} for setup script..."; if (is_file($dir . $files1[$i] . "/tool_setup.php")) { //echo "<b>tool_setup.php found...</b>"; require_once $dir . $files1[$i] . "/tool_setup.php"; //echo "<i> tool setup sucessfully!!!</i>"; } else { //echo "No setup file found"; } //echo "<br>"; } } } //Enter Series, Page, Labels $tableMM = new MultilingualManager(); $tableMM->addSeries(SITE_LABEL_SERIES_SITE); // 1 $tableMM->addPage(SITE_LABEL_PAGE_GENERAL); // 1.1 $tableMM->addLabel('site_WindowTitle', 'AI Home', "en"); $tableMM->addPage(SITE_LABEL_PAGE_LIST_YESNO); // 1.3 $tableMM->addLabel('[yes]', 'yes', "en"); $tableMM->addLabel('[no]', 'no', "en"); $tableMM->addPage(SITE_LABEL_PAGE_FORMERRORS); // 1.4 $tableMM->addLabel('[error_T]', 'Enter a value', "en"); $tableMM->addLabel('[error_N]', 'Enter a Numeric value', "en"); $tableMM->addLabel('[error_M]', 'Enter a value', "en"); $tableMM->addLabel('[error_L]', 'Select a value', "en"); $tableMM->addLabel('[error_D]', 'Select a value for each field', "en");
// $NavBarXlate->createTable(); /*[RAD_DAOBJ_TABLE]*/ } else { echo 'Skipping Tables ... <br>'; } // end if !skipTables // check to see if parameter 'skipLabel' was provided $skipLabel = isset($_REQUEST['skipLabel']); // if not, then add labels to DB ... if (!$skipLabel) { /* * Insert Labels in DB */ // Create Application Upload Series $labelManager = new MultilingualManager(); $labelManager->addSeries(moduleNavBar::MULTILINGUAL_SERIES_KEY); // Create General Field labels for moduleNavBar $labelManager->addPage(moduleNavBar::MULTILINGUAL_PAGE_FIELDS); // // NavBarGroup table // $labelManager->addLabel("[title_navbargroup_nameKey]", "Name", "en"); $labelManager->addLabel("[formLabel_navbargroup_nameKey]", "Enter the nave of this group", "en"); $labelManager->addLabel("[title_navbargroup_order]", "Order", "en"); $labelManager->addLabel("[formLabel_navbargroup_order]", "Enter the order of display for this group", "en"); // // NavBarLinks table // $labelManager->addLabel("[title_navbarlink_url]", "URL", "en"); $labelManager->addLabel("[formLabel_navbarlink_url]", "Enter the Url for this link", "en"); $labelManager->addLabel("[title_module_id]", "Module", "en");
$EmailTemplate->createNewEntry(); $EmailTemplate->clearValues(); } else { echo 'Skipping Tables ... <br>'; } // end if !skipTables // check to see if parameter 'skipLabel' was provided $skipLabel = isset($_REQUEST['skipLabel']); // if not, then add labels to DB ... if (!$skipLabel) { /* * Insert Labels in DB */ // Create Application Upload Series $labelManager = new MultilingualManager(); $labelManager->addSeries(moduleEmailTemplates::MULTILINGUAL_SERIES_KEY); // Create General Field labels for moduleEmailTemplates $labelManager->addPage(moduleEmailTemplates::MULTILINGUAL_PAGE_FIELDS); // // EmailTemplate table // $labelManager->addLabel("[title_template_id]", "TemplateID", "en"); $labelManager->addLabel("[title_app_id]", "App", "en"); $labelManager->addLabel("[title_template_key]", "Key", "en"); $labelManager->addLabel("[title_template_isactive]", "IsActive", "en"); $labelManager->addLabel("[title_label_key]", "LabelKey", "en"); /*[RAD_FIELDS_LABEL]*/ // Create TemplateAdminPage labels $labelManager->addPage(page_TemplateAdminPage::MULTILINGUAL_PAGE_KEY); /*[RAD_PAGE(TemplateAdminPage)_LABELS]*/ // Create EditTemplate labels