Changeset 3796 for trunk/bp-core/admin/bp-core-update.php
- Timestamp:
- 01/21/2011 01:05:56 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-update.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-update.php
r3777 r3796 232 232 $blogs_slug = constant( 'BP_BLOGS_SLUG' ); 233 233 else 234 $blogs_slug = __( 'blogs', 'buddypress' );234 $blogs_slug = 'blogs'; 235 235 236 236 if ( !defined( 'BP_ENABLE_MULTIBLOG' ) && is_multisite() ) … … 615 615 616 616 <?php if ( !$template_pack_installed ) : ?> 617 617 618 <p><label><input type="radio" name="theme" value="manual_wp" disabled="disabled" /> <?php _e( 'You must first install the BuddyPress template pack before choosing this option', 'buddypress' ) ?></label></p> 618 619 <p><a id="bp-template-pack" class="thickbox onclick button" href="http://buddypressorg.dev/wp-admin/plugin-install.php?tab=plugin-information&plugin=bp-template-pack&TB_iframe=true&width=640&height=500">+ <?php _e( 'Install Now', 'buddypress' ) ?></a></p> 620 619 621 <?php else : ?> 622 620 623 <p><label><input type="radio" name="theme" value="manual_wp" /> <?php _e( 'Choose this option (go to Appearance → BP Compatibility after setup is complete)', 'buddypress' ) ?></label></p> 621 624 <p><a id="bp-template-pack" class="button installed disabled" href="javascript:void();"><span></span><?php _e( 'Plugin Installed', 'buddypress' ) ?></a></p> 625 622 626 <?php endif; ?> 627 623 628 </td> 624 629 </tr> … … 649 654 </td> 650 655 </tr> 656 657 <tr> 658 <th> 659 <h5><?php _e( 'Do Not Change Theme', 'buddypress' ) ?></h5> 660 <img src="<?php echo plugins_url( '/buddypress/bp-core/images/existing.jpg' ) ?>" alt="bp-default" /> 661 </th> 662 <td> 663 <p><?php _e( "You are happy with your current theme and plan on changing it later.", 'buddypress' ) ?></p> 664 <p><strong><?php _e( 'This is the best choice if you have a highly customized theme on your site already, and want to manually integrate BuddyPress into your site over time.', 'buddypress' ) ?></strong></p> 665 666 <p><label><input type="radio" name="theme" value="do_not_change" /><?php _e( 'Choose this option', 'buddypress' ) ?></label></p> 667 668 </td> 669 </tr> 651 670 </table> 652 671 … … 868 887 <div id="message" class="updated fade"><p> 869 888 870 <?php 871 _e( 'Oops, there was a problem creating a configuration file. ', 'buddypress' ); 872 873 if ( $iis7_permalinks ) { 874 if ( $permalink_structure && ! $usingpi && ! $writable ) { 875 _e( 'If your <code>web.config</code> file were <a href="http://codex.wordpress.org/Changing_File_Permissions">writable</a>, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your <code>web.config</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all. Then insert this rule inside of the <code>/<configuration>/<system.webServer>/<rewrite>/<rules></code> element in <code>web.config</code> file.' ) 876 ?><br /><br /><textarea rows="9" class="large-text readonly" style="background: #fff;" name="rules" id="rules" readonly="readonly"><?php echo esc_html($wp_rewrite->iis7_url_rewrite_rules()); ?></textarea></p><?php 877 } else if ( $permalink_structure && ! $usingpi && $writable ) 878 _e( 'Permalink structure updated. Remove write access on web.config file now!' ); 879 } else { 880 _e( 'If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Changing_File_Permissions">writable</a>, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.' ); 881 ?><br /><br /><textarea rows="6" class="large-text readonly" style="background: #fff;" name="rules" id="rules" readonly="readonly"><?php echo esc_html($wp_rewrite->mod_rewrite_rules()); ?></textarea><?php 882 } 883 ?> 884 885 <br /><br /> 886 887 <?php 888 if ( empty( $iis7_permalinks ) ) 889 _e( 'Paste all these rules into a new <code>.htaccess</code> file in the root of your WordPress installation and save the file. Once you\'re done, please hit the "Save and Next" button to continue.', 'buddypress' ); 890 ?> 889 <?php 890 _e( 'Oops, there was a problem creating a configuration file. ', 'buddypress' ); 891 892 if ( $iis7_permalinks ) { 893 894 if ( $permalink_structure && ! $usingpi && ! $writable ) { 895 896 _e( 'If your <code>web.config</code> file were <a href="http://codex.wordpress.org/Changing_File_Permissions">writable</a>, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your <code>web.config</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all. Then insert this rule inside of the <code>/<configuration>/<system.webServer>/<rewrite>/<rules></code> element in <code>web.config</code> file.' ); ?> 897 898 <br /><br /> 899 900 <textarea rows="9" class="large-text readonly" style="background: #fff;" name="rules" id="rules" readonly="readonly"><?php echo esc_html( $wp_rewrite->iis7_url_rewrite_rules() ); ?></textarea> 901 902 <?php 903 904 } else if ( $permalink_structure && ! $usingpi && $writable ); { 905 906 _e( 'Permalink structure updated. Remove write access on web.config file now!' ); 907 } 908 909 } else { 910 911 _e( 'If your <code>.htaccess</code> file were <a href="http://codex.wordpress.org/Changing_File_Permissions">writable</a>, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your <code>.htaccess</code> file. Click in the field and press <kbd>CTRL + a</kbd> to select all.' ); ?> 912 913 <br /><br /> 914 915 <textarea rows="6" class="large-text readonly" style="background: #fff;" name="rules" id="rules" readonly="readonly"><?php echo esc_html( $wp_rewrite->mod_rewrite_rules() ); ?></textarea> 916 917 <?php } ?> 918 919 <br /><br /> 920 921 <?php 922 if ( empty( $iis7_permalinks ) ) 923 _e( 'Paste all these rules into a new <code>.htaccess</code> file in the root of your WordPress installation and save the file. Once you\'re done, please hit the "Save and Next" button to continue.', 'buddypress' ); 924 ?> 891 925 892 926 </p></div>
Note: See TracChangeset
for help on using the changeset viewer.