1
0
Commit Graph

382 Commits

Author SHA1 Message Date
Bharat Mediratta
2fdada73dc Sentence case the titles. 2009-12-24 11:56:30 -08:00
Bharat Mediratta
c7ad42100b Convert Kohana::show_404() to throw a Kohana_404_Exception() 2009-12-24 11:55:28 -08:00
Bharat Mediratta
ace00a891d Updated for the new blocks API. 2009-12-24 11:51:21 -08:00
Bharat Mediratta
0cb6b9e58f Clean up the code to work with K24 ORM changes, and update it to work
with paginator changes.  Also fix some minor style issues.
2009-12-24 11:45:44 -08:00
Bharat Mediratta
8658a609fd Convert Controller::$input -> Input::instance() 2009-12-24 11:09:07 -08:00
Bharat Mediratta
1ed3c46997 Clean up tag display logic 2009-12-24 11:07:03 -08:00
Bharat Mediratta
9a1fc57211 Don't treat objects like strings. Simplify the code. 2009-12-24 11:04:25 -08: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
7d2297033d Don't treat objects like strings. 2009-12-24 10:56:26 -08:00
Bharat Mediratta
1a65ded2a6 Don't treat objects like strings 2009-12-24 02:44:13 -08:00
Bharat Mediratta
dde187e88c Only trigger for items and tags 2009-12-24 01:48:27 -08:00
Bharat Mediratta
2a596af25b Don't treat an object like a string 2009-12-24 01:48:15 -08:00
Bharat Mediratta
2b00e0a4e9 Don't save dimensions unless it's actually a movie. 2009-12-24 01:47:58 -08:00
Bharat Mediratta
f522643d70 Clean up tag display logic. 2009-12-24 01:47:00 -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
a711cb1088 Quote name/descriptions in module.info 2009-12-23 12:56:12 -08:00
Bharat Mediratta
f64442b75c Add a rule for the "activate" param so that it gets validated properly. 2009-12-23 02:24:55 -08:00
Bharat Mediratta
5f53465bd1 Update format of $hidden variables for new K24 form::open 2009-12-23 00:59:15 -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
Serguei Dosyukov
4f1538d87b Grey Dragon Theme - version 1.5.8 2009-12-03 00:00:03 -06:00
Tim Almdal
53acbe5e5e Convert the CRLF in the greydragon theme to LF 2009-11-30 08:16:33 -08:00
Tim Almdal
142c7b1368 Remove the night_wind theme as it doesn't work and is not being maintained 2009-11-30 08:15:52 -08:00
Serguei Dosyukov
4b47c5b1a1 Grey Dragon Theme - initial check in 2009-11-30 01:09:08 -06:00
Bharat Mediratta
8c47321af7 Updated. 2009-11-29 12:44:49 -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
649b7ba7bc Get rid of the installer code, we don't actually need it yet since
there's no need to do any special work when we upgrade.

Change the theme code to only print out the JS if we have a web
property ID.
2009-11-29 11:49:39 -08:00
Matt Rude
29893cf79b Corrected version number from 1.2 to 2 since 1.2 is an invaild
version number.
2009-11-30 03:47:50 +08:00
Bharat Mediratta
bc1f03996a Tighten up the text a bit. 2009-11-29 00:08:00 -08:00
Bharat Mediratta
e12cc3dd2f Move admin related controllers, views and helpers into the admin
subdirectory so that they're accessible in admin mode.
2009-11-28 23:30:33 -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
b5414d7aa5 Rename and fix up some indentation. 2009-11-27 16:59:11 -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
fbe35b1658 Fix indentation. 2009-11-27 16:33:33 -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
Bharat Mediratta
bbd14d449d Subsume movie_3nids controller into the standard movies controller,
and have page.html.php just render the movie content directly instead
of wrapping it in the page chrome.
2009-11-27 16:12:59 -08:00
Bharat Mediratta
d8807a7ad8 Remove spurious module::is_active("3nids") calls since it's all now in the theme. 2009-11-27 16:00:36 -08:00
Bharat Mediratta
094937a3a3 whitespace. 2009-11-27 15:56:06 -08:00
Bharat Mediratta
863146972b Whitespace fix. 2009-11-27 15:55:53 -08:00
Bharat Mediratta
481da56ead Get rid of the specialized photos_3nids controller and use the base
photos controller.  Override photo.html.php to do the simplified
rendering of the image in a lightbox.
2009-11-27 15:36:04 -08:00
Bharat Mediratta
7f3c8db181 Fix indentation. 2009-11-27 15:32:01 -08:00
Bharat Mediratta
a13bf06f36 Change the mods on all files to 644 2009-11-27 15:27:13 -08:00
Bharat Mediratta
6c1c44fbec Can't have a class name that begins with a digit, so rename this back
to theme_3nids.
2009-11-27 15:23:19 -08:00
Bharat Mediratta
9a7f7ff22d Rename "theme_3nids" to "3nids" in module vars. 2009-11-27 15:21:05 -08:00
Bharat Mediratta
1447920592 Revert "Rename "theme_3nids" to just "3nids" since we no longer have a theme_3nids module."
This reverts commit e8302ffcc8.

Conflicts:

	themes/3nids/views/album.html.php
2009-11-27 15:20:17 -08:00
Bharat Mediratta
fe468a6014 Add spaces after commas. 2009-11-27 15:15:03 -08:00
Bharat Mediratta
e8302ffcc8 Rename "theme_3nids" to just "3nids" since we no longer have a theme_3nids module. 2009-11-27 15:14:21 -08:00
Bharat Mediratta
97db9f478e Updated to reflect the fact that we've gotten rid of REST_Controller
Updated for changes in the paginator..
2009-11-27 15:13:17 -08:00
Bharat Mediratta
f9cdd21db0 Normalize code style. 2009-11-27 15:11:10 -08:00