Changeset 19336 for trunk/wp-admin/includes/dashboard.php
- Timestamp:
- 11/18/2011 03:30:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r19327 r19336 1304 1304 <li> 1305 1305 <?php echo sprintf( 1306 __( '<a href="%s">Choose your privacy setting</a> .' ),1306 __( '<a href="%s">Choose your privacy setting</a>' ), 1307 1307 esc_url( admin_url('options-privacy.php') ) 1308 1308 ); ?> … … 1310 1310 <li> 1311 1311 <?php echo sprintf( 1312 __( '<a href="%s">Select your tagline and time zone</a> .' ),1312 __( '<a href="%s">Select your tagline and time zone</a>' ), 1313 1313 esc_url( admin_url('options-general.php') ) 1314 1314 ); ?> … … 1316 1316 <li> 1317 1317 <?php echo sprintf( 1318 __( '<a href="%s">Turn comments on or off</a> .' ),1318 __( '<a href="%s">Turn comments on or off</a>' ), 1319 1319 esc_url( admin_url('options-discussion.php') ) 1320 1320 ); ?> … … 1322 1322 <li> 1323 1323 <?php echo sprintf( 1324 __( '<a href="%s">Fill in your profile</a> .' ),1324 __( '<a href="%s">Fill in your profile</a>' ), 1325 1325 esc_url( admin_url('profile.php') ) 1326 1326 ); ?> … … 1337 1337 <li> 1338 1338 <?php echo sprintf( 1339 __( 'View the <a href="%1$s">sample page</a> and <a href="%2$s">post</a> .' ),1339 __( 'View the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), 1340 1340 esc_url( get_permalink( 2 ) ), 1341 1341 esc_url( get_permalink( 1 ) ) … … 1344 1344 <li> 1345 1345 <?php echo sprintf( 1346 __( 'Delete the <a href="%1$s">sample page</a> and <a href="%2$s">post</a> .' ),1346 __( 'Delete the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), 1347 1347 esc_url( admin_url('edit.php?post_type=page') ), 1348 1348 esc_url( admin_url('edit.php') ) … … 1351 1351 <li> 1352 1352 <?php echo sprintf( 1353 __( '<a href="%s">Create an About Me page</a> .' ),1353 __( '<a href="%s">Create an About Me page</a>' ), 1354 1354 esc_url( admin_url('edit.php?post_type=page') ) 1355 1355 ); ?> … … 1357 1357 <li> 1358 1358 <?php echo sprintf( 1359 __( '<a href="%s">Write your first post</a> .' ),1359 __( '<a href="%s">Write your first post</a>' ), 1360 1360 esc_url( admin_url('post-new.php') ) 1361 1361 ); ?> … … 1368 1368 <?php _e( 'Customize Your Site' ); ?> 1369 1369 </h4> 1370 <p><?php printf( __( 'Use the default theme -- %1$s -- or <a href="%2$s">choose a new one</a>. If you stick with %3$s, here are a few ways to make your site look unique.' ), __( 'Twenty Eleven' ), esc_url( admin_url( 'themes.php' ) ), __( 'Twenty Eleven' ) ); ?></p> 1370 <?php 1371 $ct = current_theme_info(); 1372 if ( empty ( $ct->stylesheet_dir ) ) : 1373 echo '<p>'; 1374 printf( __( '<a href="%s">Install a theme</a> to get started customizing your site.' ), esc_url( admin_url( 'themes.php' ) ) ); 1375 echo '</p>'; 1376 else: 1377 echo '<p>'; 1378 printf( __( 'Use the current theme -- %1$s -- or <a href="%2$s">choose a new one</a>. If you stick with %3$s, here are a few ways to make your site look unique.' ), $ct->title, esc_url( admin_url( 'themes.php' ) ), $ct->title ); 1379 echo '</p>'; 1380 ?> 1371 1381 <ul> 1382 <?php if ( 'twentyeleven' == $ct->stylesheet ) : ?> 1372 1383 <li> 1373 1384 <?php echo sprintf( … … 1376 1387 ); ?> 1377 1388 </li> 1389 <?php 1390 endif; 1391 if ( current_theme_supports( 'custom-background' ) ) : 1392 ?> 1378 1393 <li> 1379 1394 <?php echo sprintf( … … 1382 1397 ); ?> 1383 1398 </li> 1399 <?php 1400 endif; 1401 if ( current_theme_supports( 'custom-header' ) ) : 1402 ?> 1384 1403 <li> 1385 1404 <?php echo sprintf( … … 1388 1407 ); ?> 1389 1408 </li> 1409 <?php 1410 endif; 1411 if ( current_theme_supports( 'widgets' ) ) : 1412 ?> 1390 1413 <li> 1391 1414 <?php echo sprintf( … … 1394 1417 ); ?> 1395 1418 </li> 1419 <?php endif; ?> 1396 1420 </ul> 1421 <?php endif; ?> 1397 1422 </div> 1398 1423 <p><?php printf( __( 'Already know what you’re doing? <a href="%s">Dismiss this message</a>.' ), '#' ) ?></p>
Note: See TracChangeset
for help on using the changeset viewer.