Changeset 1620:542c321dc040 for admin/install
- Timestamp:
- 08/30/13 10:37:08 (11 years ago)
- 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. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/install/index.php
r1583 r1620 190 190 $core->auth->user_prefs->dashboard->put('doclinks',true,'boolean','',null,true); 191 191 $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); 193 193 194 194 # Add accessibility options … … 307 307 '<div id="main">'; 308 308 309 if (!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 309 313 if ($can_install && !empty($err)) { 310 314 echo '<div class="error"><p><strong>'.__('Errors:').'</strong></p>'.$err.'</div>'; … … 312 316 313 317 if (!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>'; 315 319 } 316 320 … … 324 328 '<form action="index.php" method="post">'. 325 329 '<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>'. 332 336 '</fieldset>'. 333 337 … … 378 382 $plugins_install_result. 379 383 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>'. 381 385 382 386 '<h3>'.__('Your account').'</h3>'. -
admin/install/index.php
r1553 r1620 267 267 268 268 <script type="text/javascript" src="../js/jquery/jquery.js"></script> 269 <?php echo dcPage::jsLoad('../js/jquery/jquery.pwstrength.js'); ?> 269 270 <script type="text/javascript"> 270 271 //<![CDATA[ … … 278 279 $(this).val(this.value.replace(login_re,'')); 279 280 }); 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"; ?> 280 288 281 289 $('#u_login').parent().after($('<input type="hidden" name="u_date" value="' + Date().toLocaleString() + '" />')); … … 329 337 330 338 '<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>'. 337 353 '</fieldset>'. 338 354
Note: See TracChangeset
for help on using the changeset viewer.