Chad Kieffer
121fcab5c8
Replaced most clear fix hacks with generic class.
2009-10-07 00:46:02 -06:00
Chad Kieffer
d581bbbd1e
Renamed more CSS selectors from gName to g-name.
2009-10-04 15:53:00 -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
Chad Kieffer
9145331fd4
Renamed and moved gOdd/gEven CSS classes.
2009-10-03 12:33:53 -06:00
Chad Kieffer
72672bda39
Replaced gButtonLink with g-button.
2009-09-30 08:04:49 -06:00
Chad Kieffer
daa3a2b43c
First round of CSS refactor updates. Added calls to gallery.common.css from wind and admin_wind. Replaced basic text align and block float classes. Removed section #2 from both themes screen styles.
2009-09-30 00:32:52 -06:00
Tim Almdal
b310fab1f8
Change the link on the "Be first to comment" link to do a request to the server to get the comment add form. Fixes ticket #699 .
2009-09-22 07:59:26 -07:00
Andy Staudacher
1d30691452
Add missing mark_clean() for t() calls with %attr parameter.
2009-09-01 12:14:23 -07:00
Andy Staudacher
53711225ac
XSS / style fixes for newly detected issues (after fixing XSS scanner)
2009-09-01 01:28: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
fc294c2777
XSS fixes in admin_comments.html.php
2009-08-30 21:26:23 -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
a5dfc81a8f
Merge commit 'upstream/master'
...
Conflicts:
modules/akismet/views/admin_akismet.html.php
modules/comment/helpers/comment_rss.php
modules/gallery/helpers/gallery_rss.php
modules/gallery/libraries/I18n.php
modules/gallery/views/permissions_browse.html.php
modules/gallery/views/simple_uploader.html.php
modules/info/views/info_block.html.php
modules/organize/controllers/organize.php
modules/organize/views/organize.html.php
modules/organize/views/organize_album.html.php
themes/default/views/album.html.php
themes/default/views/movie.html.php
themes/default/views/photo.html.php
2009-08-29 14:17:48 -07:00
Chad Kieffer
5db0b68a70
Update status message styles. Lighten backgrounds, don't show background on Admin Maintenance rows, and added gModuleStatus class.
2009-08-29 14:01:04 -06: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
1d5262f9c3
Fix ticket #591 : reCaptcha always on the page.
...
1) move creating the "Add a comment" button into the comments.html.php
2) use $.get() to retrieve the comment add form
2009-08-28 13:44:01 -07:00
Bharat Mediratta
41b8f943a6
Convert instances of theme_url() to just url() to match the API change
...
made in dbeadc1407
2009-07-23 10:20:49 -07:00
Tim Almdal
b59e94e7dc
Change references to Gallery 2 and Gallery 3 to consistently refer to
...
Gallery n as opposed any variants of this.
2009-07-07 07:32:36 -07:00
Tim Almdal
4f0b4469f9
Forgot this file when i was fixing #477
2009-07-04 17:33:10 -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
Bharat Mediratta
6e8a8c53e6
Rename $theme->url() to $theme->theme_url() for consistency wiht
...
$theme->theme_script().
2009-06-28 19:49:48 -07:00
Bharat Mediratta
4384b67be1
Comment out [reply] and [edit] links because they're not implemented
...
yet. This closes ticket #416 , and I'll open a new ticket to implement
these functions.
2009-06-24 21:30:48 -07:00
Andy Staudacher
d7e6c71ede
Fix l10n messages (malformed html)
2009-06-18 01:47:29 -07:00
Andy Staudacher
40b107dd64
Fix html bug in l10n message
2009-06-16 14:12:40 -07:00
Bharat Mediratta
00fad54c0b
Refactor feed code to use stdClass everywhere. Fix bugs in the
...
max-pages calculation code. Move feed related data into the $feed
variable and only pass that to the view.
2009-06-14 16:40:57 -07:00
Bharat Mediratta
26314d0ef8
Create gallery::date_time(), gallery::date() and gallery::time()
...
functions that format a unix timestamp into a date+time/date/time
string.
Partial fix for ticket #347 .
2009-06-12 22:44:51 -07:00
Tim Almdal
dc6c75cd05
Move the processing of rss feeds from the rss controller to callbacks in the
...
modules that are supplying the feed. The rss controller becomes a router.
In this change the comment and updates fields are distributed.
2009-06-12 08:52:03 -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
Bharat Mediratta
de812e1e82
Refactor to support pagination and simplify the code.
...
- Simplify the public controller methods
- Fix a bug where missing thumbnails would cause a divide by zero error
- actually pay attention to the page # for pagination and limit the query accordingly.
2009-05-11 20:15:24 +00:00
Bharat Mediratta
8ae2305289
Hide the "no comments yet" text after the first comment is posted.
...
Fixes ticket #196 .
2009-04-06 00:27:24 +00:00
Bharat Mediratta
802f2431c7
Concatenate chopped up internationalized string.
2009-04-03 23:12:52 +00:00
Bharat Mediratta
921f3a2eee
Put csrf token into Admin_View and Theme_View by default, then use it
...
directly wherever possible instead of access::csrf_token().
2009-03-27 03:43:21 +00:00
Chad Kieffer
cd8d1c6582
Temp fix for photostreamin admin dashboard, other miscellaneous css fixes. Apply jQuery UI button css to submit inputs in the admin theme.
2009-02-23 05:14:05 +00:00
Jakob Hilden
7d96448ecb
added additional comment link, if no comments have been made yet.
2009-02-23 00:46:25 +00:00
Bharat Mediratta
f5169dd451
Leave the comments title around, but add the "Be the first to comment"
...
message below it.
2009-02-22 20:16:56 +00:00
Chad Kieffer
5dcf2794c5
Fixes to comment admin buttons.
2009-02-20 07:10:20 +00:00
Chad Kieffer
d04dbadfa1
Apply buttons to comment moderation and action buttons, beginnings of a photo stream carousel block in admin dashboard.
2009-02-15 22:36:51 +00:00
Chad Kieffer
9bbe8053c7
Added a show comment form button. Add comment form is revealed when the button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.
2009-02-12 07:07:11 +00:00
Chad Kieffer
55cd2afde5
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-24 20:06:13 +00:00
Andy Staudacher
e4a9b19bf9
Changing t() placeholder syntax from {{replace_me}} to %replace_me.
2009-01-15 10:02:41 +00:00
Andy Staudacher
e53916dd06
Simplifying the way t() is called. Refactoring localization function t($message, $options=array()) into 2 separate functions:
...
- the new t($message, $options=array()) is for simple strings, optionally with placeholder interpolation.
- t2($singular, $plural, $count, $options=array()) is for plurals.
2009-01-15 09:30:15 +00:00
Bharat Mediratta
66fe884cb5
Use the author's avatar, not the logged in user's one.
2009-01-11 22:47:54 +00:00
Bharat Mediratta
01666c5579
Fix all file structure issues (tabs, bad preambles, etc).
...
Note: installer/install.php is now on the "direct access" list.
2009-01-11 02:27:00 +00:00
Chad Kieffer
aed5a4c788
2009-01-10 22:39:24 +00:00
Chad Kieffer
82848bd3a9
HTML format cleanup
2009-01-10 19:13:00 +00:00
Bharat Mediratta
44bfc1c6a4
Auto-delete 7-day old spam/deleted comments.
2009-01-10 11:25:33 +00:00
Bharat Mediratta
74766e5b82
Create a 'recently deleted' queue
2009-01-10 11:11:24 +00:00
Bharat Mediratta
9d584a528b
Update the queue counts in the menu list whenever we
...
approve/unapprove/spam a comment.
2009-01-10 07:55:16 +00:00
Bharat Mediratta
9b90b4b0cd
Use the theme's avatar as the default if Gravatar doesn't have one.
2009-01-10 06:18:35 +00:00