Changeset 146 for trunk/start.php

Show
Ignore:
Timestamp:
08/27/10 17:15:17 (21 months ago)
Author:
gnum
Message:

A few changes for actions. Login action should be available for not-loggedin users, and editing participant should not.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/start.php

    r140 r146  
    155155    register_elgg_event_handler('pagesetup', 'system', 'edufeedr_pagesetup'); 
    156156    // Actions 
    157     register_action('login', false, $CONFIG->pluginspath . 'edufeedr/actions/login.php'); 
     157    register_action('login', true, $CONFIG->pluginspath . 'edufeedr/actions/login.php'); 
    158158    register_action('edufeedr/add_educourse', false, $CONFIG->pluginspath . 'edufeedr/actions/add_educourse.php'); 
    159159    register_action('edufeedr/edit_educourse', false, $CONFIG->pluginspath . 'edufeedr/actions/edit_educourse.php'); 
     
    163163        register_action('edufeedr/download_educourse_vcard', true, $CONFIG->pluginspath . 'edufeedr/actions/download_educourse_vcard.php'); 
    164164        register_action('edufeedr/download_educourse_opml', false, $CONFIG->pluginspath . 'edufeedr/actions/download_educourse_opml.php'); 
    165         register_action('edufeedr/edit_participant', true, $CONFIG->pluginspath . 'edufeedr/actions/edit_participant.php'); 
     165        register_action('edufeedr/edit_participant', false, $CONFIG->pluginspath . 'edufeedr/actions/edit_participant.php'); 
    166166        register_action('edufeedr/add_assignment', false, $CONFIG->pluginspath . 'edufeedr/actions/add_assignment.php'); 
    167167        register_action('edufeedr/edit_assignment', false, $CONFIG->pluginspath . 'edufeedr/actions/edit_assignment.php');