diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-24 21:36:50 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-24 21:36:50 -0500 |
commit | c4aed0e74969fa0a04bf05dfb3014c60db711da9 (patch) | |
tree | a3cc7f75af578e401fa457c8b2504706190e3727 /app | |
parent | 4fc518b2c9721f366b998021fe60a31a15430f0e (diff) |
Use single quotes for attributes with Markdown/HTML content to avoid browser bugs
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/app/projects.php | 2 | ||||
-rw-r--r-- | app/Template/board/edit.php | 8 | ||||
-rw-r--r-- | app/Template/board/swimlane.php | 2 | ||||
-rw-r--r-- | app/Template/layout.php | 2 | ||||
-rw-r--r-- | app/Template/project/index.php | 2 | ||||
-rw-r--r-- | app/Template/project/show.php | 2 |
6 files changed, 9 insertions, 9 deletions
diff --git a/app/Template/app/projects.php b/app/Template/app/projects.php index c3a39a83..92675729 100644 --- a/app/Template/app/projects.php +++ b/app/Template/app/projects.php @@ -22,7 +22,7 @@ <?= $this->a($this->e($project['name']), 'board', 'show', array('project_id' => $project['id'])) ?> <?php if (! empty($project['description'])): ?> - <span class="column-tooltip" title="<?= $this->markdown($project['description']) ?>"> + <span class="column-tooltip" title='<?= $this->markdown($project['description']) ?>'> <i class="fa fa-info-circle"></i> </span> <?php endif ?> diff --git a/app/Template/board/edit.php b/app/Template/board/edit.php index b9b1788a..cf0c28e6 100644 --- a/app/Template/board/edit.php +++ b/app/Template/board/edit.php @@ -13,7 +13,7 @@ <tr> <td class="column-60"><?= $this->e($column['title']) ?> <?php if (! empty($column['description'])): ?> - <span class="column-tooltip" title="<?= $this->markdown($column['description']) ?>"> + <span class="column-tooltip" title='<?= $this->markdown($column['description']) ?>'> <i class="fa fa-info-circle"></i> </span> <?php endif ?> @@ -52,12 +52,12 @@ <?= $this->formLabel(t('Title'), 'title') ?> <?= $this->formText('title', $values, $errors, array('required', 'maxlength="50"')) ?> - + <?= $this->formLabel(t('Task limit'), 'task_limit') ?> <?= $this->formNumber('task_limit', $values, $errors) ?> - + <?= $this->formLabel(t('Description'), 'description') ?> - + <div class="form-tabs"> <div class="write-area"> <?= $this->formTextarea('description', $values, $errors) ?> diff --git a/app/Template/board/swimlane.php b/app/Template/board/swimlane.php index ec298e24..4be92e58 100644 --- a/app/Template/board/swimlane.php +++ b/app/Template/board/swimlane.php @@ -28,7 +28,7 @@ <?= $this->e($column['title']) ?> <?php if (! empty($column['description'])): ?> - <span class="column-tooltip pull-right" title="<?= $this->markdown($column['description']) ?>"> + <span class="column-tooltip pull-right" title='<?= $this->markdown($column['description']) ?>'> <i class="fa fa-info-circle"></i> </span> <?php endif ?> diff --git a/app/Template/layout.php b/app/Template/layout.php index 7adb0559..6c88d33b 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -37,7 +37,7 @@ <nav> <h1><?= $this->a('K<span>B</span>', 'app', 'index', array(), false, 'logo', t('Dashboard')).' '.$this->summary($this->e($title)) ?> <?php if (! empty($description)): ?> - <span class="column-tooltip" title="<?= $this->markdown($description) ?>"> + <span class="column-tooltip" title='<?= $this->markdown($description) ?>'> <i class="fa fa-info-circle"></i> </span> <?php endif ?> diff --git a/app/Template/project/index.php b/app/Template/project/index.php index 50ca0435..9a0f641c 100644 --- a/app/Template/project/index.php +++ b/app/Template/project/index.php @@ -42,7 +42,7 @@ <?= $this->a($this->e($project['name']), 'project', 'show', array('project_id' => $project['id'])) ?> <?php if (! empty($project['description'])): ?> - <span class="column-tooltip" title="<?= $this->markdown($project['description']) ?>"> + <span class="column-tooltip" title='<?= $this->markdown($project['description']) ?>'> <i class="fa fa-info-circle"></i> </span> <?php endif ?> diff --git a/app/Template/project/show.php b/app/Template/project/show.php index b0003370..4ad710a8 100644 --- a/app/Template/project/show.php +++ b/app/Template/project/show.php @@ -50,7 +50,7 @@ <td> <?= $this->e($column['title']) ?> <?php if (! empty($column['description'])): ?> - <span class="column-tooltip" title="<?= $this->markdown($column['description']) ?>"> + <span class="column-tooltip" title='<?= $this->markdown($column['description']) ?>'> <i class="fa fa-info-circle"></i> </span> <?php endif ?> |