diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-03-04 06:25:55 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-04 06:25:55 +0000 |
commit | b493a534f2966e23eb0244654e8929320721da8e (patch) | |
tree | 93f239b73a197d94300620bbf821599fceda96e3 /modules/server_add/js/server_add.js | |
parent | 83e12961b13d1ab1e11a60e30b335d26b1875a25 (diff) |
A variety of cleanups:
* Allow for the "movie" type in all of our text
* Try to follow the pattern of mainly only passing ORM objects
to the view and let it generate its own text (this becomes
even more important when 3rd parties want to customize notification
messages)
* Rename _send_message to be _notify_subscribers to be more acccurate
and have it explicitly take a subject in the API
* Use Item_Model::url() in the views instead of hand crafting URLs
* Reformat HTML in views
* Use $comment->author_xxx() functions instead of replicating that code
* Fix several places where we were encoding data by doing ucfirst($item->type)
with conditionals where we form the text properly. We should *never*
be showing data types to the end user! This is not localizable!
Note that this probably breaks the existing batch processing code. I
am going to redo that in a subsequent pass.
Diffstat (limited to 'modules/server_add/js/server_add.js')
0 files changed, 0 insertions, 0 deletions