コード例 #1
0
ファイル: index.php プロジェクト: rod86/t3sandbox
 /**
  * Returns an HTML link for making a reference content element local to the page (copying it).
  *
  * @param	string		$label: The label
  * @param	array		$makeLocalPointer: Flexform pointer pointing to the element which shall be copied
  * @return	string		HTML anchor tag containing the label and the unlink-link
  * @access protected
  */
 function link_makeLocal($label, $makeLocalPointer)
 {
     global $LANG;
     return '<a class="tpm-makeLocal" href="index.php?' . $this->link_getParameters() . '&amp;makeLocalRecord=' . rawurlencode($this->apiObj->flexform_getStringFromPointer($makeLocalPointer)) . '" onclick="' . htmlspecialchars('return confirm(' . $LANG->JScharCode($LANG->getLL('makeLocalMsg')) . ');') . '">' . $label . '</a>';
 }