Bug #23129 ยป 15045.patch
tests/t3lib/t3lib_befuncTest.php (working copy) | ||
---|---|---|
);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
tests/t3lib/cache/backend/t3lib_cache_backend_pdobackendTest.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
tests/t3lib/cache/backend/t3lib_cache_backend_filebackendTest.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
tests/t3lib/cache/frontend/t3lib_cache_frontend_phpfrontendTest.php (working copy) | ||
---|---|---|
$this->assertSame('hello world!', $result);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
tests/t3lib/t3lib_pageselectTest.php (working copy) | ||
---|---|---|
);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
tests/t3lib/utility/t3lib_utility_clientTest.php (working copy) | ||
---|---|---|
);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
tests/t3lib/t3lib_tcemainTest.php (working copy) | ||
---|---|---|
$this->assertTrue($this->fixture->checkModifyAccessList('tt_content'));
|
||
}
|
||
}
|
||
?>
|
||
?>
|
tests/typo3/sysext/cms/tslib/tslib_feTest.php (working copy) | ||
---|---|---|
);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/alt_clickmenu.php (working copy) | ||
---|---|---|
$SOBE->main();
|
||
$SOBE->printContent();
|
||
?>
|
||
?>
|
typo3/sysext/rtehtmlarea/hooks/clearrtecache/ext_localconf.php (working copy) | ||
---|---|---|
// Register Ajax call
|
||
$TYPO3_CONF_VARS['BE']['AJAX']['rtehtmlarea::clearTempDir'] = 'EXT:rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearrtecache.php:tx_rtehtmlarea_clearrtecache->clearTempDir';
|
||
?>
|
||
?>
|
typo3/sysext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearcachemenu.php (working copy) | ||
---|---|---|
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearcachemenu.php']) {
|
||
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearcachemenu.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearrtecache.php (working copy) | ||
---|---|---|
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearrtecache.php']) {
|
||
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/hooks/clearrtecache/class.tx_rtehtmlarea_clearrtecache.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php (working copy) | ||
---|---|---|
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/about/mod/conf.php (working copy) | ||
---|---|---|
$MCONF['access'] = 'user,group';
|
||
$MCONF['script']='index.php';
|
||
$MCONF['name']='help_about';
|
||
?>
|
||
?>
|
typo3/sysext/about/mod/index.php (working copy) | ||
---|---|---|
$SOBE = t3lib_div::makeInstance('SC_mod_help_about_index');
|
||
$SOBE->main();
|
||
$SOBE->printContent();
|
||
?>
|
||
?>
|
typo3/sysext/sv/ext_autoload.php (working copy) | ||
---|---|---|
return array(
|
||
'tx_sv_reports_serviceslist' => $extensionPath . 'reports/class.tx_sv_reports_serviceslist.php',
|
||
);
|
||
?>
|
||
?>
|
typo3/sysext/taskcenter/ext_autoload.php (working copy) | ||
---|---|---|
return array (
|
||
'tx_taskcenter_task' => $extensionPath . 'interfaces/interface.tx_taskcenter_task.php'
|
||
);
|
||
?>
|
||
?>
|
typo3/sysext/aboutmodules/ext_tables.php (working copy) | ||
---|---|---|
if (!defined ('TYPO3_MODE')) die ('Access denied.');
|
||
if (TYPO3_MODE=='BE') t3lib_extMgm::addModule('help','aboutmodules','after:about',t3lib_extMgm::extPath($_EXTKEY).'mod/');
|
||
?>
|
||
?>
|
typo3/sysext/reports/reports/status/class.tx_reports_reports_status_configurationstatus.php (working copy) | ||
---|---|---|
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/reports/reports/status/class.tx_reports_reports_status_configurationstatus.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/reports/ext_autoload.php (working copy) | ||
---|---|---|
'tx_reports_reports_status_configurationstatus' => $extensionPath . 'reports/status/class.tx_reports_reports_status_configurationstatus.php',
|
||
'tx_reports_reports_status_status' => $extensionPath . 'reports/status/class.tx_reports_reports_status_status.php',
|
||
);
|
||
?>
|
||
?>
|
typo3/sysext/install/ext_localconf.php (working copy) | ||
---|---|---|
// Version 4.4: warn for set CompressionLevel and warn user to update his .htaccess
|
||
$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['update']['checkForCompressionLevel'] = 'tx_coreupdates_compressionlevel';
|
||
?>
|
||
?>
|
typo3/sysext/install/updates/class.tx_coreupdates_imagescols.php (working copy) | ||
---|---|---|
return $result;
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/install/ext_autoload.php (working copy) | ||
---|---|---|
return array(
|
||
'tx_install_report_installstatus' => t3lib_extMgm::extPath('install', 'report/class.tx_install_report_installstatus.php'),
|
||
);
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/RenderFlashMessagesViewHelper.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/CycleViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/RenderViewHelper.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/IfViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Form/UploadViewHelper.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Form/HiddenViewHelper.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/ThenViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/TranslateViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Format/CropViewHelper.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/LayoutViewHelper.php (working copy) | ||
---|---|---|
/**
|
||
* With this tag, you can select a layout to be used..
|
||
* <code><f:layout name="main" /></code>
|
||
*
|
||
*
|
||
*
|
||
*
|
||
* @version $Id: LayoutViewHelper.php 1734 2009-11-25 21:53:57Z stucki $
|
||
* @package Fluid
|
||
* @subpackage ViewHelpers
|
||
... | ... | |
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/AbstractBackendViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuViewHelper.php (working copy) | ||
---|---|---|
return '<div class="docheader-funcmenu">' . $this->tag->render() . '</div>';
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/Menus/ActionMenuItemViewHelper.php (working copy) | ||
---|---|---|
return $this->tag->render();
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php (working copy) | ||
---|---|---|
return $pageInfo;
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/Buttons/IconViewHelper.php (working copy) | ||
---|---|---|
return '<a href="' . $uri . '"><img' . $skinnedIcon . '" title="' . htmlspecialchars($title) . '" alt="" /></a>';
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/Buttons/ShortcutViewHelper.php (working copy) | ||
---|---|---|
return $doc->makeShortcutIcon($getList, $setList, $moduleName);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/Buttons/CshViewHelper.php (working copy) | ||
---|---|---|
return '<div class="docheader-csh">' . $cshButton . '</div>';
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/PagePathViewHelper.php (working copy) | ||
---|---|---|
return $pagePath;
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Be/TableListViewHelper.php (working copy) | ||
---|---|---|
return $dblist->HTMLcode;
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/ElseViewHelper.php (working copy) | ||
---|---|---|
/**
|
||
* Else-Branch of a condition. Only has an effect inside of "If". See the If-ViewHelper for documentation.
|
||
*
|
||
*
|
||
* @see Tx_Fluid_ViewHelpers_IfViewHelper
|
||
*
|
||
* @version $Id: ElseViewHelper.php 1734 2009-11-25 21:53:57Z stucki $
|
||
... | ... | |
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/BaseViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/GroupedForViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/Uri/ResourceViewHelper.php (working copy) | ||
---|---|---|
return $uri;
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/ForViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/SectionViewHelper.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/ViewHelpers/AliasViewHelper.php (working copy) | ||
---|---|---|
/**
|
||
*
|
||
* @param array $map
|
||
* @param array $map
|
||
* @return string Rendered string
|
||
* @author Bastian Waidelich <bastian@typo3.org>
|
||
* @api
|
||
... | ... | |
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/View/TemplateViewInterface.php (working copy) | ||
---|---|---|
public function hasTemplate();
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Classes/Core/ViewHelper/Exception.php (working copy) | ||
---|---|---|
*/
|
||
class Tx_Fluid_Core_ViewHelper_Exception extends Tx_Fluid_Core_Exception {
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/ext_emconf.php (working copy) | ||
---|---|---|
),
|
||
);
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/GroupedForViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Fixtures/ConstraintSyntaxTreeNode.php (working copy) | ||
---|---|---|
*/
|
||
class Tx_Fluid_ViewHelpers_Fixtures_ConstraintSyntaxTreeNode extends Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode {
|
||
public $callProtocol = array();
|
||
|
||
public function __construct(Tx_Fluid_Core_ViewHelper_TemplateVariableContainer $variableContainer) {
|
||
$this->variableContainer = $variableContainer;
|
||
}
|
||
|
||
public function evaluateChildNodes() {
|
||
$identifiers = $this->variableContainer->getAllIdentifiers();
|
||
$callElement = array();
|
||
... | ... | |
}
|
||
$this->callProtocol[] = $callElement;
|
||
}
|
||
|
||
public function evaluate() {}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ThenViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/Fixtures/EmptySyntaxTreeNode.php (working copy) | ||
---|---|---|
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3 or later
|
||
*/
|
||
class Tx_Fluid_ViewHelpers_Fixtures_EmptySyntaxTreeNode extends Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode {
|
||
|
||
public function __construct() {
|
||
|
||
}
|
||
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/Fixtures/Fixture_UserDomainClass.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextareaViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ForViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/IfViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/ElseViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/Nl2brViewHelperTest.php (working copy) | ||
---|---|---|
$this->assertEquals('Line 1<br />' . chr(13) . chr(10) . 'Line 2', $actualResult);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/DateViewHelperTest.php (working copy) | ||
---|---|---|
$this->assertEquals('1980-12-12', $actualResult);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Format/CurrencyViewHelperTest.php (working copy) | ||
---|---|---|
$this->assertEquals('-123,46', $actualResult);
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/AliasViewHelperTest.php (working copy) | ||
---|---|---|
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/EmailViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Uri/ExternalViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/ViewHelpers/CycleViewHelperTest.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/View/Fixtures/TransparentSyntaxTreeNode.php (working copy) | ||
---|---|---|
*/
|
||
class Tx_Fluid_View_Fixture_TransparentSyntaxTreeNode extends Tx_Fluid_Core_Parser_SyntaxTree_AbstractNode {
|
||
public $variableContainer;
|
||
|
||
public function evaluate() {
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/View/Fixtures/TemplateViewFixture.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/Core/TagBuilderTest.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/TextNodeTest.php (working copy) | ||
---|---|---|
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/Core/Parser/Fixtures/TemplateParserTestFixture01-shorthand-split.php (working copy) | ||
---|---|---|
return array('
|
||
a{f:base()}b');
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/Core/Parser/Fixtures/TemplateParserTestFixture14-split.php (working copy) | ||
---|---|---|
'</f:format.printf>'
|
||
);
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/Core/Parser/Fixtures/ChildNodeAccessFacetViewHelper.php (working copy) | ||
---|---|---|
}
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/Core/Parser/Fixtures/TemplateParserTestFixture06-split.php (working copy) | ||
---|---|---|
return array('{namespace f3=Tx_Fluid_ViewHelpers}<f3:format.nl2br><f3:format.number decimals="1">{number}</f3:format.number></f3:format.nl2br>');
|
||
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/ArgumentDefinitionTest.php (working copy) | ||
---|---|---|
?>
|
||
?>
|
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/TemplateVariableContainerTest.php (working copy) | ||
---|---|---|
$this->assertSame($this->variableContainer->get('variable'), $object);
|
||
$this->assertSame($this->variableContainer['variable'], $object);
|
||
}
|
||
|
||
/**
|
||
* @test
|
||
* @author Sebastian Kurfรผrst <sebastian@typo3.org>
|
||
... | ... | |
$this->assertTrue($this->variableContainer->exists('variable'));
|
||
$this->assertTrue(isset($this->variableContainer['variable']));
|
||
}
|
||
|
||
/**
|
||
* @test
|
||
* @author Sebastian Kurfรผrst <sebastian@typo3.org>
|
||
... | ... | |
$this->variableContainer->add("variable", $object);
|
||
$this->assertEquals($this->variableContainer->getAllIdentifiers(), array('variable'), 'Added key is not visible in getAllIdentifiers');
|
||
}
|
||
|
||
/**
|
||
* @test
|
||
* @expectedException Tx_Fluid_Core_ViewHelper_Exception_InvalidVariableException
|
||
... | ... | |
public function gettingNonexistentValueThrowsException() {
|
||
$this->variableContainer->get('nonexistent');
|
||
}
|
||
|
||
/**
|
||
* @test
|
||
* @expectedException Tx_Fluid_Core_ViewHelper_Exception_InvalidVariableException
|
||
... | ... | |
public function deletingNonexistentValueThrowsException() {
|
||
$this->variableContainer->remove('nonexistent');
|
||
}
|
||
|
||
/**
|
||
* @test
|
||
* @expectedException Tx_Fluid_Core_ViewHelper_Exception_InvalidVariableException
|
||
... | ... | |
?>
|
||
?>
|
typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php (working copy) | ||
---|---|---|
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/indexed_search/pi/class.tx_indexedsearch.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/tsconfig_help/mod1/index.php (working copy) | ||
---|---|---|
$SOBE->main();
|
||
$SOBE->printContent();
|
||
?>
|
||
?>
|
typo3/sysext/beuser/mod/index.php (working copy) | ||
---|---|---|
$allCells = array();
|
||
$link_createNewUser='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick('&edit[be_users][0]=new',$this->doc->backPath,-1)).'" title="' . $GLOBALS['LANG']->getLL('newUser', true) . '">'.
|
||
t3lib_iconWorks::getSpriteIcon('actions-document-new') .
|
||
t3lib_iconWorks::getSpriteIcon('actions-document-new') .
|
||
'</a>';
|
||
$allCells['USERS'] = '<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td><strong>' . $GLOBALS['LANG']->getLL('usernames', TRUE) . '</strong></td><td width="12">' . $link_createNewUser . '</td></tr></table>';
|
||
... | ... | |
if ($curUid != $uDat['uid'] && !$uDat['disable'] && ($uDat['starttime'] == 0 ||
|
||
$uDat['starttime'] < $GLOBALS['EXEC_TIME']) && ($uDat['endtime'] == 0 ||
|
||
$uDat['endtime'] > $GLOBALS['EXEC_TIME'])) {
|
||
$uItem .= '<a href="' . t3lib_div::linkThisScript(array('SwitchUser'=>$uDat['uid'])) . '" target="_top" title="' . htmlspecialchars($GLOBALS['LANG']->getLL('switchUserTo', true) . ' ' . $uDat['username']) . ' ' . $GLOBALS['LANG']->getLL('changeToMode', TRUE) . '">' .
|
||
$uItem .= '<a href="' . t3lib_div::linkThisScript(array('SwitchUser'=>$uDat['uid'])) . '" target="_top" title="' . htmlspecialchars($GLOBALS['LANG']->getLL('switchUserTo', true) . ' ' . $uDat['username']) . ' ' . $GLOBALS['LANG']->getLL('changeToMode', TRUE) . '">' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-system-backend-user-switch') .
|
||
'</a>'.
|
||
'<a href="' . t3lib_div::linkThisScript(array('SwitchUser'=>$uDat['uid'], 'switchBackUser' => 1)) . '" target="_top" title="' . htmlspecialchars($GLOBALS['LANG']->getLL('switchUserTo', true) . ' ' . $uDat['username']) . ' ' . $GLOBALS['LANG']->getLL('switchBackMode', TRUE) . '">' .
|
||
'<a href="' . t3lib_div::linkThisScript(array('SwitchUser'=>$uDat['uid'], 'switchBackUser' => 1)) . '" target="_top" title="' . htmlspecialchars($GLOBALS['LANG']->getLL('switchUserTo', true) . ' ' . $uDat['username']) . ' ' . $GLOBALS['LANG']->getLL('switchBackMode', TRUE) . '">' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-system-backend-user-emulate') .
|
||
'</a>';
|
||
}
|
||
... | ... | |
'</a>';
|
||
} else {
|
||
$params='&data[' . $table . '][' . $row['uid'] . '][' . $hiddenField . ']=1';
|
||
$cells[]='<a href="' . $this->doc->issueCommand($params) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:disable', true) . '">' .
|
||
$cells[]='<a href="' . $this->doc->issueCommand($params) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:disable', true) . '">' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-edit-hide') .
|
||
'</a>';
|
||
}
|
||
// Delete
|
||
$params='&cmd[' . $table . '][' . $row['uid'] . '][delete]=1';
|
||
$cells[]='<a href="' . $this->doc->issueCommand($params) . '" onclick="return confirm(unescape(\'' . rawurlencode($GLOBALS['LANG']->getLL('sureToDelete', TRUE)) . '\'));" title="' . $GLOBALS['LANG']->getLL('delete', TRUE) . '">' .
|
||
$cells[]='<a href="' . $this->doc->issueCommand($params) . '" onclick="return confirm(unescape(\'' . rawurlencode($GLOBALS['LANG']->getLL('sureToDelete', TRUE)) . '\'));" title="' . $GLOBALS['LANG']->getLL('delete', TRUE) . '">' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-edit-delete') .
|
||
'</a>';
|
||
... | ... | |
$SOBE->main();
|
||
$SOBE->printContent();
|
||
?>
|
||
?>
|
typo3/sysext/lang/lang.php (working copy) | ||
---|---|---|
*
|
||
* This copyright notice MUST APPEAR in all copies of the script!
|
||
***************************************************************/
|
||
/**
|
||
/**
|
||
* Contains the TYPO3 Backend Language class
|
||
*
|
||
* $Id$
|
||
... | ... | |
class language {
|
||
// This is set to the language that is currently running for the user
|
||
public $lang = 'default';
|
||
// Values like the labels in the tables.php-document are split by '|'.
|
||
// This values defines which language is represented by which position
|
||
// Values like the labels in the tables.php-document are split by '|'.
|
||
// This values defines which language is represented by which position
|
||
// in the resulting array after splitting a value. (NOTICE: Obsolete concept!)
|
||
public $langSplit = 'default';
|
||
... | ... | |
* @access public
|
||
*/
|
||
public function hscAndCharConv($lStr, $hsc) {
|
||
// labels returned from a locallang file used to be in the language of the charset.
|
||
// labels returned from a locallang file used to be in the language of the charset.
|
||
// Since TYPO3 4.1 they are always in the charset of the BE.
|
||
if ($hsc) {
|
||
return htmlspecialchars($lStr);
|
||
... | ... | |
}
|
||
/**
|
||
* Will convert the input strings special chars (all above 127) to entities.
|
||
* Will convert the input strings special chars (all above 127) to entities.
|
||
* The string is expected to be encoded in the charset, $this->charSet
|
||
* This function is used to create strings that can be used in the Click Menu
|
||
* (Context Sensitive Menus). The reason is that the values that are dynamically
|
||
* (Context Sensitive Menus). The reason is that the values that are dynamically
|
||
* written into the <div> layer is decoded as iso-8859-1 no matter what charset
|
||
* is used in the document otherwise (only MSIE, Mozilla is OK).
|
||
* is used in the document otherwise (only MSIE, Mozilla is OK).
|
||
* So by converting we by-pass this problem.
|
||
*
|
||
* @param string Input string
|
||
... | ... | |
}
|
||
/**
|
||
* Works like ->getLL() but takes the $LOCAL_LANG array
|
||
* Works like ->getLL() but takes the $LOCAL_LANG array
|
||
* used as the second argument instead of using the global array.
|
||
*
|
||
* @param string Label key
|
||
... | ... | |
// Get Local Language
|
||
if (strcmp($LOCAL_LANG[$this->lang][$index], '')) {
|
||
// Returns local label if not blank.
|
||
$output = $this->hscAndCharConv($LOCAL_LANG[$this->lang][$index], $hsc);
|
||
$output = $this->hscAndCharConv($LOCAL_LANG[$this->lang][$index], $hsc);
|
||
} else {
|
||
// Returns default label
|
||
$output = $this->hscAndCharConv($LOCAL_LANG['default'][$index], $hsc);
|
||
... | ... | |
$t = explode('|', $input);
|
||
$out = $t[$this->langSplitIndex] ? $t[$this->langSplitIndex] : $t[0];
|
||
return $this->hscAndCharConv($out, $hsc);
|
||
// LOCAL_LANG:
|
||
} else {
|
||
// LOCAL_LANG:
|
||
} else {
|
||
// If cached label
|
||
if (!isset($this->LL_labels_cache[$this->lang][$input])) {
|
||
$restStr = trim(substr($input, 4));
|
||
$extPrfx = '';
|
||
|
||
// ll-file refered to is found in an extension.
|
||
if (!strcmp(substr($restStr, 0, 4), 'EXT:')) {
|
||
$restStr = trim(substr($restStr, 4));
|
||
... | ... | |
}
|
||
$parts = explode(':', $restStr);
|
||
$parts[0] = $extPrfx . $parts[0];
|
||
|
||
// Getting data if not cached
|
||
if (!isset($this->LL_files_cache[$parts[0]])) {
|
||
$this->LL_files_cache[$parts[0]] = $this->readLLfile($parts[0]);
|
||
// If the current language is found in another file, load that as well:
|
||
$lFileRef = $this->localizedFileRef($parts[0]);
|
||
if ($lFileRef && is_string($this->LL_files_cache[$parts[0]][$this->lang])
|
||
if ($lFileRef && is_string($this->LL_files_cache[$parts[0]][$this->lang])
|
||
&& $this->LL_files_cache[$parts[0]][$this->lang] == 'EXT') {
|
||
$tempLL = $this->readLLfile($lFileRef);
|
||
$this->LL_files_cache[$parts[0]][$this->lang] = $tempLL[$this->lang];
|
||
... | ... | |
}
|
||
/**
|
||
* Loading $TCA_DESCR[$table]['columns'] with content from locallang files
|
||
* Loading $TCA_DESCR[$table]['columns'] with content from locallang files
|
||
* as defined in $TCA_DESCR[$table]['refs']
|
||
* $TCA_DESCR is a global var
|
||
*
|
||
... | ... | |
public function loadSingleTableDescription($table) {
|
||
global $TCA_DESCR;
|
||
// First the 'table' cannot already be loaded in [columns]
|
||
// First the 'table' cannot already be loaded in [columns]
|
||
// and secondly there must be a references to locallang files available in [refs]
|
||
if (is_array($TCA_DESCR[$table])
|
||
&& !isset($TCA_DESCR[$table]['columns'])
|
||
... | ... | |
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/lang/lang.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/sys_action/toolbarmenu/class.tx_sysaction_toolbarmenu.php (working copy) | ||
---|---|---|
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/sys_action/toolbarmenu/class.tx_sysaction_toolbarmenu.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/statictemplates/ext_localconf.php (working copy) | ||
---|---|---|
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['includeStaticTypoScriptSources'][] = 'EXT:statictemplates/class.tx_statictemplates.php:tx_statictemplates->includeStaticTypoScriptSources';
|
||
?>
|
||
?>
|
typo3/sysext/statictemplates/class.tx_statictemplates.php (working copy) | ||
---|---|---|
* @return void
|
||
*/
|
||
public function includeStaticTypoScriptSources(&$params, &$pObj) {
|
||
// Static Template Records (static_template): include_static is a
|
||
// Static Template Records (static_template): include_static is a
|
||
// list of static templates to include
|
||
if (trim($params['row']['include_static'])) {
|
||
$includeStaticArr = t3lib_div::intExplode(',', $params['row']['include_static']);
|
||
... | ... | |
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/statictemplates/ext_tables.php (working copy) | ||
---|---|---|
t3lib_extMgm::addTCAcolumns('sys_template', $tempField, 1);
|
||
t3lib_extMgm::addToAllTCAtypes('sys_template', 'include_static;;2;;5-5-5', '', 'before:includeStaticAfterBasedOn');
|
||
?>
|
||
?>
|
typo3/sysext/impexp/class.tx_impexp.php (working copy) | ||
---|---|---|
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/impexp/class.tx_impexp.php']) {
|
||
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/impexp/class.tx_impexp.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID/BigMath.php (working copy) | ||
---|---|---|
return defined('Auth_OpenID_NO_MATH_SUPPORT');
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID/SQLStore.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID/Discover.php (working copy) | ||
---|---|---|
return $result;
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID/DiffieHellman.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID/SReg.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID/Message.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID/URINorm.php (working copy) | ||
---|---|---|
return $scheme . '://' . $authority . $path . $query . $fragment;
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID/FileStore.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/OpenID.php (working copy) | ||
---|---|---|
"</html>");
|
||
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/Yadis/XRIRes.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/Yadis/XRI.php (working copy) | ||
---|---|---|
return $canonicalID;
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/Yadis/Yadis.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/lib/php-openid/Auth/Yadis/XML.php (working copy) | ||
---|---|---|
return $p;
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/openid/class.tx_openid_return.php (working copy) | ||
---|---|---|
/* @var tx_openid_return $module */
|
||
$module->main();
|
||
?>
|
||
?>
|
typo3/sysext/openid/class.tx_openid_eid.php (working copy) | ||
---|---|---|
/* @var tx_openid_eID $module */
|
||
$module->main();
|
||
?>
|
||
?>
|
typo3/sysext/openid/sv1/class.tx_openid_sv1.php (working copy) | ||
---|---|---|
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/openid/sv1/class.tx_openid_sv1.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/feedit/view/class.tx_feedit_editpanel.php (working copy) | ||
---|---|---|
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/feedit/view/class.tx_feedit_editpanel.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/cms/layout/class.tx_cms_layout.php (working copy) | ||
---|---|---|
*
|
||
* @author Kasper Skaarhoj <kasperYYYY@typo3.com>
|
||
*/
|
||
|
||
/**
|
||
* [CLASS/FUNCTION INDEX of SCRIPT]
|
||
*
|
||
... | ... | |
* @return string HTML for the listing
|
||
*/
|
||
function getExternalTables($id, $table) {
|
||
|
||
$type = $GLOBALS['SOBE']->MOD_SETTINGS[$table];
|
||
if (!isset($type)) {
|
||
$type = 0;
|
||
}
|
||
|
||
$fList = $this->externalTables[$table][$type]['fList']; // eg. "name;title;email;company,image"
|
||
$fList = $this->externalTables[$table][$type]['fList']; // eg. "name;title;email;company,image"
|
||
// The columns are separeted by comma ','.
|
||
// Values separated by semicolon ';' are shown in the same column.
|
||
// Values separated by semicolon ';' are shown in the same column.
|
||
$icon = $this->externalTables[$table][$type]['icon'];
|
||
$addWhere = $this->externalTables[$table][$type]['addWhere'];
|
||
|
||
// Create listing
|
||
$out = $this->makeOrdinaryList($table, $id, $fList, $icon, $addWhere);
|
||
return $out;
|
||
... | ... | |
}
|
||
if ($this->doEdit) {
|
||
$Nrow['__cmds__'].= '<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($params,$this->backPath)).'" title="' . $GLOBALS['LANG']->getLL('edit', TRUE) . '">' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-document-open') .
|
||
t3lib_iconWorks::getSpriteIcon('actions-document-open') .
|
||
'</a>';
|
||
} else {
|
||
$Nrow['__cmds__'].= $this->noEditIcon();
|
||
... | ... | |
$confirm = $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->getLL('deleteWarning') .
|
||
t3lib_BEfunc::translationCount('tt_content', $row['uid'], ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.translationsOfRecord')));
|
||
$out.='<a href="'.htmlspecialchars($GLOBALS['SOBE']->doc->issueCommand($params)).'" onclick="'.htmlspecialchars('return confirm('. $confirm .');').'" title="'.$GLOBALS['LANG']->getLL('deleteItem', TRUE).'">'.
|
||
t3lib_iconWorks::getSpriteIcon('actions-edit-delete') .
|
||
t3lib_iconWorks::getSpriteIcon('actions-edit-delete') .
|
||
'</a>';
|
||
if (!$disableMoveAndNewButtons) {
|
||
... | ... | |
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/cms/layout/class.tx_cms_layout.php']);
|
||
}
|
||
?>
|
||
?>
|
typo3/sysext/cms/layout/db_new_content_el.php (working copy) | ||
---|---|---|
$SOBE->main();
|
||
$SOBE->printContent();
|
||
?>
|