diff options
| author | 2013-11-09 00:16:53 +0100 | |
|---|---|---|
| committer | 2013-11-09 00:16:53 +0100 | |
| commit | 5f478c43c2fe3b82104c89f61df277392f382dcb (patch) | |
| tree | e73553aebf0762fefe76be48bb653fddb85c781f /app | |
| parent | ff37ae8d4996b3147d7469d36b5edce0ed84cd84 (diff) | |
Annule en partie commit précédent
Dans une prochaine version, les données issues des formulaires devront
être sauvegardées de façon brutes en BDD. htmlspecialchars ne sera
utilisé que du côté de la vue (voir pour utiliser une fonction qui
facilite ça)
Voir commit ff37ae8d4996b3147d7469d36b5edce0ed84cd84
Diffstat (limited to 'app')
| -rw-r--r-- | app/layout/aside_feed.phtml | 2 | ||||
| -rw-r--r-- | app/views/configure/feed.phtml | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index 04893f651..1f60e3ada 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -17,7 +17,7 @@ <select name="category" id="category"> <?php foreach ($this->categories as $cat) { ?> <option value="<?php echo $cat->id (); ?>"<?php echo $cat->id () == '000000' ? ' selected="selected"' : ''; ?>> - <?php echo htmlspecialchars($cat->name (), ENT_NOQUOTES, 'UTF-8'); ?> + <?php echo $cat->name (); ?> </option> <?php } ?> </select> diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index ab7bb9468..e570ea410 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -4,8 +4,8 @@ <div class="post"> <a href="<?php echo _url ('index', 'index'); ?>"><?php echo Translate::t ('back_to_rss_feeds'); ?></a> <?php echo Translate::t ('or'); ?> <a href="<?php echo _url ('index', 'index', 'get', 'f_' . $this->flux->id ()); ?>"><?php echo Translate::t ('filter'); ?></a> - <h1><?php echo htmlspecialchars($this->flux->name (), ENT_COMPAT, 'UTF-8'); ?></h1> - <?php echo htmlspecialchars($this->flux->description (), ENT_COMPAT, 'UTF-8'); ?> + <h1><?php echo $this->flux->name (); ?></h1> + <?php echo $this->flux->description (); ?> <?php if ($this->flux->inError ()) { ?> <p class="alert alert-error"><span class="alert-head"><?php echo Translate::t ('damn'); ?></span> <?php echo Translate::t ('feed_in_error'); ?></p> @@ -23,7 +23,7 @@ <label class="group-name"><?php echo Translate::t ('website_url'); ?></label> <div class="group-controls"> <span class="control"> - <?php echo htmlspecialchars($this->flux->website (), ENT_COMPAT, 'UTF-8'); ?> + <?php echo $this->flux->website (); ?> <a target="_blank" href="<?php echo $this->flux->website (); ?>"><i class="icon i_link"></i></a> </span> </div> @@ -32,7 +32,7 @@ <label class="group-name"><?php echo Translate::t ('feed_url'); ?></label> <div class="group-controls"> <span class="control"> - <?php echo htmlspecialchars($this->flux->url (), ENT_COMPAT, 'UTF-8'); ?> + <?php echo $this->flux->url (); ?> <a target="_blank" href="<?php echo $this->flux->url (); ?>"><i class="icon i_link"></i></a> </span> </div> |
