- Timestamp:
- Jul 9, 2009, 8:53:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme.php
r332 r334 111 111 add_action('wp_footer', array(&$xpress_config, 'displayDebugLog')); 112 112 113 /*114 function option_page()115 {116 global $xoops_config,$xpress_config;117 118 $xoops_admin_url = $xoops_config->module_url . '/admin/index.php';119 120 $do_message ='';121 if (!empty($_POST['submit_update'])) {122 $xpress_config->ReadPostData($_POST);123 $xpress_config->SettingValueWrite('update');124 } else if (isset($_POST['submit_reset'])) {125 $xpress_config->setDefault();126 $xpress_config->SettingValueWrite('update');127 } else if (isset($_POST['export_d3f'])) {128 $do_message = 'export(' . $xpress_config->d3forum_module_dir . '--ID=' . $xpress_config->d3forum_forum_id . ')................';129 $do_message .= wp_to_d3forum($xpress_config->d3forum_forum_id, $xpress_config->d3forum_module_dir);130 $do_message .= '....END';131 } else if (isset($_POST['inport_d3f'])) {132 $do_message = 'Import(' . $xpress_config->d3forum_module_dir . '--ID=' . $xpress_config->d3forum_forum_id . ')................';133 $do_message .= d3forum_to_wp($xpress_config->d3forum_forum_id, $xpress_config->d3forum_module_dir);134 $do_message .= '....END';135 }136 137 echo '<div class="wrap">'."\n";138 echo '<div id="icon-options-general" class="icon32"><br /></div>'."\n";139 echo '<h2>' . __('XPressME Configuration Page', 'xpressme') . "</h2><br>\n";140 echo '<div align="right"><a href="' . $xoops_admin_url . '"><h3>'. __('to XOOPS Modules Admin Page', 'xpressme') . '</h3></a></div>';141 echo '<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n" ;142 echo '<table class="form-table">'."\n";143 echo $xpress_config->viewer_type_option();144 echo $xpress_config->yes_no_radio_option('is_use_xoops_upload_path',145 __('Media Upload Base Path','xpressme'),146 __('Use XOOPS UPLOAD PATH','xpressme'),147 __('USE WordPress BASE_PATH','xpressme')148 );149 echo $xpress_config->yes_no_radio_option('is_theme_sidebar_disp',150 __('Thema Sidebar Display','xpressme'),151 __('YES','xpressme'),152 __('NO','xpressme')153 );154 echo $xpress_config->yes_no_radio_option('is_save_post_revision',155 __('The change tracking of the post is preserved','xpressme'),156 __('YES','xpressme'),157 __('NO','xpressme')158 );159 160 echo $xpress_config->yes_no_radio_option('is_multi_user',161 __('Select Multi user mode','xpressme'),162 __('YES','xpressme'),163 __('NO','xpressme')164 );165 166 167 echo $xpress_config->single_post_navi_option();168 echo $xpress_config->posts_page_navi_option();169 echo $xpress_config->excerpt_option();170 171 echo $xpress_config->yes_no_radio_option('is_author_view_count',172 __('Is the posts author views counted?','xpressme'),173 __('YES','xpressme'),174 __('NO','xpressme')175 );176 echo $xpress_config->header_meta_option();177 echo $xpress_config->yes_no_radio_option('is_sql_debug',178 __('Is SQL debugging window displayed?','xpressme'),179 __('YES','xpressme'),180 __('NO','xpressme')181 );182 183 echo $xpress_config->groupe_role_option();184 185 echo $xpress_config->d3forum_option($do_message);186 // $xpress_config->is_use_xoops_upload_path_html();187 echo "</table>\n";188 189 echo '<p class="submit">'."\n";190 echo '<input type="submit" value= "' . __('Update Config', 'xpressme') . '" name="submit_update" />' ."\n";191 echo '<input type="submit" value= "' . __('Preset Config', 'xpressme') . '" name="submit_reset" />' ."\n";192 echo "</p>\n";193 194 echo "</form>\n" ;195 echo "</div>\n";196 }197 */198 113 199 114 function display_option_page()
Note: See TracChangeset
for help on using the changeset viewer.