Changeset 1287
- Timestamp:
- 11/12/07 21:14:34 (1 year ago)
- Files:
-
- devel/mod/newsclient/lib/function_actions.php (modified) (1 diff)
- devel/mod/newsclient/lib/function_subscriptions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/newsclient/lib/function_actions.php
r1251 r1287 3 3 global $page_owner; 4 4 5 $action = optional_param('action'); 5 $action = optional_param('action'); 6 $feed_owner = optional_param('feed_owner','',PARAM_INT); 7 if(!empty($feed_owner)) { 8 $page_owner=$feed_owner; 9 } 10 6 11 if (logged_on && run("permissions:check", "profile")) { 7 12 if ($page_owner != $_SESSION['userid']) { devel/mod/newsclient/lib/function_subscriptions.php
r1251 r1287 38 38 if (run("permissions:check", "profile")) { 39 39 $column2 .= " | <a href=\"".url."_rss/subscriptions.php?action=unsubscribe&feed=".$feed->ident 40 ." \" onclick=\"return confirm('".__gettext("Are you sure you want to unsubscribe from this feed?")."')\">" . __gettext("Unsubscribe") . "</a>";40 ."&feed_owner=".$page_owner."\" onclick=\"return confirm('".__gettext("Are you sure you want to unsubscribe from this feed?")."')\">" . __gettext("Unsubscribe") . "</a>"; 41 41 } 42 42
