Ignore:
Timestamp:
Dec 24, 2013, 1:25:03 AM (10 years ago)
Author:
mistic100
Message:

change layout of form (use colorbox for standalone) + cleaning of subscriptions page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Subscribe_to_comments/include/subscriptions_page.inc.php

    r26141 r26144  
    1818  }
    1919}
    20 
    2120
    2221
     
    7372  }
    7473
    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);
    7676}
    7777
     
    122122      }
    123123
    124       $template->assign(array(
     124      $template->assign('STC', array(
    125125        'type' => $type,
    126126        'element' => $element,
     
    176176      }
    177177
    178       $template->assign(array(
     178      $template->assign('STC', array(
    179179        'type' => $type,
    180180        'element' => $element,
     
    202202      {
    203203        $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        }
    204209
    205210        switch ($subscription['type'])
Note: See TracChangeset for help on using the changeset viewer.