fixed small issues
Merge pull request #1 from m-mmoocs/cleaningup

fixed small issues
user login on every page + newlines
newlines??
give up on newlines
Update template.php
Merge pull request #2 from m-mmoocs/login-flow

Login flow
Subjects (prototype)

- Users have the option of selecting existing subject or adding new
subject when they add a unit
- subject tag will not show up until its status is changed from
'pending' to 'confirmed'
- added a subjects controller and subject view to test if subjects were
showing up properly
-- subject view shows primary material of units tagged with that subject
- skilljoy database removed from schema and re-inserted as individual
tables
- subjects table updated to include 'status' column
- units controller modified to also send array of subject tags to unit
view
Subjects - Fixes

Fixed issue of not being able to create subject relations without a new
subject
Merge pull request #3 from m-mmoocs/subjects

Subjects (prototype)
remove original login button from header
Added rating system

- unit-v: users see vote up/down links if they're logged in
- up or down changes if user has already voted up or down
- units_m: checks if user can vote on unit, gets positive vote
percentage and total number of votes and sends back to controller
- rating table added to schema
Fixes to rating system

- fixed function names
- fixed unnecessary call to function
- changed table to use 1, -1
- changed SQL lines according to the table change
Merge pull request #4 from m-mmoocs/Rating

Added rating system
before merge
fix units
fix units_m