1
0
Commit Graph

9 Commits

Author SHA1 Message Date
Bharat Mediratta
071e931642 Make functions static. 2010-06-26 12:06:58 -07:00
Bharat Mediratta
5f65d082f9 Update the copyright to 2010. 2010-03-03 10:16:08 -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
1b12d8467e Roll the administration controller and view into an event listener in
three_nids_event so that we piggyback on the form generated in Admin >
Appearance > Theme Options.  This makes a cleaner user interface for
the user since there's not an extra config page for the theme and
greatly reduces the amount of code in the theme.
2009-11-29 12:41:18 -08:00
Bharat Mediratta
78e6c5434e Move the 3nids admin menu option into the appearance menu. 2009-11-28 15:20:10 -08:00
Bharat Mediratta
2080cc531e Roll comment functionality into the three_nids controllers and
helpers.
2009-11-27 16:56:37 -08:00
Bharat Mediratta
bed8f84566 Whitespace. 2009-11-27 16:31:15 -08:00
Bharat Mediratta
d6456b7643 Change references of theme_three_nids to three_nids 2009-11-27 16:27:33 -08:00
Bharat Mediratta
4e9c467a10 Rename 3nids to three_nids so that we can use the theme name as an
identifier in PHP.  PHP identifiers are not allowed to start with a
digit (sigh).
2009-11-27 16:21:55 -08:00