- Timestamp:
- Jun 22, 2009, 10:17:18 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/xpressme_class.php
r252 r302 40 40 $this->SettingValueRead(); 41 41 } 42 43 44 function add_option_page() 45 { 46 add_options_page('XPressME', __('XPressME Settings', 'xpressme'), 8, 'xpressme_config', array(&$this, 'option_page')); 47 } 48 49 function add_admin_head() 50 { 51 // add header text 52 } 53 54 55 //Set Default Value 42 43 //Set Default Value 56 44 function setDefault() 57 45 { … … 694 682 function option_page() 695 683 { 684 global $xoops_config; 685 686 $xoops_admin_url = $xoops_config->module_url . '/admin/index.php'; 687 696 688 $do_message =''; 697 689 if (!empty($_POST['submit_update'])) { … … 713 705 echo '<div class="wrap">'."\n"; 714 706 echo '<div id="icon-options-general" class="icon32"><br /></div>'."\n"; 715 echo '<h2>' . __('XPressME Configuration Page', 'xpressme') . "</h2>\n"; 707 echo '<h2>' . __('XPressME Configuration Page', 'xpressme') . "</h2><br>\n"; 708 echo '<div align="right"><a href="' . $xoops_admin_url . '"><h3>'. __('to XPressME Admin Page', 'xpressme') . '</h3></a></div>'; 716 709 echo '<form method="post" action="' . $_SERVER["REQUEST_URI"] . '">'."\n" ; 717 710 echo '<table class="form-table">'."\n";
Note: See TracChangeset
for help on using the changeset viewer.