Code: Select all
CREATE TABLE `phpBB_lexicon` (
`term_id` mediumint(9) NOT NULL auto_increment,
`acronym` varchar(80) NOT NULL default '',
`term` varchar(80) default NULL,
`description` varchar(255) NOT NULL default '',
`long_desc` longtext,
`lang` varchar(15) NOT NULL default 'de',
PRIMARY KEY (`term_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Code: Select all
CREATE TABLE `phpbb_lexicon` (
`term_id` mediumint(9) NOT NULL auto_increment,
`acronym` varchar(80) NOT NULL default '',
`term` varchar(80) default NULL,
`description` varchar(255) NOT NULL default '',
`long_desc` longtext,
`lang` varchar(15) NOT NULL default 'de',
PRIMARY KEY (`term_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Code: Select all
{ LEXICON }
Code: Select all
{ ACP_LEXICON_EXPLAIN } { ACRONYMS }
{ ALLOW_ACRONYM }
{ ALLOW_ACRONYM_EXPLAIN }
Code: Select all
//----------------------------------------------------------------------
// Lexicon MOD - Begin
'LEXICON_WORD' => 'Lexikon',
// Lexicon MOD - End
//----------------------------------------------------------------------
Code: Select all
//----------------------------------------------------------------------
// Lexicon MOD - Begin
'ACP_LEXICON' => 'Lexicon',
// Lexicon MOD - End
//----------------------------------------------------------------------
Code: Select all
$lang = array_merge($lang, array(
'ACP_LEXICON_EXPLAIN' => 'From this control panel you can add, edit, and remove terms that will be displayed in the lexicon and/or automatically become a tooltip in your posts.',
'ACRONYM' => 'Acronym',
'ACRONYMS' => 'Acronyms',
'ACRONYM_EXPLAIN' => 'Insert spaces before and after the tern, if only complete words should be found. Without spaces the term also was found in composite words.',
'ADD_TERM' => 'Add new term',
'ALLOW_ACRONYM' => 'Enable displaying acronyms in posts:',
'ALLOW_ACRONYM_EXPLAIN' => 'Words available in the lexicon would in posts automatically become a acronym with tooltip.',
'DESCRIPTION' => 'Description',
'DESCRIPTION_EXPLAIN' => 'This text will be displayed as tooltip and in the lexicon.',
'ENTER_TERM' => 'Du musst einen Begriff und seine Erklärung eingeben.',
'EDIT_TERM' => 'Edit term',
'LEXICON' => 'lexicon',
'LONG_DESC' => 'Long description',
'LONG_DESC_EXPLAIN' => 'This text will be displayed only in the lexicon.',
'NO_TERM' => 'No term selected for edit.',
'TERM' => 'Term',
'TERM_ADDED' => 'Term succesfully added.',
'TERM_DESC' => 'Please insert a term.',
'TERM_REMOVED' => 'The selected term was succesfully deleted.',
'TERM_UPDATED' => 'The selected term was succesfully updated.',
));
Code: Select all
acronym{
font-style:italic;
border-bottom:1px #BD5121 dashed ;
color:#459B37;
cursor: help;
}
Code: Select all
#lexiconEntry{
position:absolute;
left:30%;
width:26em;
padding:1em;
height:auto;
border:3px #54974D solid;
background:#FFFFFF;
color:black;
font-size:75%;
}
#lexiconEntry h3{
font-size:1.5em;
color:#459B37;
background:transparent;
display:inline;
}
a#lexiconClose{
color:#1D623D;
background:#E3E8D5;
padding:0 5px 1px 5px;
border:1px solid #54974D;
float:right;
}
a#lexiconClose:hover, a#lexiconClose:active{
color:#000000;
background:#FFCC00;
border:1px solid #000000;
}
Code: Select all
$lang = array_merge($lang, array(
'ACP_LEXICON_EXPLAIN' => 'Hier kannst du Begriffe einstellen, die im Lexikon angezeigt und/oder in Beiträgen automatisch mit einem Tooltip versehen werden sollen. ',
// Platzhalter (*) sind im Akronym-Feld erlaubt. *test* wird austesten finden, test* testweise und *test wird Sehtest finden.
'ACRONYM' => 'Akronym',
'ACRONYMS' => 'Akronyme',
'ACRONYM_EXPLAIN' => 'Füge Leerzeichen vor und nach dem Begriff ein, wenn nur ganze Wrter gefunden werden sollen. Ohne Leerzeichen wird der Begriff auch in zusammengesetzten Wörtern gefunden.',
'ADD_TERM' => 'Neuen Begriff hinzufügen',
'ALLOW_ACRONYM' => 'Anzeigen der Akronyme in Beiträgen aktivieren:',
'ALLOW_ACRONYM_EXPLAIN' => 'In Beiträgen werden für im Lexikon vorhandene Wörter automatisch Akronyme einfügt.',
'DESCRIPTION' => 'Beschreibung',
'DESCRIPTION_EXPLAIN' => 'Dieser Text wird als Tooltip und im Lexikon angezeigt.',
'ENTER_TERM' => 'Du musst einen Begriff und seine Erklärung eingeben.',
'EDIT_TERM' => 'Begriff bearbeiten',
'LEXICON' => 'Lexikon',
'LONG_DESC' => 'Längere Erklärung',
'LONG_DESC_EXPLAIN' => 'Dieser Text wird nur im Lexikon angezeigt.',
'NO_TERM' => 'Kein Begriff zum Bearbeiten ausgewählt.',
'TERM' => 'Begriff',
'TERM_ADDED' => ' Begriff erfolgreich hinzugefügt.',
'TERM_DESC' => 'Gib einen Begriff ein.',
'TERM_REMOVED' => 'Der ausgewählte Begriff wurde erfolgreich entfernt.',
'TERM_UPDATED' => 'Der ausgewählte Begriff wurde erfolgreich aktualisiert.',
));
Code: Select all
$abc_links .= (in_array($l, $alphabeth) OR $l == $user->lang['LEXICON_ALL']) ?
Code: Select all
$abc_links .= (in_array($l, $abc) OR $l == $user->lang['LEXICON_ALL']) ?