コード例 #1
0
 /**
  * addItemeditorHelperApp
  *
  * @return string
  */
 public static function showWorldClockLink()
 {
     $offset = EParameter::getTimezone();
     $buffer = JText::_('COM_AUTOTWEET_SERVER_TIMEZONE_LABEL') . ': ' . trim($offset->getName());
     $buffer .= '<input id="Timezone_Name" type="hidden" value="' . htmlentities($offset->getName(), ENT_COMPAT, 'UTF-8') . '">';
     $buffer .= '<input id="Timezone_Offset" type="hidden" value="' . EParameter::getTimezoneOffset() . '">';
     $buffer .= '<a onclick="window.open(this.href,\'World%2520Clock%2520%2526%2520Time%2520Zone%2520Map\',\'scrollbars=yes,resizable=yes,location=no,menubar=no,status=no,toolbar=no,left=0,top=0,width=800,height=500\');return false;" href="http://www.extly.com/timezone/tmz-201410.html" target="_blank" data-original-title="' . JText::_('COM_AUTOTWEET_VIEW_ITEMEDITOR_WORLDCLOCK') . '" rel="tooltip"> <i class="xticon xticon-globe"></i></a>';
     return $buffer;
 }