/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); // Add scripts JHtml::_('behavior.tooltip'); JHtml::_('behavior.formvalidation'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . String::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_CROWDFUNDING_IMPORT_MANAGER')); // Scripts JHtml::_('behavior.formvalidation'); JHtml::_('bootstrap.tooltip'); JHtml::_('Prism.ui.bootstrap2FileInput'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . JString::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_GAMIFICATION_TOOLS')); // Scripts JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('Prism.ui.pnotify'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); // Scripts JHtml::_('behavior.formvalidation'); JHtml::_('behavior.tooltip'); JHtml::_('formbehavior.chosen', 'select'); $this->document->addScript(JURI::root() . 'media/' . $this->option . '/js/admin/' . Joomla\String\String::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); // Load language string in JavaScript JText::script('COM_GAMIFICATION_DELETE_IMAGE_QUESTION'); // Add scripts JHtml::_('behavior.tooltip'); JHtml::_('behavior.formvalidation'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . String::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_VIRTUALCURRENCY_IMPORT_MANAGER')); $this->legend = JText::_("COM_VIRTUALCURRENCY_IMPORT_REAL_CURRENCY_DATA"); // Scripts JHtml::_('behavior.formvalidation'); JHtml::_('bootstrap.tooltip'); JHtml::_('itprism.ui.bootstrap_fileuploadstyle'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . JString::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_CROWDFUNDING_TOOLS')); // Scripts JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('Prism.ui.pnotify'); JHtml::_('Prism.ui.joomlaHelper'); JHtml::_('Prism.ui.serializeJson'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . JString::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); // Add behaviors JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.formvalidation'); JHtml::_('formbehavior.chosen', '#jform_country_id'); JHtml::_('prism.ui.bootstrap2Typeahead'); // Add scripts $this->document->addScript('../media/' . $this->option . '/js/admin/' . strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_GAMIFICATION_PROFILES')); // Load language string in JavaScript JText::script('COM_GAMIFICATION_SEARCH_IN_TITLE_TOOLTIP'); // Scripts JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); // Add scripts JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.keepalive'); JHtml::_('behavior.formvalidation'); $d3Cdn = (bool) $this->params->get("d3_cdn", true); JHtml::_("prism.ui.d3", $d3Cdn); $js = "\n cfProjectId = " . $this->item->id . ";\n "; $this->document->addScriptDeclaration($js); $this->document->addScript('../media/' . $this->option . '/js/admin/' . JString::strtolower($this->getName()) . '.js'); }
private function preparePageTitle() { $app = JFactory::getApplication(); /** @var $app JApplicationSite */ // Prepare page title // $title = $this->params->get('page_title', $this->item->title); $title = $this->item->title; switch ($this->screen) { case "updates": $title .= " | " . JText::_("COM_CROWDFUNDING_UPDATES"); break; case "comments": $title .= " | " . JText::_("COM_CROWDFUNDING_COMMENTS"); break; case "funders": $title .= " | " . JText::_("COM_CROWDFUNDING_FUNDERS"); break; } // Add title before or after Site Name if (!$title) { $title = $app->get('sitename'); } elseif ($app->get('sitename_pagetitles', 0) == 1) { $title = JText::sprintf('JPAGETITLE', $app->get('sitename'), $title); } elseif ($app->get('sitename_pagetitles', 0) == 2) { $title = JText::sprintf('JPAGETITLE', $title, $app->get('sitename')); } $this->document->setTitle($title); }
private function preparePageTitle() { // Prepare page title $title = $this->item->title; switch ($this->screen) { case 'updates': $title .= ' | ' . JText::_('COM_CROWDFUNDING_UPDATES'); break; case 'comments': $title .= ' | ' . JText::_('COM_CROWDFUNDING_COMMENTS'); break; case 'funders': $title .= ' | ' . JText::_('COM_CROWDFUNDING_FUNDERS'); break; } // Add title before or after Site Name if (!$title) { $title = $this->app->get('sitename'); } elseif ((int) $this->app->get('sitename_pagetitles', 0) === 1) { $title = JText::sprintf('JPAGETITLE', $this->app->get('sitename'), $title); } elseif ((int) $this->app->get('sitename_pagetitles', 0) === 2) { $title = JText::sprintf('JPAGETITLE', $title, $this->app->get('sitename')); } $this->document->setTitle($title); }
private function preparePageTitle() { $app = JFactory::getApplication(); /** @var $app JApplicationSite */ // If it is assigned to menu item, params will contains "page_title". // If it is not assigned, I will use the title of the item if ($this->params->get("page_title")) { $title = $this->params->get("page_title"); } else { $seo = $this->params->get("seo_cat_to_title"); switch ($seo) { case "1": // Before page title $title = $this->category->title . " | " . $this->item->title; break; case "2": // After page title $title = $this->item->title . " | " . $this->category->title; break; default: // NONE $title = $this->item->title; break; } } // Add title before or after Site Name if (!$title) { $title = $app->get('sitename'); } elseif ($app->get('sitename_pagetitles', 0) == 1) { $title = JText::sprintf('JPAGETITLE', $app->get('sitename'), $title); } elseif ($app->get('sitename_pagetitles', 0) == 2) { $title = JText::sprintf('JPAGETITLE', $title, $app->get('sitename')); } $this->document->setTitle($title); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_CROWDFUNDING_USERS_MANAGER')); // Scripts JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('prism.ui.joomlaList'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); $layout = $this->getLayout(); // Scripts JHtml::_('bootstrap.tooltip'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . JString::strtolower($this->getName()) . '.js'); switch ($layout) { case "files": // HTML Helpers JHtml::_('itprism.ui.pnotify'); JHtml::_("itprism.ui.joomla_helper"); // Load language string in JavaScript JText::script('COM_CROWDFUNDING_DELETE_FILE_QUESTION'); break; } }
/** * Method to set up the document properties * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_GAMIFICATION_GROUPS_MANAGER')); // Scripts JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('prism.ui.joomlaList'); }
/** * Method to set up the document properties * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_VIRTUALCURRENCY_ACCOUNTS_MANAGER')); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('itprism.ui.joomla_list'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_SOCIALCOMMUNITY_PROFILES_MANAGER')); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('bootstrap.tooltip'); JHtml::_('prism.ui.joomlaList'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_CROWDFUNDING_REWARDS_MANAGER_BROWSER_TITLE')); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('itprism.ui.joomla_list'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_ITPMETA_GLOBAL_TAGS_MANAGER')); // Scripts JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_("Prism.ui.joomlaList"); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_USERIDEAS_COMMENTS_MANAGER')); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('Prism.ui.joomlaList'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_IDENTITYPROOF_USERS_MANAGER')); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('itprism.ui.joomla_list'); }
/** * Method to set up the document properties. * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_CROWDFUNDING_REPORTS_MANAGER')); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('prism.ui.joomlaList'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . Joomla\String\String::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @throws \InvalidArgumentException * * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); // Scripts JHtml::_('behavior.formvalidation'); JHtml::_('behavior.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('Prism.ui.pnotify'); JHtml::_('Prism.ui.joomlaHelper'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_ITPMETA_URLS_MANAGER_TITLE')); // Load language string in JavaScript JText::script('COM_ITPMETA_ERROR_NO_ITEM_SELECTED'); // Add behaviors JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_("Prism.ui.joomlaList"); $this->document->addScript('../media/' . $this->option . '/js/admin/' . $this->getName() . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_IDENTITYPROOF_FILES_MANAGER')); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_("itprism.ui.pnotify"); JHtml::_('itprism.ui.joomla_helper'); JHtml::_('itprism.ui.joomla_list'); $this->document->addScript(JURI::root() . 'media/' . $this->option . '/js/admin/' . JString::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_CROWDFUNDING_LOGS_MANAGER')); // Load language string in JavaScript JText::script('COM_CROWDFUNDING_DELETE_ALL_ITEMS'); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('prism.ui.joomlaList'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . JString::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); // Scripts JHtml::_('behavior.keepalive'); JHtml::_('behavior.formvalidation'); JHtml::_('behavior.tooltip'); JHtml::_('prism.ui.bootstrap2FileInput'); JHtml::_('formbehavior.chosen', 'select'); // Add scripts $this->document->addScript('../media/' . $this->option . '/js/admin/' . Joomla\String\String::strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle(JText::_('COM_CROWDFUNDING_TRANSACTIONS_MANAGER')); // Scripts JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('Prism.ui.joomlaList'); JHtml::_('Prism.ui.pnotify'); JHtml::_('Prism.ui.joomlaHelper'); $this->document->addScript('../media/' . $this->option . '/js/admin/' . strtolower($this->getName()) . '.js'); }
/** * Method to set up the document properties * * @return void */ protected function setDocument() { $this->document->setTitle($this->documentTitle); // Add scripts JHtml::_('behavior.keepalive'); JHtml::_('behavior.formvalidation'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('bootstrap.tooltip'); JHtml::_('itprism.ui.bootstrap_fileuploadstyle'); JHtml::_('itprism.ui.bootstrap_typeahead'); JHtml::_("itprism.ui.joomla_helper"); $this->document->addScript('../media/' . $this->option . '/js/admin/' . JString::strtolower($this->getName()) . '.js'); }