summaryrefslogtreecommitdiff
path: root/themes/default/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-28 13:44:01 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-28 13:44:01 -0700
commit1d5262f9c354a8564f05a8a31b915ad479f4d361 (patch)
treeb8a57186de654a908b89ee8e7a1a031c0851c819 /themes/default/views
parentdcead39dfbd1885720e888446d0572e11b7ad47c (diff)
Fix ticket #591: reCaptcha always on the page.
1) move creating the "Add a comment" button into the comments.html.php 2) use $.get() to retrieve the comment add form
Diffstat (limited to 'themes/default/views')
-rw-r--r--themes/default/views/movie.html.php3
-rw-r--r--themes/default/views/photo.html.php3
2 files changed, 0 insertions, 6 deletions
diff --git a/themes/default/views/movie.html.php b/themes/default/views/movie.html.php
index c8ecd769..29789f8e 100644
--- a/themes/default/views/movie.html.php
+++ b/themes/default/views/movie.html.php
@@ -32,9 +32,6 @@
<div><?= nl2br(p::purify($item->description)) ?></div>
</div>
- <script type="text/javascript">
- var ADD_A_COMMENT = "<?= t("Add a comment") ?>";
- </script>
<?= $theme->photo_bottom() ?>
<?= $theme->context_menu($item, "#gMovieId-{$item->id}") ?>
</div>
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php
index fa5def47..39e61ef6 100644
--- a/themes/default/views/photo.html.php
+++ b/themes/default/views/photo.html.php
@@ -55,8 +55,5 @@
<div><?= nl2br(p::purify($item->description)) ?></div>
</div>
- <script type="text/javascript">
- var ADD_A_COMMENT = "<?= t("Add a comment") ?>";
- </script>
<?= $theme->photo_bottom() ?>
</div>