当前位置: 首页>>代码示例>>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;未经允许,请勿转载。