webmcp

changeset 48:17435a7d252b

Removed excess indentation in env/ui/paginate.lua
author jbe
date Sat Oct 16 19:03:18 2010 +0200 (2010-10-16)
parents 09f749330d13
children 07ddd0da7479
files framework/env/ui/paginate.lua
line diff
     1.1 --- a/framework/env/ui/paginate.lua	Sat Oct 16 18:49:55 2010 +0200
     1.2 +++ b/framework/env/ui/paginate.lua	Sat Oct 16 19:03:18 2010 +0200
     1.3 @@ -1,12 +1,12 @@
     1.4  --[[--
     1.5  ui.paginate{
     1.6 -  selector            = selector,        -- a selector for items from the database
     1.7 -  per_page            = per_page,        -- items per page, defaults to 10
     1.8 -  container_attr      = container_attr   -- html attr for the container element
     1.9 -  name                = name,            -- name of the CGI get variable, defaults to "page"
    1.10 -  page                = page,            -- directly specify a page, and ignore 'name' parameter
    1.11 -  content             = function()
    1.12 -    ...                 -- code block which should be encapsulated with page selection links
    1.13 +  selector       = selector,       -- a selector for items from the database
    1.14 +  per_page       = per_page,       -- items per page, defaults to 10
    1.15 +  container_attr = container_attr  -- html attr for the container element
    1.16 +  name           = name,           -- name of the CGI get variable, defaults to "page"
    1.17 +  page           = page,           -- directly specify a page, and ignore 'name' parameter
    1.18 +  content        = function()
    1.19 +    ...                            -- code block which should be encapsulated with page selection links
    1.20    end
    1.21  }
    1.22  

Impressum / About Us