As of version 1.6, the field 'Combined Search' provides a much better search base.
How to change and use new field: Run the following sql query. Replace #REPLACEME# with the used DB prefix.
```
-INSERT INTO `bib_sys_fields` (`id`, `identifier`, `displayname`, `type`, `searchtype`, `createstring`, `inputValidation`, `value`, `apiinfo`, `created`, `modified`, `modificationuser`, `owner`, `group`, `rights`) VALUES (NULL, 'combSearch', 'Combined Search', 'hidden', 'entryText', '`combSearch` text NULL DEFAULT NULL, ADD FULLTEXT (`combSearch`)', '', NULL, 'mysql text - Content will be auto generated from other entry fields', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, NULL, '1', '1', 'rw-r--r--');
+INSERT INTO `#REPLACEME#_sys_fields` (`id`, `identifier`, `displayname`, `type`, `searchtype`, `createstring`, `inputValidation`, `value`, `apiinfo`, `created`, `modified`, `modificationuser`, `owner`, `group`, `rights`) VALUES (NULL, 'combSearch', 'Combined Search', 'hidden', 'entryText', '`combSearch` text NULL DEFAULT NULL, ADD FULLTEXT (`combSearch`)', '', NULL, 'mysql text - Content will be auto generated from other entry fields', CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, NULL, '1', '1', 'rw-r--r--');
```
Add the new field 'Combined Search' to a collection.
Change the 'Default gloabal seach field' to 'Combined search' and save.
```
UPDATE `#REPLACEME#_sys_fields` SET `value` = 'DOS,Windows 1,Windows 2,Windows 3,Windows 95,Windows 98,Windows XP,Windows 2000,Windows ME,Windows Vista,Windows 7,Windows 8,Windows 10,Windows 11', `apiinfo` = 'One of DOS,Windows 1,Windows 2,Windows 3,Windows 95,Windows 98,Windows XP,Windows 2000,Windows ME,Windows Vista,Windows 7,Windows 8,Windows 10,Windows 11' WHERE `#REPLACEME#_sys_fields`.`id` = 17;
UPDATE `#REPLACEME#_menu` SET `action` = 'dashboard' WHERE `#REPLACEME#_menu`.`id` = 1;
-UPDATE `#REPLACEME#_menu_menu` SET `text` = 'menu.show.dashboard' WHERE `#REPLACEME#_menu`.`id` = 1;
+UPDATE `#REPLACEME#_menu` SET `text` = 'menu.show.dashboard' WHERE `#REPLACEME#_menu`.`id` = 1;
UPDATE `#REPLACEME#_menu` SET `text` = 'menu.show.collections' WHERE `#REPLACEME#_menu`.`id` = 2;
UPDATE `#REPLACEME#_menu` SET `text` = 'menu.show.tags' WHERE `#REPLACEME#_menu`.`id` = 3;
UPDATE `#REPLACEME#_menu` SET `text` = 'menu.show.sysinfo' WHERE `#REPLACEME#_menu`.`id` = 19;
UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.content' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'content';
UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.tag' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'tag';
UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.category' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'category';
-UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.category' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'publisher';
+UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.publisher' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'publisher';
UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.developer' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'developer';
UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.platform' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'platform';
UPDATE `#REPLACEME#_sys_fields` SET `displayname` = 'sysfield.storage' WHERE `#REPLACEME#_sys_fields`.`identifier` = 'storage';
managetags.message.notTagsAvailable = "Es sind keine Tags vorhanden oder es liegt ein Fehler vor."
managetags.moveorrename = "Verschieben nach (Umbenennen zu bestehenden)"
managetags.rename = "Umbenennen"
+managetags.save = reuse.global.save
managetags.tagfield = "Tagfeld"
-managetags.user = "Nutze"
+managetags.use = "Nutze"
manageuser.addormodify = "Benutzer bearbeiten oder hinzufügen"
manageuser.availableusers = "Verfügbare Benutzer"
sysfield.imdbrating = "IMDB Wertung"
sysfield.isbn = "ISBN"
sysfield.languages = "Sprachen"
-sysfield.localizedTitle = "Lokalisierter Title"
+sysfield.localizedTitle = "Lokalisierter Titel"
sysfield.os = "Betriebssystem und Version"
sysfield.platform = "Platform"
sysfield.publisher = "Verlag"
managetags.message.notTagsAvailable = "No tags available or something went wrong."
managetags.moveorrename = "Move to (rename to existig)"
managetags.rename = "Rename"
+managetags.save = reuse.global.save
managetags.tagfield = "Tagfield"
-managetags.user = "Use"
+managetags.use = "Use"
manageuser.addormodify = "Add or modify a user"
manageuser.availableusers = "Available users"
}
// Was the movie found?
- $sMatch = $this->matchRegex($sSource, self::IMDB_SEARCH, "1");
+ $sMatch = $this->matchRegex($sSource, self::IMDB_SEARCH_ADV, "1");
if (false !== $sMatch) {
$sUrl = 'https://www.imdb.com/title/' . $sMatch . '/reference';
if ($this->IMDB_DEBUG) {
return true;
}
- $sMatch = $this->matchRegex($sSource, self::IMDB_NOT_FOUND, "0");
+ $sMatch = $this->matchRegex($sSource, self::IMDB_NOT_FOUND_ADV, "0");
if (false !== $sMatch) {
if ($this->IMDB_DEBUG) {
echo '<pre><b>Movie not found:</b> ' . $sSearch . '</pre>';
public function getDescription()
{
if (true === $this->isReady) {
- $sMatch = $this->matchRegex($this->sSource, self::IMDB_DESCRIPTION, "1");
+ $sMatch = $this->matchRegex($this->sSource, self::IMDB_MOVIE_DESC, "1");
if (false !== $sMatch) {
return $this->cleanString($sMatch);
}
<?php if(isset($entry['fields']['coverimage'])) { ?>
<a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>">
<img src="<?php echo $TemplateData['storagePath'].'/'.$entryK.'/'.$entry['fields']['coverimage']['value']; ?>"
- alt="<?php echo $entry['fields']['coverimage']['displayname']; ?>"
+ alt="<?php echo $I18n->t($entry['fields']['coverimage']['displayname']); ?>"
width="50px">
</a>
<?php } ?>
if(in_array($i,$TemplateData['pagination']['visibleRange'])) {
echo '<a class="'.$active.'" href="index.php?'.Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('page'=>$i)).'"
- title="'.$I18n->t('pagination.previous') $i.'">'.$i.'</a>';
+ title="'.$I18n->t('pagination.gotopage').' '.$i.'">'.$i.'</a>';
}
else {
if($i < $TemplateData['pagination']['currentRangeStart'] && $ellipsisShown == 0) {
<table>
<thead>
<tr>
- <th><?php echo $I18n->t('global.user ?></th>
+ <th><?php echo $I18n->t('global.user'); ?></th>
<th><?php echo $I18n->t('global.group'); ?></th>
<th><?php echo $I18n->t('global.other'); ?></th>
</tr>
<?php if(isset($entry['fields']['coverimage'])) { ?>
<a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>">
<img src="<?php echo $TemplateData['storagePath'].'/'.$entryK.'/'.$entry['fields']['coverimage']['value']; ?>"
- alt="<?php echo $entry['fields']['coverimage']['displayname']; ?>" uk-cover>
+ alt="<?php echo $I18n->t($entry['fields']['coverimage']['displayname']); ?>" uk-cover>
<canvas width="400" height="200"></canvas>
</a>
<?php } ?>
if(in_array($i,$TemplateData['pagination']['visibleRange'])) {
echo '<li class="'.$active.'"><a href="index.php?'.Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('page'=>$i)).'"
- title="Goto page '.$i.'">'.$i.'</a></li>';
+ title="'.$I18n->t('pagination.gotopage').' '.$i.'">'.$i.'</a></li>';
}
else {
if($i < $TemplateData['pagination']['currentRangeStart'] && $ellipsisShown == 0) {
<?php if(isset($entry['fields']['coverimage'])) { ?>
<a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>">
<img src="<?php echo $TemplateData['storagePath'].'/'.$entryK.'/'.$entry['fields']['coverimage']['value']; ?>"
- alt="<?php echo $entry['fields']['coverimage']['displayname']; ?>">
+ alt="<?php echo $I18n->t($entry['fields']['coverimage']['displayname']); ?>">
</a>
<?php } ?>
</div>
<?php } ?>
</div>
<div class="uk-card-footer">
- <a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text"><?php echo $I18n->t('global.View'); ?></a>
+ <a href="<?php echo $TemplateData['entryLinkPrefix']; ?>&id=<?php echo $entryK; ?>" class="uk-button uk-button-text"><?php echo $I18n->t('global.view'); ?></a>
</div>
</div>
</div>
if(in_array($i,$TemplateData['pagination']['visibleRange'])) {
echo '<li class="'.$active.'"><a href="index.php?'.Summoner::createFromParameterLinkQuery($TemplateData['pagination']['currentGetParameters'],array('page'=>$i)).'"
- title="Goto page '.$i.'">'.$i.'</a></li>';
+ title="'.$I18n->t('pagination.gotopage').' '.$i.'">'.$i.'</a></li>';
}
else {
if($i < $TemplateData['pagination']['currentRangeStart'] && $ellipsisShown == 0) {
<div class="uk-width-1-2@l">
<article class="uk-article">
<?php if($TemplateData['showEdit'] === true) { ?>
- <p class="uk-article-meta"><a href="index.php?p=manageentry&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&id=<?php echo $TemplateData['entry']['id']; ?>"><?php echo $I18n->t('global.search'); ?></a></p>
+ <p class="uk-article-meta"><a href="index.php?p=manageentry&collection=<?php echo $TemplateData['loadedCollection']['id'] ?? ''; ?>&id=<?php echo $TemplateData['entry']['id']; ?>"><?php echo $I18n->t('global.edit'); ?></a></p>
<?php
}
$collectionFields = $ManangeCollectionsFields->getExistingFields(false, true);
if(!empty($collectionFields)) {
foreach ($collectionFields as $k=>$v) {
- $TemplateData['saveToSelection'] .= "<option value='".$k."' sel_".$v['identifier'].">".$v['displayname']."</option>\n";
+ $TemplateData['saveToSelection'] .= "<option value='".$k."' sel_".$v['identifier'].">".$I18n->t($v['displayname'])."</option>\n";
}
}
$collectionFields = $ManangeCollectionsFields->getExistingFields(false, true);
if(!empty($collectionFields)) {
foreach ($collectionFields as $k=>$v) {
- $TemplateData['saveToSelection'] .= "<option value='".$k."' sel_".$v['identifier'].">".$v['displayname']."</option>\n";
+ $TemplateData['saveToSelection'] .= "<option value='".$k."' sel_".$v['identifier'].">".$I18n->t($v['displayname'])."</option>\n";
}
}
$collectionFields = $ManangeCollectionsFields->getExistingFields(false, true);
if(!empty($collectionFields)) {
foreach ($collectionFields as $k=>$v) {
- $TemplateData['saveToSelection'] .= "<option value='".$k."' sel_".$v['identifier'].">".$v['displayname']."</option>\n";
+ $TemplateData['saveToSelection'] .= "<option value='".$k."' sel_".$v['identifier'].">".$I18n->t($v['displayname'])."</option>\n";
}
}