Changeset 477
- Timestamp:
- 02/05/08 22:20:01 (11 months ago)
- Files:
-
- 1 modified
-
trunk/owa_wp.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/owa_wp.php
r425 r477 56 56 57 57 function add_link_tracking($link) { 58 59 // check for presence of '?' which is not present under URL rewrite conditions 60 if (strpos($link, "?") === false): 61 $link .= '?'; 62 endif; 63 58 64 65 66 // setup link template 67 $link_template = "%s&%s&%s"; 68 69 return sprintf($link_template, 70 $link, 71 $this->config['ns'].$this->config['source_param'].'=feed', 72 $this->config['ns'].$this->config['feed_subscription_param']."=".$_GET[$this->config['feed_subscription_param']]); 73 74 /* 59 75 if (!empty($_GET[$this->config['feed_subscription_id']])): 60 76 return $link."&".$this->config['ns'].$this->config['source_param']."=feed"."&".$this->config['ns'].$this->config['feed_subscription_id']."=".$_GET[$this->config['feed_subscription_id']]; … … 62 78 return $link."&".$this->config['ns'].$this->config['source_param']."=feed"; 63 79 endif; 64 80 */ 65 81 } 66 82 … … 75 91 $guid = crc32(getmypid().microtime()); 76 92 77 return $binfo."& ".$this->config['ns'].$this->config['feed_subscription_param']."=".$guid;93 return $binfo."&".$this->config['ns'].$this->config['feed_subscription_param']."=".$guid; 78 94 } 79 95
