Commit d45d1ba2 authored by Michael Stucki's avatar Michael Stucki
Browse files

* Force TCEform reload if the plugin is changed

* Added new typolink option "addQueryString" for adding all parameters of the current URL to the link. Notice that this does not check for any duplicate parameters! This is not a problem (only the last parameter of the same name will be applied), but enable "config.uniqueLinkVars" if you still don't like it.
* Removed duplicate "Expires" header in class.t3lib_userauth.php
* Changed return value type of t3lib_div::inList which was not really boolean (as documented) but string. Thanks to Bernhard Kraft.


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@717 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 6a0286c9
2005-05-12 Michael Stucki <michael@typo3.org>
* Force TCEform reload if the plugin is changed
* Added new typolink option "addQueryString" for adding all parameters of the current URL to the link. Notice that this does not check for any duplicate parameters! This is not a problem (only the last parameter of the same name will be applied), but enable "config.uniqueLinkVars" if you still don't like it.
* Removed duplicate "Expires" header in class.t3lib_userauth.php
* Changed return value type of t3lib_div::inList which was not really boolean (as documented) but string. Thanks to Bernhard Kraft.
2005-05-11 Michael Scharkow <mscharkow@gmx.net>
* Fixed bug #0000930: The delete button in QuickEdit mode lead to a 404 message. Thanks to Sebastian Kurfürst.
2005-05-09 Kasper Skårhøj,,, <kasper@typo3.com>
......
......@@ -62,7 +62,7 @@
* 550: function breakLinesForEmail($str,$implChar="\n",$charWidth=76)
* 585: function cmpIP($baseIP, $list)
* 627: function cmpFQDN($baseIP, $list)
* 657: function inList($in_list,$item)
* 657: function inList($list,$item)
* 669: function rmFromList($element,$list)
* 687: function intInRange($theInt,$min,$max=2000000000,$zeroValue=0)
* 703: function intval_positive($theInt)
......@@ -653,12 +653,12 @@ class t3lib_div {
* Check if an item exists in a comma-separated list of items.
* Usage: 163
*
* @param string $in_list comma-separated list of items (string)
* @param string $item item to check for
* @return boolean true if $item is in $in_list
* @param string comma-separated list of items (string)
* @param string item to check for
* @return boolean true if $item is in $list
*/
function inList($in_list,$item) {
return strstr(','.$in_list.',', ','.$item.',');
function inList($list,$item) {
return strstr(','.$list.',', ','.$item.',') ? true : false;
}
/**
......
......@@ -134,13 +134,13 @@ class t3lib_userAuth {
var $formfield_status = ''; // formfield with status: *'login', 'logout'. If empty login is not verified.
var $security_level = 'normal'; // sets the level of security. *'normal' = clear-text. 'challenged' = hashed password/username from form in $formfield_uident. 'superchallenged' = hashed password hashed again with username.
var $auth_include = ''; // this is the name of the include-file containing the login form. If not set, login CAN be anonymous. If set login IS needed.
var $auth_include = ''; // this is the name of the include-file containing the login form. If not set, login CAN be anonymous. If set login IS needed.
var $auth_timeout_field = 0; // if > 0 : session-timeout in seconds. if string: The string is fieldname from the usertable where the timeout can be found.
var $lifetime = 0; // 0 = Session-cookies. If session-cookies, the browser will stop session when the browser is closed. Else it keeps the session for $lifetime seconds.
var $gc_time = 24; // GarbageCollection. Purge all session data older than $gc_time hours.
var $gc_probability = 1; // Possibility (in percent) for GarbageCollection to be run.
var $writeStdLog = FALSE; // Decides if the writelog() function is called at login and logout
var $lifetime = 0; // 0 = Session-cookies. If session-cookies, the browser will stop session when the browser is closed. Else it keeps the session for $lifetime seconds.
var $gc_time = 24; // GarbageCollection. Purge all session data older than $gc_time hours.
var $gc_probability = 1; // Possibility (in percent) for GarbageCollection to be run.
var $writeStdLog = FALSE; // Decides if the writelog() function is called at login and logout
var $writeAttemptLog = FALSE; // If the writelog() functions is called if a login-attempt has be tried without success
var $sendNoCacheHeaders = TRUE; // If this is set, headers is sent to assure, caching is NOT done
var $getFallBack = FALSE; // If this is set, authentication is also accepted by the $_GET. Notice that the identification is NOT 128bit MD5 hash but reduced. This is done in order to minimize the size for mobile-devices, such as WAP-phones
......@@ -287,9 +287,8 @@ class t3lib_userAuth {
// Set all posible headers that could ensure that the script is not cached on the client-side
if ($this->sendNoCacheHeaders) {
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Expires: 0');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-cache, must-revalidate');
header('Pragma: no-cache');
}
......
......@@ -539,6 +539,7 @@ $TCA['tt_content'] = Array (
),
'mainpalette' => '1',
'thumbnail' => 'image',
'requestUpdate' => 'list_type',
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php'
)
);
......
......@@ -4978,7 +4978,8 @@ class tslib_cObj {
if ($linktxt=='') $linktxt = $page['title'];
// Query Params:
$addQueryParams = trim($this->stdWrap($conf['additionalParams'],$conf['additionalParams.']));
$addQueryParams = $conf['addQueryString'] ? t3lib_div::getIndpEnv('QUERY_STRING') : '';
$addQueryParams .= trim($this->stdWrap($conf['additionalParams'],$conf['additionalParams.']));
if (substr($addQueryParams,0,1)!='&') {
$addQueryParams = '';
} elseif ($conf['useCacheHash']) { // cache hashing:
......
2005-05-12 Michael Stucki <michael@typo3.org>
* Added class tags to three elements for optionally styling/hiding them with CSS
* Path to ruby is not required if ooo_extract is directly executable
2005-04-13 Karsten Dambekalns <karsten@typo3.org>
* Fixed bug #961 and added some DBAL compliancy changes.
......
......@@ -170,14 +170,15 @@ class tx_indexed_search_extparse {
$this->pObj->log_setTSlogMessage('Using "libunzipped" for extraction of Open Office files, "'.$extension.'".',1);
} else $this->pObj->log_setTSlogMessage('The extension "libunzipped" was not loaded (for extraction of Open Office files, "'.$extension.'")',2);
} else {
if ($indexerConfig['ruby']) {
$rubyPath = ereg_replace('\/$','',$indexerConfig['ruby']).'/';
if ($indexerConfig['OOoExtract']) {
if($indexerConfig['ruby']) { $rubyPath = ereg_replace('\/$','',$indexerConfig['ruby']).'/'; }
$oooExPath = ereg_replace('\/$','',$indexerConfig['OOoExtract']).'/';
if (ini_get('safe_mode') || (@is_file($rubyPath.'ruby'.$exe) && @is_file($oooExPath.'ooo_extract.rb'))){
if (ini_get('safe_mode') || (($rubyPath ? @is_file($rubyPath.'ruby'.$exe) : true) && @is_file($oooExPath.'ooo_extract.rb'))) {
$this->app['ruby'] = $rubyPath.'ruby'.$exe;
$this->app['OOo'] = $oooExPath.'ooo_extract.rb';
$extOK = TRUE;
} else $this->pObj->log_setTSlogMessage("'Ruby and OOo_extract' tools for reading OOo documents were not found in paths '".$rubyPath."ruby' OR '".$oooExPath."ooo_extract.rb'",3);
} else $this->pObj->log_setTSlogMessage("'Ruby and OOo_extract' tools for reading OpenOffice.org documents were not found in paths '".$rubyPath."ruby".$exe."' OR '".$oooExPath."ooo_extract.rb'",3);
} else $this->pObj->log_setTSlogMessage('Ruby & OOo_extract tools (OpenOffice-files) disabled',1);
}
break;
......
......@@ -10,7 +10,7 @@ nativeOOMethod = 0
# cat=basic; type=string; label=Path to OOo parser: The indexer uses the application 'ooo_extract' for extracting content from OpenOffice files (unless "[nativeOOMethod]" above is set). You must install ooo_extract in this path. Otherwise leave the field empty.
OOoExtract = /usr/local/bin/
# cat=basic; type=string; label=Path to RUBY: The indexer uses the application 'ruby' for extracting content from OpenOffice files (unless "[nativeOOMethod]" above is set). You must install this application in this path. Otherwise leave the field empty.
# cat=basic; type=string; label=Path to RUBY: The indexer uses the application 'ruby' for extracting content from OpenOffice files (unless "[nativeOOMethod]" above is set). You must install this application in this path. Otherwise (if ooo_extract is directly executable) leave the field empty.
ruby = /usr/local/bin/
# cat=basic; type=string; label=Path to WORD parser: The indexer uses the application 'catdoc' for extracting content from WORD files. You must install this application in this path. Otherwise leave the field empty.
......
......@@ -1316,11 +1316,11 @@ class tx_indexedsearch extends tslib_pibase {
// Make the header row with title, icon and rating bar.:
$out.='<tr '.$this->pi_classParam('title'.$tmplContent['CSSsuffix']).'>
<td width="16">'.$tmplContent['icon'].'</td>
<td width="16" '.$this->pi_classParam('title-icon'.$tmplContent['CSSsuffix']).'>'.$tmplContent['icon'].'</td>
<td width="95%" nowrap="nowrap"><p>'.
#$row['phash'].' // '.
$tmplContent['result_number'].': '.
$tmplContent['title'].
'<span '.$this->pi_classParam('title-number'.$tmplContent['CSSsuffix']).'>'.$tmplContent['result_number'].': </span>'.
'<span '.$this->pi_classParam('title-caption'.$tmplContent['CSSsuffix']).'>'.$tmplContent['title'].'</span>'.
'</p></td>
<td nowrap="nowrap"><p'.$this->pi_classParam('percent'.$tmplContent['CSSsuffix']).'>'.$tmplContent['rating'].'</p></td>
</tr>';
......
typo3/sysext/install/imgs/jesus.gif

21.3 KB | W: | H:

typo3/sysext/install/imgs/jesus.gif

21.3 KB | W: | H:

typo3/sysext/install/imgs/jesus.gif
typo3/sysext/install/imgs/jesus.gif
typo3/sysext/install/imgs/jesus.gif
typo3/sysext/install/imgs/jesus.gif
  • 2-up
  • Swipe
  • Onion skin
......@@ -5,30 +5,32 @@ These comparison images was generated by Kasper Sk
- This localconf.php configuration:
// Graphical settings applying to Debian packages for TYPO3:
$TYPO3_CONF_VARS["GFX"]["im_path_lzw"] = "";
$TYPO3_CONF_VARS["GFX"]["TTFdpi"] = '96'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["gdlib_png"] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_combine_filename"] = 'composite'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_path"] = '/usr/bin/'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_version_5"] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_imvMaskState"] = '0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["im_v5effects"] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS["GFX"]["gdlib_2"] = 1;
$TYPO3_CONF_VARS["GFX"]['im_mask_temp_ext_noloss'] = 'png';
$TYPO3_CONF_VARS['GFX']['im_path_lzw'] = '';
$TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';
$TYPO3_CONF_VARS['GFX']['gdlib_png'] = '1';
$TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'composite';
$TYPO3_CONF_VARS['GFX']['im_path'] = '/usr/bin/';
$TYPO3_CONF_VARS['GFX']['im_version_5'] = '1';
$TYPO3_CONF_VARS['GFX']['im_imvMaskState'] = '0';
$TYPO3_CONF_VARS['GFX']['im_v5effects'] = '1';
$TYPO3_CONF_VARS['GFX']['gdlib_2'] = 1;
$TYPO3_CONF_VARS['GFX']['im_mask_temp_ext_noloss'] = 'png';
- PHP / GD configuration:
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
- I was not able to create GIF files for reference so I just converted them directly with ImageMagick
- Also LZW compression has NOT been used anywhere since ImageMagick doesn't support it.
- Also LZW compression has NOT been used anywhere except the GD test images since ImageMagick doesn't support it.
(Kasper Skrhj)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment