diff --git a/themes/fid_bbi/templates/record/acquisitionform.phtml b/themes/fid_bbi/templates/record/acquisitionform.phtml new file mode 100644 index 0000000000000000000000000000000000000000..78116c7175d27cf5d92a5acb7ed874212711ffc2 --- /dev/null +++ b/themes/fid_bbi/templates/record/acquisitionform.phtml @@ -0,0 +1,67 @@ +<!-- fid_bbi: record - reporterrorsform --> +<?php +// Set page title. +$this->headTitle($this->translate('Book Suggestion')); + +// Set up breadcrumbs: +$this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink($this->transEsc('Search'), '', '</li>') + . '<li>' . $this->recordLink()->getBreadcrumb($this->driver) . '</li>' + . '<li class="active">' . $this->transEsc('Book Suggestion') . '</li>'; +?> +<h2><?=$this->transEsc('Book Suggestion') ?>: <?=$this->escapeHtml($this->truncate($this->driver->getShortTitle() . ' ' . $this->driver->getSubTitle(), 90))?></h2> +<form name="acquisition" method="post" action="<?=$this->recordLink()->getActionUrl($this->driver, 'Acquisition')?>"> + <?=$this->flashmessages()?> + <?php /* fid_bbi: display some additional solr fields #15163 - GG */ ?> + <?php if (!empty($this->author)): ?> + <div class="form-group"> + <label class="control-label" for="author"><?=$this->transEsc("Authors/Corporations")?>:</label> + <input type="text" id="author" name="comment" class="form-control" disabled value="<?=implode('; ', $this->author)?>"/> + </div> + <?php endif; ?> + <?php if (!empty($this->title)): ?> + <div class="form-group"> + <label class="control-label" for="title"><?=$this->transEsc("Title")?>:</label> + <input type="text" id="title" name="title" class="form-control" disabled value="<?=$this->title?>"/> + </div> + <?php endif; ?> + <?php if (!empty($this->isbn)): ?> + <div class="form-group"> + <label class="control-label" for="isbn"><?=$this->transEsc("ISBN")?>:</label> + <input type="text" id="isbn" name="isbn" class="form-control" disabled value="<?=implode('; ', $this->isbn)?>"/> + </div> + <?php endif; ?> + <?php /* #15163 - END */ ?> + <div class="form-group"> + <label class="control-label" for="acquisition_email"><?=$this->transEsc("Email")?>:</label> + <input type="email" id="acquisition_email" name="acquisition_email" class="form-control"<?php if (!empty($this->email)): ?> value="<?=$this->email?>"<?php endif; ?>/> + </div> + <?php /* fid_bbi: display some additional solr fields #15163 - GG */ /*?> + <div class="form-group"> + <label class="control-label" for="acquisition_subject"><?=$this->transEsc("email_subject")?>:</label> + <input type="text" id="acquisition_subject" name="acquisition_subject" class="form-control" placeholder="<?=$this->transEsc("Book Suggestion")?>" <?php if (!empty($this->subject)): ?> value="<?=$this->subject?>"<?php endif; ?>/> + </div> + <?php*/ /* #15163 - END */ ?> + <div class="form-group"> + <label class="control-label" for="aquisition_comment"><?=$this->transEsc("Note")?>:</label> + <textarea id="acquisition_comment" name="acquisition_comment" class="form-control" required><?=(!empty($this->comment)) ? $this->comment : ''?></textarea> + </div> + <?php /* fid_bbi: display some additional solr fields #15163 - GG */ ?> + <div class="form-group eula"> + <div> + <input type="checkbox" id="acquisition_checkbox_eula" name="acquisition_checkbox_eula" value="1"> + <label for="acquisition_checkbox_eula"> + <?= $this->translate("fid::policy_text") ?> + <?php $url = $this->url('fid/user/policy') ?> + <a data-lightbox href="<?= $url ?>"><?= $this->translate("fid::policy") ?></a> + <?= $this->translate("fid::terms_text") ?> + <?php $url = $this->url('fid/user/terms') ?> + <a data-lightbox href="<?= $url ?>"><?= $this->translate("fid::terms") ?></a>. + </label> + </div> + </div> + <?php /* #15163 - END */ ?> + <div class="form-group"> + <input type="submit" class="btn btn-primary" role="button" name="submit" value="<?=$this->transEsc('Send')?>"/> + </div> +</form> +<!-- fid_bbi: record - reporterrorsform - End --> diff --git a/themes/fid_bbi/templates/record/reporterrorsform.phtml b/themes/fid_bbi/templates/record/reporterrorsform.phtml index c7f0d12ba6a571a9b3f869f4ea091938892118fd..1fb8d0ae7bb035e21fab18c4f1214f0f9fb76172 100644 --- a/themes/fid_bbi/templates/record/reporterrorsform.phtml +++ b/themes/fid_bbi/templates/record/reporterrorsform.phtml @@ -51,12 +51,12 @@ $this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink <input type="checkbox" id="reporterrors_checkbox" name="reporterrors_checkbox"<?=($this->reply_requested) ? ' checked' : ''?> /> </div> </div> - <?php /* fid_bbi: display some additional solr fields #15163 - GG */ ?> + <?php /* fid_bbi: display some additional solr fields #15163 - GG */ /*?> <div class="form-group"> <label class="control-label" for="reporterrors_subject"><?=$this->transEsc("email_subject")?>:</label> <input type="text" id="reporterrors_subject" name="reporterrors_subject" class="form-control" <?php if (!empty($this->subject)): ?> value="<?=$this->subject?>"<?php endif; ?>/> </div> - <?php /* #15163 - END */ ?> + <?php *//* #15163 - END */ ?> <div class="form-group"> <label class="control-label" for="comment"><?=$this->transEsc("Note")?>:</label> <textarea id="comment" name="comment" class="form-control" required><?=(!empty($this->comment)) ? $this->comment : ''?></textarea>