Plugin Directory

Changeset 1001285


Ignore:
Timestamp:
10/03/2014 02:21:55 PM (11 years ago)
Author:
Webnist
Message:

version 1.0.2 Clean style sheet

Location:
custom-nextpage/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • custom-nextpage/trunk/css/custom-nextpage-style.css

    r991536 r1001285  
    1 @charset "UTF-8";
    21.page-link-box {
    32    text-align: center;
  • custom-nextpage/trunk/custom-nextpage.php

    r1000296 r1001285  
    55Description: MultiPage is a customizable plugin. Can any title on the page.
    66Author: Webnist
    7 Version: 0.9.10
     7Version: 1.0.2
    88Author URI: http://profiles.wordpress.org/webnist
    99License: GPLv2 or later
     
    4040        $this->domain          = $data['domain'];
    4141        $this->langs           = $data['langs'];
     42        $this->css             = file_get_contents( CUSTOM_NEXTPAGE_URL . '/css/custom-nextpage-style.css' );
     43
    4244        $this->default_options = array(
    4345            'filter'           => '',
     
    5052            'nextpagelink'     => __( '>', 'custom-nextpage' ),
    5153            'previouspagelink' => __( '<', 'custom-nextpage' ),
     54            'styletype'        => 0,
     55            'style'            => $this->css,
    5256        );
    53         $this->options         = get_option( 'custom-next-page', $this->default_options );
     57        $this->options          = get_option( 'custom-next-page', $this->default_options );
     58        $this->filter           = $this->options['filter'] ? $this->options['filter'] : '';
     59        $this->beforetext       = $this->options['beforetext'] ? $this->options['beforetext'] : '';
     60        $this->aftertext        = $this->options['aftertext'] ? $this->options['aftertext'] : '';
     61        $this->show_boundary    = $this->options['show_boundary'] ? $this->options['show_boundary'] : 1;
     62        $this->show_adjacent    = $this->options['show_adjacent'] ? $this->options['show_adjacent'] : 1;
     63        $this->firstpagelink    = $this->options['firstpagelink'] ? $this->options['firstpagelink'] : __( '«', 'custom-nextpage' );
     64        $this->lastpagelink     = $this->options['lastpagelink'] ? $this->options['lastpagelink'] : __( '»', 'custom-nextpage' );
     65        $this->nextpagelink     = $this->options['nextpagelink'] ? $this->options['nextpagelink'] : __( '>', 'custom-nextpage' );
     66        $this->previouspagelink = $this->options['previouspagelink'] ? $this->options['previouspagelink'] : __( '<', 'custom-nextpage' );
     67        $this->styletype        = $this->options['styletype'] ? $this->options['styletype'] : 0;
     68        $this->style            = $this->options['style'] ? $this->options['style'] : $this->css;
    5469    }
    5570}
     
    6277        if ( !is_admin() ) {
    6378            add_action( 'loop_start', array( &$this, 'change_nextpage' ) );
    64             if ( $this->options['filter'] === 1 )
     79            if ( $this->filter === 1 )
    6580                add_filter( 'wp_link_pages', array( &$this, 'wp_link_pages' ) );
    6681            add_action( 'wp_enqueue_scripts', array( &$this, 'wp_enqueue_scripts' ) );
     
    107122                preg_match( $pattern, $page_title, $matches);
    108123                $title  = isset( $matches[1] ) ? esc_html( $matches[1] ) : '';
    109                 $before = apply_filters( 'custom_next_page_beforetext', $this->options['beforetext'] );
    110                 $after  = apply_filters( 'custom_next_page_aftertext', $this->options['aftertext'] );
     124                $before = apply_filters( 'custom_next_page_beforetext', $this->beforetext );
     125                $after  = apply_filters( 'custom_next_page_aftertext', $this->aftertext );
    111126                $output .= '<p class="custom-page-links">' ."\n";
    112127                if ( $page_count <= $numpages ) {
     
    124139        $output = '';
    125140        if ( $multipage ) {
    126             $show_boundary     = esc_html( apply_filters( 'custom_next_page_show_boundary', $this->options['show_boundary'] ) );
    127             $show_adjacent     = esc_html( apply_filters( 'custom_next_page_show_adjacent', $this->options['show_adjacent'] ) );
    128             $firstpagelink     = esc_html( apply_filters( 'custom_next_page_firstpagelink', $this->options['firstpagelink'] ) );
    129             $lastpagelink     = esc_html( apply_filters( 'custom_next_page_lastpagelink', $this->options['lastpagelink'] ) );
    130             $nextpagelink     = esc_html( apply_filters( 'custom_next_page_nextpagelink', $this->options['nextpagelink'] ) );
    131             $previouspagelink = esc_html( apply_filters( 'custom_next_page_previouspagelink', $this->options['previouspagelink'] ) );
     141            $show_boundary     = esc_html( apply_filters( 'custom_next_page_show_boundary', $this->show_boundary ) );
     142            $show_adjacent     = esc_html( apply_filters( 'custom_next_page_show_adjacent', $this->show_adjacent ) );
     143            $firstpagelink     = esc_html( apply_filters( 'custom_next_page_firstpagelink', $this->firstpagelink ) );
     144            $lastpagelink     = esc_html( apply_filters( 'custom_next_page_lastpagelink', $this->lastpagelink ) );
     145            $nextpagelink     = esc_html( apply_filters( 'custom_next_page_nextpagelink', $this->nextpagelink ) );
     146            $previouspagelink = esc_html( apply_filters( 'custom_next_page_previouspagelink', $this->previouspagelink ) );
    132147            $id               = get_the_ID();
    133148            $next_page_title  = self::next_page_title( $id );
     
    171186
    172187    public function wp_enqueue_scripts() {
    173         wp_enqueue_style( 'custom-nextpage-style', CUSTOM_NEXTPAGE_URL . '/css/custom-nextpage-style.css', array(), $this->version );
    174     }
     188        if ( 0 == $this->styletype ) {
     189            wp_enqueue_style( 'custom-nextpage-style', CUSTOM_NEXTPAGE_URL . '/css/custom-nextpage-style.css', array(), $this->version );
     190        } elseif ( 1 == $this->styletype ) {
     191            $print_html = sprintf( '<style type="text/css" id="custom-nextpage-style">' . "\n"
     192                . '%s'
     193                . "\n" . '</style>' . "\n",
     194                $this->style
     195            );
     196            echo $print_html;
     197        }
     198    }
     199
    175200    public function shortcode() {
    176201        return;
  • custom-nextpage/trunk/includes/class-admin-menu.php

    r995884 r1001285  
    66
    77        add_action( 'admin_menu', array( &$this, 'admin_menu' ) );
     8        add_action( 'admin_enqueue_scripts', array( &$this, 'admin_enqueue_scripts' ) );
    89        add_action( 'admin_init', array( &$this, 'add_general_custom_fields' ) );
    910        add_filter( 'admin_init', array( &$this, 'add_custom_whitelist_options_fields' ) );
    10     }
     11        add_action( 'wp_ajax_reset_css', array( $this, 'reset_css') );
     12    }
     13
    1114    public function admin_menu() {
    1215        add_options_page( __( 'Custom Nextpage', $this->domain ), __( 'Custom Nextpage', $this->domain ), 'create_users', $this->plugin_basename, array( &$this, 'add_admin_edit_page' ) );
    1316    }
    1417
     18    public function admin_enqueue_scripts( $hook ) {
     19
     20        if ( stristr( $hook, $this->plugin_basename ) ) {
     21            wp_enqueue_style( 'options-customnextpage', CUSTOM_NEXTPAGE_URL . '/css/options.css', array(), $this->version );
     22            wp_enqueue_style( 'codemirror', CUSTOM_NEXTPAGE_URL . '/includes/codemirror/lib/codemirror.css', array(), $this->version );
     23            wp_enqueue_style( 'codemirror-show-hint', CUSTOM_NEXTPAGE_URL . '/includes/codemirror/addon/hint/show-hint.css', array(), $this->version );
     24            wp_enqueue_style( 'codemirror-style', CUSTOM_NEXTPAGE_URL . '/css/codemirror-style.css', array(), $this->version );
     25
     26            wp_enqueue_script( 'codemirror', CUSTOM_NEXTPAGE_URL . '/includes/codemirror/lib/codemirror.js', array(), $this->version, true );
     27            wp_enqueue_script( 'codemirror-show-hint', CUSTOM_NEXTPAGE_URL . '/includes/codemirror/addon/hint/show-hint.js', array('codemirror'), $this->version, true );
     28            wp_enqueue_script( 'codemirror-css-hint', CUSTOM_NEXTPAGE_URL . '/includes/codemirror/addon/hint/css-hint.js', array('codemirror'), $this->version, true );
     29            wp_enqueue_script( 'codemirror-mode-css', CUSTOM_NEXTPAGE_URL . '/includes/codemirror/mode/css/css.js', array('codemirror'), $this->version, true );
     30            wp_enqueue_script( 'options-customnextpage', CUSTOM_NEXTPAGE_URL . '/js/options.js', array('jquery'), $this->version, true );
     31
     32            wp_localize_script(
     33                'options-customnextpage',
     34                'resetCss',
     35                array(
     36                    'url'      => admin_url( 'admin-ajax.php' ),
     37                    'security' => wp_create_nonce( 'reset-css' )
     38                )
     39            );
     40        }
     41    }
     42
    1543    public function add_admin_edit_page() {
    1644        $title = __( 'Set Custom Nextpage', $this->domain );
    17         echo '<div class="wrap">' . "\n";
     45        echo '<div class="wrap" id="custom-next-page-options">' . "\n";
    1846        screen_icon();
    1947        echo '<h2>' . esc_html( $title ) . '</h2>' . "\n";
     
    2149        settings_fields( $this->plugin_basename  );
    2250        do_settings_sections( $this->plugin_basename  );
     51        echo '<div class="submit">' . "\n";
    2352        submit_button();
    2453        if ( get_option( 'custom-next-page-previouspagelink' ) ) {
     
    2857        echo '<h2>' . esc_html__( 'Setting initialization', $this->domain ) . '</h2>' . "\n";
    2958        submit_button( __( 'Initialization', $this->domain ), 'primary', 'custom-next-page-initialization' );
     59        echo '</div>' . "\n";
    3060        echo '</form>' . "\n";
    3161        echo '</div>' . "\n";
     
    5080                array(
    5181                    'name'  => 'custom-next-page[filter]',
    52                     'value' => $this->options['filter'],
     82                    'value' => $this->filter,
    5383                )
    5484            );
     
    6292            array(
    6393                'name'  => 'custom-next-page[beforetext]',
    64                 'value' => $this->options['beforetext'],
     94                'value' => $this->beforetext,
    6595            )
    6696        );
     
    73103            array(
    74104                'name'  => 'custom-next-page[aftertext]',
    75                 'value' => $this->options['aftertext'],
     105                'value' => $this->aftertext,
    76106            )
    77107        );
     
    85115            array(
    86116                'name'  => 'custom-next-page[show_boundary]',
    87                 'value' => $this->options['show_boundary'],
     117                'value' => $this->show_boundary,
    88118            )
    89119        );
     
    97127            array(
    98128                'name'  => 'custom-next-page[show_adjacent]',
    99                 'value' => $this->options['show_adjacent'],
     129                'value' => $this->show_adjacent,
    100130            )
    101131        );
     
    109139            array(
    110140                'name'  => 'custom-next-page[firstpagelink]',
    111                 'value' => $this->options['firstpagelink'],
     141                'value' => $this->firstpagelink,
    112142            )
    113143        );
     
    121151            array(
    122152                'name'  => 'custom-next-page[lastpagelink]',
    123                 'value' => $this->options['lastpagelink'],
     153                'value' => $this->lastpagelink,
    124154            )
    125155        );
     
    133163            array(
    134164                'name'  => 'custom-next-page[nextpagelink]',
    135                 'value' => $this->options['nextpagelink'],
     165                'value' => $this->nextpagelink,
    136166            )
    137167        );
     
    145175            array(
    146176                'name'  => 'custom-next-page[previouspagelink]',
    147                 'value' => $this->options['previouspagelink'],
     177                'value' => $this->previouspagelink,
     178            )
     179        );
     180
     181        add_settings_section(
     182            'style',
     183            __( 'Style', $this->domain ),
     184            '',
     185            $this->domain
     186        );
     187
     188        add_settings_field(
     189            'custom-next-page-style-type',
     190            __( 'Select Style type', $this->domain ),
     191            array( &$this, 'select_field' ),
     192            $this->plugin_basename ,
     193            'style',
     194            array(
     195                'name'   => 'custom-next-page[styletype]',
     196                'option' => array(
     197                    '0'  => __( 'Default', $this->domain ),
     198                    '1'  => __( 'Style Edit', $this->domain ),
     199                    '2'  => __( 'Disable', $this->domain ),
     200                ),
     201                'id'    => 'styletype',
     202                'value'  => $this->styletype,
     203            )
     204        );
     205        add_settings_field(
     206            'custom-next-page-style',
     207            __( 'Style Edit', $this->domain ),
     208            array( &$this, 'textarea_field' ),
     209            $this->plugin_basename ,
     210            'style',
     211            array(
     212                'id'    => 'style-editor',
     213                'name'  => 'custom-next-page[style]',
     214                'value' => $this->style,
     215                'desc'  => __( 'Press ctrl-space to activate autocompletion. <span class="button button-primary" id="reset-css">Reset</span>', $this->domain ),
    148216            )
    149217        );
     
    152220    public function text_field( $args ) {
    153221        extract( $args );
     222
     223        $id      = ! empty( $id ) ? $id : $name;
    154224        $desc    = ! empty( $desc ) ? $desc : '';
    155         $output  = '<input type="text" name="' . $name .'" id="' . $name .'" value="' . $value .'" />' . "\n";
     225        $output  = '<input type="text" name="' . $name .'" id="' . $id .'" class="regular-text" value="' . $value .'" />' . "\n";
    156226        if ( $desc )
    157227            $output .= '<p class="description">' . $desc . '</p>' . "\n";
     
    162232    public function textarea_field( $args ) {
    163233        extract( $args );
     234
     235        $id      = ! empty( $id ) ? $id : $name;
    164236        $desc    = ! empty( $desc ) ? $desc : '';
    165         $output  = '<textarea name="' . $name .'" rows="10" cols="50" id="' . $name .'" class="large-text code">' . $value . '</textarea>' . "\n";
     237        $output  = '<textarea name="' . $name .'" rows="10" cols="50" id="' . $id .'" class="large-text code">' . $value . '</textarea>' . "\n";
    166238        if ( $desc )
    167239            $output .= '<p class="description">' . $desc . '</p>' . "\n";
     
    171243    public function check_field( $args ) {
    172244        extract( $args );
     245
     246        $id      = ! empty( $id ) ? $id : $name;
    173247        $desc    = ! empty( $desc ) ? $desc : '';
    174248        $output  = '<label for="' . $name . '">' . "\n";
    175         $output  .= '<input name="' . $name . '" type="checkbox" id="' . $name . '" value="1"' . checked( $value, 1, false ) . '>' . "\n";
     249        $output  .= '<input name="' . $name . '" type="checkbox" id="' . $id . '" value="1"' . checked( $value, 1, false ) . '>' . "\n";
    176250        if ( $desc )
    177251            $output .= $desc . "\n";
     
    179253
    180254        echo $output;
     255    }
     256
     257    public function select_field( $args ) {
     258        extract( $args );
     259
     260        $id             = ! empty( $id ) ? $id : $name;
     261        $desc           = ! empty( $desc ) ? $desc : '';
     262        $multi          = ! empty( $multi ) ? ' multiple' : '';
     263        $multi_selected = ! empty( $multi ) ? true : false;
     264        $output = '<select name="' . $name . '" id="' . $id . '"' . $multi . '>' . "\n";
     265            foreach ( $option as $key => $val ) {
     266                $output .= '<option value="' . $key . '"' . selected( $value, $key, $multi_selected ) . '>' . $val . '</option>' . "\n";
     267            }
     268        $output .= '</select>' . "\n";
     269            if ( $desc )
     270            $output .= $desc . "\n";
     271
     272        echo $output;
     273    }
     274
     275    public function selected( $value = '', $val = '', $multi = false ) {
     276        $select = '';
     277        if ( $multi ) {
     278
     279            $select = selected( true, in_array( $val, $value ), false );
     280        } else {
     281            $select = selected( $value, $val, false );
     282        }
     283        return $select;
     284    }
     285
     286    public function reset_css() {
     287        check_ajax_referer( 'reset-css', 'security' );
     288        $return = array(
     289            'style' => $this->css
     290        );
     291        wp_send_json( $return );
    181292    }
    182293
     
    189300    public function register_setting_check( $value ) {
    190301        $value['filter'] = (int) $value['filter'];
     302        $value['style'] = preg_replace( '/(\&lt;(.*)\&gt;)/ism', '', esc_textarea( $value['style'] ) );
     303
    191304        return $value;
    192305    }
  • custom-nextpage/trunk/languages/custom-nextpage-ja.po

    r995884 r1001285  
    44msgstr ""
    55"Project-Id-Version: Custom Nextpage 0.9.8\n"
    6 "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/custom-nextpage\n"
    7 "POT-Creation-Date: 2014-09-24 07:05:35+00:00\n"
     6"Report-Msgid-Bugs-To: http://wordpress.org/tag/custom-nextpage\n"
     7"POT-Creation-Date: 2014-10-03 04:12:45+00:00\n"
     8"PO-Revision-Date: 2014-10-03 13:21+0900\n"
     9"Last-Translator: Webnist <webnist@webnist.org>\n"
     10"Language-Team: LANGUAGE <LL@li.org>\n"
     11"Language: ja\n"
    812"MIME-Version: 1.0\n"
    913"Content-Type: text/plain; charset=UTF-8\n"
    1014"Content-Transfer-Encoding: 8bit\n"
    11 "PO-Revision-Date: 2014-09-24 16:10+0900\n"
    12 "Last-Translator: Webnist <webnist@webnist.org>\n"
    13 "Language-Team: LANGUAGE <LL@li.org>\n"
    1415"X-Generator: Poedit 1.6.3\n"
    1516"Plural-Forms: nplurals=1; plural=0;\n"
    16 "Language: ja\n"
    1717
    18 #: custom-nextpage.php:48 includes/class-admin-menu.php:203
     18#: custom-nextpage.php:50 custom-nextpage.php:63
     19#: includes/class-admin-menu.php:316
    1920msgid "&#171;"
    2021msgstr "&#187;"
    2122
    22 #: custom-nextpage.php:49 includes/class-admin-menu.php:202
     23#: custom-nextpage.php:51 custom-nextpage.php:64
     24#: includes/class-admin-menu.php:315
    2325msgid "&#187;"
    2426msgstr "&#187;"
    2527
    26 #: custom-nextpage.php:50
     28#: custom-nextpage.php:52 custom-nextpage.php:65
    2729msgid "&gt;"
    2830msgstr "&gt;"
    2931
    30 #: custom-nextpage.php:51
     32#: custom-nextpage.php:53 custom-nextpage.php:66
    3133msgid "&lt;"
    3234msgstr "&lt;"
     
    4547
    4648#. Plugin Name of the plugin/theme
    47 #: includes/class-admin-menu.php:12
     49#: includes/class-admin-menu.php:15
    4850msgid "Custom Nextpage"
    4951msgstr "カスタムネクストページ"
    5052
    51 #: includes/class-admin-menu.php:16
     53#: includes/class-admin-menu.php:44
    5254msgid "Set Custom Nextpage"
    5355msgstr "Custom Nextpage 設定"
    5456
    55 #: includes/class-admin-menu.php:25
     57#: includes/class-admin-menu.php:54
    5658msgid "Convert to new options"
    5759msgstr "新しいオプションに変換します。"
    5860
    59 #: includes/class-admin-menu.php:26 includes/class-admin-menu.php:195
     61#: includes/class-admin-menu.php:55 includes/class-admin-menu.php:308
    6062msgid "Convert"
    6163msgstr "コンバート"
    6264
    63 #: includes/class-admin-menu.php:28
     65#: includes/class-admin-menu.php:57
    6466msgid "Setting initialization"
    6567msgstr "設定の初期化"
    6668
    67 #: includes/class-admin-menu.php:29 includes/class-admin-menu.php:216
     69#: includes/class-admin-menu.php:58 includes/class-admin-menu.php:329
    6870msgid "Initialization"
    6971msgstr "初期化"
    7072
    71 #: includes/class-admin-menu.php:39
     73#: includes/class-admin-menu.php:69
    7274msgid "General"
    7375msgstr "基本設定"
    7476
    75 #: includes/class-admin-menu.php:46
     77#: includes/class-admin-menu.php:76
    7678msgid "Automatically replace the wp_link_pages."
    7779msgstr "自動で wp_link_pages を置き換える。"
    7880
    79 #: includes/class-admin-menu.php:58
     81#: includes/class-admin-menu.php:88
    8082msgid "Before Text"
    8183msgstr "タイトルナビゲーションの前に入れるテキスト。"
    8284
    83 #: includes/class-admin-menu.php:69
     85#: includes/class-admin-menu.php:99
    8486msgid "After Text"
    8587msgstr "タイトルナビゲーションの後ろに入れるテキスト。"
    8688
    87 #: includes/class-admin-menu.php:81
     89#: includes/class-admin-menu.php:111
    8890msgid "The first and last page links displayed."
    8991msgstr "最初と最後のリンクを表示する"
    9092
    91 #: includes/class-admin-menu.php:93
     93#: includes/class-admin-menu.php:123
    9294msgid "Next and previous page links to display."
    9395msgstr "次と前のリンクを表示する"
    9496
    95 #: includes/class-admin-menu.php:105
     97#: includes/class-admin-menu.php:135
    9698msgid "Text For First Page"
    9799msgstr "最初のページリンクのテキスト"
    98100
    99 #: includes/class-admin-menu.php:117
     101#: includes/class-admin-menu.php:147
    100102msgid "Text For Last Page"
    101103msgstr "最後のページリンクのテキスト"
    102104
    103 #: includes/class-admin-menu.php:129
     105#: includes/class-admin-menu.php:159
    104106msgid "Text For Next Page"
    105107msgstr "次のページリンクのテキスト"
    106108
    107 #: includes/class-admin-menu.php:141
     109#: includes/class-admin-menu.php:171
    108110msgid "Text For Previous Page"
    109111msgstr "前のページリンクのテキスト"
     112
     113#: includes/class-admin-menu.php:183
     114msgid "Style"
     115msgstr "スタイル"
     116
     117#: includes/class-admin-menu.php:190
     118msgid "Select Style type"
     119msgstr "スタイルの選択"
     120
     121#: includes/class-admin-menu.php:197
     122msgid "Default"
     123msgstr "デフォルト"
     124
     125#: includes/class-admin-menu.php:198 includes/class-admin-menu.php:207
     126msgid "Style Edit"
     127msgstr "スタイル編集"
     128
     129#: includes/class-admin-menu.php:199
     130msgid "Disable"
     131msgstr "無効化"
     132
     133#: includes/class-admin-menu.php:215
     134msgid ""
     135"Press ctrl-space to activate autocompletion. <span class=\"button button-"
     136"primary\" id=\"reset-css\">Reset</span>"
     137msgstr ""
     138"ctrl-space で自動補完が表示されます。 <span class=\"button button-primary\" "
     139"id=\"reset-css\">CSSリセット</span>"
    110140
    111141#: includes/tinymce/plugins/customnextpage/langs/langs.php:5
  • custom-nextpage/trunk/languages/custom-nextpage.pot

    r995884 r1001285  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Custom Nextpage 0.9.8\n"
    6 "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/custom-nextpage\n"
    7 "POT-Creation-Date: 2014-09-24 07:05:35+00:00\n"
     5"Project-Id-Version: Custom Nextpage 1.0.0\n"
     6"Report-Msgid-Bugs-To: http://wordpress.org/tag/custom-nextpage\n"
     7"POT-Creation-Date: 2014-10-03 04:12:45+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=UTF-8\n"
     
    1313"Language-Team: LANGUAGE <LL@li.org>\n"
    1414
    15 #: custom-nextpage.php:48 includes/class-admin-menu.php:203
     15#: custom-nextpage.php:50 custom-nextpage.php:63
     16#: includes/class-admin-menu.php:316
    1617msgid "&#171;"
    1718msgstr ""
    1819
    19 #: custom-nextpage.php:49 includes/class-admin-menu.php:202
     20#: custom-nextpage.php:51 custom-nextpage.php:64
     21#: includes/class-admin-menu.php:315
    2022msgid "&#187;"
    2123msgstr ""
    2224
    23 #: custom-nextpage.php:50
     25#: custom-nextpage.php:52 custom-nextpage.php:65
    2426msgid "&gt;"
    2527msgstr ""
    2628
    27 #: custom-nextpage.php:51
     29#: custom-nextpage.php:53 custom-nextpage.php:66
    2830msgid "&lt;"
    2931msgstr ""
     
    4143msgstr ""
    4244
    43 #. #-#-#-#-#  custom-nextpage.pot (Custom Nextpage 0.9.8)  #-#-#-#-#
     45#. #-#-#-#-#  custom-nextpage.pot (Custom Nextpage 1.0.0)  #-#-#-#-#
    4446#. Plugin Name of the plugin/theme
    45 #: includes/class-admin-menu.php:12
     47#: includes/class-admin-menu.php:15
    4648msgid "Custom Nextpage"
    4749msgstr ""
    4850
    49 #: includes/class-admin-menu.php:16
     51#: includes/class-admin-menu.php:44
    5052msgid "Set Custom Nextpage"
    5153msgstr ""
    5254
    53 #: includes/class-admin-menu.php:25
     55#: includes/class-admin-menu.php:54
    5456msgid "Convert to new options"
    5557msgstr ""
    5658
    57 #: includes/class-admin-menu.php:26 includes/class-admin-menu.php:195
     59#: includes/class-admin-menu.php:55 includes/class-admin-menu.php:308
    5860msgid "Convert"
    5961msgstr ""
    6062
    61 #: includes/class-admin-menu.php:28
     63#: includes/class-admin-menu.php:57
    6264msgid "Setting initialization"
    6365msgstr ""
    6466
    65 #: includes/class-admin-menu.php:29 includes/class-admin-menu.php:216
     67#: includes/class-admin-menu.php:58 includes/class-admin-menu.php:329
    6668msgid "Initialization"
    6769msgstr ""
    6870
    69 #: includes/class-admin-menu.php:39
     71#: includes/class-admin-menu.php:69
    7072msgid "General"
    7173msgstr ""
    7274
    73 #: includes/class-admin-menu.php:46
     75#: includes/class-admin-menu.php:76
    7476msgid "Automatically replace the wp_link_pages."
    7577msgstr ""
    7678
    77 #: includes/class-admin-menu.php:58
     79#: includes/class-admin-menu.php:88
    7880msgid "Before Text"
    7981msgstr ""
    8082
    81 #: includes/class-admin-menu.php:69
     83#: includes/class-admin-menu.php:99
    8284msgid "After Text"
    8385msgstr ""
    8486
    85 #: includes/class-admin-menu.php:81
     87#: includes/class-admin-menu.php:111
    8688msgid "The first and last page links displayed."
    8789msgstr ""
    8890
    89 #: includes/class-admin-menu.php:93
     91#: includes/class-admin-menu.php:123
    9092msgid "Next and previous page links to display."
    9193msgstr ""
    9294
    93 #: includes/class-admin-menu.php:105
     95#: includes/class-admin-menu.php:135
    9496msgid "Text For First Page"
    9597msgstr ""
    9698
    97 #: includes/class-admin-menu.php:117
     99#: includes/class-admin-menu.php:147
    98100msgid "Text For Last Page"
    99101msgstr ""
    100102
    101 #: includes/class-admin-menu.php:129
     103#: includes/class-admin-menu.php:159
    102104msgid "Text For Next Page"
    103105msgstr ""
    104106
    105 #: includes/class-admin-menu.php:141
     107#: includes/class-admin-menu.php:171
    106108msgid "Text For Previous Page"
     109msgstr ""
     110
     111#: includes/class-admin-menu.php:183
     112msgid "Style"
     113msgstr ""
     114
     115#: includes/class-admin-menu.php:190
     116msgid "Select Style type"
     117msgstr ""
     118
     119#: includes/class-admin-menu.php:197
     120msgid "Default"
     121msgstr ""
     122
     123#: includes/class-admin-menu.php:198 includes/class-admin-menu.php:207
     124msgid "Style Edit"
     125msgstr ""
     126
     127#: includes/class-admin-menu.php:199
     128msgid "Disable"
     129msgstr ""
     130
     131#: includes/class-admin-menu.php:215
     132msgid ""
     133"Press ctrl-space to activate autocompletion. <span class=\"button button-"
     134"primary\" id=\"reset-css\">Reset</span>"
    107135msgstr ""
    108136
  • custom-nextpage/trunk/readme.txt

    r1000296 r1001285  
    11=== Custom Nextpage ===
    2 Contributors: Webnist
     2
     3Contributors: Webnist,understandard
    34Tags: nextpage multipage
    45Requires at least: 3.6
    56Tested up to: 4.0
    6 Stable tag: 0.9.10
     7Version: 1.0.2
    78License: GPLv2 or later
    89
     
    1011
    1112== Description ==
     13
    1214MultiPage is a customizable plugin.
    1315Can any title on the page.
    1416
     17= Contributors =
     18
     19* [Webnist](https://profiles.wordpress.org/webnist)
     20* [understandard](https://profiles.wordpress.org/understandard/)
     21
    1522== Installation ==
    16 A plug-in installation screen is displayed on the WordPress admin panel.
    17 It installs it in `wp-content/plugins`.
    18 The plug-in is made effective.
    19 Open \'Settings\' -> \'Custom Nextpage\' menu.
     23
     24* A plug-in installation screen is displayed on the WordPress admin panel.
     25* It installs it in `wp-content/plugins`.
     26* The plug-in is made effective.
     27* Open \'Settings\' -> \'Custom Nextpage\' menu.
    2028
    2129== Screenshots ==
     
    2735
    2836== Frequently Asked Questions ==
     37
    2938Automatically replace the wp_link_pages. To check?
    3039Or the  Please insert a template.
     40```
     41<?php if ( function_exists( 'custom_next_page_link_pages' ) ) : custom_next_page_link_pages(); endif; ?>
     42```
    3143
    3244== Changelog ==
     45
     46= 1.0.2 =
     47Clean style sheet
     48
     49= 1.0.1 =
     50Add Reset CSS button
     51
     52= 1.0.0 =
     53Add CSS Edit
     54
    3355= 0.9.10 =
    3456Fix
Note: See TracChangeset for help on using the changeset viewer.