當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Wizard::onSetupPage方法代碼示例

本文整理匯總了PHP中Wizard::onSetupPage方法的典型用法代碼示例。如果您正苦於以下問題:PHP Wizard::onSetupPage方法的具體用法?PHP Wizard::onSetupPage怎麽用?PHP Wizard::onSetupPage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Wizard的用法示例。


在下文中一共展示了Wizard::onSetupPage方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: onSetupPage

 function onSetupPage($homepageUrl)
 {
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     $showPage = true;
     return $showPage;
 }
開發者ID:rjsmelo,項目名稱:tiki,代碼行數:7,代碼來源:upgrade_permissions_and_logs.php

示例2: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $smarty, $prefs, $tikilib;
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     // find thumbnail if there is one
     $a_style = $prefs['site_style'];
     // just changed theme menu, so refill options
     if (isset($_REQUEST['style']) && $_REQUEST['style'] != '') {
         $a_style = $_REQUEST['style'];
     }
     $thumbfile = $this->get_thumbnail_file($a_style, $prefs['site_style_option']);
     if (empty($thumbfile)) {
         $thumbfile = $this->get_thumbnail_file($a_style);
     }
     if (empty($thumbfile)) {
         $thumbfile = 'img/trans.png';
     }
     if (!empty($thumbfile)) {
         $smarty->assign('thumbfile', $thumbfile);
     }
     $styles = $tikilib->list_styles();
     $smarty->assign_by_ref('styles', $styles);
     $smarty->assign('a_style', $a_style);
     $smarty->assign('style_options', $tikilib->list_style_options($a_style));
     $this->setupThumbnailScript($styles);
     // Assign the page tempalte
     $wizardTemplate = 'wizard/admin_look_and_feel.tpl';
     $smarty->assign('wizardBody', $wizardTemplate);
     return true;
 }
開發者ID:jkimdon,項目名稱:cohomeals,代碼行數:31,代碼來源:admin_look_and_feel.php

示例3: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $smarty, $prefs;
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     // Assign the page template
     $wizardTemplate = 'wizard/upgrade_ui.tpl';
     $smarty->assign('wizardBody', $wizardTemplate);
     $showPage = true;
     // Show if any more specification is needed
     // ElFinder
     if ($prefs['fgal_elfinder_feature'] === 'y') {
         $smarty->assign('promptElFinder', 'y');
         // Determine the current filegal default view
         $defView = $prefs['fgal_default_view'];
         if (isset($defView)) {
             if ($defView == 'finder') {
                 $smarty->assign('useElFinderAsDefault', true);
             } else {
                 $smarty->assign('useElFinderAsDefault', false);
             }
         }
     }
     return $showPage;
 }
開發者ID:jkimdon,項目名稱:cohomeals,代碼行數:25,代碼來源:upgrade_ui.php

示例4: onSetupPage

 public function onSetupPage($homepageUrl)
 {
     global $prefs;
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     return true;
 }
開發者ID:rjsmelo,項目名稱:tiki,代碼行數:7,代碼來源:admin_search.php

示例5: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $prefs;
     $smarty = TikiLib::lib('smarty');
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     $showPage = false;
     // Show if any more specification is needed
     // ElFinder
     if ($prefs['fgal_elfinder_feature'] === 'y') {
         $showPage = true;
         $smarty->assign('promptElFinder', 'y');
         // Determine the current filegal default view
         $defView = $prefs['fgal_default_view'];
         if (isset($defView)) {
             if ($defView == 'finder') {
                 $smarty->assign('useElFinderAsDefault', true);
             } else {
                 $smarty->assign('useElFinderAsDefault', false);
             }
         }
     }
     // File Gallery
     if ($prefs['fgal_use_db'] !== 'y') {
         $showPage = true;
         $smarty->assign('promptFileGalleryStorage', 'y');
     }
     // Attachments and not in the file gallery
     if ($prefs['feature_wiki_attachments'] === 'y' && $prefs['feature_use_fgal_for_wiki_attachments'] !== 'y') {
         $showPage = true;
         $smarty->assign('promptAttachmentStorage', 'y');
     }
     return $showPage;
 }
開發者ID:linuxwhy,項目名稱:tiki-1,代碼行數:34,代碼來源:admin_files_storage.php

示例6: onSetupPage

 function onSetupPage($homepageUrl)
 {
     $smarty = TikiLib::lib('smarty');
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     return true;
 }
開發者ID:rjsmelo,項目名稱:tiki,代碼行數:7,代碼來源:user_dummy3.php

示例7: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $prefs;
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     $showPage = true;
     // Show if any more specification is needed
     return $showPage;
 }
開發者ID:rjsmelo,項目名稱:tiki,代碼行數:9,代碼來源:upgrade_new_in_13.php

示例8: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $prefs;
     $smarty = TikiLib::lib('smarty');
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     $showPage = true;
     return $showPage;
 }
開發者ID:rjsmelo,項目名稱:tiki,代碼行數:9,代碼來源:upgrade_send_feedback.php

示例9: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $prefs, $TWV;
     $smarty = TikiLib::lib('smarty');
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     $smarty->assign('tikiMajorVersion', substr($TWV->version, 0, 2));
     return true;
 }
開發者ID:rjsmelo,項目名稱:tiki,代碼行數:9,代碼來源:profiles_demo_interesting_use_cases.php

示例10: onSetupPage

 function onSetupPage($homepageUrl)
 {
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     if (!$this->isVisible()) {
         return false;
     }
     return true;
 }
開發者ID:rjsmelo,項目名稱:tiki,代碼行數:9,代碼來源:admin_auto_toc.php

示例11: onSetupPage

 public function onSetupPage($homepageUrl)
 {
     global $smarty;
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     // Assign the page template
     $wizardTemplate = 'wizard/upgrade_wizard_completed.tpl';
     $smarty->assign('wizardBody', $wizardTemplate);
     return true;
 }
開發者ID:jkimdon,項目名稱:cohomeals,代碼行數:10,代碼來源:upgrade_wizard_completed.php

示例12: onSetupPage

 public function onSetupPage($homepageUrl)
 {
     global $smarty, $prefs;
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     // Assign the page temaplte
     $wizardTemplate = 'wizard/admin_advanced.tpl';
     $smarty->assign('wizardBody', $wizardTemplate);
     return true;
 }
開發者ID:jkimdon,項目名稱:cohomeals,代碼行數:10,代碼來源:admin_advanced.php

示例13: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $smarty;
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     // Assign the page temaplte
     $wizardTemplate = 'wizard/user_dummy2.tpl';
     $smarty->assign('wizardBody', $wizardTemplate);
     return true;
 }
開發者ID:jkimdon,項目名稱:cohomeals,代碼行數:10,代碼來源:user_dummy2.php

示例14: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $smarty, $prefs;
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     $showPage = true;
     // Assign the page tempalte
     $wizardTemplate = 'wizard/admin_language.tpl';
     $smarty->assign('wizardBody', $wizardTemplate);
     return $showPage;
 }
開發者ID:jkimdon,項目名稱:cohomeals,代碼行數:11,代碼來源:admin_language.php

示例15: onSetupPage

 function onSetupPage($homepageUrl)
 {
     global $prefs;
     $smarty = TikiLib::lib('smarty');
     // Run the parent first
     parent::onSetupPage($homepageUrl);
     $showPage = true;
     $editorType = isset($prefs['feature_wysiwyg']) && $prefs['feature_wysiwyg'] === 'y' ? 'wysiwyg' : 'text';
     $smarty->assign('editorType', $editorType);
     return $showPage;
 }
開發者ID:rjsmelo,項目名稱:tiki,代碼行數:11,代碼來源:admin_editor_type.php


注:本文中的Wizard::onSetupPage方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。