[MOD] Language editor for adminpanel.

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • [MOD] Language editor for adminpanel.

      insert into admin.php at line 197

      PHP Source Code

      1. case 'editlang':
      2. include_once('includes/pages/adm/ShoweditlangPage.php');
      3. ShoweditlangPage();
      4. break;

      then insert into styles\templates\adm\ShowMenuPage.tpl if you like take line 21

      HTML Source Code

      1. {if allowedTo('ShoweditlangPage')}<li><a href="?page=editlang" target="Hauptframe">Sprache</a></li>{/if}
      now copy
      the files

      for editing you have to put the folder languages to chmod 777. don't forget to turn it back afterwards to 755
      think i will build something like in the 2moons installer via ftp




      have patched it, first version did overwrite before declarated array in $LNG now working proper
      after languagechange you have to clear the cache. think ill automate this

      update - 21.11.17 - 6:00
      now clears cache then writing lngfile

      update - 21.11.17 - 17.00
      someusability like
      clickt button stays marked
      better orientation throu paths
      significantly speeded up through ajxa instead of iframe
      added 'flying' sendbutton to prent scrolling for it

      added a backupsystem that automatic ly backups the langfiles on first start
      backups can be actualisated and restored

      Files
    • update - 21.11.17 - 17.00
      some usability like
      clickt button stays marked
      better orientation throu paths
      significantly speeded up through ajxa instead of iframe
      added 'flying' sendbutton to prent scrolling for it

      added a backupsystem that automatic ly backups the langfiles on first start
      backups can be actualisated and restored
      Files