diff options
Diffstat (limited to 'phpfspot_cfg.php.dist')
-rw-r--r-- | phpfspot_cfg.php.dist | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist index 7259ac9..b08c123 100644 --- a/phpfspot_cfg.php.dist +++ b/phpfspot_cfg.php.dist @@ -62,12 +62,9 @@ class PHPFSPOT_CFG { var $photo_width = "640"; var $mini_width = "100"; - /* how many columns in the photo index view */ - var $thumbs_per_row = 4; - - /* how many rows should be displayed on the photo index view */ - /* use 0 to display all matching photos on one page */ - var $rows_per_page = 4; + /* how many thumbnails should be displayed on the photo index view */ + /* use 0 to display all matching photos on one page */ + var $thumbs_per_page = 50; /* Usually the photo directory differs between your local F-Spot installation and your webserver. With this you can advice phpfspot to replace all paths @@ -134,11 +131,8 @@ class PHPFSPOT_CFG { if(!isset($this->mini_width) || $this->mini_width == "") $this->showError("Please set \$mini_width in phpfspot_cfg"); - if(!isset($this->thumbs_per_row) || $this->thumbs_per_row == "") - $this->showError("Please set \$thumbs_per_row in phpfspot_cfg"); - - if(!isset($this->rows_per_page) || $this->rows_per_page == "") - $this->showError("Please set \$rows_per_page in phpfspot_cfg"); + if(!isset($this->thumbs_per_page)) + $this->showError("Please set \$thumbs_per_page in phpfspot_cfg"); if(!isset($this->path_replace_from) || $this->path_replace_from == "") $this->showError("Please set \$path_replace_from in phpfspot_cfg"); |