Rev 1139 | Rev 1329 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1139 | Rev 1213 | ||
---|---|---|---|
Line 200... | Line 200... | ||
200 | if ($this->isLeafNode()) { |
200 | if ($this->isLeafNode()) { |
201 | $chunked = $this->chunkedNotation(true); |
201 | $chunked = $this->chunkedNotation(true); |
202 | $checkDigit = $this->checkDigit(); |
202 | $checkDigit = $this->checkDigit(); |
203 | $content = '<h2>'._L('Barcode').' '.$chunked.' - <abbr title="'._L('check digit').'">'.$checkDigit.'</abbr></h2>'; |
203 | $content = '<h2>'._L('Barcode').' '.$chunked.' - <abbr title="'._L('check digit').'">'.$checkDigit.'</abbr></h2>'; |
204 | $content .= '<p><a target="_blank" href="https://www.ean-search.org/?q='.htmlentities($this->fullNumber()).'">'._L('Lookup at ean-search.org').'</a></p>'; |
204 | $content .= '<p><a target="_blank" href="https://www.ean-search.org/?q='.htmlentities($this->fullNumber()).'">'._L('Lookup at ean-search.org').'</a></p>'; |
- | 205 | if (url_get_contents_available(true, $reason)) { |
|
205 | $content .= '<img src="'.OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'barcode.php?number='.urlencode($this->fullNumber()).'">'; |
206 | $content .= '<p><img alt="'._L('Barcode').'" src="' . OIDplus::webpath(__DIR__, OIDplus::PATH_RELATIVE) . 'barcode.php?number=' . urlencode($this->fullNumber()) . '"></p>'; |
- | 207 | } |
|
206 | $content .= $tech_info_html; |
208 | $content .= $tech_info_html; |
207 | $content .= '<h2>'._L('Description').'</h2>%%DESC%%'; // TODO: add more meta information about the object type |
209 | $content .= '<h2>'._L('Description').'</h2>%%DESC%%'; // TODO: add more meta information about the object type |
208 | } else { |
210 | } else { |
209 | $chunked = $this->chunkedNotation(true); |
211 | $chunked = $this->chunkedNotation(true); |
210 | $content = '<h2>'._L('Barcode').' '.$chunked.'</h2>'; |
212 | $content = '<h2>'._L('Barcode').' '.$chunked.'</h2>'; |