NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
bug in Problem tab


Joined: 02 Feb 2010
Posts: 25
Location: RUSSIA, Moscow, Zelenograd
Reply with quote
phped 5932
that code not have any bug
Code:

   <script type="text/javascript">
      opener.document.MESSAGES['newTID'].value = '<?=$arResult["TID"]?>';
      opener.document.getElementById('TOPIC_INFO').innerHTML = '<?=CUtil::JSEscape(
         '&laquo;<a href="'.$arResult["TOPIC"]["LINK"].'">'.htmlspecialChars($arResult["TOPIC"]["~TITLE"]).
         '</a>&raquo; ( '.GetMessage("FMM_ON_FORUM").': <a href="'.$arResult["FORUM"]["LINK"].'">'.$arResult["FORUM"]["NAME"].'</a>)')?>';
      self.close();
   </script>


Last edited by neor on Wed Feb 10, 2010 1:46 pm; edited 1 time in total
View user's profileFind all posts by neorSend private message


Joined: 02 Feb 2010
Posts: 25
Location: RUSSIA, Moscow, Zelenograd
Reply with quote
also right code

Code:

<script>
map.setCenter(new YMaps.GeoPoint(<?echo $arParams['INIT_MAP_LON']?>, <?echo $arParams['INIT_MAP_LAT']?>), <?echo $arParams['INIT_MAP_SCALE']?>, YMaps.MapType.<?echo $arParams['INIT_MAP_TYPE']?>);
</script>
View user's profileFind all posts by neorSend private message


Joined: 02 Feb 2010
Posts: 25
Location: RUSSIA, Moscow, Zelenograd
Reply with quote
also right code

Code:

<script>
var arPositionData = <?echo is_array($arData) && count($arData) > 0 ? CUtil::PhpToJsObject($arData) : '{}'?>;
window._global_BX_UTF = <?echo defined('BX_UTF') && BX_UTF == true ? 'true' : 'false'?>;
</script>


that's all codes from Bitrix CMS Smile
View user's profileFind all posts by neorSend private message
bug in Problem tab
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic