Changeset 11081 for extensions/user_tags/include/t4u_config.class.php
- Timestamp:
- May 27, 2011, 11:02:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/user_tags/include/t4u_config.class.php
r9037 r11081 99 99 } 100 100 101 public function getActionUrl($ base_url, $action) {102 global $conf;103 104 $url = $base_url;105 if ($conf['question_mark_in_urls']) { 106 $url .= '&';101 public function getActionUrl($action, $method='POST') { 102 $url = get_root_url().'admin.php?page=plugin'; 103 $file = basename($this->plugin_dir) . '/' .'admin.php'; 104 if (strtoupper($method)=='POST') { 105 $url .= '&section='.urlencode($file); 106 $url .= '&action='.urlencode($action); 107 107 } else { 108 $url .= '?'; 108 $url .= '§ion='.$file; 109 $url .= '&action='.$action; 109 110 } 110 $url .= 'action='.$action;111 111 112 112 return $url;
Note: See TracChangeset
for help on using the changeset viewer.