1
0
Commit Graph

12 Commits

Author SHA1 Message Date
rWatcher
2b12d9b3f5 Validate form before sending and add message header text. 2009-12-30 01:10:55 -05:00
Bharat Mediratta
30ab3e9420 Check using empty() instead of a comparison to avoid warnings on
unused variables.

Clean up the code style.
2009-12-24 10:59:25 -08:00
Bharat Mediratta
bcc0a1e836 Convert a bunch of left over kohana::show_404 calls to throw
Kohana_404_Exception instead.
2009-12-23 20:52:09 -08:00
Bharat Mediratta
1a0dc96e77 First pass at upgrading contrib code to the Kohana 2.4 standards.
Here's a summary of the changes I made:

1) html::specialchars --> html::chars
2) ORM::orderby() -> ORM::order_by()
3) ORM::where() now takes 3 parameters including a comparator.  So
   ORM::where("a", $b) is now ORM::where("a", "=", $b) and the middle
   value can be any comparator.
4) ORM::$loaded --> ORM::loaded()
5) Database::instance() --> db::build()  (and there are some other
   subtle differences, like now you always call execute() at the end
   of the chain)
6) form::close() and form::close_fieldset() are now gone.  Use
   </form> and </fieldset> respectively.
7) Controller::$input is gone.  Use Input::instance() instead.

I've done very rudimentary testing so far.
2009-12-22 21:31:03 -08:00
Bharat Mediratta
99ec99a166 Update to use the new page_type and page_subtype designations. 2009-11-17 14:06:04 -08:00
rWatcher
3f87b27560 Replaced all references to user::active() with identity::active_user(). 2009-10-29 18:29:42 -04:00
rWatcher
c407686079 Updated for new sidebar code. 2009-10-12 15:54:50 -04:00
Chad Kieffer
4be214c4bf Renamed most, if not all css selectors from gModuleName to g-module-name. This might break a few ajax features, please review your modules. 2009-10-04 14:40:59 -06:00
Bharat Mediratta
067b6b5073 Installer cleanup.
We no longer need the install() function for installs that only set
the module version number.  Same for upgrade().  Do a general cleanup
of all installers and remove the ones that are no longer necessary.
2009-09-05 14:21:26 -07:00
Bharat Mediratta
e410a2cbd8 Fold code from xxx_menu helpers into xxx_event to match a recent API change. 2009-07-29 18:00:57 -07:00
rWatcher
843acb5899 Use email of current logged in user for from line, also messed around with the line break code. 2009-07-22 22:17:57 -04:00
rWatcher
6f93d148f5 Initial Commit. 2009-07-22 16:49:46 -04:00