|
38 | 38 | $document->addStyleSheet(JURI::root() .'modules/mod_registerlogin/tmpl/assets/registerlogin.css'); |
39 | 39 |
|
40 | 40 | ?> |
41 | | - <script type="text/javascript" src="https://www.google.com/recaptcha/api.js?hl=<?php echo $lang; ?>"></script> |
42 | | - <script type="text/javascript" src="<?php echo JURI::root() .'modules/mod_registerlogin/tmpl/assets/jquery.registerloginplugin.js'?>"></script> |
| 41 | + <script src="https://www.google.com/recaptcha/api.js?hl=<?php echo $lang; ?>"></script> |
| 42 | + <script src="<?php echo JURI::root() .'modules/mod_registerlogin/tmpl/assets/jquery.registerloginplugin.js'?>"></script> |
43 | 43 | <div id="error_message1"> |
44 | 44 | <?php if($errorMessage){ ?> |
45 | 45 | <div class="alert alert-error"><a data-dismiss="alert" class="close">x</a> |
|
78 | 78 | </h3> |
79 | 79 | <form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form" name="josForm" class="form-validate form-horizontal"> |
80 | 80 | <div class="jd-inputbox-control"> |
81 | | - <?php if ($params->get('usetext')) : ?><label for=""><?php echo JText::_('COM_USERS_LOGIN_USERNAME_LABEL'); ?> </label> |
| 81 | + <?php if ($params->get('usetext')) : ?><label><?php echo JText::_('COM_USERS_LOGIN_USERNAME_LABEL'); ?> </label> |
82 | 82 | <?php endif; ?> |
83 | | - <input type="text" id="modlgn-username" name="username" class="jd-form-input required" value="" tabindex="0" size="18" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('COM_USERS_LOGIN_USERNAME_LABEL'); } ?>" required="true"> |
| 83 | + <input type="text" id="modlgn-username" name="username" class="jd-form-input required" value="" tabindex="0" size="18" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('COM_USERS_LOGIN_USERNAME_LABEL'); } ?>" required> |
84 | 84 | </div> |
85 | 85 | <div class="jd-inputbox-control"> |
86 | | - <?php if ($params->get('usetext')) : ?><label for=""><?php echo JText::_('COM_USERS_PROFILE_PASSWORD1_LABEL'); ?> </label> |
| 86 | + <?php if ($params->get('usetext')) : ?><label><?php echo JText::_('COM_USERS_PROFILE_PASSWORD1_LABEL'); ?> </label> |
87 | 87 | <?php endif; ?> |
88 | | - <input value="" id="modlgn_passwd" type="password" name="password" class="jd-form-input required password" tabindex="0" size="18" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('COM_USERS_PROFILE_PASSWORD1_LABEL'); } ?>" required="true"> |
| 88 | + <input value="" id="modlgn_passwd" type="password" name="password" class="jd-form-input required password" tabindex="0" size="18" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('COM_USERS_PROFILE_PASSWORD1_LABEL'); } ?>" required> |
89 | 89 | <span class="jd-input-group-addon" onclick="previewpass()"> |
90 | 90 | <span class="showpass" id="loginshowpass" aria-hidden="true"><?php echo JText::_('JSHOW') ?></span> |
91 | 91 | </span> |
92 | 92 | </div> |
93 | 93 | <div class="jd-inputbox-control jd-control-check-raido"> |
94 | | - <?php if (JPluginHelper::isEnabled('system', 'remember')) : ?><label for=""><input type="checkbox" name="remember" class="jd-form-checkbox-radio" value="yes"><?php echo JText::_('COM_USERS_LOGIN_REMEMBER_ME') ?></label> |
| 94 | + <?php if (JPluginHelper::isEnabled('system', 'remember')) : ?><label><input type="checkbox" name="remember" class="jd-form-checkbox-radio" value="yes"><?php echo JText::_('COM_USERS_LOGIN_REMEMBER_ME') ?></label> |
95 | 95 | <?php endif; ?> |
96 | 96 | </div> |
97 | 97 | <div class="jd-button-control"> |
|
118 | 118 |
|
119 | 119 | <div data-tab id="jd-register-container-<?php echo $module->id; ?>" class="jd-register-container"> |
120 | 120 | <?php if ($usersConfig->get('allowUserRegistration')) { ?> |
121 | | - <form action="" method="post" id="registration_form" name="josForm" class="form-validate form-horizontal"> |
| 121 | + <form method="post" id="registration_form" name="josForm" class="form-validate form-horizontal"> |
122 | 122 | <div class="jd-inputbox-control"> |
123 | | - <?php if ($params->get('usetext')) : ?><label for=""><?php echo JText::_('COM_USERS_REGISTER_NAME_LABEL'); ?> </label> |
| 123 | + <?php if ($params->get('usetext')) : ?><label><?php echo JText::_('COM_USERS_REGISTER_NAME_LABEL'); ?> </label> |
124 | 124 | <?php endif; ?> |
125 | 125 | <input tabindex="1" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('COM_USERS_REGISTER_NAME_LABEL'); } ?>" type="text" name="jform[name]" id="jform_name" size="20" class="jd-form-input required" required/> |
126 | 126 | </div> |
127 | 127 | <div class="jd-inputbox-control"> |
128 | | - <?php if ($params->get('usetext')) : ?><label for=""><?php echo JText::_('JGLOBAL_USERNAME'); ?> </label> |
| 128 | + <?php if ($params->get('usetext')) : ?><label><?php echo JText::_('JGLOBAL_USERNAME'); ?> </label> |
129 | 129 | <?php endif; ?> |
130 | 130 | <input tabindex="2" type="text" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('JGLOBAL_USERNAME'); } ?>" id="jform_username" name="jform[username]" size="20" class="jd-form-input required" required/> |
131 | 131 | </div> |
132 | 132 | <div class="jd-inputbox-control"> |
133 | | - <?php if ($params->get('usetext')) : ?><label for=""><?php echo JText::_('JGLOBAL_PASSWORD'); ?> </label> |
| 133 | + <?php if ($params->get('usetext')) : ?><label><?php echo JText::_('JGLOBAL_PASSWORD'); ?> </label> |
134 | 134 | <?php endif; ?> |
135 | 135 | <input tabindex="3" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('JGLOBAL_PASSWORD'); } ?>" class="jd-form-input required" type="password" id="jform_password1" name="jform[password1]" size="20" value="" required/> |
136 | 136 | </div> |
137 | 137 | <div class="jd-inputbox-control"> |
138 | | - <?php if ($params->get('usetext')) : ?><label for=""><?php echo JText::_('COM_USERS_REGISTER_PASSWORD2_DESC'); ?> </label> |
| 138 | + <?php if ($params->get('usetext')) : ?><label><?php echo JText::_('COM_USERS_REGISTER_PASSWORD2_DESC'); ?> </label> |
139 | 139 | <?php endif; ?> |
140 | 140 | <input tabindex="4" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('COM_USERS_REGISTER_PASSWORD2_DESC'); } ?>" data-rule-equalTo="#jform_password1" class="jd-form-input required" type="password" id="jform_password2" name="jform[password2]" size="20" value="" required/> |
141 | 141 | <span class="jd-input-group-addon" onclick="previewpassonregister()"> |
142 | 142 | <span class="showpass" id="reghidepass" aria-hidden="true"><?php echo JText::_('JSHOW') ?></span> |
143 | 143 | </span> |
144 | 144 | </div> |
145 | 145 | <div class="jd-inputbox-control"> |
146 | | - <?php if ($params->get('usetext')) : ?><label for=""><?php echo JText::_('COM_USERS_REGISTER_EMAIL1_DESC'); ?> </label> |
| 146 | + <?php if ($params->get('usetext')) : ?><label><?php echo JText::_('COM_USERS_REGISTER_EMAIL1_DESC'); ?> </label> |
147 | 147 | <?php endif; ?> |
148 | 148 | <input tabindex="5" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('COM_USERS_REGISTER_EMAIL1_DESC'); } ?>" type="email" id="jform_email1" name="jform[email1]" size="20" class="jd-form-input validate-email required email" required/> |
149 | 149 | </div> |
150 | 150 | <div class="jd-inputbox-control"> |
151 | | - <?php if ($params->get('usetext')) : ?><label for=""><?php echo JText::_('COM_USERS_REGISTER_EMAIL2_DESC'); ?> </label> |
| 151 | + <?php if ($params->get('usetext')) : ?><label><?php echo JText::_('COM_USERS_REGISTER_EMAIL2_DESC'); ?> </label> |
152 | 152 | <?php endif; ?> |
153 | 153 | <input tabindex="6" placeholder="<?php if(!$params->get('usetext')) { echo JText::_('COM_USERS_REGISTER_EMAIL2_DESC');} ?>" type="email" id="jform_email2" name="jform[email2]" size="20" class="jd-form-input required email" data-rule-equalTo="#jform_email1" required/> |
154 | 154 | </div> |
155 | 155 | <div class="jd-inputbox-control"> |
156 | 156 | <?php if ($params->get('enablecap_on_register')) { ?> |
157 | 157 | <?php if ($params->get('usetext')) : ?> |
158 | | - <label for="">Captcha </label> |
| 158 | + <label>Captcha </label> |
159 | 159 | <?php endif; ?> |
160 | 160 | <?php |
161 | 161 | if($siteKey){ ?> |
|
168 | 168 | </div> |
169 | 169 | <?php if ($params->get('tou')) { ?> |
170 | 170 | <div class="jd-inputbox-control jd-control-check-raido"> |
171 | | - <label for="" class="" > |
172 | | - <input name="terms" class="required" type="checkbox" <?php if($params->get('checkbox')) { echo "checked='checked'"; } ?> id="tou" required="true"/>   |
| 171 | + <label> |
| 172 | + <input name="terms" class="required" type="checkbox" <?php if($params->get('checkbox')) { echo "checked='checked'"; } ?> id="tou" required /> |
173 | 173 | <?php if($params->get('newwindow') == 'modal'){ ?> |
174 | 174 | <a href="<?php echo JURI::root(); ?>index.php?option=com_content&view=article&id=<?php echo $params->get('articleid') ?>&tmpl=component" rel="{handler:'iframe', size:{x:1000,y:700}}" class="modal jd-modal-link"><?php echo $title = $params->get('title') ? $params->get('title') : "I Agree to the Terms of Use"; ?></a> |
175 | 175 | <?php } else { ?> |
|
179 | 179 | </div> |
180 | 180 | <?php } ?> |
181 | 181 | <div class="jd-button-control"> |
182 | | - <button type="submit" id="register_submit" name="Submit" class="jd-form-button validate"><?php echo JText::_('JREGISTER') ?> <img src="<?php echo JURI::root(); ?>/modules/mod_registerlogin/tmpl/assets/loader.gif" class="regload" style="display:none;" /></button> |
| 182 | + <button type="submit" id="register_submit" name="Submit" class="jd-form-button validate"><?php echo JText::_('JREGISTER') ?> <img src="<?php echo JURI::root(); ?>/modules/mod_registerlogin/tmpl/assets/loader.gif" alt="Loading" class="regload" style="display:none;" /></button> |
183 | 183 | <input type="hidden" value="register" name="module<?php echo $module->id; ?>"> |
184 | 184 | <input type="hidden" value="" name="openview" id="openview"> |
185 | 185 | <?php echo JHTML::_('form.token'); ?> |
|
0 commit comments