示例#1
0
					<input id="discuss_member_passwd" type="password" name="password" class="inputbox" size="18" alt="password" />
					<?php 
} else {
    ?>
					<input id="discuss_member_passwd" type="password" name="passwd" class="inputbox" size="18" alt="password" />
					<?php 
}
?>
				</span>
			</p>
			<p class="halfcut">
				<?php 
$registerView = DiscussHelper::getJoomlaVersion() >= '1.6' ? 'registration' : 'register';
?>
				<?php 
echo JText::sprintf('COM_EASYDISCUSS_SIGNIN_CREATE_NEW_ACCOUNT', JRoute::_('index.php?option=' . DiscussHelper::getUserComponent() . '&view=' . $registerView));
?>
			</p>
		</div>
		<div class="dialog-buttons">
			<input type="submit" value="<?php 
echo JText::_('COM_EASYDISCUSS_BUTTON_LOGIN');
?>
" class="si_btn" />
			<input type="button" value="<?php 
echo JText::_('COM_EASYDISCUSS_BUTTON_CANCEL');
?>
"  class="si_btn" id="edialog-cancel" name="edialog-cancel" />
			<span id="dialog_loading" class="float-r"></span>
			<input type="hidden" name="return" value="<?php 
echo $return;
示例#2
0
					</p>
					<p class="halfcut">
						<label for="discuss_member_passwd"><?php 
echo JText::_('COM_EASYDISCUSS_MEMBER_PASSWORD');
?>
</label>
						<span class="si_input">
							<input id="discuss_usertype_member_password" type="password" name="passwd" class="inputbox" size="18" alt="password" />
						</span>
					</p>
				</div>
				<div id="usertype_member_pane_button">
					<input type="button" value="Reply" class="si_btn" id="edialog-member-reply" name="edialog-reply" onclick="discuss.login.submit.reply('member');"/>
					<input type="button" value="Cancel" class="si_btn" id="edialog-cancel" name="edialog-cancel" />
					<input type="hidden" name="option" value="<?php 
echo DiscussHelper::getUserComponent();
?>
" />
					<input type="hidden" name="task" value="login" />
					<input type="hidden" name="return" value="<?php 
echo $return;
?>
" />
				</div>
			</form>
		</div>

	<?php 
if ($system->my->id == 0 && $acl->allowed('add_reply')) {
    ?>
		<div id="discuss_register_pane_wrapper" style="display:none;">