コード例 #1
0
    }
} 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
コード例 #2
0
    $ActiveRule->dropTable();
    $ActiveRule->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_reg::MULTILINGUAL_SERIES_KEY);
    // Create General Field labels for modulecim_reg
    $labelManager->addPage(modulecim_reg::MULTILINGUAL_PAGE_FIELDS);
    $labelManager->addLabel("[Continue]", "Continue", "en");
    //
    // Event table
    //
    $labelManager->addLabel("[title_ministry_id]", "Ministry", "en");
    $labelManager->addLabel("[title_event_deposit]", "Deposit", "en");
    $labelManager->addLabel("[title_event_contactEmail]", "Contact E-mail", "en");
    $labelManager->addLabel("[title_event_pricingText]", "Price Details", "en");
    $labelManager->addLabel("[title_event_regEnd]", "Registration Ends", "en");
    $labelManager->addLabel("[formLabel_ministry_id]", "Ministry", "en");
    $labelManager->addLabel("[formLabel_event_basePrice]", "Basic Event Price", "en");
    $labelManager->addLabel("[formLabel_event_deposit]", "Deposit", "en");
コード例 #3
0
    $Ministry->dropTable();
    $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");
    //
コード例 #4
0
    $Page->dropTable();
    $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");
コード例 #5
0
    $StatDataType->dropTable();
    $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" );
コード例 #6
0
    $PermissionsSuperAdmin->dropTable();
    $PermissionsSuperAdmin->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_sch::MULTILINGUAL_SERIES_KEY);
    // Create General Field labels for modulecim_sch
    $labelManager->addPage(modulecim_sch::MULTILINGUAL_PAGE_FIELDS);
    //
    // CampusGroup table
    //
    $labelManager->addLabel("[title_campusgroup_id]", "Campus Group ID", "en");
    $labelManager->addLabel("[formLabel_campusgroup_id]", "Campus Group ID", "en");
    $labelManager->addLabel("[title_group_id]", "Group", "en");
    $labelManager->addLabel("[formLabel_group_id]", "Group", "en");
    $labelManager->addLabel("[title_campus_id]", "Campus", "en");
    $labelManager->addLabel("[formLabel_campus_id]", "Campus", "en");
    //
    // Group table
    //
コード例 #7
0
    $Ticket->dropTable();
    $Ticket->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_spt::MULTILINGUAL_SERIES_KEY);
    // Create General Field labels for modulecim_spt
    $labelManager->addPage(modulecim_spt::MULTILINGUAL_PAGE_FIELDS);
    //
    // Ticket table
    //
    $labelManager->addLabel("[formLabel_ticket_id]", "Ticket ID", "en");
    $labelManager->addLabel("[formLabel_viewer_id]", "Viewer ID", "en");
    $labelManager->addLabel("[formLabel_ticket_ticket]", "Ticket", "en");
    $labelManager->addLabel("[formLabel_ticket_expiry]", "Expiry Time", "en");
    /*[RAD_FIELDS_LABEL]*/
    // Create CommonDisplay labels
    $labelManager->addPage(CommonDisplay::MULTILINGUAL_PAGE_KEY);
    //
    // Use this section to create your common page label information:
コード例 #8
0
    $NumTickets->dropTable();
    $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");
コード例 #9
0
// 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(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);
コード例 #10
0
    if ($files1[$i] !== "." && $files1[$i] !== ".." && is_dir($dir . $files1[$i])) {
        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");
コード例 #11
0
    $Year->dropTable();
    $Year->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_stats::MULTILINGUAL_SERIES_KEY);
    // Create General Field labels for modulecim_stats
    $labelManager->addPage(modulecim_stats::MULTILINGUAL_PAGE_FIELDS);
    //
    // WeeklyReport table
    //
    $labelManager->addLabel("[title_weeklyReport_1on1SpConv]", "# 1-1 Spiritual Conversations", "en");
    $labelManager->addLabel("[formLabel_weeklyReport_1on1SpConv]", "# 1-1 Spiritual Conversations", "en");
    $labelManager->addLabel("[title_weeklyReport_1on1SpConvStd]", "# 1-1 Spiritual Conversations (By Disciples)", "en");
    $labelManager->addLabel("[formLabel_weeklyReport_1on1SpConvStd]", "# 1-1 Spiritual Conversations (By Disciples)", "en");
    $labelManager->addLabel("[title_weeklyReport_1on1GosPres]", "# 1-1 Gospel Presentations", "en");
    $labelManager->addLabel("[formLabel_weeklyReport_1on1GosPres]", "# 1-1 Gospel Presentations", "en");
    $labelManager->addLabel("[title_weeklyReport_1on1GosPresStd]", "# 1-1 Gospel Presentations (By Disciples)", "en");
    $labelManager->addLabel("[formLabel_weeklyReport_1on1GosPresStd]", "# 1-1 Gospel Presentations (By Disciples)", "en");
    $labelManager->addLabel("[title_weeklyReport_1on1HsPres]", "# 1-1 Holy Spirit Presentations", "en");
コード例 #12
0
    //    $NavBarXlate->dropTable();
    //    $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");
コード例 #13
0
    $EmailTemplate->setLabelKey('[adjustment_request]');
    $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]*/
コード例 #14
0
// 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(modulecim_home::MULTILINGUAL_SERIES_KEY);
    // Create General Field labels for modulecim_home
    $labelManager->addPage(modulecim_home::MULTILINGUAL_PAGE_FIELDS);
    /*[RAD_FIELDS_LABEL]*/
    // Create CommonDisplay labels
    $labelManager->addPage(CommonDisplay::MULTILINGUAL_PAGE_KEY);
    $labelManager->addLabel("[General]", "", "en");
    /*
        //
        // Use this section to create your common page label information:
        //
        $labelManager->addLabel( "[Title]", "Title", "en" );
        $labelManager->addLabel( "[Instr]", "Instructions", "en" );
    */
    // Create HomePage labels