mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-06-06 07:40:48 +00:00
6.0.012 (2013-04-24)
- An error condition in addHtmlLink() method was fixed (bug #799).
This commit is contained in:
parent
226fc42c4c
commit
c7c8e26f67
|
@ -1,3 +1,6 @@
|
||||||
|
6.0.012 (2013-04-24)
|
||||||
|
- An error condition in addHtmlLink() method was fixed (bug #799).
|
||||||
|
|
||||||
6.0.011 (2013-04-22)
|
6.0.011 (2013-04-22)
|
||||||
- Minor documentation changes.
|
- Minor documentation changes.
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
|
||||||
------------------------------------------------------------
|
------------------------------------------------------------
|
||||||
|
|
||||||
Name: TCPDF
|
Name: TCPDF
|
||||||
Version: 6.0.011
|
Version: 6.0.012
|
||||||
Release date: 2013-04-22
|
Release date: 2013-04-24
|
||||||
Author: Nicola Asuni
|
Author: Nicola Asuni
|
||||||
|
|
||||||
Copyright (c) 2002-2013:
|
Copyright (c) 2002-2013:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "tecnick.com/tcpdf",
|
"name": "tecnick.com/tcpdf",
|
||||||
"version": "6.0.011",
|
"version": "6.0.012",
|
||||||
"homepage": "http://www.tcpdf.org/",
|
"homepage": "http://www.tcpdf.org/",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"description": "TCPDF is a PHP class for generating PDF documents.",
|
"description": "TCPDF is a PHP class for generating PDF documents.",
|
||||||
|
|
|
@ -55,7 +55,7 @@ class TCPDF_STATIC {
|
||||||
* Current TCPDF version.
|
* Current TCPDF version.
|
||||||
* @private static
|
* @private static
|
||||||
*/
|
*/
|
||||||
private static $tcpdf_version = '6.0.011';
|
private static $tcpdf_version = '6.0.012';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* String alias for total number of pages.
|
* String alias for total number of pages.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
//============================================================+
|
//============================================================+
|
||||||
// File name : tcpdf.php
|
// File name : tcpdf.php
|
||||||
// Version : 6.0.011
|
// Version : 6.0.012
|
||||||
// Begin : 2002-08-03
|
// Begin : 2002-08-03
|
||||||
// Last Update : 2013-04-03
|
// Last Update : 2013-04-03
|
||||||
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
|
* Tools to encode your unicode fonts are on fonts/utils directory.</p>
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @author Nicola Asuni
|
* @author Nicola Asuni
|
||||||
* @version 6.0.011
|
* @version 6.0.012
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
|
if (!defined('K_TCPDF_EXTERNAL_CONFIG')) {
|
||||||
|
@ -168,7 +168,7 @@ require_once(dirname(__FILE__).'/include/tcpdf_static.php');
|
||||||
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
|
* TCPDF project (http://www.tcpdf.org) has been originally derived in 2002 from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org), but now is almost entirely rewritten.<br>
|
||||||
* @package com.tecnick.tcpdf
|
* @package com.tecnick.tcpdf
|
||||||
* @brief PHP class for generating PDF documents without requiring external extensions.
|
* @brief PHP class for generating PDF documents without requiring external extensions.
|
||||||
* @version 6.0.011
|
* @version 6.0.012
|
||||||
* @author Nicola Asuni - info@tecnick.com
|
* @author Nicola Asuni - info@tecnick.com
|
||||||
*/
|
*/
|
||||||
class TCPDF {
|
class TCPDF {
|
||||||
|
@ -10390,7 +10390,7 @@ class TCPDF {
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
public function addHtmlLink($url, $name, $fill=false, $firstline=false, $color='', $style=-1, $firstblock=false) {
|
public function addHtmlLink($url, $name, $fill=false, $firstline=false, $color='', $style=-1, $firstblock=false) {
|
||||||
if (!TCPDF_STATIC::empty_string($url) AND ($url[0] == '#') AND is_numeric($url[1])) {
|
if (isset($url[1]) AND ($url[0] == '#') AND is_numeric($url[1])) {
|
||||||
// convert url to internal link
|
// convert url to internal link
|
||||||
$lnkdata = explode(',', $url);
|
$lnkdata = explode(',', $url);
|
||||||
if (isset($lnkdata[0])) {
|
if (isset($lnkdata[0])) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user