| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | * @link http://pixelgrade.com |
| 12 | 12 | * @copyright 2013 Pixel Grade Media |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -$config = include pixcustomify::pluginpath() . 'plugin-config' . EXT; | |
| 15 | +$config = include PixCustomifyPlugin()->get_base_path() . 'plugin-config' . EXT; | |
| 16 | 16 | |
| 17 | 17 | // invoke processor |
| 18 | 18 | $processor = pixcustomify::processor( $config ); |
| 19 | 19 | $status = $processor->status(); |
| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | <div class="wrap" id="pixcustomify_form"> |
| 23 | 23 | |
| 24 | 24 | <div id="icon-options-general" class="icon32"><br></div> |
| 25 | 25 | |
| 26 | - <h2><?php _e( 'PixCustomify', 'pixcustomify_txtd' ); ?></h2> | |
| 26 | + <h2><?php _e( 'PixCustomify', 'customify' ); ?></h2> | |
| 27 | 27 | |
| 28 | 28 | <?php if ( $processor->ok() ): ?> |
| 29 | 29 | |
| 30 | 30 | <?php if ( ! empty( $errors ) ): ?> |
| @@ -29,10 +29,10 @@ | ||
| 29 | 29 | |
| 30 | 30 | <?php if ( ! empty( $errors ) ): ?> |
| 31 | 31 | <br/> |
| 32 | 32 | <p class="update-nag"> |
| 33 | - <strong><?php _e( 'Unable to save settings.', 'pixcustomify_txtd' ); ?></strong> | |
| 34 | - <?php _e( 'Please check the fields for errors and typos.', 'pixcustomify_txtd' ); ?> | |
| 33 | + <strong><?php _e( 'Unable to save settings.', 'customify' ); ?></strong> | |
| 34 | + <?php _e( 'Please check the fields for errors and typos.', 'customify' ); ?> | |
| 35 | 35 | </p> |
| 36 | 36 | <?php endif; |
| 37 | 37 | |
| 38 | 38 | if ( $processor->performed_update() ): ?> |
| @@ -37,9 +37,9 @@ | ||
| 37 | 37 | |
| 38 | 38 | if ( $processor->performed_update() ): ?> |
| 39 | 39 | <br/> |
| 40 | 40 | <p class="update-nag"> |
| 41 | - <?php _e( 'Settings have been updated.', 'pixcustomify_txtd' ); ?> | |
| 41 | + <?php _e( 'Settings have been updated.', 'customify' ); ?> | |
| 42 | 42 | </p> |
| 43 | 43 | <?php endif; |
| 44 | 44 | echo $f = pixcustomify::form( $config, $processor ); |
| 45 | 45 | echo $f->field( 'hiddens' )->render(); |
| @@ -45,11 +45,11 @@ | ||
| 45 | 45 | echo $f->field( 'hiddens' )->render(); |
| 46 | 46 | echo $f->field( 'general' )->render(); |
| 47 | 47 | echo $f->field( 'output' )->render(); |
| 48 | 48 | echo $f->field( 'typography' )->render(); |
| 49 | -// echo $f->field( 'css_editor' )->render(); ?> | |
| 49 | + echo $f->field( 'tools' )->render(); ?> | |
| 50 | 50 | <button type="submit" class="button button-primary"> |
| 51 | - <?php _e( 'Save Changes', 'pixcustomify_txtd' ); ?> | |
| 51 | + <?php _e( 'Save Changes', 'customify' ); ?> | |
| 52 | 52 | </button> |
| 53 | 53 | |
| 54 | 54 | <?php echo $f->endform(); |
| 55 | 55 | |