Example #1
0
 public function Step4(Vtiger_Request $request)
 {
     $viewer = new Vtiger_Viewer();
     $viewer->assign('LANG', $request->get('lang'));
     $viewer->setTemplateDir('install/tpl/');
     $viewer->assign('CURRENCIES', Install_Utils_Model::getCurrencyList());
     require_once 'modules/Users/UserTimeZonesArray.php';
     $timeZone = new UserTimeZones();
     $viewer->assign('TIMEZONES', $timeZone->userTimeZones());
     $defaultParameters = Install_Utils_Model::getDefaultPreInstallParameters();
     $viewer->assign('DB_HOSTNAME', $defaultParameters['db_hostname']);
     $viewer->assign('DB_USERNAME', $defaultParameters['db_username']);
     $viewer->assign('DB_PASSWORD', $defaultParameters['db_password']);
     $viewer->assign('DB_NAME', $defaultParameters['db_name']);
     $viewer->assign('ADMIN_NAME', $defaultParameters['admin_name']);
     $viewer->assign('ADMIN_LASTNAME', $defaultParameters['admin_lastname']);
     $viewer->assign('ADMIN_PASSWORD', $defaultParameters['admin_password']);
     $viewer->assign('ADMIN_EMAIL', $defaultParameters['admin_email']);
     echo $viewer->fetch('Step4.tpl');
 }
Example #2
0
 public function Step4(Vtiger_Request $request)
 {
     $viewer = $this->getViewer($request);
     $moduleName = $request->getModule();
     $viewer->assign('CURRENCIES', Install_Utils_Model::getCurrencyList());
     require_once 'modules/Users/UserTimeZonesArray.php';
     $timeZone = new UserTimeZones();
     $viewer->assign('TIMEZONES', $timeZone->userTimeZones());
     $defaultParameters = Install_Utils_Model::getDefaultPreInstallParameters();
     $viewer->assign('DB_HOSTNAME', $defaultParameters['db_hostname']);
     $viewer->assign('DB_USERNAME', $defaultParameters['db_username']);
     $viewer->assign('DB_PASSWORD', $defaultParameters['db_password']);
     $viewer->assign('DB_NAME', $defaultParameters['db_name']);
     $viewer->assign('ADMIN_NAME', $defaultParameters['admin_name']);
     $viewer->assign('ADMIN_LASTNAME', $defaultParameters['admin_lastname']);
     $viewer->assign('ADMIN_PASSWORD', $defaultParameters['admin_password']);
     $viewer->assign('ADMIN_EMAIL', $defaultParameters['admin_email']);
     $viewer->view('Step4.tpl', $moduleName);
 }
Example #3
0
<?php

/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
 * ("License"); You may not use this file except in compliance with the License
 * The Original Code is:  vtiger CRM Open Source
 * The Initial Developer of the Original Code is vtiger.
 * Portions created by vtiger are Copyright (C) vtiger.
 * All Rights Reserved.
*
 ********************************************************************************/
global $combo_strings;
$combo_strings = array('accounttype_dom' => array('' => '', 'Analyst' => 'Analyst', 'Competitor' => 'Competitor', 'Customer' => 'Customer', 'Integrator' => 'Integrator', 'Investor' => 'Investor', 'Partner' => 'Partner', 'Press' => 'Press', 'Prospect' => 'Prospect', 'Reseller' => 'Reseller', 'Other' => 'Other'), 'industry_dom' => array('' => '', 'Apparel' => 'Apparel', 'Banking' => 'Banking', 'Biotechnology' => 'Biotechnology', 'Chemicals' => 'Chemicals', 'Communications' => 'Communications', 'Construction' => 'Construction', 'Consulting' => 'Consulting', 'Education' => 'Education', 'Electronics' => 'Electronics', 'Energy' => 'Energy', 'Engineering' => 'Engineering', 'Entertainment' => 'Entertainment', 'Environmental' => 'Environmental', 'Finance' => 'Finance', 'Food & Beverage' => 'Food & Beverage', 'Government' => 'Government', 'Healthcare' => 'Healthcare', 'Hospitality' => 'Hospitality', 'Insurance' => 'Insurance', 'Machinery' => 'Machinery', 'Manufacturing' => 'Manufacturing', 'Media' => 'Media', 'Not For Profit' => 'Not For Profit', 'Recreation' => 'Recreation', 'Retail' => 'Retail', 'Shipping' => 'Shipping', 'Technology' => 'Technology', 'Telecommunications' => 'Telecommunications', 'Transportation' => 'Transportation', 'Utilities' => 'Utilities', 'Other' => 'Other'), 'leadsource_dom' => array('' => '', 'Cold Call' => 'Cold Call', 'Existing Customer' => 'Existing Customer', 'Self Generated' => 'Self Generated', 'Employee' => 'Employee', 'Partner' => 'Partner', 'Public Relations' => 'Public Relations', 'Direct Mail' => 'Direct Mail', 'Conference' => 'Conference', 'Trade Show' => 'Trade Show', 'Web Site' => 'Web Site', 'Word of mouth' => 'Word of mouth', 'Other' => 'Other'), 'leadstatus_dom' => array('' => '', 'Attempted to Contact' => 'Attempted to Contact', 'Cold' => 'Cold', 'Contact in Future' => 'Contact in Future', 'Contacted' => 'Contacted', 'Hot' => 'Hot', 'Junk Lead' => 'Junk Lead', 'Lost Lead' => 'Lost Lead', 'Not Contacted' => 'Not Contacted', 'Pre Qualified' => 'Pre Qualified', 'Qualified' => 'Qualified', 'Warm' => 'Warm'), 'rating_dom' => array('' => '', 'Acquired' => 'Acquired', 'Active' => 'Active', 'Market Failed' => 'Market Failed', 'Project Cancelled' => 'Project Cancelled', 'Shutdown' => 'Shutdown'), 'opportunity_type_dom' => array('' => '', 'Existing Business' => 'Existing Business', 'New Business' => 'New Business'), 'sales_stage_dom' => array('Prospecting' => 'Prospecting', 'Qualification' => 'Qualification', 'Needs Analysis' => 'Needs Analysis', 'Value Proposition' => 'Value Proposition', 'Id. Decision Makers' => 'Id. Decision Makers', 'Perception Analysis' => 'Perception Analysis', 'Proposal/Price Quote' => 'Proposal/Price Quote', 'Negotiation/Review' => 'Negotiation/Review', 'Closed Won' => 'Closed Won', 'Closed Lost' => 'Closed Lost'), 'salutationtype_dom' => array('' => '', 'Mr.' => 'Mr.', 'Ms.' => 'Ms.', 'Mrs.' => 'Mrs.', 'Dr.' => 'Dr.', 'Prof.' => 'Prof.'), 'eventstatus_dom' => array('Planned' => 'Planned', 'Held' => 'Held', 'Not Held' => 'Not Held'), 'taskstatus_dom' => array('Not Started' => 'Not Started', 'In Progress' => 'In Progress', 'Completed' => 'Completed', 'Pending Input' => 'Pending Input', 'Deferred' => 'Deferred', 'Planned' => 'Planned'), 'taskpriority_dom' => array('High' => 'High', 'Medium' => 'Medium', 'Low' => 'Low'), 'duration_minutes_dom' => array('00' => '00', '15' => '15', '30' => '30', '45' => '45'), 'productcategory_dom' => array('' => '', 'Hardware' => 'Hardware', 'Software' => 'Software', 'CRM Applications' => 'CRM Applications'), 'manufacturer_dom' => array('' => '', 'AltvetPet Inc.' => 'AltvetPet Inc.', 'LexPon Inc.' => 'LexPon Inc.', 'MetBeat Corp' => 'MetBeat Corp'), 'ticketcategories_dom' => array('Big Problem' => 'Big Problem', 'Small Problem' => 'Small Problem', 'Other Problem' => 'Other Problem'), 'ticketpriorities_dom' => array('Low' => 'Low', 'Normal' => 'Normal', 'High' => 'High', 'Urgent' => 'Urgent'), 'ticketseverities_dom' => array('Minor' => 'Minor', 'Major' => 'Major', 'Feature' => 'Feature', 'Critical' => 'Critical'), 'ticketstatus_dom' => array('Open' => 'Open', 'In Progress' => 'In Progress', 'Wait For Response' => 'Wait For Response', 'Closed' => 'Closed'), 'activitytype_dom' => array('Call' => 'Call', 'Meeting' => 'Meeting'), 'faqcategories_dom' => array('General' => 'General'), 'faqstatus_dom' => array('Draft' => 'Draft', 'Reviewed' => 'Reviewed', 'Published' => 'Published', 'Obsolete' => 'Obsolete'), 'currency_dom' => array('Rupees' => 'Rupees', 'Dollar' => 'Dollar', 'Euro' => 'Euro'), 'visibility_dom' => array('Private' => 'Private', 'Public' => 'Public'), 'usageunit_dom' => array('Box' => 'Box', 'Carton' => 'Carton', 'Dozen' => 'Dozen', 'Each' => 'Each', 'Hours' => 'Hours', 'Impressions' => 'Impressions', 'Lb' => 'Lb', 'M' => 'M', 'Pack' => 'Pack', 'Pages' => 'Pages', 'Pieces' => 'Pieces', 'Quantity' => 'Quantity', 'Reams' => 'Reams', 'Sheet' => 'Sheet', 'Spiral Binder' => 'Spiral Binder', 'Sq Ft' => 'Sq Ft'), 'glacct_dom' => array('300-Sales-Software' => '300-Sales-Software', '301-Sales-Hardware' => '301-Sales-Hardware', '302-Rental-Income' => '302-Rental-Income', '303-Interest-Income' => '303-Interest-Income', '304-Sales-Software-Support' => '304-Sales-Software-Support', '305-Sales Other' => '305-Sales Other', '306-Internet Sales' => '306-Internet Sales', '307-Service-Hardware Labor' => '307-Service-Hardware Labor', '308-Sales-Books' => '308-Sales-Books'), 'quotestage_dom' => array('Created' => 'Created', 'Delivered' => 'Delivered', 'Reviewed' => 'Reviewed', 'Accepted' => 'Accepted', 'Rejected' => 'Rejected'), 'carrier_dom' => array('FedEx' => 'FedEx', 'UPS' => 'UPS', 'USPS' => 'USPS', 'DHL' => 'DHL', 'BlueDart' => 'BlueDart'), 'taxclass_dom' => array('SalesTax' => 'SalesTax', 'Vat' => 'Vat'), 'recurringtype_dom' => array('' => '', 'Daily' => 'Daily', 'Weekly' => 'Weekly', 'Monthly' => 'Monthly', 'Yearly' => 'Yearly'), 'invoicestatus_dom' => array('AutoCreated' => 'AutoCreated', 'Created' => 'Created', 'Approved' => 'Approved', 'Sent' => 'Sent', 'Credit Invoice' => 'Credit Invoice', 'Paid' => 'Paid'), 'postatus_dom' => array('Created' => 'Created', 'Approved' => 'Approved', 'Delivered' => 'Delivered', 'Cancelled' => 'Cancelled', 'Received Shipment' => 'Received Shipment'), 'sostatus_dom' => array('Created' => 'Created', 'Approved' => 'Approved', 'Delivered' => 'Delivered', 'Cancelled' => 'Cancelled'), 'campaignstatus_dom' => array('' => '', 'Planning' => 'Planning', 'Active' => 'Active', 'Inactive' => 'Inactive', 'Completed' => 'Completed', 'Cancelled' => 'Cancelled'), 'campaigntype_dom' => array('' => '', 'Conference' => 'Conference', 'Webinar' => 'Webinar', 'Trade Show' => 'Trade Show', 'Public Relations' => 'Public Relations', 'Partners' => 'Partners', 'Referral Program' => 'Referral Program', 'Advertisement' => 'Advertisement', 'Banner Ads' => 'Banner Ads', 'Direct Mail' => 'Direct Mail', 'Email' => 'Email', 'Telemarketing' => 'Telemarketing', 'Others' => 'Others'), 'expectedresponse_dom' => array('' => '', 'Excellent' => 'Excellent', 'Good' => 'Good', 'Average' => 'Average', 'Poor' => 'Poor'), 'status_dom' => array('Active' => 'Active', 'Inactive' => 'Inactive'), 'activity_view_dom' => array('Today' => 'Today', 'This Week' => 'This Week', 'This Month' => 'This Month', 'This Year' => 'This Year'), 'lead_view_dom' => array('Today' => 'Today', 'Last 2 Days' => 'Last 2 Days', 'Last Week' => 'Last Week'), 'date_format_dom' => array('dd-mm-yyyy' => 'dd-mm-yyyy', 'mm-dd-yyyy' => 'mm-dd-yyyy', 'yyyy-mm-dd' => 'yyyy-mm-dd'), 'reminder_interval_dom' => array('None' => 'None', '1 Minute' => '1 Minute', '5 Minutes' => '5 Minutes', '15 Minutes' => '15 Minutes', '30 Minutes' => '30 Minutes', '45 Minutes' => '45 Minutes', '1 Hour' => '1 Hour', '1 Day' => '1 Day'), 'recurring_frequency_dom' => array('--None--' => '--None--', 'Daily' => 'Daily', 'Weekly' => 'Weekly', 'Monthly' => 'Monthly', 'Quarterly' => 'Quarterly', 'Yearly' => 'Yearly'), 'payment_duration_dom' => array('Net 30 days' => 'Net 30 days', 'Net 45 days' => 'Net 45 days', 'Net 60 days' => 'Net 60 days'), 'campaignrelstatus_dom' => array('--None--' => '--None--', 'Contacted - Successful' => 'Contacted - Successful', 'Contacted - Unsuccessful' => 'Contacted - Unsuccessful', 'Contacted - Never Contact Again' => 'Contacted - Never Contact Again'), 'currency_grouping_pattern_dom' => array('123,456,789' => '123,456,789', '123456789' => '123456789', '123456,789' => '123456,789', '12,34,56,789' => '12,34,56,789'), 'currency_decimal_separator_dom' => array("." => ".", "," => ",", "'" => "'", " " => " ", "\$" => "\$"), 'currency_grouping_separator_dom' => array("." => ".", "," => ",", "'" => "'", " " => " ", "\$" => "\$"), 'currency_symbol_placement_dom' => array("\$1.0" => "\$1.0", "1.0\$" => "1.0\$"));
require_once 'modules/Users/UserTimeZonesArray.php';
$usertimezonesClass = new UserTimeZones();
$arrayOfSupportedTimeZones = $usertimezonesClass->userTimeZones();
$combo_strings['time_zone_dom'] = array_combine($arrayOfSupportedTimeZones, $arrayOfSupportedTimeZones);
?>