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>