Changeset 6846 for extensions/user_tags/include/t4u_config.class.php
- Timestamp:
- Sep 4, 2010, 9:16:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/user_tags/include/t4u_config.class.php
r6813 r6846 99 99 } 100 100 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 } else { 108 $url .= '§ion='.$file; 109 $url .= '&action='.$action; 110 } 101 public function getActionUrl($base_url, $action) { 102 $url = $base_url; 103 $url .= '&action='.$action; 111 104 112 105 return $url;
Note: See TracChangeset
for help on using the changeset viewer.