Bug #21651 » flash-msg-changelog v3.patch

Administrator Admin, 2009-11-23 18:47

View differences:

typo3/alt_db_navframe.php (Arbeitskopie)
209 209

  
210 210
			// Outputting Temporary DB mount notice:
211 211
		if ($this->active_tempMountPoint)	{
212
			$flashText = '
213
				<a href="' . htmlspecialchars(t3lib_div::linkThisScript(array('setTempDBmount' => 0))) . '">' .
214
				$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.temporaryDBmount',1) .
215
				'</a>		<br />' . 
216
				$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.path',1) . ': <span title="' .
217
				htmlspecialchars($this->active_tempMountPoint['_thePathFull']) . '">' . 
218
				htmlspecialchars(t3lib_div::fixed_lgd_cs($this->active_tempMountPoint['_thePath'],-50)).
219
				'</span>
220
			';
221

  
222
			$flashMessage = t3lib_div::makeInstance(
223
				't3lib_FlashMessage',
224
				$flashText,
225
				'',
226
				t3lib_FlashMessage::INFO
227
			);
228

  
229
		
212 230
			$this->content.= '
213 231
	<div class="bgColor4 c-notice">
214
		<img'.t3lib_iconWorks::skinImg('','gfx/icon_note.gif','width="18" height="16"').' align="top" alt="" />'.
215
		'<a href="'.htmlspecialchars(t3lib_div::linkThisScript(array('setTempDBmount' => 0))).'">'.
216
		$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.temporaryDBmount',1).
217
		'</a><br />
218
		'.$LANG->sl('LLL:EXT:lang/locallang_core.xml:labels.path',1).': <span title="'.htmlspecialchars($this->active_tempMountPoint['_thePathFull']).'">'.htmlspecialchars(t3lib_div::fixed_lgd_cs($this->active_tempMountPoint['_thePath'],-50)).'</span>
232
		' .$flashMessage->render() .'
219 233
	</div>
220 234
			';
221 235
		}
typo3/mod/tools/em/class.em_index.php (Arbeitskopie)
2507 2507
								$eC=2;
2508 2508
							}
2509 2509
							if (!$this->fe_user['username'])	{
2510
								$content .= '<br /><br /><img src="' . $GLOBALS['BACK_PATH'] .
2511
									'gfx/icon_note.gif" width="18" height="16" align="top" alt="" />' .
2510
								$flashMessage = t3lib_div::makeInstance(
2511
									't3lib_FlashMessage',
2512 2512
									sprintf($GLOBALS['LANG']->getLL('ext_details_no_username'),
2513 2513
										'<a href="index.php?SET[function]=3">', '</a>'
2514
									) .
2515
									'<br />';
2514
									),
2515
									'',
2516
									t3lib_FlashMessage::INFO
2517
								);
2518
								$content .= '<br />' . $flashMessage->render();
2519

  
2516 2520
							}
2517 2521
						}
2518 2522
						$this->content .= $this->doc->section(
typo3/mod/web/func/index.php (Arbeitskopie)
143 143
			$markers['CONTENT'] = $this->content;
144 144
		} else {
145 145
				// If no access or if ID == zero
146
			$this->content = $this->doc->section($LANG->getLL('title'), $LANG->getLL('clickAPage_content'), 0, 1);
147

  
146
			$flashMessage = t3lib_div::makeInstance(
147
				't3lib_FlashMessage',
148
				$LANG->getLL('clickAPage_content'),
149
				$LANG->getLL('title'),
150
				t3lib_FlashMessage::INFO
151
			);
152
			$this->content = $flashMessage->render();
153
			
148 154
				// Setting up the buttons and markers for docheader
149 155
			$docHeaderButtons = $this->getButtons();
150 156
			$markers['CSH'] = $docHeaderButtons['csh'];
typo3/sysext/cms/layout/db_layout.php (Arbeitskopie)
563 563
				if (top.fsMod) top.fsMod.recentIds["web"] = '.intval($this->id).';
564 564
			');
565 565

  
566
			$body = $this->doc->section($LANG->getLL('clickAPage_header'), $LANG->getLL('clickAPage_content'), 0, 1);
566
			$flashMessage = t3lib_div::makeInstance(
567
				't3lib_FlashMessage',
568
				$LANG->getLL('clickAPage_content'),
569
				$LANG->getLL('clickAPage_header'),
570
				t3lib_FlashMessage::INFO
571
			);
572
			$body = $flashMessage->render();
567 573

  
568 574
				// Setting up the buttons and markers for docheader
569 575
			$docHeaderButtons = array(
typo3/sysext/setup/mod/index.php (Arbeitskopie)
374 374

  
375 375
			// Notice
376 376
		$this->content .= $this->doc->spacer(30);
377
		$this->content .= $this->doc->section('', $LANG->getLL('activateChanges'));
377
		$flashMessage = t3lib_div::makeInstance(
378
			't3lib_FlashMessage',
379
			$LANG->getLL('activateChanges'),
380
			'',
381
			t3lib_FlashMessage::INFO
382
		);
383
		$this->content .= $flashMessage->render();
378 384

  
379 385
			// Setting up the buttons and markers for docheader
380 386
		$docHeaderButtons = $this->getButtons();
(4-4/7)