diff options
| author | 2013-11-28 18:57:22 +0100 | |
|---|---|---|
| committer | 2013-11-28 18:57:22 +0100 | |
| commit | 3f63195c5f2a5dcb1d11b974dd2357b161e377c5 (patch) | |
| tree | 2fef1672c672ac1d24e171c7d284dd308ce42050 /app/views/helpers/view/normal_view.phtml | |
| parent | dc2e1dc0817f0818943647d6b005ea35683c9c1b (diff) | |
Première version pour imprimer les articles
Voir #122
Diffstat (limited to 'app/views/helpers/view/normal_view.phtml')
| -rw-r--r-- | app/views/helpers/view/normal_view.phtml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/helpers/view/normal_view.phtml b/app/views/helpers/view/normal_view.phtml index 99e4bedc7..1a977bafe 100644 --- a/app/views/helpers/view/normal_view.phtml +++ b/app/views/helpers/view/normal_view.phtml @@ -21,6 +21,7 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) { $google_plus = $this->conf->sharing ('g+'); $facebook = $this->conf->sharing ('facebook'); $email = $this->conf->sharing ('email'); + $print = $this->conf->sharing ('print'); ?> <?php foreach ($items as $item) { ?> @@ -156,6 +157,12 @@ if (isset ($this->entryPaginator) && !$this->entryPaginator->isEmpty ()) { <?php echo Translate::t ('by_email'); ?> </a> </li> + <?php } if ($print) { ?> + <li class="item"> + <a href="#" class="print-article"> + <?php echo Translate::t ('print'); ?> + </a> + </li> <?php } ?> </ul> </div> |
