Tim Almdal
bd992a97b2
Remove the options menus from the albums and photo pages and move to the site menu
2008-12-11 21:27:16 +00:00
Tim Almdal
bf10544e27
Destroy the popup dialog when it closes so there is nothing hanging around and we can reuse it for a different popup
2008-12-11 20:47:09 +00:00
Tim Almdal
faeb52e7f4
remove the <span class="ui-tabs-nav"> from arround the site menu. It was clashing with the superfish styling.
2008-12-11 19:22:38 +00:00
Bharat Mediratta
bcd10e4a7f
Convert a stray <li> to </li>
2008-12-11 19:12:41 +00:00
Bharat Mediratta
914164d5eb
Split _update_access_cache into two functions separating view from
...
non-view. This is a step along the path towards moving the view
access cache into the item model.
2008-12-11 19:06:40 +00:00
Tim Almdal
1af3b8e100
Changes to the Menu.php:
...
1) separate the classes that are generated by the Menu class from what is used for the rendering. The classes that are generated are gMenu, gMenuElement, and gMenuDialog for the Menu, Menu_Element and MenuDialog classes respectively.
2) Changed the ui.init.js to add the appropriate rendering classes to the above classes. All gMenu elements have the sf-menu class added. All elements of class gMenuDialog have the gDialogLink class added.
3) Use Superfish for the menus so they now float properly.
2008-12-11 19:01:47 +00:00
Tim Almdal
f3d40c02ec
A a script block to the <head> of the page that creates a javascript variable (base_url) such that javascript on the page can find the base url of the site in order to generate ajax callbacks.
2008-12-11 18:53:54 +00:00
Bharat Mediratta
f5b63e5261
Fix preambles
2008-12-11 18:31:02 +00:00
Tim Almdal
5e196e5a37
This file got left behind and is lonely
2008-12-11 17:22:40 +00:00
Tim Almdal
e1f2a5d4e6
1) Begins the creation of the local import module by adding the administation component to the scaffolding Actions tab. The importing functionality will follow shortly.
...
2) Defines a routining pattern for module administration controllers. URI's of the form admin/module/method/parameters gets remapped into module_admin/method/parameters. This will result in the lookup of the the controller Module_Admin_Controller
2008-12-11 17:20:55 +00:00
Tim Almdal
773d7024eb
Correct test
2008-12-11 16:09:49 +00:00
Tim Almdal
e84a0ebe46
Change the name of the implmentation of module parameters to module vars
2008-12-11 16:06:22 +00:00
Bharat Mediratta
fa86be7df4
whee, more ascii art
2008-12-11 08:26:27 +00:00
Chad Kieffer
c2ce81ba30
In progress admin dashboard prototype.
2008-12-11 06:38:26 +00:00
Chad Kieffer
53aabb7cfc
Fixed message spacing, removed borders for .gMessages
2008-12-11 01:26:26 +00:00
Chad Kieffer
2eac9119f7
Added status message styles, container (.gMessages) and message types complete with icons for message types ( .gSuccess, .gError, .gWarning, .gInfo, .gHelp).
2008-12-11 01:15:48 +00:00
Tim Almdal
16b9f6ab22
Add the base url to the rearrange ajax call back script
2008-12-11 00:40:44 +00:00
Tim Almdal
52ed3f11fd
Fix problem with access::can, where the $item->id was being passed to the access_group::can method.
2008-12-10 22:19:39 +00:00
Tim Almdal
7e5935d532
Create a module parameter table. This will be useful if a module wants to store information, but is not enough to warrant a table of its own
2008-12-10 19:44:58 +00:00
Bharat Mediratta
18a6614a11
Change all access API methods to take ORMs instead of ids. This will
...
minimize reloading objects from the database.
2008-12-10 07:05:49 +00:00
Bharat Mediratta
09364348c7
Remove navigation_top() and navigation_bottom() as they're subsumed by the new menu code
2008-12-10 04:25:20 +00:00
Bharat Mediratta
f198331065
Put profiler into page_bottom()
2008-12-10 04:23:48 +00:00
Tim Almdal
5ebd0854be
Combine all the ui.jquery files into a single packed file at version (1.6rc2) copied from the the corresponding vendor branch.
...
Move into the application/lib directory and remove from the theme.
Remove the ui.jquery javascript from the rearrange module and use the common library.
2008-12-09 17:02:06 +00:00
Bharat Mediratta
4a0e4b798e
Check view permissions before allowing view access to albums/photos.
2008-12-09 10:14:09 +00:00
Bharat Mediratta
e62103b8d9
Move code to delete users and add/remove users from groups into the
...
model.
2008-12-09 08:47:30 +00:00
Bharat Mediratta
930fb1f697
Remove tabs, fix indentation.
2008-12-09 08:29:12 +00:00
Chad Kieffer
2f8e3292fe
fixed album view button display in IE, link text is now visually hidden
2008-12-09 07:08:17 +00:00
Chad Kieffer
2fbd4c09e6
Checked in jQuery superfish menu plugin, applied to item options menu. Updated album/item view icons.
2008-12-09 06:40:20 +00:00
Bharat Mediratta
5ae606786a
update call from access::can() -> access::group_can()
2008-12-09 00:50:58 +00:00
Bharat Mediratta
f69f3967ea
move user::delete() to User_Model::delete()
2008-12-09 00:07:26 +00:00
Bharat Mediratta
e3ad42a276
Add access::can() which verifies that the user belongs to a group that has the
...
given permission.
2008-12-09 00:02:20 +00:00
Bharat Mediratta
bd3a472be7
Rename access::can() to access::group_can()
2008-12-08 10:46:53 +00:00
Bharat Mediratta
85239ec750
Ignore gallery_unit_test/views/kohana_*.php
2008-12-08 10:46:06 +00:00
Bharat Mediratta
b0f39497b4
Some minor beautification.
2008-12-08 08:32:44 +00:00
Bharat Mediratta
1094501251
Only add the unit_test and gallery_unit_test modules if we're in TEST_MODE
2008-12-08 08:27:17 +00:00
Felix Rabinovich
fb93722e9e
moved erro page from unit_test to gallery_unit_test
2008-12-08 08:27:13 +00:00
Felix Rabinovich
0a0852328a
moved erro page from unit_test to gallery_unit_test
2008-12-08 08:24:01 +00:00
Bharat Mediratta
b878ed174d
Refactor Menu code to create allow you to create menus using a
...
chainable factory interface and retrieve them by ids. Streamlined the
HTML creation code a little bit in the process, moved the basic menu
functionality into Theme_View and created the option to have different
menus other than site_navigation().
2008-12-08 06:14:34 +00:00
Felix Rabinovich
655581f3c9
Show unit test errors as text; not as html
2008-12-08 05:19:21 +00:00
Bharat Mediratta
8592aad2bb
Replace protected array and __get() with just class variables. This is faster and tighter.
2008-12-08 04:55:39 +00:00
Bharat Mediratta
736829490a
Minor cleanups.
2008-12-08 04:50:56 +00:00
Bharat Mediratta
528a48a96e
Minor cleanups.
2008-12-08 04:47:31 +00:00
Bharat Mediratta
73496de94f
Tighten up head()
2008-12-08 04:39:21 +00:00
Tim Almdal
ee2299d6d0
Restructure Menu processing to respect the differnent types of menu items (Menu's, Menu_Link, Menu_Dialog)
2008-12-08 00:23:33 +00:00
Tim Almdal
bd033cda8f
Move form.html.php from themes/default/views to core/views
2008-12-07 23:05:00 +00:00
Tim Almdal
ba2b39624b
correct menu processing such that urls=# aren't given class gDialogLink
2008-12-07 22:19:26 +00:00
Tim Almdal
3449827c5a
Change the menu processing to add the gDialogLink class if the url starts with a #. this results in a modal dialog box being opened. At this point the url is not retrieved and the text just shows up in the dialog box... need to look at that
2008-12-07 22:10:23 +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
5f9e35bf93
Remove debugging code
2008-12-07 21:34:19 +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