- Timestamp:
- Dec 24, 2013, 1:25:03 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/include/subscriptions_page.inc.php
r26141 r26144 18 18 } 19 19 } 20 21 20 22 21 … … 73 72 } 74 73 75 $template->assign('MANAGE_LINK', make_stc_url('manage', $_GET['email'])); 74 $self_url = make_stc_url('manage', $_GET['email']); 75 $template->assign('U_MANAGE_SUBSCRIPTIONS', $self_url); 76 76 } 77 77 … … 122 122 } 123 123 124 $template->assign( array(124 $template->assign('STC', array( 125 125 'type' => $type, 126 126 'element' => $element, … … 176 176 } 177 177 178 $template->assign( array(178 $template->assign('STC', array( 179 179 'type' => $type, 180 180 'element' => $element, … … 202 202 { 203 203 $subscription['registration_date'] = format_date($subscription['registration_date'], true); 204 $subscription['U_UNSUB'] = add_url_params($self_url, array('unsubscribe'=>$subscription['id'])); 205 if ($subscription['validated']=='false') 206 { 207 $subscription['U_VALIDATE'] = add_url_params($self_url, array('validate'=>$subscription['id'])); 208 } 204 209 205 210 switch ($subscription['type'])
Note: See TracChangeset
for help on using the changeset viewer.