Index: branches/5.0.x/core/units/phrases/phrases_config.php =================================================================== diff -u -r12495 -r12614 --- branches/5.0.x/core/units/phrases/phrases_config.php (.../phrases_config.php) (revision 12495) +++ branches/5.0.x/core/units/phrases/phrases_config.php (.../phrases_config.php) (revision 12614) @@ -1,6 +1,6 @@ true, - 'Hooks' => Array ( - Array ( - 'Mode' => hBEFORE, - 'Conditional' => false, - 'HookToPrefix' => 'phrases', - 'HookToSpecial' => '', - 'HookToEvent' => Array('OnCreate'), - 'DoPrefix' => 'phrases', - 'DoSpecial' => '', - 'DoEvent' => 'OnBeforePhraseCreate', - ), - - Array ( - 'Mode' => hAFTER, - 'Conditional' => false, - 'HookToPrefix' => 'phrases', - 'HookToSpecial' => '', - 'HookToEvent' => Array('OnBeforeItemCreate', 'OnBeforeItemUpdate'), - 'DoPrefix' => 'phrases', - 'DoSpecial' => '', - 'DoEvent' => 'OnSetLastUpdated', - ), - ), - 'QueryString' => Array ( 1 => 'id', 2 => 'page', @@ -159,7 +135,7 @@ 'required' => 1, 'unique' => Array ('LanguageId'), 'not_null' => 1, 'default' => '' ), - + 'PhraseKey' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => NULL), 'Translation' => Array ('type' => 'string', 'formatter' => 'kFormatter', 'required' => 1, 'not_null' => 1, 'using_fck' => 1, 'default' => ''), 'PhraseType' => Array ('type' => 'int', 'required'=>1,'formatter' => 'kOptionsFormatter', 'options'=>Array (0=>'la_PhraseType_Front',1=>'la_PhraseType_Admin',2=>'la_PhraseType_Both'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0), 'PhraseId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),