예제 #1
0
?>
,
      JSON_READER_ROOT: '<?php 
echo EXT_JSON_READER_ROOT;
?>
',
      JSON_READER_TOTAL_PROPERTY: '<?php 
echo EXT_JSON_READER_TOTAL;
?>
'
    };
    
    Toc.Languages = [];
    <?php 
foreach ($osC_Language->getAll() as $l) {
    echo 'Toc.Languages.push(' . $toC_Json->encode($l) . ');';
}
$desktop_translations = $osC_Language->parseIniFile('modules/ext_desktop.php');
?>

    var TocLanguage = {};
    TocLanguage = <?php 
echo $toC_Json->encode($desktop_translations);
?>
;
  </script>
  
  <script type="text/javascript" src="templates/default/desktop/core/all.js"></script>
  <script type="text/javascript" src="templates/default/desktop/setting/all.js"></script>
  <script type="text/javascript" src="templates/default/extensions/extension-all.js"></script>
  <script type="text/javascript" src="<?php