Improved code organisation
authorJoey Schulze <joey@infodrom.org>
Wed, 16 Jul 2008 10:42:48 +0000 (10:42 +0000)
committerJoey Schulze <joey@infodrom.org>
Wed, 16 Jul 2008 10:42:48 +0000 (10:42 +0000)
src/InfoCon/account/list.wml

index fc05bda..22e872a 100644 (file)
   if (strlen($_POST[statement])) {
     $where[] = "statement = '$_POST[statement]'";
   }
+
   if (strlen($_POST[category])) {
     $where[] = "category = '$_POST[category]'";
   }
+
   if (strlen($_POST[keyword])) {
     $where[] = "descr ~* '$_POST[keyword]'";
   }
+
   if (strlen($_POST[from_to])) {
     $where[] = "from_to = '$_POST[from_to]'";
   }
+
   if ($_POST[input] && !$_POST[output]) {
     $where[] = "$value > 0.0";
   } elseif ($_POST[output] && !$_POST[input]) {