Beispiel #1
0
 /**
  * renderRouting
  *
  * @return  string  HTML
  */
 public static function renderRoutingTags()
 {
     $formToken = JFactory::getSession()->getFormToken();
     $input = new F0FInput();
     $Itemid = $input->getInt('Itemid', 0);
     $lang = EParameter::getLanguageSef();
     $output = array();
     if ($formToken) {
         $output[] = '<input type="hidden" id="XTtoken" name="' . $formToken . '" value="1" />';
     }
     if ($Itemid) {
         $output[] = '<input type="hidden" id="XTItemid" name="Itemid" value="' . $Itemid . '" />';
     }
     if ($lang) {
         $output[] = '<input type="hidden" id="XTlang" name="lang" value="' . $lang . '" />';
     }
     return implode("\n", $output);
 }