array( 'apiKey' => '', // sem doplnit API klíč ), ); ?> Lidé | Databáze pramenů Institutu B. Martinů
layout=='public') echo $form->create(null, array('url' => '/people/public_search')); else echo $form->create(null, array('url' => '/people/search')); echo $form->input('Search.fulltext',array('div'=>false,'label'=>false)); echo $form->end(array('div'=>false,'class'=>'submit','label'=>__('Search',true))); ?>
printLine('Person', 'displayname', __('Name', true)); $blockContents .= $formating->printLine('Person', 'firstname', __('First name', true)); $blockContents .= $formating->printLine('Person', 'surname', __('Surname', true)); $blockContents .= $formating->printLine('Person', 'maidenname', __('Birth name', true)); $blockContents .= $formating->printLine('Person', 'nickname', __('Nickname', true)); $blockContents .= $formating->printLine('Person', 'birthday', __('Date of birth', true), function($text) use($formating) {return $formating->date($text);}); $blockContents .= $formating->printLine('Person', 'deathdate', __('Date of death', true), function($text) use($formating) {return $formating->date($text);}); $blockContents .= $formating->printLine('Person', $lang=='en' ? 'note_en' : 'note', __('Note', true)); if(!empty($blockContents)) { echo '
' . __('General information', true) . '' . $blockContents . '
'; } $blockContents = ''; if(!empty($this->data['Mail']['sent'])) $blockContents .= '
'.$html->link(__('Sender',true).' ('.$this->data['Mail']['sent'].')','/mails/public_search/?data[Search][sender_person_id]='.$this->data['Person']['id']).'
'; if(!empty($this->data['Mail']['received'])) $blockContents .= '
'.$html->link(__('Recipient',true).' ('.$this->data['Mail']['received'].')','/mails/public_search/?data[Search][recipient_person_id]='.$this->data['Person']['id']).'
'; if(!empty($this->data['Mail']['subjected'])) $blockContents .= '
'.$html->link(__('Subject',true).' ('.$this->data['Mail']['subjected'].')','/mails/public_search/?data[Search][subject_person_id]='.$this->data['Person']['id']).'
'; if(!empty($this->data['PhotosPerson']['photographed'])) $blockContents .= '
'.$html->link(__('Photo',true).' ('.$this->data['PhotosPerson']['photographed'].')','/photos/public_search/?data[Search][person_id]='.$this->data['Person']['id']).'
'; if(!empty($this->data['Photos']['photographer'])) $blockContents .= '
'.$html->link(__('Photographer',true).' ('.$this->data['Photos']['photographer'].')','/photos/public_search/?data[Search][photographer_person_id]='.$this->data['Person']['id']).'
'; if(!empty($this->data['SourcesPerson']['author'])) $blockContents .= '
'.$html->link(__('Source',true) . ' - ' . __('Author',true) . ' ('.$this->data['SourcesPerson']['author'].')','/sources/public_search/?data[Search][source_person]='.$this->data['Person']['id']).'
'; if(!empty($this->data['SourcesPerson']['subjected'])) $blockContents .= '
'.$html->link(__('Source',true) . ' - ' . __('Subject',true) . ' ('.$this->data['SourcesPerson']['subjected'].')','/sources/public_search/?data[Search][source_object_person]='.$this->data['Person']['id']).'
'; if(!empty($this->data['PublicationsPerson']['author'])) $blockContents .= '
'.$html->link(__('Publication',true) . ' - ' . __('Author',true) . ' ('.$this->data['PublicationsPerson']['author'].')','/publications/public_search/?data[Search][publication_person]='.$this->data['Person']['id']).'
'; if(!empty($this->data['PublicationsPerson']['subjected'])) $blockContents .= '
'.$html->link(__('Publication',true) . ' - ' . __('Subject',true) . ' ('.$this->data['PublicationsPerson']['subjected'].')','/publications/public_search/?data[Search][publication_object_person]='.$this->data['Person']['id']).'
'; if(!empty($this->data['Work']['interpreter'])) $blockContents .= '
'.$html->link(__('Work',true).' '.__('Performer',true).' ('.$this->data['Work']['interpreter'].')','/works/public_search/?data[Search][interpreter_person]='.$this->data['Person']['id']).'
'; if(!empty($this->data['Work']['dedicatee'])) $blockContents .= '
'.$html->link(__('Work',true).' '.__('Dedicatee',true).' ('.$this->data['Work']['dedicatee'].')','/works/public_search/?data[Search][dedicatee_person]='.$this->data['Person']['id']).'
'; if(!empty($this->data['Work']['textAuthor'])) $blockContents .= '
'.$html->link(__('Work',true).' '.__('Author of lyrics/libretto',true).' ('.$this->data['Work']['textAuthor'].')','/works/public_search/?data[Search][text_author_person]='.$this->data['Person']['id']).'
'; if(!empty($this->data['Work']['literalAuthor'])) $blockContents .= '
'.$html->link(__('Work',true).' '.__('Author of literary model',true).' ('.$this->data['Work']['literalAuthor'].')','/works/public_search/?data[Search][literal_author_person]='.$this->data['Person']['id']).'
'; if(!empty($blockContents)) { echo '
' . __('References', true) . '' . $blockContents . '
'; } ?> data['CompaniesPerson'])) { ?>
Jméno