]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Fix plugins view (they're flex anyway, what was I thinking) main origin/HEAD origin/main
authorValerie Pond <redacted>
Tue, 18 Jun 2024 21:18:54 +0000 (05:18 +0800)
committerValerie Pond <redacted>
Tue, 18 Jun 2024 21:18:54 +0000 (05:18 +0800)
Classes/class-plugin-git.php

index 04fa44ccbca27444ca90251ab031e61afe370f78..9bc5a77c43964246f4d37fffa33fd449276f0ea5 100644 (file)
@@ -81,10 +81,7 @@ class PluginRepo
 
             ?>
                <div class="row">
-            <?php     
-        $counter = 0;
-
-
+            <?php
         foreach($this->data->list as $p)
         {
             $tok = split(WEBPANEL_VERSION,"-");
@@ -136,18 +133,6 @@ class PluginRepo
                 </div>
             </div>
             <?php
-                /** only do three per row.
-                 *  WARNING: untested due to not having more than 2 plugins atm...
-                */
-                if ($counter >= 3)
-                {
-                    ?><!-- New row please mr html -->
-                        </div>
-                        <div class="row"> 
-                    <?php
-                    $counter = 0;
-                }
-                $counter++;
 
 
             }