Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

showMsg et PluCss #246

Closed
Philippe-M opened this issue Aug 17, 2017 · 1 comment
Closed

showMsg et PluCss #246

Philippe-M opened this issue Aug 17, 2017 · 1 comment

Comments

@Philippe-M
Copy link
Contributor

La fonction plxUtils::showMsg n'est pas codé correctement par rapport à PluCss.

Elle utilise ce code

	public static function showMsg($msg, $class='') {
		if($class=='') echo '<p class="msg">'.$msg.'</p>';
		else echo '<p class="'.$class.'">'.$msg.'</p>';
	}

Alors que pour fonctionner correction il faudrait que le code soit

	public static function showMsg($msg, $class='') {
		if($class=='') echo '<div class="alert blue"><strong>'.$msg.'</strong></div>';
		else echo '<div class="'.$class.'"><strong>'.$msg.'</strong></div>';
	}

Voir paragraphe "Alerte" sur http://plucss.pluxml.org/#other-components

jerrywham added a commit to jerrywham/PluXml that referenced this issue Sep 6, 2017
jerrywham added a commit to jerrywham/PluXml that referenced this issue Sep 6, 2017
@pluxml
Copy link
Collaborator

pluxml commented Dec 4, 2017

implémenté

@pluxml pluxml closed this as completed Dec 4, 2017
bazooka07 pushed a commit to bazooka07/PluXml that referenced this issue Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant