* Made fe_user passwords case sensitive and render them as password fields
authorMichael Stucki <michael.stucki@typo3.org>
Thu, 14 Apr 2005 22:20:10 +0000 (22:20 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Thu, 14 Apr 2005 22:20:10 +0000 (22:20 +0000)
* New feature #0000957: Added TypoScript option page.headTag

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@643 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tbl_cms.php
typo3/sysext/cms/tslib/class.tslib_pagegen.php

index 48a9eb8..987a749 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-15  Michael Stucki  <michael@typo3.org>
+
+       * Made fe_user passwords case sensitive and render them as password fields
+       * New feature #0000957: Added TypoScript option page.headTag
+
 2005-04-14  Michael Stucki  <michael@typo3.org>
 
        * Added new stdWrap property "stdWrap" for calling stdWrap recursively
index acda870..e754f0c 100755 (executable)
@@ -63,7 +63,7 @@ $TCA['fe_users'] = Array (
                                'type' => 'input',
                                'size' => '10',
                                'max' => '40',
-                               'eval' => 'nospace,lower,required'
+                               'eval' => 'nospace,required,password'
                        )
                ),
                'usergroup' => Array (
index 801b4ae..9d091dc 100755 (executable)
@@ -416,8 +416,12 @@ function linkTo_UnCryptMailto(s)   {       //
                } else {
                        $_attr = '';
                }
-               $GLOBALS['TSFE']->content.='<html'.($_attr ? ' '.$_attr : '').'>
-<head>';
+               $GLOBALS['TSFE']->content.='<html'.($_attr ? ' '.$_attr : '').'>';
+
+                       // Head tag:
+               $headTag = $GLOBALS['TSFE']->pSetup['headTag'] ? $GLOBALS['TSFE']->pSetup['headTag'] : '<head>';
+               $GLOBALS['TSFE']->content.= chr(10).$headTag;
+
                        // Setting charset meta tag:
                $GLOBALS['TSFE']->content.='
        <meta http-equiv="Content-Type" content="text/html; charset='.$theCharset.'" />';