X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_cfg.php.dist;h=b08c123dc43ac9f97e050a0a959e919fc8f25bbb;hp=7259ac90810b8e040cea0064b4484eeb9a03e128;hb=e54e729719c29d263c140d91fd3b93167ceb188e;hpb=7eaf3d147420cb0a99296bafe91ac62be0700dcb 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");