##// END OF EJS Templates
Ruby 1.9: fix parsing error fr.yml with psych yaml library (#8847)....
Ruby 1.9: fix parsing error fr.yml with psych yaml library (#8847). It seems that double quote and escape is need for non ASCII and backslash on ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]. Contributed by Etienne Massip. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6644 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r3630:715c9d16ef2c
r6524:f0fc9b4db3c7
Show More
_form.rhtml
44 lines | 2.1 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
0.3 unstable...
r10 <%= error_messages_for 'auth_source' %>
<div class="box">
<!--[form:auth_source]-->
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_name"><%=l(:field_name)%> <span class="required">*</span></label>
Jean-Philippe Lang
0.3 unstable...
r10 <%= text_field 'auth_source', 'name' %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_host"><%=l(:field_host)%> <span class="required">*</span></label>
Jean-Philippe Lang
0.3 unstable...
r10 <%= text_field 'auth_source', 'host' %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_port"><%=l(:field_port)%> <span class="required">*</span></label>
Jean-Philippe Lang
Added LDAPS support for LDAP authentication....
r831 <%= text_field 'auth_source', 'port', :size => 6 %> <%= check_box 'auth_source', 'tls' %> LDAPS</p>
Jean-Philippe Lang
0.3 unstable...
r10
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_account"><%=l(:field_account)%></label>
Jean-Philippe Lang
0.3 unstable...
r10 <%= text_field 'auth_source', 'account' %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_account_password"><%=l(:field_password)%></label>
Jean-Philippe Lang
Fixed: svn or ldap password can be found in clear text in the html source in editing mode....
r929 <%= password_field 'auth_source', 'account_password', :name => 'ignore',
:value => ((@auth_source.new_record? || @auth_source.account_password.blank?) ? '' : ('x'*15)),
:onfocus => "this.value=''; this.name='auth_source[account_password]';",
:onchange => "this.name='auth_source[account_password]';" %></p>
Jean-Philippe Lang
0.3 unstable...
r10
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_base_dn"><%=l(:field_base_dn)%> <span class="required">*</span></label>
Jean-Philippe Lang
0.3 unstable...
r10 <%= text_field 'auth_source', 'base_dn', :size => 60 %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_onthefly_register"><%=l(:field_onthefly)%></label>
<%= check_box 'auth_source', 'onthefly_register' %></p>
Jean-Philippe Lang
Improved on-the-fly account creation. If some attributes are missing (eg. not present in the LDAP) or are invalid, the registration form is displayed so that the user is able to fill or fix these attributes....
r1661 </div>
Jean-Philippe Lang
0.3 unstable...
r10
Jean-Philippe Lang
Improved on-the-fly account creation. If some attributes are missing (eg. not present in the LDAP) or are invalid, the registration form is displayed so that the user is able to fill or fix these attributes....
r1661 <fieldset class="box"><legend><%=l(:label_attribute_plural)%></legend>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_attr_login"><%=l(:field_login)%> <span class="required">*</span></label>
Jean-Philippe Lang
0.3 unstable...
r10 <%= text_field 'auth_source', 'attr_login', :size => 20 %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_attr_firstname"><%=l(:field_firstname)%></label>
Jean-Philippe Lang
0.3 unstable...
r10 <%= text_field 'auth_source', 'attr_firstname', :size => 20 %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_attr_lastname"><%=l(:field_lastname)%></label>
Jean-Philippe Lang
0.3 unstable...
r10 <%= text_field 'auth_source', 'attr_lastname', :size => 20 %></p>
Jean-Philippe Lang
tables and forms redesign,...
r19 <p><label for="auth_source_attr_mail"><%=l(:field_mail)%></label>
Jean-Philippe Lang
0.3 unstable...
r10 <%= text_field 'auth_source', 'attr_mail', :size => 20 %></p>
</fieldset>
Jean-Philippe Lang
tables and forms redesign,...
r19 <!--[eoform:auth_source]-->