Ejemplo n.º 1
0
<?php

Shadowhelp::getAllHelp($tVars['player']);
Ejemplo n.º 2
0
 private static function createHelpLangFile()
 {
     # Get current english from src.
     $help = Shadowhelp::getAllHelp();
     $help = self::prepareHelpArrayForLangFiles($help);
     # Update existing.
     foreach (Dog_Lang::getISOCodes() as $iso) {
         $path = Shadowrun4::getShadowDir() . "lang/help/shadowhelp_{$iso}.php";
         if (false === ($lang = GWF_Language::getByISO($iso))) {
             $lang = GWF_Language::getEnglish();
         }
         if (false === self::createHelpLangFileB($lang, $path, $help, false)) {
             return false;
         }
     }
     # Build english from source.
     $path = Shadowrun4::getShadowDir() - 'lang/item/shadowitems_en.php';
     return self::createHelpLangFileB(GWF_Language::getEnglish(), $path, $help, true);
 }