Created
September 10, 2017 12:21
-
-
Save WebSofter/8d2fa55f92435423f3c52c1f0e7e0c6b to your computer and use it in GitHub Desktop.
Joomla:PHP:User:Получение логина пользователя #php #joomla
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="#"> | |
<input type="hidden" name="Username" id="mod-chat-username" value="<?php echo JFactory::getUser()->get('username'); ?>"> | |
<input class="chat-new-message" name="new-message" id="mod-chat-message" type="text" placeholder="Напишите сообщение" /> | |
<button class="chat-send-message" id="mod-chat-btn" type="button"></button> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment