Ignore:
Timestamp:
Aug 17, 2006, 3:56:14 AM (18 years ago)
Author:
rvelices
Message:

ability to add content to html head elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/notification.php

    r1082 r1539  
    5252pwg_query($query);
    5353
     54$feed_url=PHPWG_ROOT_PATH.'feed.php?feed='.$page['feed'];
    5455// +-----------------------------------------------------------------------+
    5556// |                        template initialization                        |
     
    5859$title = l10n('Notification');
    5960$page['body_id'] = 'theNotificationPage';
     61$template->assign_block_vars('head_element',
     62    array(
     63      'CONTENT' => '<meta name="robots" content="noindex,nofollow">'
     64      )
     65  );
     66$template->assign_block_vars('head_element',
     67    array(
     68      'CONTENT' => '<link rel="alternate" type="application/rss+xml" href="'.$feed_url.'">'
     69      )
     70  );
     71
    6072include(PHPWG_ROOT_PATH.'include/page_header.php');
    6173$template->set_filenames(array('notification'=>'notification.tpl'));
     
    6375$template->assign_vars(
    6476  array(
    65     'FEED_URL' => PHPWG_ROOT_PATH.'feed.php?feed='.$page['feed'],
     77    'FEED_URL' => $feed_url,
    6678    'U_HOME' => make_index_url(),
    6779    )
Note: See TracChangeset for help on using the changeset viewer.