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

Administrator Admin, 2009-11-23 18:21

View differences:

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();
(2-2/7)