Changeset 79 for trunk/wp-content/plugins/xpressme/xpressme_class.php
- Timestamp:
- Jan 31, 2009, 10:04:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/xpressme_class.php
r76 r79 45 45 $this->is_postnavi_title_disp = true; 46 46 $this->is_left_postnavi_old = true; 47 $this->old_post_link_text = __('to Old Post' );48 $this->newer_post_link_text = __('to Newer Post' );47 $this->old_post_link_text = __('to Old Post', 'xpressme'); 48 $this->newer_post_link_text = __('to Newer Post', 'xpressme'); 49 49 $this->is_author_view_count = false; 50 50 } … … 75 75 'old_post_link_text' => $this->old_post_link_text , 76 76 'newer_post_link_text' => $this->newer_post_link_text, 77 'is_author_view_count' => $this->is_author_view_count, 78 'groupe_role_serial' => $this->$groupe_role_serial 77 'is_author_view_count' => $this->is_author_view_count 79 78 ); 80 79 if ($mode == 'add_new') { … … 132 131 $this->is_left_postnavi_old = stripslashes(trim($_POST['ch_is_left_postnavi_old'])); 133 132 $this->old_post_link_text = stripslashes($_POST['ch_old_post_link_text']); 134 if(empty($this->old_post_link_text)) $this->old_post_link_text = __('to Old Post' );133 if(empty($this->old_post_link_text)) $this->old_post_link_text = __('to Old Post', 'xpressme'); 135 134 $this->newer_post_link_text = stripslashes($_POST['ch_newer_post_link_text']); 136 if(empty($this->newer_post_link_text)) $this->newer_post_link_text = __('to Newer Post' );135 if(empty($this->newer_post_link_text)) $this->newer_post_link_text = __('to Newer Post', 'xpressme'); 137 136 $this->is_author_view_count = stripslashes(trim($_POST['ch_is_author_view_count'])); 138 137 … … 185 184 186 185 $form = ''; 187 $form .= '<tr><th><label for="role">' .__('Role Setting at Login' ) . '</label></th>';186 $form .= '<tr><th><label for="role">' .__('Role Setting at Login', 'xpressme') . '</label></th>'; 188 187 $form .= '<td>'; 189 188 $form .= "<table>\n"; 190 $form .= '<tr><td>' . __('XOOPS Groupe' ) . '</td><td>' . __('WordPress Role') . '</td><td>' . __('Only First Login') . "</td></tr>\n";189 $form .= '<tr><td>' . __('XOOPS Groupe', 'xpressme') . '</td><td>' . __('WordPress Role', 'xpressme') . '</td><td>' . __('Only First Login', 'xpressme') . "</td></tr>\n"; 191 190 foreach ($this->groupe_role as $groupe) { 192 191 $form .= "<tr>"; … … 209 208 } 210 209 if ( $group_has_role ) 211 $role_list .= '<option value="">' . __('— No role for this blog —' ) . "</option>\n";210 $role_list .= '<option value="">' . __('— No role for this blog —', 'xpressme') . "</option>\n"; 212 211 else 213 $role_list .= '<option value="" selected="selected">' . __('— No role for this blog —' ) . "</option>\n";212 $role_list .= '<option value="" selected="selected">' . __('— No role for this blog —', 'xpressme') . "</option>\n"; 214 213 $form .= $role_list . "</select>\n</td></tr>\n"; 215 214 } … … 283 282 __('NO','xpressme') 284 283 ); 284 echo $this->text_option('old_post_link_text', 285 __('Display Navi Title of Old Post Link','xpressme') 286 ); 287 echo $this->text_option('newer_post_link_text', 288 __('Display Navi Title of Newer Post Link','xpressme') 289 ); 285 290 echo $this->yes_no_radio_option('is_postnavi_title_disp', 286 291 __('Select Display name of PostNavi Link','xpressme'), 287 292 __('Title of post','xpressme'), 288 __(' Next and Previous','xpressme')293 __('Title of Navi','xpressme') 289 294 ); 290 295 echo $this->yes_no_radio_option('is_left_postnavi_old', … … 293 298 __("'Newer Post Link' is displayed in the left, and 'Old Post Link' is displayed in the right",'xpressme') 294 299 ); 295 echo $this->text_option('old_post_link_text',296 __('Display Title of Old Post Link','xpressme')297 );298 echo $this->text_option('newer_post_link_text',299 __('Display Title of Newer Post Link','xpressme')300 );301 300 echo $this->yes_no_radio_option('is_author_view_count', 302 301 __('Is the posts author views counted?','xpressme'),
Note: See TracChangeset
for help on using the changeset viewer.