示例#1
0
 /**
  * presenting the translation dialog
  *
  */
 function showTranslate()
 {
     // If direct translation then close the modal window
     if ($direct = intval(JRequest::getVar("direct", 0))) {
         $this->modalClose($direct);
         return;
     }
     FalangControllerHelper::_setupContentElementCache();
     $this->showTranslationOverview($this->_select_language_id, $this->_catid);
 }
示例#2
0
 function showCElementConfig()
 {
     $db = JFactory::getDBO();
     FalangControllerHelper::_setupContentElementCache();
     $this->showElementOverview();
 }
示例#3
0
 /**
  * presenting the translation dialog
  *
  */
 function showTranslate()
 {
     $input = JFactory::getApplication()->input;
     $direct = $input->get('direct', '0', 'int');
     // If direct translation then close the modal window
     if ($direct > 0) {
         $this->modalClose($direct);
         return;
     }
     //TODO : check if the next method is still necessary
     FalangControllerHelper::_setupContentElementCache();
     $this->showTranslationOverview($this->_select_language_id, $this->_catid);
 }