stany.ferer 1 年間 前
コミット
c753566fcc
1 ファイル変更3 行追加1 行削除
  1. 3 1
      core/views/pages/cms.tags.php

+ 3 - 1
core/views/pages/cms.tags.php

@@ -12,6 +12,8 @@ echo core::filAriane(array(
     )
 ));
 
+$allTags = tags::getAll(2);
+
 ?>
 
 <table class="table">
@@ -24,7 +26,7 @@ echo core::filAriane(array(
     </thead>
     <tbody>
 <?php 
-    foreach (tags::getAll(2) as $value) {
+    foreach ($allTags as $value) {
         echo "  <tr>
                     <th scope=\"row\">" . $value["id"] . "</th>
                     <td><input type=\"email\" class=\"form-control form-control-sm\" id=\"tags-".$value["id"]."\" value=\"" . $value["label"] . "\"></td>