diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2020-01-10 15:28:56 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2020-01-10 15:28:56 +0100 |
commit | d9816ef4affa3d7096a2189e9b171d9d130a727e (patch) | |
tree | 346e26956d0a7521a3736bc85beea397a24d1c46 /app/view/templates/home.php | |
parent | 7001272f4e8b683cbc64564c5798d85a34ab9026 (diff) | |
download | wcms-d9816ef4affa3d7096a2189e9b171d9d130a727e.tar.gz wcms-d9816ef4affa3d7096a2189e9b171d9d130a727e.zip |
new feature : multi edit base working
Diffstat (limited to 'app/view/templates/home.php')
-rw-r--r-- | app/view/templates/home.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/templates/home.php b/app/view/templates/home.php index 01bc0e4..63706d0 100644 --- a/app/view/templates/home.php +++ b/app/view/templates/home.php @@ -16,7 +16,7 @@ <?php $optlist = $optlist ?? null; - $this->insert('homemenu', ['user' => $user, 'opt' => $opt, 'optlist' => $optlist]); + $this->insert('homemenu', ['user' => $user, 'opt' => $opt, 'optlist' => $optlist, 'pagelist' => $pagelist]); ?> @@ -85,7 +85,7 @@ <tbody> <?php foreach ($table2 as $item) { ?> <tr> - <td class="hidephone"><input type="checkbox" name="id[]" value="<?= $item->id() ?>" id="id_<?= $item->id() ?>"></td> + <td class="hidephone"><input type="checkbox" name="pagesid[]" value="<?= $item->id() ?>" id="id_<?= $item->id() ?>" form="multiedit"></td> <td><label title="<?= $item->title() ?>" for="id_<?= $item->id() ?>"><?= $item->id() ?></label></td> <td><a href="<?= $this->upage('pageedit', $item->id()) ?>"><img src="<?= Wcms\Model::iconpath() ?>edit.png" class="icon"></a></td> <td><a href="<?= $this->upage('pageread/', $item->id()) ?>" target="_blank"><img src="<?= Wcms\Model::iconpath() ?>read.png" class="icon"></a></td> |