Changeset 206581
- Timestamp:
- 02/16/2010 06:47:17 PM (16 years ago)
- Location:
- lifestream/trunk
- Files:
-
- 4 edited
-
extensions/youtube/extension.inc.php (modified) (1 diff)
-
inc/core.php (modified) (2 diffs)
-
pages/add-feed.inc.php (modified) (1 diff)
-
pages/edit-feed.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lifestream/trunk/extensions/youtube/extension.inc.php
r193355 r206581 54 54 $data = parent::yield($row, $url, $key); 55 55 $data['image'] = str_replace('_m', '', $data['image']); 56 // XXX: Why is SimplePie encoding the URL? 57 $data['link'] = urldecode($data['link']); 56 58 return $data; 57 59 } -
lifestream/trunk/inc/core.php
r206264 r206581 441 441 { 442 442 $path = str_replace(trailingslashit(WP_CONTENT_DIR), '', $path); 443 $path = str_replace( realpath(trailingslashit(LIFESTREAM_PATH)), 'plugins/lifestream', $path);443 $path = str_replace(trailingslashit(realpath(LIFESTREAM_PATH)), 'plugins/lifestream/', $path); 444 444 return str_replace('\\', '/', trailingslashit(WP_CONTENT_URL).$path); 445 445 } … … 1967 1967 { 1968 1968 if (!$page) $page = $this->get_page_from_request(); 1969 if ( strpos($_SERVER['QUERY_STRING'], '?') !== false) {1969 if (!empty($_SERVER['QUERY_STRING'])) { 1970 1970 $url = str_replace('&'.$this->paging_key.'='.$page, '', $_SERVER['QUERY_STRING']); 1971 return $url.'&'.$this->paging_key.'='.($page+1);1971 return '?'.$url.'&'.$this->paging_key.'='.($page+1); 1972 1972 } 1973 1973 return '?'.$this->paging_key.'='.($page+1); -
lifestream/trunk/pages/add-feed.inc.php
r206264 r206581 36 36 <td><label<?php if ($option_meta[1]) echo ' class="required"'; ?>><input type="checkbox" value="1"<?php if ($current_value == 1) echo ' checked="checked"'; ?> name="<?php echo $option;?>" /> <?php echo htmlspecialchars($option_meta[0]);?></label> 37 37 <?php if (@$option_meta[4]) { ?> 38 <div class="helptext"><?php echo $option_meta[4]; ?></div>38 <div class="helptext"><?php echo $option_meta[4]; ?></div> 39 39 <?php } ?></td> 40 40 <?php } else { ?> -
lifestream/trunk/pages/edit-feed.inc.php
r206264 r206581 35 35 <th> </th> 36 36 <td><label<?php if ($option_meta[1]) echo ' class="required"'; ?>><input type="checkbox" value="1"<?php if ($current_value == 1) echo ' checked="checked"'; ?> name="<?php echo $option;?>" /> <?php echo htmlspecialchars($option_meta[0]);?></label> 37 <?php if ( $option_meta[4]) { ?>38 <div class="helptext"><?php echo $option_meta[4]; ?></div>37 <?php if (@$option_meta[4]) { ?> 38 <div class="helptext"><?php echo $option_meta[4]; ?></div> 39 39 <?php } ?></td> 40 40 <?php } else { ?>
Note: See TracChangeset
for help on using the changeset viewer.