Dotclear


Ignore:
Timestamp:
08/30/13 10:37:08 (11 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Parents:
1619:5d925866b5b3 (diff), 1593:0c884219a872 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge 2.5 into default

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/install/index.php

    r1583 r1620  
    190190          $core->auth->user_prefs->dashboard->put('doclinks',true,'boolean','',null,true); 
    191191          $core->auth->user_prefs->dashboard->put('dcnews',true,'boolean','',null,true); 
    192           $core->auth->user_prefs->dashboard->put('quickentry',false,'boolean','',null,true); 
     192          $core->auth->user_prefs->dashboard->put('quickentry',true,'boolean','',null,true); 
    193193 
    194194          # Add accessibility options 
     
    307307'<div id="main">'; 
    308308 
     309if (!is_writable(DC_TPL_CACHE)) { 
     310     echo '<div class="error"><p>'.sprintf(__('Cache directory %s is not writable.'),DC_TPL_CACHE).'</p></div>'; 
     311} 
     312 
    309313if ($can_install && !empty($err)) { 
    310314     echo '<div class="error"><p><strong>'.__('Errors:').'</strong></p>'.$err.'</div>'; 
     
    312316 
    313317if (!empty($_GET['wiz'])) { 
    314      echo '<p class="message">'.__('Configuration file has been successfully created.').'</p>'; 
     318     echo '<p class="success">'.__('Configuration file has been successfully created.').'</p>'; 
    315319} 
    316320 
     
    324328     '<form action="index.php" method="post">'. 
    325329     '<fieldset><legend>'.__('User information').'</legend>'. 
    326      '<p><label for="u_firstname">'.__('First Name:').' '. 
    327      form::field('u_firstname',30,255,html::escapeHTML($u_firstname)).'</label></p>'. 
    328      '<p><label for="u_name">'.__('Last Name:').' '. 
    329      form::field('u_name',30,255,html::escapeHTML($u_name)).'</label></p>'. 
    330      '<p><label for="u_email">'.__('Email:').' '. 
    331      form::field('u_email',30,255,html::escapeHTML($u_email)).'</label></p>'. 
     330     '<p><label for="u_firstname">'.__('First Name:').'</label> '. 
     331     form::field('u_firstname',30,255,html::escapeHTML($u_firstname)).'</p>'. 
     332     '<p><label for="u_name">'.__('Last Name:').'</label> '. 
     333     form::field('u_name',30,255,html::escapeHTML($u_name)).'</p>'. 
     334     '<p><label for="u_email">'.__('Email:').'</label> '. 
     335     form::field('u_email',30,255,html::escapeHTML($u_email)).'</p>'. 
    332336     '</fieldset>'. 
    333337      
     
    378382     $plugins_install_result. 
    379383      
    380      '<p>'.__('Dotclear has been successfully installed. Here is some useful information you should keep.').'</p>'. 
     384     '<p class="success">'.__('Dotclear has been successfully installed. Here is some useful information you should keep.').'</p>'. 
    381385      
    382386     '<h3>'.__('Your account').'</h3>'. 
  • admin/install/index.php

    r1553 r1620  
    267267 
    268268  <script type="text/javascript" src="../js/jquery/jquery.js"></script> 
     269  <?php echo dcPage::jsLoad('../js/jquery/jquery.pwstrength.js'); ?> 
    269270  <script type="text/javascript"> 
    270271  //<![CDATA[ 
     
    278279      $(this).val(this.value.replace(login_re,'')); 
    279280    }); 
     281     
     282     <?php echo "\$('#u_pwd').pwstrength({texts: ['". 
     283                    sprintf(__('Password strength: %s'),__('very weak'))."', '". 
     284                    sprintf(__('Password strength: %s'),__('weak'))."', '". 
     285                    sprintf(__('Password strength: %s'),__('mediocre'))."', '". 
     286                    sprintf(__('Password strength: %s'),__('strong'))."', '". 
     287                    sprintf(__('Password strength: %s'),__('very strong'))."']});\n"; ?> 
    280288     
    281289    $('#u_login').parent().after($('<input type="hidden" name="u_date" value="' + Date().toLocaleString() + '" />')); 
     
    329337      
    330338     '<fieldset><legend>'.__('Username and password').'</legend>'. 
    331      '<p><label for="u_login" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').'</label> '. 
    332      form::field('u_login',30,32,html::escapeHTML($u_login)).'</p>'. 
    333      '<p><label for="u_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Password:').'</label> '. 
    334      form::password('u_pwd',30,255).'</p>'. 
    335      '<p><label for="u_pwd2" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Confirm password:').'</label> '. 
    336      form::password('u_pwd2',30,255).'</p>'. 
     339     '<p><label for="u_login" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').' '. 
     340     form::field('u_login',30,32,html::escapeHTML($u_login)).'</label></p>'. 
     341     '<div class="pw-table">'. 
     342          '<p class="pw-cell">'. 
     343               '<label for="u_pwd" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('New password:').'</label>'. 
     344               form::password('u_pwd',30,255,'','','',false,' data-indicator="pwindicator" '). 
     345          '</p>'. 
     346          '<div id="pwindicator">'. 
     347          '    <div class="bar"></div>'. 
     348          '    <p class="label no-margin"></p>'. 
     349          '</div>'. 
     350     '</div>'. 
     351     '<p><label for="u_pwd2" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Confirm password:').' '. 
     352     form::password('u_pwd2',30,255).'</label></p>'. 
    337353     '</fieldset>'. 
    338354      
Note: See TracChangeset for help on using the changeset viewer.

Sites map