summaryrefslogtreecommitdiff
path: root/modules/comment/views
AgeCommit message (Collapse)Author
2011-04-26Overhaul the Admin > Content > Comments page. Use a tabbed interfaceBharat Mediratta
for consistency with other parts of the admin UI (ie: G2 import). The UI is now Ajax driven because that's how jQuery tabs works best in this case. This requires a little finagling in JS to get the paginator links to load properly. While I'm in there, add a paginator at the top of the table, make the buttons in the delete tab sane and smooth scroll back to the top of the tab when switching pages. Fixes #1702
2011-04-26Stop using Pagination() and instead use $theme->pager() in views.Bharat Mediratta
Move the pager() function up to Gallery_View and replace themes/admin_wind/views/pager.html.php (Pagination based) with a modified version from the wind theme in themes/admin_wind/views/paginator.html.php. Fixes #1718.
2010-08-08Use the gallery helper date/time functions wherever we format dateBharat Mediratta
time for the browser. Fixes ticket #1278.
2010-06-20Rename the feed variable from "children" to "comments" since thatBharat Mediratta
makes more semantic sense.
2010-06-18Undo "else" clause -- we should keep the logic simple and easy toBharat Mediratta
follow, even if it's redundant. Expand a <ul> to multiple lines.
2010-06-17Fix for ticket #1163. Don't all guests to a comment when there are no ↵Tim Almdal
comments and the comment access permission is register users.
2010-06-05Create a UI under Admin > Settings > Comments where you can limitBharat Mediratta
comments only to registered users. It's simplistic, but is better than adding a permission since generally this setting will be used Gallery-wide. Fixes ticket #1002
2010-05-16Rename the admin_comments view to admin_manage_comments to match the controller.Bharat Mediratta
2010-05-16Rename admin/comments to admin/manage_comments to make room forBharat Mediratta
admin/comments to be a settings page.
2010-04-21Comment updates. Add empty <li> to empty <ul> for HTML validation, fixes ↵Chad Kieffer
#1066. Minor CSS/JS fixes. Add scrollTo effect when clicking on 'Add a Comment'.
2010-02-18Don't need 'right' class here. Positioning is absolute to the right.Chad Kieffer
2010-02-14HTML validation, avoid empty <ul>Andy Staudacher
2010-01-28Don't show a link to the user profile for the guest userTim Almdal
2010-01-24Refactor creating the user profile page content into the the event module. ↵Tim Almdal
The show_user_profile is used to provide content to the user profile page. Add the list of the users comments to the profile page.
2010-01-23Create a user profile page that is used as a landing page when referencing a ↵Tim Almdal
user in messages or pages. Partial fix for ticket #889 and a fix for #931.
2009-11-25Refactor the comment module as part of ticket: #917 "Remove Rest Controller"Tim Almdal
* Remove the methods create, update, delete, get_edit_form as there are not used * Change the return when a comment is created to return the html for the new comment. This saves a second get request to down load the comment.
2009-11-18Rename g-pager to g-paginator after the recent pagination update.Chad Kieffer
2009-11-15Use text::alternate() instead of hand-rolled even/odd code.Bharat Mediratta
2009-11-08Call render() on the $menu, since we no longer use its __string()Bharat Mediratta
function to do implicit conversion.
2009-11-02Remove an extra trailing bracket.Tim Almdal
2009-10-28Normalize capitalization ticket #596Tim Almdal
2009-10-18Wrap all admin views in g-block and g-block content. This provides the means ↵Chad Kieffer
to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's.
2009-10-17Drop our g-clearfix in favor of using jQuery UI's ui-helper-clearfix.Chad Kieffer
2009-10-07Replaced most clear fix hacks with generic class.Chad Kieffer
2009-10-04Renamed more CSS selectors from gName to g-name.Chad Kieffer
2009-10-04Renamed most, if not all css selectors from gName to g-name. Moved a few ↵Chad Kieffer
shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-03Renamed and moved gOdd/gEven CSS classes.Chad Kieffer
2009-09-30Replaced gButtonLink with g-button.Chad Kieffer
2009-09-30First round of CSS refactor updates. Added calls to gallery.common.css from ↵Chad Kieffer
wind and admin_wind. Replaced basic text align and block float classes. Removed section #2 from both themes screen styles.
2009-09-22Change the link on the "Be first to comment" link to do a request to the ↵Tim Almdal
server to get the comment add form. Fixes ticket #699.
2009-09-01Add missing mark_clean() for t() calls with %attr parameter.Andy Staudacher
2009-09-01XSS / style fixes for newly detected issues (after fixing XSS scanner)Andy Staudacher
2009-08-31Fix XSS vectors in HTML attributes (mostly t() calls)Andy Staudacher
2009-08-30XSS fixes in admin_comments.html.phpAndy Staudacher
2009-08-29Update all code to use helper method html::clean(), html::purify(), ... ↵Andy Staudacher
instead of SafeString directly.
2009-08-29Merge commit 'upstream/master'Andy Staudacher
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-29Update status message styles. Lighten backgrounds, don't show background on ↵Chad Kieffer
Admin Maintenance rows, and added gModuleStatus class.
2009-08-29Refactor all calls of p::clean() to SafeString::of() and p::purify() to ↵Andy Staudacher
SafeString::purify(). Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
2009-08-28Fix ticket #591: reCaptcha always on the page.Tim Almdal
1) move creating the "Add a comment" button into the comments.html.php 2) use $.get() to retrieve the comment add form
2009-07-23Convert instances of theme_url() to just url() to match the API changeBharat Mediratta
made in dbeadc1407293d0c7af36723db6fe5699890b845
2009-07-07Change references to Gallery 2 and Gallery 3 to consistently refer toTim Almdal
Gallery n as opposed any variants of this.
2009-07-04Forgot this file when i was fixing #477Tim Almdal
2009-07-04Fix for ticket #477. Use nl2br method when rendering comment::text andTim Almdal
item::description. In addition add p::clean or p::purify to places that xss cleaning had missed (i.e. rss feeds)
2009-07-03Split the clean method into two clean and purify. clean is a light weightTim Almdal
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-06-28Rename $theme->url() to $theme->theme_url() for consistency wihtBharat Mediratta
$theme->theme_script().
2009-06-24Comment out [reply] and [edit] links because they're not implementedBharat Mediratta
yet. This closes ticket #416, and I'll open a new ticket to implement these functions.
2009-06-18Fix l10n messages (malformed html)Andy Staudacher
2009-06-16Fix html bug in l10n messageAndy Staudacher
2009-06-14Refactor feed code to use stdClass everywhere. Fix bugs in theBharat Mediratta
max-pages calculation code. Move feed related data into the $feed variable and only pass that to the view.
2009-06-12Create gallery::date_time(), gallery::date() and gallery::time()Bharat Mediratta
functions that format a unix timestamp into a date+time/date/time string. Partial fix for ticket #347.