Changeset 748


Ignore:
Timestamp:
Jan 12, 2014, 10:50:33 PM (11 years ago)
Author:
maron
Message:
  • Added: Simple forum for Translators
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/UpdateTrace.php

    r732 r748  
    27322732
    27332733
     2734function UpdateTo748($Manager)
     2735{
     2736
     2737$Manager->Execute('CREATE TABLE IF NOT EXISTS `ForumText` (
     2738  `ID` int(11) NOT NULL AUTO_INCREMENT,
     2739  `User` int(11) DEFAULT NULL,
     2740  `UserName` text NOT NULL,
     2741  `Text` text NOT NULL,
     2742  `Date` datetime NOT NULL,
     2743  `IP` text NOT NULL,
     2744  `Thread` int(11) DEFAULT NULL,
     2745  PRIMARY KEY (`ID`),
     2746  KEY `date` (`Date`),
     2747  KEY `User` (`User`),
     2748  KEY `Thread` (`Thread`)
     2749) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
     2750');
     2751
     2752$Manager->Execute('CREATE TABLE IF NOT EXISTS `ForumThread` (
     2753  `ID` int(11) NOT NULL AUTO_INCREMENT,
     2754  `User` int(11) DEFAULT NULL,
     2755  `UserName` text NOT NULL,
     2756  `Text` text NOT NULL,
     2757  `Date` datetime NOT NULL,
     2758  `IP` text NOT NULL,
     2759  PRIMARY KEY (`ID`),
     2760  KEY `date` (`Date`),
     2761  KEY `User` (`User`)
     2762) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
     2763');
     2764
     2765$Manager->Execute('ALTER TABLE `ForumText`
     2766  ADD CONSTRAINT `ForumText_ibfk_1` FOREIGN KEY (`User`) REFERENCES `User` (`ID`);');
     2767$Manager->Execute('ALTER TABLE `ForumText`
     2768  ADD CONSTRAINT `ForumThread_ibfk_1` FOREIGN KEY (`User`) REFERENCES `User` (`ID`);');
     2769$Manager->Execute('ALTER TABLE `ForumText`
     2770  ADD CONSTRAINT `ForumText_ibfk_2` FOREIGN KEY (`Thread`) REFERENCES `ForumThread` (`ID`);');
     2771
     2772}
     2773
     2774
    27342775$Updates = array(
    27352776        498 => array('Revision' => 506, 'Function' => 'UpdateTo506'),
     
    27562797        725 => array('Revision' => 731 , 'Function' => 'UpdateTo731'),
    27572798        731 => array('Revision' => 732 , 'Function' => 'UpdateTo732'),
     2799        732 => array('Revision' => 748 , 'Function' => 'UpdateTo748'),
    27582800);
  • trunk/includes/Version.php

    r747 r748  
    66// and system will need database update.
    77
    8 $Revision = 747; // Subversion revision
    9 $DatabaseRevision = 732; // Database structure revision
    10 $ReleaseTime = '2014-01-08';
     8$Revision = 748; // Subversion revision
     9$DatabaseRevision = 748; // Database structure revision
     10$ReleaseTime = '2014-01-12';
  • trunk/includes/global.php

    r746 r748  
    3232include_once(dirname(__FILE__).'/../Modules/FrontPage/FrontPage.php');
    3333include_once(dirname(__FILE__).'/../Modules/Download/Download.php');
     34include_once(dirname(__FILE__).'/../Modules/Forum/Forum.php');
    3435
    3536
  • trunk/includes/system.php

    r734 r748  
    157157    $this->ModuleManager->RegisterModule(new ModuleFrontPage($System));
    158158    $this->ModuleManager->RegisterModule(new ModuleDownload($System));
     159    $this->ModuleManager->RegisterModule(new ModuleForum($System));
    159160    $this->ModuleManager->StartAll();
    160161   
  • trunk/locale/cs.php

    r729 r748  
    142142      'Style' => 'Styl',
    143143      'Client version' => 'Verze klienta',
     144      'Stay logged' => 'Zůstat přihlášen',
     145      'Item added' => 'Položka přidána',
     146      'New item' => 'Nová položka',
     147      'More information' => 'Více informací',
     148      'Build number' => '',
     149      'All versions list' => 'Seznam všech verzí',
     150      'Forum' => 'Fórum',
     151      'Forum - Thread' => 'Fórum - Vlákno',
     152      'Forum - List of Thread' => 'Fórum - Seznam vláken',
     153      'New Forum Message' => 'Nová zpráva v vláknu',
     154      'New thread' => 'Nové vlákno',
    144155      'There are servers listed which are in fact offering translated game. '.
    145156    'There is resoluted if translation is offered either on client side, on server side or both. '.
     
    147158'Zde jsou uvedeny servery, které opravdu nabízí přeloženou hru. Rozlišuje se, jestli překlad je nabízen na straně klienta, serveru nebo obou.'.
    148159'Pojem "Český server" neznamená, že server je provozovaný čechy, ale že je možné hrát v češtině',
    149       'Stay logged' => 'Zůstat přihlášen',
    150       'Item added' => 'Položka přidána',
    151       'New item' => 'Nová položka',
    152160    );
    153161  }
  • trunk/locale/en.php

    r715 r748  
    142142      'Style' => '',
    143143      'Client version' => '',
     144      'Stay logged' => '',
     145      'Item added' => '',
     146      'New item' => '',
     147      'More information' => '',
     148      'Build number' => '',
     149      'All versions list' => '',
     150      'Forum' => '',
     151      'Forum - Thread' => '',
     152      'Forum - List of Thread' => '',
     153      'New Forum Message' => '',
     154      'New thread' => '',
    144155      'There are servers listed which are in fact offering translated game. '.
    145156    'There is resoluted if translation is offered either on client side, on server side or both. '.
    146157    'Term "Czech server" doesn\'t mean that server is operated by Czech people but that it is possible to play in Czech.' => '',
    147       'Stay logged' => '',
    148       'Item added' => '',
    149       'New item' => '',
    150158    );
    151159  }
Note: See TracChangeset for help on using the changeset viewer.