src/Mouf/Utils/I18n/Fine/Controllers/EditLabelController.php
public function setMode($mode) {
		$editMode = ($mode=="on")?true:false;
		//SessionUtils::setMessageEditionMode($editMode);
		if ($editMode) {
			$_SESSION["FINE_MESSAGE_EDITION_MODE"] = true;
			$this->isMessageEditionMode = true;
		} else {
			unset($_SESSION["FINE_MESSAGE_EDITION_MODE"]);
		}

		$this->content->addFile('../utils.i18n.fine/src/views/enableDisableEdition.php', $this);
		$this->template->toHtml();
	}
public function setMode($mode) {
		$editMode = ($mode=="on")?true:false;
		//SessionUtils::setMessageEditionMode($editMode);
		if ($editMode) {
			$_SESSION["FINE_MESSAGE_EDITION_MODE"] = true;
			$this->isMessageEditionMode = true;
		} else {
			unset($_SESSION["FINE_MESSAGE_EDITION_MODE"]);
		}

		$this->content->addFile('../utils.i18n.fine/src/views/enableDisableEdition.php', $this);
		$this->template->toHtml();
	}
public function setMode ( $ mode ) { $ editMode = ( $ mode == "on" ) ? true : false ; //SessionUtils::setMessageEditionMode($editMode); if ( $ editMode ) { $ _SESSION [ "FINE_MESSAGE_EDITION_MODE" ] = true ; $ this -> isMessageEditionMode = true ; } else { unset ( $ _SESSION [ "FINE_MESSAGE_EDITION_MODE" ] ) ; } $ this -> content -> addFile ( '../utils.i18n.fine/src/views/enableDisableEdition.php' , $ this ) ; $ this -> template -> toHtml ( ) ; }
Action used to set the mode of label edition.

@Action
//@Admin
Action used to set the mode of label edition .