Bharat Mediratta
17d89a9df1
Truncate the text of the title/description for results on the search page. Partial fix for ticket #580 .
2009-11-21 10:58:26 -08:00
Bharat Mediratta
29efb6ba9f
Rename "pager" to "paginator" so that we differentiate page.html.php
...
from paginator.html.php
2009-11-14 16:20:36 -08:00
Chad Kieffer
268ab9e079
Remove g-right from quick search form, leave positioning to the theme.
2009-11-01 10:41:24 -07:00
Tim Almdal
7ea13b3869
Normalize capitalization ticket #596
2009-10-28 12:15:52 -07:00
Chad Kieffer
fbc5517711
Initial RTL update work. Consolidated shared rtl-related css selectors in gallery.common. Applied g-right and g-left to a few banner items, including login menu and the logo.
2009-10-28 00:15:08 -06:00
Chad Kieffer
2b7a21dcbc
Add clearfix to search results gallery-grid to clear the pager navigation. Other minor search results style updates. Don't display legends in short forms.
2009-10-25 23:46:09 -06:00
Chad Kieffer
c876ec1f50
Apply g-short-form directly to short forms rather than via JS. Comment updates in ui.init.js.
2009-10-16 00:00:52 -06:00
Chad Kieffer
3e6ba7acc3
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-04 00:27:22 -06:00
Bharat Mediratta
2aad580f53
Move specialized (pretty) url generation back into Item_Model so that
...
we're not relying on overriding url::site() to do tricks around item
urls. This means that you won't get item urls by doing
url::site("albums/37"), for example, but it also means that we won't
get pretty urls where we don't expect them (like in the action of a
<form> element).
Incidentally, this will help us move over to using the slug format
because if you've got a bad character in a url, the edit forms will
now work on it since they'll be id based.
2009-09-08 13:44:52 -07:00
Andy Staudacher
2bc73e2e36
Fix XSS vectors in HTML attributes (mostly t() calls)
2009-08-31 21:51:57 -07:00
Andy Staudacher
b9bd1681a3
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
2009-08-29 22:54:20 -07:00
Andy Staudacher
c01ac42c46
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
...
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
2009-08-29 12:48:40 -07:00
Tim Almdal
e5cd7052e8
Revert "Forgot this when i was cleaning up for ticket #519 "
...
This reverts commit 31969a1d82 .
2009-07-07 12:25:19 -07:00
Tim Almdal
31969a1d82
Forgot this when i was cleaning up for ticket #519
2009-07-07 12:09:55 -07:00
Tim Almdal
d6648c0aff
Fix for ticket #477 . Use nl2br method when rendering comment::text and
...
item::description. In addition add p::clean or p::purify to places that
xss cleaning had missed (i.e. rss feeds)
2009-07-04 08:17:12 -07:00
Tim Almdal
54ffea2419
Split the clean method into two clean and purify. clean is a light weight
...
approach using html::specialchars and purify uses HTMLPurifier to intelligently
cleanse the output fields. Use purifier for text and title fields where it is
likely that a user would enter html to format their data.
2009-07-03 21:44:10 -07:00
Tim Almdal
0f987880e6
Fix for ticket #320
2009-06-02 12:08:47 -07:00
Bharat Mediratta
708f27f483
Run p::clean() on any variables that contain data entered by users.
2009-05-31 00:11:48 -07:00
Chad Kieffer
5dad40b1ae
Ticket #2 . Tighten up search results UI.
2009-02-13 03:21:19 +00:00
Chad Kieffer
67d551d5e3
jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page.
2009-02-06 06:34:47 +00:00
Bharat Mediratta
d568a1e9fd
Implement relevance ranked boolean searching on a full text index of
...
item and comment data. Whew!
It's not pretty yet. And you have to manually update the index
currently in admin/maintenance. But it works.
2009-01-17 00:52:50 +00:00
Andy Staudacher
a631fe29f3
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
...
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00
Bharat Mediratta
cd1d023754
Change the preamble for views in two ways:
...
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
have short_tags enabled (the app won't work, but we need to make sure that we're
still secure)
2009-01-01 00:23:29 +00:00
Chad Kieffer
3c05b95620
Added JS to set/reset simple forms' input values to their corresponding labels' value. Labels should always be used with visible inputs. Use this to style and control short form input display and behavior.
2008-12-17 00:45:52 +00:00
Bharat Mediratta
51ada4c2e2
Move search out into its own module and have it display its link at
...
the header_bottom() insertion point.
2008-11-23 08:08:12 +00:00