diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 17:19:26 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-11 17:19:26 +0100 |
commit | d7f3313ff4514e38c9f53439cd1a1287e56e45f7 (patch) | |
tree | abff39ab11cb317f5fcd2db558da1c59bdae9239 /w/view/templates/read.php | |
parent | 2f363e8fa26ab849539e64ff7caa21bd164e8979 (diff) | |
download | wcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.tar.gz wcms-d7f3313ff4514e38c9f53439cd1a1287e56e45f7.zip |
reboot folder
Diffstat (limited to 'w/view/templates/read.php')
-rw-r--r-- | w/view/templates/read.php | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/w/view/templates/read.php b/w/view/templates/read.php deleted file mode 100644 index 35b1e7d..0000000 --- a/w/view/templates/read.php +++ /dev/null @@ -1,67 +0,0 @@ -<?php $this->layout('readerlayout') ?> - -<?php -$this->start('head'); - -if ($artexist) { - if ($canread) { - echo $head; - } else { - $this->insert('arthead', ['title' => $art->title(), 'description' => $art->description()]); - } -} else { - $this->insert('arthead', ['title' => $art->id(), 'description' => $alertnotexist]); -} - - - -$this->stop(); -?> - - - - - - - - - -<?php $this->start('page') ?> - - <body> - - - - <?php - if ($readernav) { - $this->insert('navart', ['user' => $user, 'art' => $art, 'artexist' => $artexist]); - } - ?> - - - - <?php - - if ($artexist) { - - if ($canread) { - echo $body; - } else { - echo '<h1>'.$alertprivate.'</h1>'; - } - - } else { - echo '<h1>' . $alertnotexist . '</h1>'; - if ($cancreate) { - $this->insert('readcreate', ['id' => $art->id()]); - } - } - - - - ?> - - - </body> - -<?php $this->stop() ?>
\ No newline at end of file |