Changeset 147


Ignore:
Timestamp:
Jan 25, 2011 11:56:55 AM (5 years ago)
Author:
gnum
Message:

Couple of fixes, added handler for add_courseblog_post and a button to get the action running. NB! Giving course->id instead of expected courseblog identifier

Location:
dippler/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • dippler/trunk/start.php

    r139 r147  
    155155                                set_input('answer_guid', $page[1]);
    156156                                include($CONFIG->pluginspath . 'dippler/indexes/view_answer.php');
     157                                break;
     158                        case "add_courseblog_post":
     159                                set_input('courseblog', $page[1]);
     160                                include($CONFIG->pluginspath . 'dippler/indexes/add_courseblog_post.php');
    157161                                break;
    158162                        case "manage":
  • dippler/trunk/views/default/dippler/forms/edit_courseblog_comment.php

    r146 r147  
    5151EOT;
    5252
    53         echo elgg_view('input/form', array('action' => "{$vars['url']}action/{$action}"), 'body' => $form_body);
     53        echo elgg_view('input/form', array('action' => "{$vars['url']}action/{$action}", 'body' => $form_body));
    5454
    5555        unset($action); unset($form_body); unset($courseblog);
  • dippler/trunk/views/default/dippler/forms/edit_courseblog_post.php

    r143 r147  
    5050EOT;
    5151
    52         echo elgg_view('input/form', array('action' => "{$vars['url']}action/{$action}"), 'body' => $form_body);
     52        echo elgg_view('input/form', array('action' => "{$vars['url']}action/{$action}", 'body' => $form_body));
    5353
    5454        unset($action); unset($form_body); unset($courseblog);
Note: See TracChangeset for help on using the changeset viewer.