diff options
-rw-r--r-- | phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php | 24 | ||||
-rw-r--r-- | phpBB/styles/prosilver/template/viewtopic_topic_tools.html | 2 |
2 files changed, 13 insertions, 13 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php b/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php index 1cb2e250c5..30168f4b0b 100644 --- a/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php +++ b/phpBB/phpbb/db/migration/data/v310/notifications_use_full_name.php @@ -66,8 +66,8 @@ class notifications_use_full_name extends \phpbb\db\migration\migration foreach ($this->notification_methods as $notification_method) { $sql = 'UPDATE ' . USER_NOTIFICATIONS_TABLE . " - SET method = 'notification.method.${notification_method}' - WHERE method = '${notification_method}'"; + SET method = 'notification.method.{$notification_method}' + WHERE method = '{$notification_method}'"; $this->db->sql_query($sql); } } @@ -77,8 +77,8 @@ class notifications_use_full_name extends \phpbb\db\migration\migration foreach ($this->notification_methods as $notification_method) { $sql = 'UPDATE ' . USER_NOTIFICATIONS_TABLE . " - SET method = '${notification_method}' - WHERE method = 'notification.method.${notification_method}'"; + SET method = '{$notification_method}' + WHERE method = 'notification.method.{$notification_method}'"; $this->db->sql_query($sql); } } @@ -88,13 +88,13 @@ class notifications_use_full_name extends \phpbb\db\migration\migration foreach ($this->notification_types as $notification_type) { $sql = 'UPDATE ' . NOTIFICATION_TYPES_TABLE . " - SET notification_type_name = 'notification.type.${notification_type}' - WHERE notification_type_name = '${notification_type}'"; + SET notification_type_name = 'notification.type.{$notification_type}' + WHERE notification_type_name = '{$notification_type}'"; $this->db->sql_query($sql); $sql = 'UPDATE ' . USER_NOTIFICATIONS_TABLE . " - SET item_type = 'notification.type.${notification_type}' - WHERE item_type = '${notification_type}'"; + SET item_type = 'notification.type.{$notification_type}' + WHERE item_type = '{$notification_type}'"; $this->db->sql_query($sql); } } @@ -104,13 +104,13 @@ class notifications_use_full_name extends \phpbb\db\migration\migration foreach ($this->notification_types as $notification_type) { $sql = 'UPDATE ' . NOTIFICATION_TYPES_TABLE . " - SET notification_type_name = '${notification_type}' - WHERE notification_type_name = 'notification.type.${notification_type}'"; + SET notification_type_name = '{$notification_type}' + WHERE notification_type_name = 'notification.type.{$notification_type}'"; $this->db->sql_query($sql); $sql = 'UPDATE ' . USER_NOTIFICATIONS_TABLE . " - SET item_type = '${notification_type}' - WHERE item_type = 'notification.type.${notification_type}'"; + SET item_type = '{$notification_type}' + WHERE item_type = 'notification.type.{$notification_type}'"; $this->db->sql_query($sql); } } diff --git a/phpBB/styles/prosilver/template/viewtopic_topic_tools.html b/phpBB/styles/prosilver/template/viewtopic_topic_tools.html index 83904bf63d..8378e3bcf4 100644 --- a/phpBB/styles/prosilver/template/viewtopic_topic_tools.html +++ b/phpBB/styles/prosilver/template/viewtopic_topic_tools.html @@ -1,4 +1,4 @@ -<!-- IF not S_IS_BOT and (U_WATCH_TOPIC or U_BOOKMARK_TOPIC or U_BUMP_TOPIC or S_HAS_ATTACHMENTS or U_EMAIL_TOPIC or U_PRINT_TOPIC or S_DISPLAY_TOPIC_TOOLS) --> +<!-- IF not S_IS_BOT and (U_WATCH_TOPIC or U_BOOKMARK_TOPIC or U_BUMP_TOPIC or U_EMAIL_TOPIC or U_PRINT_TOPIC or S_DISPLAY_TOPIC_TOOLS) --> <div class="dropdown-container dropdown-button-control topic-tools"> <span title="{L_TOPIC_TOOLS}" class="button icon-button tools-icon dropdown-trigger dropdown-select"></span> <div class="dropdown hidden"> |