Tim Almdal
bd033cda8f
Move form.html.php from themes/default/views to core/views
2008-12-07 23:05:00 +00:00
Tim Almdal
eaffc5e085
Changed how drawForms handles hidden fields. I make the assumption that hidden fields will never have an error or label so rather then recursing to draw the hidden fields, we just render them. Also moved the hidden fields outside the <ul>.
2008-12-07 21:52:06 +00:00
Tim Almdal
e518dafb19
1) Revert the changes to Form_Upload and Form_Textarea, so we don't have to change third party code.
...
2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>. If $input->class is empty then treat as a hidden field.
2008-12-07 21:24:50 +00:00
Tim Almdal
954fcf0342
Merge gallery3/branches/menus back into gallery3/trunk
2008-12-07 19:45:46 +00:00
Bharat Mediratta
d086f31ea4
Style cleanups to make File_Structure_Test pass.
2008-12-07 07:42:02 +00:00
Chad Kieffer
ba18542527
Yay! Working item upload dialog from the album page!
2008-12-07 07:04:58 +00:00
Chad Kieffer
c65ae12032
Let dialogs be draggable for now.
2008-12-07 04:58:07 +00:00
Chad Kieffer
36cda412f4
First go around at reusable modal dialogs. Moved jQuery UI CSS into screen.css, moved default theme JS to js folder. Named jQuery UI files to match the file names as they distribute them. Removed accordion, it's not used yet.
2008-12-07 04:49:26 +00:00
Chad Kieffer
dca3cd2e8d
Switch the slideshow link from text to icon.
2008-12-06 17:18:55 +00:00
Chad Kieffer
89787fa8ab
Make sure the pager clears the album grid.
2008-12-05 06:26:33 +00:00
Chad Kieffer
bfd3a21dfd
Added album and item view icons (album, hybrid, slideshow, full size). Added "Options" menu placeholder to display item options (add, edit, subscribe, permissions, etc.). Renamed gAlbumHeaderMenu to gItemMenu which can be used on both album and item views.
2008-12-05 06:06:02 +00:00
Chad Kieffer
2e908ec6e5
Read that $("#Selector").length was a good way to check whether an element exists in the DOM/jQuery object.
2008-12-05 05:59:50 +00:00
Chad Kieffer
362f43169c
Removed right border off of #Content container, don't need the separation between it and the Sidebar.
2008-12-05 04:24:54 +00:00
Chad Kieffer
98ea31a86d
Grouped Ajax/Dom scripting related styles (gInPlaceEdit, gClose, etc.). Began gInPlaceEdit styles.
2008-12-03 03:24:45 +00:00
Chad Kieffer
ab0fcb7453
In place editing in breadcrumbs is a bit much, plus, it breaks the layout. Removing, at least for now.
2008-12-01 06:57:37 +00:00
Chad Kieffer
26a512c352
Grouped inline form styles. No longer using gInline class in favor of specific form IDs that can be styled differently depending on which container they appear. Added gDescription class, dropped gUnderState for semantics. CSS cleanup.
2008-12-01 01:55:50 +00:00
Chad Kieffer
6c2869f822
Changed CSS organization, removed form section. Moved generic form CSS up to top of sheet and specific form styles to be adjacent to related content. This should ensure inheritance works generic down to specific. Removed #gAddTags in favor of #gTags form.
2008-11-29 21:30:30 +00:00
Chad Kieffer
d01010cd1d
Use .width() instead of .innerWidth(). Now photo resize works in IE 7.
2008-11-28 23:24:13 +00:00
Chad Kieffer
bb8fa3c417
Dynamically reset the dimensions of resized photos to fit if they're too wide.
2008-11-28 22:02:46 +00:00
Bharat Mediratta
4d71975f37
Add credits theme callback, point the powered-by link at GMC
2008-11-28 09:46:29 +00:00
Bharat Mediratta
1239e38e45
Move the form drawing code back into form.html.php -- I'm going to
...
take a shot at fixing it up in the view file so that it's mostly HTML,
not mostly PHP. If that fails, I'll move it back into a helper.
2008-11-28 03:09:18 +00:00
Bharat Mediratta
26c9ec6d4b
Make header buttons, line them up nicely and float them to the right
...
so that they don't push the album grid down.
2008-11-27 22:08:56 +00:00
Tim Almdal
6bc9c5868b
Create a form_helper class containing the function Draw_Form so we don't have to always check to see if the DrawForm method is already defined in pages that could have multiple forms.
2008-11-27 16:33:41 +00:00
Tim Almdal
bac4ff2046
1) Create a Theme_View class that combines the functionality of the Theme class with the View class.
...
2) Only define the form.html.php::DrawForm method once if there are multiple forms on the page (i.e. comments and add tags)
2008-11-27 16:19:07 +00:00
Bharat Mediratta
723eb2f611
Move the ADMIN global nav option into the core module and only show it if we're logged in as an admin user
2008-11-27 11:43:48 +00:00
Bharat Mediratta
34a286ae90
Add navigation_top() and navigation_bottom() insertion points
...
Move "My Gallery" navigation tab into the user module and only show it
if you're logged in
2008-11-27 11:33:45 +00:00
Bharat Mediratta
0b86568586
Use the dimensions of the real image
2008-11-27 11:13:24 +00:00
Bharat Mediratta
d909fc1070
Make tags look a little better.
2008-11-27 10:25:50 +00:00
Bharat Mediratta
92ca1ba9ab
Style form#gAddTag nicely
2008-11-27 06:34:45 +00:00
Bharat Mediratta
850c3b90a3
Don't wrap hidden elements in list items
2008-11-27 06:34:20 +00:00
Tim Almdal
27e64f1dc6
Move javascript from default theme to appropriate modules
2008-11-27 06:14:32 +00:00
Tim Almdal
326fa1dd27
Remove slideshow.js as it is not required
2008-11-27 05:59:25 +00:00
Bharat Mediratta
974f9f7788
Add a new "tag" page type.
...
Create the concept of "page types" which let us specify the kind of
page that we're rendering in high level terms. Currently there are
three page types: album, photo and tag.
The tag page type uses slightly different variables. It has a $tag
but no $item. Adjust all sidebar_block() functions to avoid printing
stuff that's dependent on the item if there is no item.
Simplify the tag code to stop trying to fake an item.
Update the theme slightly to use $item and $tag where appropriate
(notably, for making the <title> element).
2008-11-26 21:50:45 +00:00
Bharat Mediratta
4e8937ccef
Indentation fix.
2008-11-26 21:24:46 +00:00
Bharat Mediratta
59d71baa08
Style the tag cloud add form.
2008-11-26 10:48:22 +00:00
Bharat Mediratta
98ee16ca49
Simplify tags code some more:
...
1) change buckets to be 1-7 not 0-6.. zero-based indicies don't make sense in the
real world and are liable to confuse themers.
2) Change tag API to popular_tags($count) which just returns the popular tags. Let
the block code massage it into the right format for the view.
3) Move alphasort into the block code, simplify it and rename it to sort_by_name so
that it's more descriptive
4) Do the bucketing in the view; this allows the themer to override it and create their
own bucketing algorithm to go with the theme's CSS.
5) Don't create any temporary objects.
2008-11-26 10:27:13 +00:00
Tim Almdal
03bf3a6af2
Remove the more or less links
2008-11-26 05:08:43 +00:00
Tim Almdal
1ea0382f53
Moving right along on tags. Now the threshold for which tags can be changed. The default is to show all the tags (i.e. count >= the minimum frequency) by clicking on the "See Less" link, the tag cloud will not show the minimum frequency, so the number of tags shown is smaller.
...
The "See More" link works the opposite way.
2008-11-25 22:38:11 +00:00
Tim Almdal
e9e589e5eb
Display tag block using data from the database
2008-11-25 18:54:04 +00:00
Bharat Mediratta
7eded67708
Make the album_top and header_bottom annotated theme blocks look a little bit nicer (but not perfect)
2008-11-25 05:24:54 +00:00
Bharat Mediratta
458d588dd6
Move album_top back inside gAlbumHeader so that the slideshow link appears on the same line as the title/description.
2008-11-25 05:15:07 +00:00
Bharat Mediratta
b22494a4ea
Move the in-place-edit JS into the page_footer callback and out of
...
Theme.php.
2008-11-25 04:37:21 +00:00
Bharat Mediratta
389cf77e5a
Make the annotated block titles 10% larger.
2008-11-25 04:35:50 +00:00
Bharat Mediratta
7be23c269c
Remove a stray comma that was making IE sad.
2008-11-25 03:24:31 +00:00
Bharat Mediratta
aedcba0ed2
Round the corners on the annotated titles, gently.
2008-11-25 02:24:59 +00:00
Bharat Mediratta
dcf3693b3e
Add theme debugging. Activate it in the [info] tab in the
...
scaffolding, then browse around your Gallery3 to see where you can add
visible elements via modules.
2008-11-25 02:17:53 +00:00
Bharat Mediratta
26f5baba94
Reposition album_top and album_bottom slightly
2008-11-25 02:14:36 +00:00
Bharat Mediratta
c725a0f16e
Move comment listing into the comment module
2008-11-25 02:14:04 +00:00
Chad Kieffer
c812d2a931
Changed comment sort order asc. Changed ajax comment add to append comment li to comment thread ul. Added fadeIn for user login.
2008-11-24 07:12:45 +00:00
Tim Almdal
8b52d9cde4
Revert the site_title change
2008-11-24 05:58:38 +00:00