summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-06-15 13:25:48 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-06-15 13:25:48 +0200
commit3ba63a170ec385910f2e743c648dd977c5eee135 (patch)
tree1ee4393f68496e6ec88c57aa8e2e396bb096ca88 /app/views
parent215b0a564e00874367a2730f204f967a1c336ebc (diff)
Suppression des 'notes' sur les articles, pas utile
Diffstat (limited to 'app/views')
-rw-r--r--app/views/entry/note.phtml65
-rw-r--r--app/views/index/index.phtml7
2 files changed, 0 insertions, 72 deletions
diff --git a/app/views/entry/note.phtml b/app/views/entry/note.phtml
deleted file mode 100644
index 061060106..000000000
--- a/app/views/entry/note.phtml
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php $this->partial ('aside_flux'); ?>
-
-<div class="post">
- <a href="<?php echo _url ('index', 'index'); ?>"><?php echo Translate::t ('back_to_rss_feeds'); ?></a>
-
- <form method="post" action="<?php echo _url ('entry', 'note', 'id', $this->entry->id ()); ?>">
- <legend><?php echo Translate::t ('note'); ?></legend>
-
- <div class="form-group">
- <label class="group-name" for="note"><?php echo Translate::t ('add_note'); ?></label>
- <div class="group-controls">
- <textarea rows="5" cols="80" name="note" id="note"><?php echo $this->entry->notes (); ?></textarea>
- </div>
- </div>
- <div class="form-group">
- <label class="group-name" for="public_note"><?php echo Translate::t ('ask_public_article'); ?></label>
- <div class="group-controls">
- <label class="checkbox" for="public">
- <input type="checkbox" name="public" id="public" value="yes"<?php echo $this->entry->isPublic () ? ' checked="checked"' : ''; ?> /> <?php echo Translate::t ('yes'); ?>
- </label>
- </div>
- </div>
-
- <div class="form-group form-actions">
- <div class="group-controls">
- <button type="submit" class="btn btn-important"><?php echo Translate::t ('save'); ?></button>
- <button type="reset" class="btn"><?php echo Translate::t ('cancel'); ?></button>
- </div>
- </div>
-
- <legend><?php echo Translate::t ('article'); ?></legend>
-
- <div class="form-group">
- <label class="group-name"><?php echo Translate::t ('title'); ?></label>
- <div class="group-controls">
- <span class="control"><a href="<?php echo $this->entry->link (); ?>"><?php echo $this->entry->title (); ?></a></span>
- </div>
- </div>
-
- <?php
- $author = $this->entry->author ();
- if ($author) { ?>
- <div class="form-group">
- <label class="group-name"><?php echo Translate::t ('author'); ?></label>
- <div class="group-controls">
- <span class="control"><?php echo $author; ?></span>
- </div>
- </div>
- <?php } ?>
-
- <div class="form-group">
- <label class="group-name"><?php echo Translate::t ('publication_date'); ?></label>
- <div class="group-controls">
- <span class="control"><?php echo $this->entry->date (); ?></span>
- </div>
- </div>
-
- <div class="form-group">
- <label class="group-name"><?php echo Translate::t ('article'); ?></label>
- <div class="group-controls">
- <span class="control"><?php echo $this->entry->content (); ?></span>
- </div>
- </div>
- </form>
-</div>
diff --git a/app/views/index/index.phtml b/app/views/index/index.phtml
index 1a07cdb46..30df591eb 100644
--- a/app/views/index/index.phtml
+++ b/app/views/index/index.phtml
@@ -77,13 +77,6 @@ if ($output == 'rss') {
<ul class="horizontal-list bottom">
<li class="item">
- <?php if ($item->notes () != '') { ?>
- <i class="icon i_note"></i> <a class="note" href="<?php echo _url ('entry', 'note', 'id', $item->id ()); ?>"><?php echo Translate::t ('update_note'); ?></a>
- <?php } else { ?>
- <i class="icon i_note_empty"></i> <a class="note" href="<?php echo _url ('entry', 'note', 'id', $item->id ()); ?>"><?php echo Translate::t ('add_note'); ?></a>
- <?php } ?>
- </li>
- <li class="item">
<div class="dropdown">
<div id="dropdown-share-<?php echo $item->id ();?>" class="dropdown-target"></div>
<i class="icon i_share"></i> <a class="dropdown-toggle" href="#dropdown-share-<?php echo $item->id ();?>"><?php echo Translate::t ('share'); ?></a>