summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery')
-rw-r--r--modules/gallery/tests/selenium/Add_Comment.html2
-rw-r--r--modules/gallery/tests/xss_data.txt2
-rw-r--r--modules/gallery/views/admin_theme_options.html.php2
-rw-r--r--modules/gallery/views/welcome_message_loader.html.php4
4 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/tests/selenium/Add_Comment.html b/modules/gallery/tests/selenium/Add_Comment.html
index dff653da..054e7597 100644
--- a/modules/gallery/tests/selenium/Add_Comment.html
+++ b/modules/gallery/tests/selenium/Add_Comment.html
@@ -18,7 +18,7 @@
</tr>
<tr>
<td>clickAndWait</td>
- <td>g-photoId-2</td>
+ <td>g-photo-id-2</td>
<td></td>
</tr>
<tr>
diff --git a/modules/gallery/tests/xss_data.txt b/modules/gallery/tests/xss_data.txt
index c8ba3770..eaa8c99c 100644
--- a/modules/gallery/tests/xss_data.txt
+++ b/modules/gallery/tests/xss_data.txt
@@ -344,4 +344,4 @@ themes/wind/views/photo.html.php 8 DIRTY_JS $theme
themes/wind/views/photo.html.php 21 DIRTY_JS $previous_item->url()
themes/wind/views/photo.html.php 31 DIRTY_JS $next_item->url()
themes/wind/views/photo.html.php 43 DIRTY_JS $item->file_url()
-themes/wind/views/photo.html.php 45 DIRTY $item->resize_img(array("id"=>"g-photoId-{$item->id}","class"=>"g-resize"))
+themes/wind/views/photo.html.php 45 DIRTY $item->resize_img(array("id"=>"g-photo-id-{$item->id}","class"=>"g-resize"))
diff --git a/modules/gallery/views/admin_theme_options.html.php b/modules/gallery/views/admin_theme_options.html.php
index ed091d4b..e09be728 100644
--- a/modules/gallery/views/admin_theme_options.html.php
+++ b/modules/gallery/views/admin_theme_options.html.php
@@ -1,5 +1,5 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<div id="g-admin-themeOptions">
+<div id="g-admin-theme-options">
<h1> <?= t("Theme Options") ?> </h1>
<?= $form ?>
diff --git a/modules/gallery/views/welcome_message_loader.html.php b/modules/gallery/views/welcome_message_loader.html.php
index 818e2072..d1ff2f3f 100644
--- a/modules/gallery/views/welcome_message_loader.html.php
+++ b/modules/gallery/views/welcome_message_loader.html.php
@@ -1,7 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<span id="g-welcome-messageLink"
+<span id="g-welcome-message-link"
title="<?= t("Welcome to Gallery 3")->for_html_attr() ?>"
href="<?= url::site("welcome_message") ?>"/>
<script type="text/javascript">
- $(document).ready(function(){$("#g-welcome-messageLink").gallery_dialog({immediate: true});});
+ $(document).ready(function(){$("#g-welcome-message-link").gallery_dialog({immediate: true});});
</script>