aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/tidypics')
-rw-r--r--views/default/tidypics/css.php12
-rw-r--r--views/default/tidypics/image_menu.php2
-rw-r--r--views/default/tidypics/tagging.php20
3 files changed, 17 insertions, 17 deletions
diff --git a/views/default/tidypics/css.php b/views/default/tidypics/css.php
index ec4757c2c..032388813 100644
--- a/views/default/tidypics/css.php
+++ b/views/default/tidypics/css.php
@@ -176,7 +176,7 @@ padding:0 0 5px;
}
/* ----------- tagging ---------------- */
-#tagging_instructions {
+#tidypics_tag_instructions {
background:#BBDAF7;
border:1px solid #4690D6;
padding:10px;
@@ -188,21 +188,21 @@ position:absolute;
z-index:10000;
}
-#tag_instruct_text {
+#tidypics_tag_instruct_text {
padding-top: 3px;
float: left;
}
-#tag_instruct_button_div {
+#tidypics_tag_instruct_button_div {
float: left;
margin-left: 15px;
}
-#tag_instruct_button {
+#tidypics_tag_instruct_button {
margin:0;
}
-#tag_menu {
+#tidypics_tag_menu {
border:1px solid #3B5999;
width:200px;
position:absolute;
@@ -214,7 +214,7 @@ font-size:12px;
text-align:left;
}
-#delete_tag_menu {
+#tidypics_delete_tag_menu {
border:1px solid #3B5999;
width:200px;
position:absolute;
diff --git a/views/default/tidypics/image_menu.php b/views/default/tidypics/image_menu.php
index 5940a0138..b4597a99f 100644
--- a/views/default/tidypics/image_menu.php
+++ b/views/default/tidypics/image_menu.php
@@ -19,7 +19,7 @@
// only owner and friends of owner can tag
if ($viewer && $viewer->guid == $owner->guid || user_is_friend($owner->guid, $viewer->guid)) {
?>
-<li id="start_tagging"><a id="tag_control" href="javascript:void(0)" onclick="startTagging()"><?= elgg_echo('tidypics:tagthisphoto') ?></a></li>
+<li id="start_tagging"><a id="tidypics_tag_control" href="javascript:void(0)" onclick="startTagging()"><?= elgg_echo('tidypics:tagthisphoto') ?></a></li>
<?php
}
diff --git a/views/default/tidypics/tagging.php b/views/default/tidypics/tagging.php
index 2cdc2f957..400e6f1ba 100644
--- a/views/default/tidypics/tagging.php
+++ b/views/default/tidypics/tagging.php
@@ -14,7 +14,7 @@
<ul>
<?php
foreach ($links as $id=>$link) {
- echo "<li><a class='phototag-links' id='taglink{$id}' href='{$link[1]}'>{$link[0]}</a></li>";
+ echo "<li><a class='tidypics_phototag_links' id='taglink{$id}' href='{$link[1]}'>{$link[0]}</a></li>";
}
?>
</ul>
@@ -22,11 +22,11 @@
<?php
}
?>
-<div id='tagging_instructions'>
- <div id='tag_instruct_text'><?php echo elgg_echo('tidypics:taginstruct'); ?></div>
- <div id='tag_instruct_button_div'><button class='submit_button' id='tag_instruct_button' onclick='stopTagging()'><?php echo elgg_echo('tidypics:finish_tagging'); ?></button></div>
+<div id='tidypics_tag_instructions'>
+ <div id='tidypics_tag_instruct_text'><?php echo elgg_echo('tidypics:taginstruct'); ?></div>
+ <div id='tidypics_tag_instruct_button_div'><button class='submit_button' id='tidypics_tag_instruct_button' onclick='stopTagging()'><?php echo elgg_echo('tidypics:finish_tagging'); ?></button></div>
</div>
-<div id="tag_menu">
+<div id="tidypics_tag_menu">
<?php
if($viewer) {
@@ -37,7 +37,7 @@
$content .= "<input type='hidden' name='user_id' id='user_id' value='' />";
$content .= "<input type='hidden' name='word' id='word' value='' />";
- $content .= "<ul id='phototagging-menu'>";
+ $content .= "<ul id='tidypics_phototag_list'>";
$content .= "<li><a href='javascript:void(0)' onClick='selectUser({$viewer->getGUID()},\"{$viewer->name}\")'> {$viewer->name} (" . elgg_echo('me') . ")</a></li>";
if ($friends) {
@@ -50,11 +50,11 @@
$content .= "<input type='submit' value='" . elgg_echo('tidypics:actiontag') . "' class='submit_button' />";
- echo elgg_view('input/form', array('internalid' => 'quicksearch', 'internalname' => 'form-phototagging', 'class' => 'quicksearch', 'action' => "{$vars['url']}action/tidypics/addtag", 'body' => $content));
+ echo elgg_view('input/form', array('internalid' => 'quicksearch', 'internalname' => 'tidypics_phototag_form', 'class' => 'quicksearch', 'action' => "{$vars['url']}action/tidypics/addtag", 'body' => $content));
?>
</div>
-<div id="delete_tag_menu">
+<div id="tidypics_delete_tag_menu">
<?php
if ($photo_tags) {
echo elgg_echo('tidypics:deltag_title') . '<br />';
@@ -67,10 +67,10 @@
$content .= "<input type='submit' value='" . elgg_echo('tidypics:actiondelete') . "' class='submit_button' />";
$content .= "<input type='button' value='" . elgg_echo('cancel') . "' class='cancel_button' onclick='hideDeleteMenu();' />";
- echo elgg_view('input/form', array('internalname' => 'form-deletetag', 'action' => "{$vars['url']}action/tidypics/deletetag", 'body' => $content));
+ echo elgg_view('input/form', array('internalname' => 'phototag_deletetag_form', 'action' => "{$vars['url']}action/tidypics/deletetag", 'body' => $content));
}
- echo '</div>'; // delete_tag_menu
+ echo '</div>'; // tidypics_delete_tag_menu
echo elgg_view('js/tagging', array('photo_tags_json' => $photo_tags_json,) );
?> \ No newline at end of file