Changeset 202 for trunk/wp-content/plugins/xpressme/xpressme_class.php
- Timestamp:
- May 5, 2009, 8:20:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/xpressme_class.php
r201 r202 31 31 var $meta_keyword_type; 32 32 var $meta_description_type; 33 var $meta_robot_type; 33 34 //constructor 34 35 function XPressME_Class() … … 83 84 $this->meta_keyword_type = 'xoops'; 84 85 $this->meta_description_type = 'xoops'; 86 $this->meta_robot_type = 'xoops'; 85 87 } 86 88 … … 132 134 'is_multi_user' => $this->is_multi_user, 133 135 'meta_keyword_type' => $this->meta_keyword_type, 134 'meta_description_type' => $this->meta_description_type 136 'meta_description_type' => $this->meta_description_type, 137 'meta_robot_type' => $this->meta_robot_type 135 138 ); 136 139 if ($mode == 'add_new') { … … 246 249 $this->meta_keyword_type = stripslashes(trim($_POST['ch_meta_keyword_type'])); 247 250 $this->meta_description_type = stripslashes(trim($_POST['ch_meta_description_type'])); 251 $this->meta_robot_type = stripslashes(trim($_POST['ch_meta_robot_type'])); 248 252 249 253 global $xoops_db; … … 661 665 $form .= "</td>\n"; 662 666 $form .= "</tr>\n"; 667 668 $form .= "<tr>\n"; 669 $form .= "<td>" . __('Select the Header Robots Index.', 'xpressme') . "</td>\n"; 670 $form .= "<td>\n"; 671 $form .= '<select name="ch_meta_robot_type">' . "\n"; 672 $form .= '<option value="xoops" '; 673 if ($this->meta_robot_type == 'xoops') $form .= ' selected="selected"'; 674 $form .= '>'.__('Xoops Robots Index', 'xpressme') ."</option>\n"; 675 $form .= '<option value="wordpress" '; 676 if ($this->meta_robot_type == 'wordpress') $form .= ' selected="selected"'; 677 $form .= '>'.__('WordPress Robots Index', 'xpressme') ."</option>\n"; 678 $form .= "</select><br />\n"; 679 $form .= "</td>\n"; 680 $form .= "</tr>\n"; 681 663 682 $form .= "</table>\n"; 664 683
Note: See TracChangeset
for help on using the changeset viewer.