remove the rows x cols logic
[phpfspot.git] / phpfspot_cfg.php.dist
index 7259ac90810b8e040cea0064b4484eeb9a03e128..b08c123dc43ac9f97e050a0a959e919fc8f25bbb 100644 (file)
@@ -62,12 +62,9 @@ class PHPFSPOT_CFG {
    var $photo_width = "640";
    var $mini_width = "100";
 
    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
 
    /* 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->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");
 
       if(!isset($this->path_replace_from) || $this->path_replace_from == "")
          $this->showError("Please set \$path_replace_from in phpfspot_cfg");