function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "corp_services"; parent::InitStep(); $templateID = $wizard->GetVar("templateID"); $themeID = $wizard->GetVar($templateID."_themeID"); $siteLogo = $this->GetFileContentImgSrc(WIZARD_SITE_PATH."include/company_name.php", "/bitrix/wizards/bitrix/corp_services/site/templates/corp_services/themes/".$themeID."/lang/".LANGUAGE_ID."/logo.gif"); if (!file_exists(WIZARD_SITE_PATH."include/logo.gif")) $siteLogo = "/bitrix/wizards/bitrix/corp_services/site/templates/corp_services/themes/".$themeID."/lang/".LANGUAGE_ID."/logo.gif"; $siteBanner = $this->GetFileContentImgSrc(WIZARD_SITE_PATH."include/banner.php", "/bitrix/wizards/bitrix/corp_services/site/templates/corp_services/images/banner.png"); $wizard->SetDefaultVars( Array( "siteLogo" => $siteLogo, "siteBanner" => $siteBanner, "siteBannerText" => $this->GetFileContent(WIZARD_SITE_PATH."include/banner_text.php", GetMessage("WIZ_BANNER_TEXT_DEFAULT")), "siteSlogan" => $this->GetFileContent(WIZARD_SITE_PATH."include/company_slogan.php", GetMessage("WIZ_COMPANY_SLOGAN_DEF")), "siteCopy" => $this->GetFileContent(WIZARD_SITE_PATH."include/copyright.php", GetMessage("WIZ_COMPANY_COPY_DEF")), "siteMetaDescription" => GetMessage("wiz_site_desc"), "siteMetaKeywords" => GetMessage("wiz_keywords"), ) ); }
function InitStep() { $this->SetStepID("site_settings"); $wizard =& $this->GetWizard(); $wizard->solutionName = "webfly_santech"; parent::InitStep(); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "infoportal"; parent::InitStep(); $wizard->SetDefaultVars(array("siteName" => $this->GetFileContent(WIZARD_SITE_PATH . "include/infoportal_name.php", GetMessage("WIZ_PORTAL_NAME_DEF")), "siteCopy" => $this->GetFileContent(WIZARD_SITE_PATH . "include/copyright.php", GetMessage("WIZ_PORTAL_COPY_DEF")), "siteMetaDescription" => GetMessage("wiz_site_desc"), "siteMetaKeywords" => GetMessage("wiz_keywords"))); }
function InitStep() { $this->SetStepID("site_settings"); $wizard =& $this->GetWizard(); $wizard->solutionName = "webfly_santech"; parent::InitStep(); $templateID = $wizard->GetVar("templateID"); $themeID = $wizard->GetVar($templateID . "_themeID"); $wizard->SetDefaultVars(array("siteCopy" => $this->GetFileContent(WIZARD_SITE_PATH . "include/copyright.php", GetMessage("WF_COMPANY_COPY")), "siteMetaDescription" => GetMessage("WF_SITE_DESC"), "siteMetaKeywords" => GetMessage("WF_SITE_KEYWORDS"))); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "community"; parent::InitStep(); $this->SetTitle(GetMessage("wiz_settings")); $this->SetNextStep("data_install"); $this->SetNextCaption(GetMessage("wiz_install")); $siteID = $wizard->GetVar("siteID"); $siteLogo = $this->GetFileContentImgSrc(WIZARD_SITE_PATH . "include/company_logo.php", "/bitrix/wizards/bitrix/demo_community/site/templates/taby/images/logo.jpg"); $wizard->SetDefaultVars(array("siteName" => $this->GetFileContent(WIZARD_SITE_PATH . "include/company_name.php", GetMessage("wiz_name")), "siteDescription" => $this->GetFileContent(WIZARD_SITE_PATH . "include/company_description.php", GetMessage("wiz_slogan")), "siteLogo" => $siteLogo, "siteMetaDescription" => GetMessage("wiz_slogan"), "siteMetaKeywords" => GetMessage("wiz_keywords"))); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "stroika_samovar"; parent::InitStep(); $templateID = $wizard->GetVar("templateID"); $themeID = $wizard->GetVar($templateID . "_themeID"); $siteLogo = $this->GetFileContentImgSrc(WIZARD_SITE_PATH . "include/company_name.php", "/bitrix/wizards/stroika_samovar/site/templates/stroika/themes/" . $themeID . "/lang/" . LANGUAGE_ID . "/logo.png"); if (!file_exists(WIZARD_SITE_PATH . "include/logo.png")) { $siteLogo = "/bitrix/wizards/webstudiosamovar/stroika/site/templates/stroika/themes/" . $themeID . "/lang/" . LANGUAGE_ID . "/logo.png"; } $wizard->SetDefaultVars(array("siteLogo" => $siteLogo, "siteNumber" => $this->GetFileContent(WIZARD_SITE_PATH . "include/number.php", GetMessage("WIZ_COMPANY_NUMBER_DEF")), "siteAddress" => $this->GetFileContent(WIZARD_SITE_PATH . "include/address.php", GetMessage("WIZ_COMPANY_ADDRESS_DEF")), "siteMetaDescription" => GetMessage("wiz_site_desc"), "siteMetaKeywords" => GetMessage("wiz_keywords"))); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "corp_furniture"; parent::InitStep(); $templateID = $wizard->GetVar("templateID"); $themeID = $wizard->GetVar($templateID . "_themeID"); $siteLogo = $this->GetFileContentImgSrc(WIZARD_SITE_PATH . "include/company_name.php", "/bitrix/wizards/bitrix/corp_furniture/site/templates/furniture/themes/" . $themeID . "/lang/" . LANGUAGE_ID . "/logo.gif"); if (!file_exists(WIZARD_SITE_PATH . "include/logo.gif")) { $siteLogo = "/bitrix/wizards/bitrix/corp_furniture/site/templates/furniture/themes/" . $themeID . "/lang/" . LANGUAGE_ID . "/logo.gif"; } $wizard->SetDefaultVars(array("siteLogo" => $siteLogo, "siteSlogan" => $this->GetFileContent(WIZARD_SITE_PATH . "include/company_slogan.php", GetMessage("WIZ_COMPANY_SLOGAN_DEF")), "siteCopy" => $this->GetFileContent(WIZARD_SITE_PATH . "include/copyright.php", GetMessage("WIZ_COMPANY_COPY_DEF")), "siteMetaDescription" => GetMessage("wiz_site_desc"), "siteMetaKeywords" => GetMessage("wiz_keywords"))); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "testtemplate"; parent::InitStep(); $templateID = $wizard->GetVar("templateID"); $themeID = $wizard->GetVar($templateID."_themeID"); $siteLogo = $this->GetFileContentImgSrc(WIZARD_SITE_PATH."include/company_name.php", "/bitrix/wizards/studiofact/custom/site/templates/testtemplate/themes/".$themeID."/lang/".LANGUAGE_ID."/logo.gif"); $wizard->SetDefaultVars( Array( "siteLogo" => $siteLogo, "siteSlogan" => $this->GetFileContent(WIZARD_SITE_PATH."include/company_slogan.php", GetMessage("WIZ_COMPANY_SLOGAN_DEF")), "siteCopy" => $this->GetFileContent(WIZARD_SITE_PATH."include/copyright.php", GetMessage("WIZ_COMPANY_COPY_DEF")), ) ); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "personal"; parent::InitStep(); /*$this->SetStepID("site_settings"); $this->SetTitle(GetMessage("wiz_settings")); $this->SetSubTitle(GetMessage("wiz_settings")); $this->SetNextStep("data_install"); $this->SetPrevStep("select_theme"); $this->SetNextCaption(GetMessage("wiz_install")); $this->SetPrevCaption(GetMessage("PREVIOUS_BUTTON")); */ $this->SetTitle(GetMessage("wiz_settings")); $this->SetNextStep("data_install"); $this->SetNextCaption(GetMessage("wiz_install")); $siteID = $wizard->GetVar("siteID"); $wizard->SetDefaultVars(array("siteName" => COption::GetOptionString("main", "site_personal_name", GetMessage("wiz_name"), $wizard->GetVar("siteID")), "copyright" => COption::GetOptionString("main", "site_copyright", GetMessage("wiz_copyright"), $wizard->GetVar("siteID")), "installDemoData" => COption::GetOptionString("main", "wizard_demo_data", "N"))); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "youstore"; parent::InitStep(); $this->SetNextCaption(GetMessage("NEXT_BUTTON")); $this->SetTitle(GetMessage("WIZ_STEP_SITE_SET")); $siteID = $wizard->GetVar("siteID"); if (COption::GetOptionString("youstore", "wizard_installed", "N", $siteID) == "Y" && !WIZARD_INSTALL_DEMO_DATA) { $this->SetNextStep("data_install"); } else { $this->SetNextStep("catalog_settings"); } /* $arSocNetsValues = array(); if ($wizard->GetVar("templateID") == "youstore") { $arSocNetsValues["facebook"] = COption::GetOptionString("youstore", "shopFacebook", GetMessage("WIZ_SHOP_FACEBOOK_DEF"), $siteID); $arSocNetsValues["twitter"] = COption::GetOptionString("youstore", "shopTwitter", GetMessage("WIZ_SHOP_TWITTER_DEF"), $siteID); $arSocNetsValues["vk"] = COption::GetOptionString("youstore", "shopVk", GetMessage("WIZ_SHOP_VK_DEF"), $siteID); $arSocNetsValues["google"] = COption::GetOptionString("youstore", "shopGooglePlus", GetMessage("WIZ_SHOP_GOOGLE_PLUS_DEF"), $siteID); } else { $arSocNets = array("facebook"=>"WIZ_SHOP_FACEBOOK_DEF", "twitter"=>"WIZ_SHOP_TWITTER_DEF", "vk"=>"WIZ_SHOP_VK_DEF", "google"=>"WIZ_SHOP_GOOGLE_PLUS_DEF"); foreach($arSocNets as $includeFile=>$messCode) { $arSocNetsValues[$includeFile] = ""; $link = $this->GetFileContent(WIZARD_SITE_PATH."include/socnet_".$includeFile.".php", GetMessage($messCode)); if ($link == GetMessage($messCode)) $arSocNetsValues[$includeFile] = $link; else { preg_match("/\".*\"/", $link, $match); if ($match[0]) $arSocNetsValues[$includeFile] = str_replace('"', '', $match[0]); } } } */ $wizard->SetDefaultVars(array("siteName" => $this->GetFileContent(WIZARD_SITE_PATH . "include/company_name.php", GetMessage("WIZ_COMPANY_NAME_DEF")), "siteCopy" => $this->GetFileContent(WIZARD_SITE_PATH . "include/copyright.php", GetMessage("WIZ_COMPANY_COPY_DEF")), "shopEmail" => COption::GetOptionString("youstore", "shopEmail", "sale@" . $_SERVER["SERVER_NAME"], $siteID), "siteMetaDescription" => GetMessage("wiz_site_desc"), "siteMetaKeywords" => GetMessage("wiz_keywords"))); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "eshop"; parent::InitStep(); $this->SetNextCaption(GetMessage("NEXT_BUTTON")); $this->SetTitle(GetMessage("WIZ_STEP_SITE_SET")); $siteID = $wizard->GetVar("siteID"); $isWizardInstalled = COption::GetOptionString("eshop", "wizard_installed", "N", $siteID) == "Y"; if (COption::GetOptionString("eshop", "wizard_installed", "N", $siteID) == "Y" && !WIZARD_INSTALL_DEMO_DATA) { $this->SetNextStep("data_install"); } else { $this->SetNextStep("catalog_settings"); } $templateID = $wizard->GetVar("templateID"); $themeID = $wizard->GetVar($templateID . "_themeID"); $wizard->SetDefaultVars(array("siteLogo" => file_exists(WIZARD_SITE_PATH . "include/logo.png") ? WIZARD_SITE_DIR . "include/logo.png" : ($isWizardInstalled ? "" : "/bitrix/wizards/bitrix/eshop/site/templates/eshop_bootstrap/themes/" . $themeID . "/images/logo.png"), "siteLogoRetina" => file_exists(WIZARD_SITE_PATH . "include/logo_retina.png") ? WIZARD_SITE_DIR . "include/logo_retina.png" : ($isWizardInstalled ? "" : "/bitrix/wizards/bitrix/eshop/site/templates/eshop_bootstrap/themes/" . $themeID . "/images/logo_retina.png"), "siteLogoMobile" => file_exists(WIZARD_SITE_PATH . "include/logo_mobile.png") ? WIZARD_SITE_DIR . "include/logo_mobile.png" : ($isWizardInstalled ? "" : "/bitrix/wizards/bitrix/eshop/site/templates/eshop_bootstrap/themes/" . $themeID . "/images/logo_mobile.png"), "siteLogoMobileRetina" => file_exists(WIZARD_SITE_PATH . "include/logo_mobile_retina.png") ? WIZARD_SITE_DIR . "include/logo_mobile_retina.png" : ($isWizardInstalled ? "" : "/bitrix/wizards/bitrix/eshop/site/templates/eshop_bootstrap/themes/" . $themeID . "/images/logo_mobile_retina.png"))); $wizard->SetDefaultVars(array("siteName" => $this->GetFileContent(WIZARD_SITE_PATH . "include/company_name.php", GetMessage("WIZ_COMPANY_NAME_DEF")), "siteSchedule" => $this->GetFileContent(WIZARD_SITE_PATH . "include/schedule.php", GetMessage("WIZ_COMPANY_SCHEDULE_DEF")), "siteTelephone" => $this->GetFileContent(WIZARD_SITE_PATH . "include/telephone.php", GetMessage("WIZ_COMPANY_TELEPHONE_DEF")), "siteCopy" => $this->GetFileContent(WIZARD_SITE_PATH . "include/copyright.php", GetMessage("WIZ_COMPANY_COPY_DEF")), "shopEmail" => COption::GetOptionString("eshop", "shopEmail", "sale@" . $_SERVER["SERVER_NAME"], $siteID), "siteMetaDescription" => GetMessage("wiz_site_desc"), "siteMetaKeywords" => GetMessage("wiz_keywords"), "installEshopApp" => COption::GetOptionString("eshop", "installEshopApp", "Y", $siteID))); }
function InitStep() { $wizard =& $this->GetWizard(); $wizard->solutionName = "eshop"; parent::InitStep(); $this->SetNextCaption(GetMessage("NEXT_BUTTON")); $this->SetTitle(GetMessage("WIZ_STEP_SITE_SET")); $siteID = $wizard->GetVar("siteID"); if (COption::GetOptionString("eshop", "wizard_installed", "N", $siteID) == "Y" && !WIZARD_INSTALL_DEMO_DATA) { $this->SetNextStep("data_install"); } else { $this->SetNextStep("catalog_settings"); } $templateID = $wizard->GetVar("templateID"); $wizard->SetDefaultVars(array("siteNameSet" => true)); /*if($wizard->GetVar('siteLogoSet', true)){ $themeID = $wizard->GetVar($templateID."_themeID"); $siteLogo = $this->GetFileContentImgSrc(WIZARD_SITE_PATH."include/company_logo.php", "/bitrix/wizards/bitrix/eshop/site/templates/store_light/themes/".$themeID."/lang/".LANGUAGE_ID."/logo.jpg"); if (!file_exists(WIZARD_SITE_PATH."include/logo.jpg")) $siteLogo = "/bitrix/wizards/bitrix/eshop/site/templates/store_light/themes/".$themeID."/lang/".LANGUAGE_ID."/logo.jpg"; $wizard->SetDefaultVars(Array("siteLogo" => $siteLogo)); } */ $wizard->SetDefaultVars(array("siteName" => $this->GetFileContent(WIZARD_SITE_PATH . "include/company_name.php", GetMessage("WIZ_COMPANY_NAME_DEF")), "siteSchedule" => $this->GetFileContent(WIZARD_SITE_PATH . "include/schedule.php", GetMessage("WIZ_COMPANY_SCHEDULE_DEF")), "siteTelephone" => $this->GetFileContent(WIZARD_SITE_PATH . "include/telephone.php", GetMessage("WIZ_COMPANY_TELEPHONE_DEF")), "siteCopy" => $this->GetFileContent(WIZARD_SITE_PATH . "include/copyright.php", GetMessage("WIZ_COMPANY_COPY_DEF")), "shopEmail" => COption::GetOptionString("eshop", "shopEmail", "sale@" . $_SERVER["SERVER_NAME"], $siteID), "siteMetaDescription" => GetMessage("wiz_site_desc"), "siteMetaKeywords" => GetMessage("wiz_keywords"), "shopFacebook" => COption::GetOptionString("eshop", "shopFacebook", GetMessage("WIZ_SHOP_FACEBOOK_DEF"), $siteID), "shopTwitter" => COption::GetOptionString("eshop", "shopTwitter", GetMessage("WIZ_SHOP_TWITTER_DEF"), $siteID), "shopVk" => COption::GetOptionString("eshop", "shopVk", GetMessage("WIZ_SHOP_VK_DEF"), $siteID), "shopGooglePlus" => COption::GetOptionString("eshop", "shopGooglePlus", GetMessage("WIZ_SHOP_GOOGLE_PLUS_DEF"), $siteID), "installEshopApp" => COption::GetOptionString("eshop", "installEshopApp", "Y", $siteID))); }