summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/helpers/comment_block.php2
-rw-r--r--modules/comment/helpers/comment_dashboard.php2
-rw-r--r--modules/comment/helpers/comment_installer.php2
-rw-r--r--modules/gmaps/helpers/gmaps_block.php2
-rw-r--r--modules/info/helpers/info_block.php2
-rw-r--r--modules/tag/helpers/tag_block.php2
6 files changed, 6 insertions, 6 deletions
diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php
index c9b2dfe8..f24f19b1 100644
--- a/modules/comment/helpers/comment_block.php
+++ b/modules/comment/helpers/comment_block.php
@@ -25,7 +25,7 @@ class comment_block_Core {
public static function photo_bottom($theme) {
$block = new Block;
- $block->id = "gComments";
+ $block->css_id = "gComments";
$block->title = t("Comments");
$view = new View("comments.html");
diff --git a/modules/comment/helpers/comment_dashboard.php b/modules/comment/helpers/comment_dashboard.php
index c53ecb47..7edee2f5 100644
--- a/modules/comment/helpers/comment_dashboard.php
+++ b/modules/comment/helpers/comment_dashboard.php
@@ -26,7 +26,7 @@ class comment_dashboard_Core {
$block = new Block();
switch ($block_id) {
case "recent_comments":
- $block->id = "gRecentComments";
+ $block->css_id = "gRecentComments";
$block->title = t("Recent Comments");
$block->content = new View("admin_block_recent_comments.html");
$block->content->comments =
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php
index 4b3a7259..b54692ec 100644
--- a/modules/comment/helpers/comment_installer.php
+++ b/modules/comment/helpers/comment_installer.php
@@ -51,7 +51,7 @@ class comment_installer {
$dashboard_blocks = unserialize(module::get_var("core", "dashboard_blocks"));
- $dashboard_blocks["main"][] = array("comment", "recent_comments");
+ $dashboard_blocks["main"][rand()] = array("comment", "recent_comments");
module::set_var("core", "dashboard_blocks", serialize($dashboard_blocks));
module::set_var("comment", "spam_caught", 0);
module::set_version("comment", 1);
diff --git a/modules/gmaps/helpers/gmaps_block.php b/modules/gmaps/helpers/gmaps_block.php
index 04d0ae63..4024ec55 100644
--- a/modules/gmaps/helpers/gmaps_block.php
+++ b/modules/gmaps/helpers/gmaps_block.php
@@ -22,7 +22,7 @@ class gmaps_block_Core {
public static function sidebar_blocks($theme) {
if ($theme->item()) {
$block = new Block();
- $block->id = "gMaps";
+ $block->css_id = "gMaps";
$block->title = t("Location");
$block->content = new View("gmaps_block.html");
return $block;
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php
index 358dd3b8..46e2bd72 100644
--- a/modules/info/helpers/info_block.php
+++ b/modules/info/helpers/info_block.php
@@ -21,7 +21,7 @@ class info_block_Core {
public static function sidebar_blocks($theme) {
if ($theme->item()) {
$block = new Block();
- $block->id = "gMetadata";
+ $block->css_id = "gMetadata";
$block->title = t("Item Info");
$block->content = new View("info_block.html");
return $block;
diff --git a/modules/tag/helpers/tag_block.php b/modules/tag/helpers/tag_block.php
index adcc7d40..3d396599 100644
--- a/modules/tag/helpers/tag_block.php
+++ b/modules/tag/helpers/tag_block.php
@@ -25,7 +25,7 @@ class tag_block_Core {
public static function sidebar_blocks($theme) {
$block = new Block();
- $block->id = "gTag";
+ $block->css_id = "gTag";
$block->title = t("Popular Tags");
$block->content = new View("tag_block.html");
$block->content->cloud = tag::cloud(30);