/[drupal]/contributions/modules/draggableviews/draggableviews_theme.inc
ViewVC logotype

Log of /contributions/modules/draggableviews/draggableviews_theme.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.6.2.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 31 13:15:04 2009 UTC (3 weeks, 5 days ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.29: +5 -1 lines
Diff to previous 1.6.2.29 , to branch point 1.6 , to next main 1.8
#605206: Make Save-button text customizable

Revision 1.6.2.29 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 7 19:14:47 2009 UTC (2 months, 2 weeks ago) by sevi
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-3-BETA1, DRUPAL-6--3-3-BETA2
Changes since 1.6.2.28: +9 -9 lines
Diff to previous 1.6.2.28 , to branch point 1.6
Bug-Fix: The order value must be greater than the minimum value.
Refactored Handler system: Parent handler introduced. All third party handlers must be rewritten.
Book-Handler: Rewritten. First root node of the view pretends to be the root node (concerning both parent nid and order value). For saving the actual values will be restored.
Options of Native handler are now listed in a seperated section.

Revision 1.6.2.28 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 4 11:25:50 2009 UTC (2 months, 3 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.27: +3 -4 lines
Diff to previous 1.6.2.27 , to branch point 1.6
Bug-Fix: Added variable declaration in draggableviews_info also before the handlers get loaded.
Bug-Fix: ensure theme even if style-plugin is not in use.
Added some isset() and empty() checks to get grid of "notice:" messages.
Changed position of variable-initializations to  make them have a value even if the style_plugin is not in use (the theme).
Bug-Fix: All handlers: Removed non existing $field (lny used if attributes not present; was actually never used).

Revision 1.6.2.27 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 1 22:24:20 2009 UTC (2 months, 3 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.26: +21 -34 lines
Diff to previous 1.6.2.26 , to branch point 1.6
Important form-api changes: All form elements are now built before drupal_get_form gets called, so the drupal_render function will have all needed attributes set (PHP Notice errors).

Revision 1.6.2.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 23 18:33:22 2009 UTC (3 months ago) by sevi
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-2, DRUPAL-6--3-2-BETA7
Changes since 1.6.2.25: +2 -1 lines
Diff to previous 1.6.2.25 , to branch point 1.6
always export states variable to js, even when it's empty (avoid js error on first collapse)

Revision 1.6.2.25 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 21 14:47:09 2009 UTC (3 months ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.24: +4 -4 lines
Diff to previous 1.6.2.24 , to branch point 1.6
Use consequently the view-name instead of the vid. So also unsaved views (..exported to code) are supported).
Check if it's an object when running the theme_hook.
The draggableviews_view_draggabletable_form_new theme died.

Revision 1.6.2.24 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 19 12:28:38 2009 UTC (3 months, 1 week ago) by sevi
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-2-BETA6
Changes since 1.6.2.23: +7 -7 lines
Diff to previous 1.6.2.23 , to branch point 1.6
Bug-Fix: used strlen instead of count; Fixed coding standard issues

Revision 1.6.2.23 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 17 14:37:04 2009 UTC (3 months, 1 week ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.22: +29 -70 lines
Diff to previous 1.6.2.22 , to branch point 1.6
Row plugin is no longer supported by draggableviews.
Grouping is no longer supported by draggableviews (and also not shown in settings).
The form id will be set to .._new if the view hasn't been safed yet.

Changed some variable names and comments.
Moved drupal_add_tabledrag from .tpl.php to _theme.inc.
Moved _draggableviews_filter_fields(..) to draggableviews.inc.
Refactored the way the view gets themed. (Regardless of grouping.)
Now tabledrag Root/Leaf settings will only be specified and shown if base_table==node.
Changed error message for sort criteria: Use "Group: Field" instead of the label of the field.

Revision 1.6.2.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 15 17:27:45 2009 UTC (3 months, 1 week ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.21: +24 -19 lines
Diff to previous 1.6.2.21 , to branch point 1.6
#536846: Now all kinds of base tables are supported. All $node->nid was changed to $node->{$view->base_table}. The variable name $node represents any kind of a base-table {node, taxonomy_term, user,..}. Now the root/leaf stuff only makes sense in combination with node base_table.
#546142: Bug-Fix: Now new nodes can appear at the very bottom (if selected). Now the big number 99999999 is used instead of $view->total_rows (not always calculated).
Furthermore many comments changed. The code for the "to prevent copy->paste'ing" loop changed from for(..) to foreach(..).
The internal names of all views fields changed. So the cache must be cleared as well as all views must be reconfigured.

Revision 1.6.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 9 14:51:23 2009 UTC (4 months, 2 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.20: +5 -1 lines
Diff to previous 1.6.2.20 , to branch point 1.6
#464870 "Arg ordering": Patch from davideads applied that makes the order unique for a given set of arguments (optional). Many thanks to davideads.

Revision 1.6.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 2 22:10:33 2009 UTC (6 months, 3 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.19: +3 -2 lines
Diff to previous 1.6.2.19 , to branch point 1.6
Fixing bug related to a certain PHP version (see [#372227], patch by merlinofchaos). Reported and patched by dboutlet.

Revision 1.6.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 26 22:18:19 2009 UTC (8 months ago) by sevi
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-2-BETA4, DRUPAL-6--3-2-BETA5
Changes since 1.6.2.18: +10 -5 lines
Diff to previous 1.6.2.18 , to branch point 1.6
Bug-fix: Support expand/collapse of multiple views on the same page. Now the states are identified by the unique table_id.
Feature: Expand/Collapse information of deep levels doesn't get lost if root level will be expanded/collapsed.

Revision 1.6.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 22 18:58:48 2009 UTC (8 months ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.17: +18 -14 lines
Diff to previous 1.6.2.17 , to branch point 1.6
support multiple views with expand/collapse functionality on the same page

Revision 1.6.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 22 13:16:41 2009 UTC (8 months ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.16: +18 -18 lines
Diff to previous 1.6.2.16 , to branch point 1.6
Wow, what a big step ahead. Only one weight field at all instead of one weight field for each level.

Revision 1.6.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 15 14:54:01 2009 UTC (8 months, 1 week ago) by sevi
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-2-BETA3
Changes since 1.6.2.15: +2 -1 lines
Diff to previous 1.6.2.15 , to branch point 1.6
New feature: If expand/collapse states should be saved for all users use uid=0 instead of current uid

Revision 1.6.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 14 23:39:02 2009 UTC (8 months, 1 week ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.14: +22 -7 lines
Diff to previous 1.6.2.14 , to branch point 1.6
*) There was no check for isset($filter). This caused errors with the views 2.3
*) With views 2.3 the table class changed. I just copy/pasted the new code to my preprocess function

Revision 1.6.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 14 19:46:14 2009 UTC (8 months, 1 week ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.13: +1 -1 lines
Diff to previous 1.6.2.13 , to branch point 1.6
Bug-Fix: If no tabledrag is applied we have to hide the concerned fields manually. Now visibility of order fields and hierarchy fields is checked seperately.

Revision 1.6.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 14 19:43:01 2009 UTC (8 months, 1 week ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.12: +74 -67 lines
Diff to previous 1.6.2.12 , to branch point 1.6
*) New setting: Lock; The structure can be locked and hierarchy cannot be changed anymore. Expand/Collapse will be available even if user doesn't have permission or structure if locked.
The concerned fields will be hidden even if tabledrag is not applied.
*) Bug-Fix: Now collapse/expand information is available for each view seperately. The vid hasn't been saved until now. The db table changed.
*) Bug-Fix: After a click sort the view will be displayed properly.
*) Exposed fields data will be attached to form_submit. Now exposed filter are supported properly. Order fields will not be attached.

Revision 1.6.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 8 14:47:18 2009 UTC (8 months, 2 weeks ago) by sevi
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-2-BETA2
Changes since 1.6.2.11: +18 -8 lines
Diff to previous 1.6.2.11 , to branch point 1.6
Now the number of extension rows can be spcified at style_plugin settings.

Revision 1.6.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 8 11:35:51 2009 UTC (8 months, 2 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.10: +13 -7 lines
Diff to previous 1.6.2.10 , to branch point 1.6
Changed some comments and the output of style_plugin settings page (Removed dead var $submit_button and put hierarchy options in a table)

Revision 1.6.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 8 01:16:32 2009 UTC (8 months, 2 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.9: +2 -2 lines
Diff to previous 1.6.2.9 , to branch point 1.6
Comments rewritten. Restructured code.
Most code sections have been rewritten and have been commented.
Added more validaten checks (sort criterias).
Fixed some bugs.

Revision 1.6.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 5 22:02:19 2009 UTC (8 months, 3 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.8: +154 -8 lines
Diff to previous 1.6.2.8 , to branch point 1.6
Many many changes to code, order of code and structure of code. Some functions were moved from .inc to .module.
Now paging is definitely implemented and supported. Nodes can be dragged from one page to an other.
Describing the single changes would end up in 30 pages of describing, so I write only this short change-log.

Revision 1.6.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 23 10:14:40 2009 UTC (9 months ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.7: +24 -8 lines
Diff to previous 1.6.2.7 , to branch point 1.6
Use attached info array instead of building a new one.

Revision 1.6.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 20 17:39:27 2009 UTC (9 months ago) by sevi
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-2-BETA1
Changes since 1.6.2.6: +8 -2 lines
Diff to previous 1.6.2.6 , to branch point 1.6
Don't render Submit-button if view hasn't been saved yet.

Revision 1.6.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 8 17:28:12 2009 UTC (9 months, 2 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.5: +1 -1 lines
Diff to previous 1.6.2.5 , to branch point 1.6
added unique form_id to draggableviews table-id to support many instance of the same view on the same page

Revision 1.6.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 24 15:15:29 2009 UTC (10 months ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.4: +2 -2 lines
Diff to previous 1.6.2.4 , to branch point 1.6
Collapse doesn't work (now $info-array fully loaded. Not the best solution)

Revision 1.6.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 9 15:02:30 2009 UTC (10 months, 2 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.3: +40 -59 lines
Diff to previous 1.6.2.3 , to branch point 1.6
Coding standards!

Revision 1.6.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 9 01:38:33 2009 UTC (10 months, 2 weeks ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6.2.2: +25 -70 lines
Diff to previous 1.6.2.2 , to branch point 1.6
Introduced draggableviews handlers

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 8 22:38:36 2009 UTC (10 months, 2 weeks ago) by sevi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +17 -28 lines
Diff to previous 1.7
Fundamental changes:
*) Introduction of handlers (handle saving and outputting)

Revision 1.6.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 24 23:52:40 2008 UTC (14 months ago) by sevi
Branch: DRUPAL-6--3
CVS Tags: DRUPAL-6--3-1
Changes since 1.6.2.1: +2 -2 lines
Diff to previous 1.6.2.1 , to branch point 1.6
added some permission checks; changed collision detection from depth to parent

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 24 23:24:09 2008 UTC (14 months ago) by sevi
Branch: MAIN
Changes since 1.6: +147 -167 lines
Diff to previous 1.6
added permission checks

Revision 1.6.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 24 22:10:14 2008 UTC (14 months ago) by sevi
Branch: DRUPAL-6--3
Changes since 1.6: +145 -165 lines
Diff to previous 1.6
draggableviews_theme.inc: added permission check on "Allow reordering" (3 times); fixed tabledrag limit (-1)
draggableviews.inc: added permission check on "allow reordering" and return if no orders defined; changed
function .._detect_order_collisions as we now use the parent as key instead of the depth; removed useless
out-commented realtimeedit code; added expand/collapsed state to info function; Bug output addded; added
some other checks

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 21 20:36:49 2008 UTC (14 months ago) by sevi
Branch: MAIN
CVS Tags: DRUPAL-6--3-0
Branch point for: DRUPAL-6--3
Changes since 1.5: +2 -0 lines
Diff to previous 1.5
Now theme functions break when no order fields specified

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 20 10:33:22 2008 UTC (14 months ago) by sevi
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4
Recommiting

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 16:17:05 2008 UTC (14 months, 1 week ago) by sevi
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3
Fixed typing mistake that creeped in while changing code to fit coding conventions

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 15:58:03 2008 UTC (14 months, 1 week ago) by sevi
Branch: MAIN
CVS Tags: DRUPAL-6--1-2-BETA2
Changes since 1.2: +29 -24 lines
Diff to previous 1.2
*** empty log message ***

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 09:47:12 2008 UTC (14 months, 1 week ago) by sevi
Branch: MAIN
Changes since 1.1: +360 -0 lines
Diff to previous 1.1
Module rewritten
Rebuilding broken structures automatically

Revision 1.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 17 12:54:23 2008 UTC (14 months, 1 week ago) by sevi
Branch: DRUPAL-6--1
Branch point for: DRUPAL-6--2
Changes since 1.1: +402 -0 lines
Diff to previous 1.1 , to next main 1.8
Changed module to work with the most recent changes of views2
Added the expand/collapse feature to be used by default

Revision 1.1
Wed Sep 17 12:54:23 2008 UTC (14 months, 1 week ago) by sevi
Branch: MAIN
Branch point for: DRUPAL-6--1
FILE REMOVED
file draggableviews_theme.inc was initially added on branch DRUPAL-6--1.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2