当前位置: 首页>>代码示例>>PHP>>正文


PHP GWF_Website::addJavascript方法代码示例

本文整理汇总了PHP中GWF_Website::addJavascript方法的典型用法代码示例。如果您正苦于以下问题:PHP GWF_Website::addJavascript方法的具体用法?PHP GWF_Website::addJavascript怎么用?PHP GWF_Website::addJavascript使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GWF_Website的用法示例。


在下文中一共展示了GWF_Website::addJavascript方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: execute

 public function execute()
 {
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/thumbnails.js');
     GWF_Website::addJavascriptOnload('konzInitPresse();');
     $this->module->setNextHREF(GWF_WEB_ROOT . 'hoehrproben.html');
     return $this->templatePresse();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:7,代码来源:Presse.php

示例2: execute

 public function execute()
 {
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js');
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js');
     GWF_Website::addJavascriptOnload('initGhostwriter();');
     $this->module->setNextHREF(GWF_WEB_ROOT . 'presseberichte.html');
     return $this->templateEnsemble();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:8,代码来源:Ensemble.php

示例3: execute

 public function execute()
 {
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js');
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js');
     GWF_Website::addJavascriptOnload('initGhostwriter();');
     $this->module->setNextHREF(GWF_WEB_ROOT . 'kontakt.html');
     return $this->templateExklusiv();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:8,代码来源:Exklusiv.php

示例4: execute

 public function execute()
 {
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js');
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js');
     GWF_Website::addJavascriptOnload('initGhostwriter(); initAboutSlideshow();');
     $this->module->setNextHREF(GWF_WEB_ROOT . 'biography.html');
     return $this->templateAbout();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:8,代码来源:AboutMelanie.php

示例5: execute

 public function execute()
 {
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js');
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js');
     GWF_Website::addJavascriptOnload('initRepertoireSlideshow(); initGhostwriter();');
     $this->module->setNextHREF(GWF_WEB_ROOT . 'arrangements.html');
     return $this->templateRepertoire();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:8,代码来源:Repertoire.php

示例6: onStartup

 public function onStartup()
 {
     $this->onLoadLanguage();
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'tpl/konz/js/konzert.js?v=5');
     GWF_Website::addJavascriptOnload('initKonzert();');
     GWF_Website::setMetaTags($this->lang('meta_tags'));
     GWF_Website::setMetaDescr($this->lang('meta_descr'));
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:8,代码来源:Module_Konzert.php

示例7: execute

 public function execute()
 {
     GWF_Module::loadModuleDB('Votes')->onInclude();
     if (false !== ($error = $this->sanitize())) {
         return $error;
     }
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Links/gwf_links.js');
     return $this->overview();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:9,代码来源:Overview.php

示例8: execute

 public function execute()
 {
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/color.js');
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/jq/ghostwriter.js');
     GWF_Website::addJavascriptOnload('initGhostwriter();');
     GWF_Website::setPageTitle($this->module->lang('page_title'));
     $this->module->setNextHREF(GWF_WEB_ROOT . 'melanie_gobbo.html');
     return $this->templateIntro();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:9,代码来源:Intro.php

示例9: execute

 public function execute()
 {
     GWF_Website::setPageTitle($this->module->lang('pt_new_links'));
     GWF_Website::setMetaTags($this->module->lang('mt_new_links'));
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Links/gwf_links.js');
     if (Common::getGet('markread') !== false) {
         return $this->onMarkAllRead() . $this->templateNewLinks();
     }
     return $this->templateNewLinks();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:10,代码来源:NewLinks.php

示例10: execute

 public function execute()
 {
     $back = '';
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Helpdesk/helpdesk.js');
     GWF_Website::addJavascriptOnload('helpdeskInit();');
     if (Common::getGetString('generate') === 'now') {
         $back .= $this->onGenerate();
     }
     return $back . $this->templateFAQ();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:10,代码来源:FAQ.php

示例11: execute

 public function execute()
 {
     if (false !== ($error = $this->sanitize())) {
         return $error;
     }
     GWF_Website::addJavascript(Common::getProtocol() . '://www.google.com/jsapi');
     GWF_Website::addJavascriptInline('google.load("language", "1");');
     GWF_Website::setPageTitle($this->pm->display('pm_title'));
     return $this->templateShow(Common::getGet('translate') !== false);
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:10,代码来源:Show.php

示例12: execute

 public function execute()
 {
     GWF_ChatOnline::onRequest($this->module);
     GWF_Website::setPageTitle($this->module->lang('pt_chat'));
     GWF_Website::setMetaTags($this->module->lang('mt_chat'));
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Chat/gwf_chat.js?v=4');
     if (false !== Common::getPost('post')) {
         return $this->onPost() . $this->templatePage();
     }
     return $this->templatePage();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:11,代码来源:Page.php

示例13: templatePlaces

 private function templatePlaces()
 {
     GWF_Website::addJavascript($this->googleMapsPath());
     GWF_Website::addJavascript(GWF_WEB_ROOT_NO_LANG . 'js/module/Profile/profile.js?v=57');
     // 		GWF_Website::addJavascript(GWF_WEB_ROOT_NO_LANG.'js/3p/fancybox/jquery.fancybox.pack.js');
     // 		GWF_Website::addCSS(GWF_WEB_ROOT_NO_LANG.'js/3p/fancybox/jquery.fancybox.css');
     // 		GWF_Website::addCSS(GWF_WEB_ROOT_NO_LANG.'css/profile_poi.css');
     $user = GWF_User::getStaticOrGuest();
     $userid = $user->getID();
     $table = GDO::table('GWF_ProfilePOI');
     $tVars = array('user_id' => $userid, 'is_admin' => $user->isAdmin() ? 'true' : 'false', 'total' => $table->countRows(), 'visible' => $table->countRows(GWF_ProfilePOI::wherePermissions(), array('users', 'profiles', 'whitelist')), 'js_trans' => $this->jsTrans(), 'form_delete' => $this->formDelete(), 'pois' => GWF_ProfilePOI::getPOICount($userid), 'maxp' => $this->module->cfgAllowedPOIs(), 'api_key' => $this->module->cfgMapsApiKey(), 'protocol' => Common::getProtocol(), 'init_lat' => 0, 'init_lon' => 0);
     return $this->module->templatePHP('places.php', $tVars);
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:13,代码来源:Places.php

示例14: execute

 public function execute()
 {
     GWF_ForumBoard::init(true);
     if (false !== ($error = $this->sanitize())) {
         return $error;
     }
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Forum/gwf_forum.js');
     if ($this->module->cfgUseGTranslate()) {
         GWF_Website::addJavascript(Common::getProtocol() . '://www.google.com/jsapi');
         GWF_Website::addJavascriptInline('google.load("language", "1");');
     }
     GWF_Website::setPageTitle($this->module->lang('pt_thread', array($this->thread->getBoard()->getVar('board_title'), $this->thread->getVar('thread_title'))));
     return $this->templateThread();
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:14,代码来源:ShowThread.php

示例15: onStartup

 public function onStartup()
 {
     $ms = (string) ((GWF_ONLINE_TIMEOUT / 2 - 1) * 1000);
     GWF_Website::addJavascript(GWF_WEB_ROOT . 'js/module/Heart/hb.js');
     GWF_Website::addJavascriptOnload(sprintf('setTimeout("gwf_heartbeat(%s);", %s);', $ms, $ms));
     $cut = time() - GWF_ONLINE_TIMEOUT;
     $spider = GWF_User::WEBSPIDER;
     $online = GDO::table('GWF_User')->selectVar('COUNT(*)', "user_lastactivity>{$cut} AND user_options&{$spider}=0");
     if ($online > $this->cfgUserrecordCount()) {
         $this->saveModuleVar('hb_userrecord', $online);
         $this->saveModuleVar('hb_recorddate', GWF_Time::getDate(14));
     }
     $pc = $this->cfgPagecount();
     $this->saveModuleVar('hb_pagecount', $pc + 1);
 }
开发者ID:sinfocol,项目名称:gwf3,代码行数:15,代码来源:Module_Heart.php


注:本文中的GWF_Website::addJavascript方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。