Skip to content

Commit

Permalink
12.2.5 (2015-06-18)
Browse files Browse the repository at this point in the history
- TCPDF Library was updated.
- German translation was updated.
  • Loading branch information
tecnickcom committed Jun 19, 2015
1 parent a92d51d commit ebcec5f
Show file tree
Hide file tree
Showing 10 changed files with 1,939 additions and 1,929 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.TXT
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
12.2.5 (2015-06-18)
- TCPDF Library was updated.
- German translation was updated.

12.2.4 (2015-04-29)
- TCPDF Library was updated.

Expand Down
4 changes: 2 additions & 2 deletions README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ YOU MUST CONTACT [email protected] TO PURCHASE A LICENSE.

Name: TCExam

Version: 12.2.4
Version: 12.2.5

Release date: 2015-04-29
Release date: 2015-06-18
Author:
Nicola Asuni

Expand Down
2 changes: 1 addition & 1 deletion admin/code/tce_page_info.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
echo '<li>[BG] Bulgarian : Georgi Kostadinov</li>'.K_NEWLINE;
echo '<li>[BR] Brazilian Portuguese : Carlos Eduardo Vianna, Flávio Veras</li>'.K_NEWLINE;
echo '<li>[CN] Chinese : Liu Yongxin, Zheng Xiaojing</li>'.K_NEWLINE;
echo '<li>[DE] German : Oliver Kasch, André Scherrer</li>'.K_NEWLINE;
echo '<li>[DE] German : Oliver Kasch, André Scherrer, Wolfgang Stöggl</li>'.K_NEWLINE;
echo '<li>[EL] Greek : Kottas Alexandros</li>'.K_NEWLINE;
echo '<li>[EN] English : Nicola Asuni</li>'.K_NEWLINE;
echo '<li>[ES] Spanish : Carlos Alarcon, Maria del Rocio Peñas Serrano, Alejandra Ruiz</li>'.K_NEWLINE;
Expand Down
3,830 changes: 1,912 additions & 1,918 deletions shared/config.default/lang/language_tmx.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion shared/config.default/tce_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* TCExam version (do not change).
*/
define ('K_TCEXAM_VERSION', '12.2.4');
define ('K_TCEXAM_VERSION', '12.2.5');

/**
* 2-letters code for default language.
Expand Down
3 changes: 3 additions & 0 deletions shared/tcpdf/CHANGELOG.TXT
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
6.2.9 (2015-06-18)
-

6.2.8 (2015-04-29)
- Removed unwanted file.

Expand Down
4 changes: 2 additions & 2 deletions shared/tcpdf/README.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ http://sourceforge.net/donate/index.php?group_id=128076
------------------------------------------------------------

Name: TCPDF
Version: 6.2.8
Release date: 2015-04-29
Version: 6.2.9
Release date: 2015-06-18
Author: Nicola Asuni

Copyright (c) 2002-2015:
Expand Down
8 changes: 8 additions & 0 deletions shared/tcpdf/include/tcpdf_images.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,14 @@ public static function _toJPEG($image, $quality, $tempfile) {
* @public static
*/
public static function _parsejpeg($file) {
// check if is a local file
if (!@file_exists($file)) {
// try to encode spaces on filename
$tfile = str_replace(' ', '%20', $file);
if (@file_exists($tfile)) {
$file = $tfile;
}
}
$a = getimagesize($file);
if (empty($a)) {
//Missing or incorrect image file
Expand Down
2 changes: 1 addition & 1 deletion shared/tcpdf/include/tcpdf_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class TCPDF_STATIC {
* Current TCPDF version.
* @private static
*/
private static $tcpdf_version = '6.2.8';
private static $tcpdf_version = '6.2.9';

/**
* String alias for total number of pages.
Expand Down
9 changes: 5 additions & 4 deletions shared/tcpdf/tcpdf.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
//============================================================+
// File name : tcpdf.php
// Version : 6.2.8
// Version : 6.2.9
// Begin : 2002-08-03
// Last Update : 2015-04-29
// Last Update : 2015-06-18
// Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - [email protected]
// License : GNU-LGPL v3 (http://www.gnu.org/copyleft/lesser.html)
// -------------------------------------------------------------------
Expand Down Expand Up @@ -7026,6 +7026,7 @@ public function Image($file, $x='', $y='', $w=0, $h=0, $type='', $link='', $alig
AND (($info === 'pngalpha') OR (isset($info['trns']) AND !empty($info['trns'])))) {
return $this->ImagePngAlpha($file, $x, $y, $pixw, $pixh, $w, $h, 'PNG', $link, $align, $resize, $dpi, $palign, $filehash);
}
$info = false;
}
if (($info === false) AND function_exists($gdfunction)) {
try {
Expand Down Expand Up @@ -10362,7 +10363,7 @@ public function getPDFData() {
* @public
*/
public function addHtmlLink($url, $name, $fill=false, $firstline=false, $color='', $style=-1, $firstblock=false) {
if (isset($url[1]) AND ($url[0] == '#')) {
if (isset($url[1]) AND ($url[0] == '#') AND is_numeric($url[1])) {
// convert url to internal link
$lnkdata = explode(',', $url);
if (isset($lnkdata[0]) ) {
Expand Down Expand Up @@ -18649,7 +18650,7 @@ public function writeHTML($html, $ln=true, $fill=false, $reseth=false, $cell=fal
$this->lispacer = $prev_lispacer;
if ($ln AND (!($cell AND ($dom[$key-1]['value'] == 'table')))) {
$this->Ln($this->lasth);
if ($this->y < $maxbottomliney) {
if (($this->y < $maxbottomliney) AND ($startlinepage == $this->page)) {
$this->y = $maxbottomliney;
}
}
Expand Down

0 comments on commit ebcec5f

Please sign in to comment.