Tim Almdal
7ea13b3869
Normalize capitalization ticket #596
2009-10-28 12:15:52 -07:00
Chad Kieffer
5f56cbf997
Wrap all admin views in g-block and g-block content. This provides the means 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-18 20:22:10 -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
e1e8904e4a
Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's and classes in the login/reset password dialog.
2009-09-30 22:49:36 -06:00
Chad Kieffer
72672bda39
Replaced gButtonLink with g-button.
2009-09-30 08:04:49 -06:00
Andy Staudacher
2bc73e2e36
Fix XSS vectors in HTML attributes (mostly t() calls)
2009-08-31 21:51:57 -07:00
Chad Kieffer
c377ffc2a5
Ticket #97 . Applied button css where missing. Minor form css improvements.
2009-03-16 05:50:05 +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
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
Chad Kieffer
fe16cd65ee
Wrap div with another div instead of a paragraph
2009-01-04 18:37:13 +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
Bharat Mediratta
776123496b
Add transparency support
2008-12-29 22:30:19 +00:00
Bharat Mediratta
dee20ed6a2
Added the concept of "permanent" messages that we show to admins. Use
...
this to show a "your thumbs/resizes are out of date" message whenever
we change the graphics rules. Tweak watermark module to add graphics
rules whenever we make a change, which triggers the graphics module to
add the permanent message.
2008-12-26 05:43:06 +00:00
Bharat Mediratta
df3f0c3382
Add missing '=' causing <img> height not to get set.
2008-12-26 04:35:44 +00:00
Bharat Mediratta
837a5430b8
More watermark changes:
...
Change admin/watermarks/upload -> admin/watermarks/add for consistency.
Internationalize position text, store it as text in the database,
display it to the admin.
Make i18n strings consistent to reduce l10n load.
2008-12-26 04:34:20 +00:00
Bharat Mediratta
0fc14c1bfc
Simplify the watermark module. We can now upload, edit and delete one
...
watermark. The UI is rough and we don't yet apply the watermark to
images.. that's next.
2008-12-26 01:32:12 +00:00
Bharat Mediratta
94e3ae2e0f
Add edit/delete links (they're just stubs now, but they open a dialog).
...
Add active/position to Watermark_Model
2008-12-25 22:31:20 +00:00
Bharat Mediratta
ddcf10dfce
Allow the site admin to upload watermark images. Can't do much with them yet.
2008-12-23 01:29:17 +00:00
Bharat Mediratta
34daf50695
Add attribute to <script> element.
2008-12-23 00:06:20 +00:00
Tim Almdal
f8a0c91ce6
Drag & Drop the watermark now works and so does the dropdown box. The target image is divided into a 3x3 quadrant referenced as: northwest, north, northeast, west, center, east, southeast, south, southwest. Similiar to the imagemagik garvities. Currently the watermark is placed in the left top of the particular quadrant.
2008-12-17 01:26:40 +00:00
Bharat Mediratta
59bb72df88
Fix preamble
2008-12-16 23:11:24 +00:00
Tim Almdal
b0c21915e9
Oops, remove the () on the parameter to $("#Dialog").ready(...) so we pass the function, not the results of the function call.
2008-12-16 19:16:34 +00:00
Tim Almdal
c32988a097
Separate the handling of the dialog resizing into the watermark.js, so we don't have to download the watermark dialog initialization with each request.
2008-12-16 19:12:24 +00:00
Tim Almdal
59bc7dc22c
1) change the selector for the the function to gDialog
...
2) Once the dialog is resized, center it
2008-12-16 19:06:03 +00:00
Tim Almdal
04441e11cc
1) Remove the load watermark from the scaffolding... use the menu option
...
2) The set watermark dialog is now sizing properly. @todo is recenter in the window
2008-12-16 17:30:18 +00:00
Tim Almdal
92e6ed8a8a
Start of the dialog to specify the watermark placement. For convience, using the imagemagik nomicalture regarding watermark locations (east, west, center, etc.)
...
You can drag the watermark around but it doesn't stay in place.
Need to figure out how to resize the dialog box
and all of the supporting javascript
2008-12-15 23:08:18 +00:00
Tim Almdal
20d5f45218
Fix the reference to jquery-ui.packed.js
2008-12-15 06:37:56 +00:00
Tim Almdal
1cb0268589
Change the label on the watermark form upload element, so the error message is at least somewhat meaningful
2008-12-15 04:40:09 +00:00
Tim Almdal
b2107c3734
1) Move the deletion of the vars into module::delete helper
...
2) remove the watermark_add_form.html.php
2008-12-15 03:49:48 +00:00
Tim Almdal
4b4e9e8e45
The start of the watermark module. It doesn't save the watermark at this point. This is more of trying out the approach where Forge is not used for forms. Basic html and the Validation library.
2008-12-14 19:43:04 +00:00