Changeset 981
- Timestamp:
- 01/24/10 12:36:30 (3 years ago)
- Location:
- branches/1.0
- Files:
-
- 9 edited
-
content/plugins/gravatar/gravatar.php (modified) (1 diff)
-
content/plugins/rss_show/rss_show.php (modified) (1 diff)
-
content/plugins/whos_online/whos_online.php (modified) (2 diffs)
-
content/plugins/widgets/templates/widget_ordering.php (modified) (2 diffs)
-
content/plugins/widgets/widgets.php (modified) (2 diffs)
-
content/themes/bars/css/search.css (modified) (1 diff)
-
content/themes/bars/css/style.css (modified) (1 diff)
-
content/themes/bars/index.php (modified) (1 diff)
-
libs/Avatar.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/content/plugins/gravatar/gravatar.php
r905 r981 98 98 "&r=" . $rating; 99 99 100 $img_url = "<img class='avatar' src='" . $grav_url . "' " . $resized ." alt='' /> \n";100 $img_url = "<img class='avatar' src='" . $grav_url . "' " . $resized ." alt='' />"; 101 101 102 102 return $img_url; -
branches/1.0/content/plugins/rss_show/rss_show.php
r877 r981 73 73 if ($settings['title']) { 74 74 $output .= "<h2 class='widget_head rss_show_feed_title'>\n"; 75 if ($feed->get_link()) { $link = $feed->get_link(); } else { $link = $feed->subscribe_url(); } 76 $output .= "<a href='" . $link . "' title='" . $h->lang["rss_show_title_anchor_title"] . "'>" . $settings['title'] . "</a>"; 75 77 $output .= "<a href='" . $feed->subscribe_url() . "' title='" . $h->lang["rss_show_icon_anchor_title"] . "'>\n"; 76 $output .= "<img src='" . BASEURL . "content/themes/" . THEME . "images/rss_16.png'></a> \n"; // RSS icon 77 if ($feed->get_link()) { $link = $feed->get_link(); } else { $link = $feed->subscribe_url(); } 78 $output .= "<a href='" . $link . "' title='" . $h->lang["rss_show_title_anchor_title"] . "'>" . $settings['title'] . "</a></h2>\n"; 78 $output .= "<img src='" . BASEURL . "content/themes/" . THEME . "images/rss_16.png'></a>\n"; // RSS icon 79 $output .= "</h2>\n"; 79 80 } 80 81 -
branches/1.0/content/plugins/whos_online/whos_online.php
r955 r981 138 138 139 139 if ($avatars) { 140 $h->setAvatar($userid, $avatar_size); 141 $output .= $h->linkAvatar() . " \n";140 $h->setAvatar($userid, $avatar_size); 141 $output .= $h->linkAvatar(); 142 142 } 143 143 … … 158 158 echo $output; 159 159 160 echo "</div> ";160 echo "</div>\n"; 161 161 } 162 162 -
branches/1.0/content/plugins/widgets/templates/widget_ordering.php
r855 r981 48 48 if ($widgets) { 49 49 foreach ($widgets as $widget => $details) { 50 51 50 if ($details['block'] == $i) { 52 51 // For the enabled button... … … 78 77 echo "<td class='plugins_active widgets_active'>" . $enabled_output . "</td>\n"; 79 78 echo "<td class='table_text'>" . make_name($widget) . " </td>\n"; 80 echo "<td class='plugins_order widgets_order'>" . $order_output . " </td>\n";79 echo "<td class='plugins_order widgets_order'>" . $order_output . " " . $details['order'] . " " . $details['block'] . "</td>\n"; 81 80 echo "</tr>\n"; 82 81 } -
branches/1.0/content/plugins/widgets/widgets.php
r861 r981 138 138 break; 139 139 } else { 140 // In different blocks so don't change the order, just the block value 141 $widgets_settings['widgets'][$this_widget_function]['block']--; 140 // In different blocks so don't change the order, just the block value (but only if greater than 1) 141 if ($widgets_settings['widgets'][$this_widget_function]['block'] > 1) { 142 $widgets_settings['widgets'][$this_widget_function]['block']--; 143 } 142 144 } 143 145 } … … 158 160 foreach ($widgets as $widget => $details) { 159 161 if ($details['order'] == ($this_widget_order + 1)) { 160 $widgets_settings['widgets'][$widget]['order'] = $details['order'] - 1; 161 $widgets_settings['widgets'][$this_widget_function]['order'] = $this_widget_order + 1; 162 // just increase the block? 163 if ($widgets_settings['widgets'][$widget]['block'] > $this_widget_block) { 164 $widgets_settings['widgets'][$this_widget_function]['block']++; 165 // or increase the order? 166 } else { 167 $widgets_settings['widgets'][$widget]['order'] = $details['order'] - 1; 168 $widgets_settings['widgets'][$this_widget_function]['order'] = $this_widget_order + 1; 169 } 162 170 $h->messages[$h->lang['widgets_order_updated']] = 'green'; 163 171 break; -
branches/1.0/content/themes/bars/css/search.css
r980 r981 6 6 7 7 #search_form { padding: 0; text-align: center;} 8 #search_form input#search_input { padding: 2px; width: 200px; }8 #search_form input#search_input { padding: 2px; width: 160px; } -
branches/1.0/content/themes/bars/css/style.css
r980 r981 152 152 153 153 /* FOOTER */ 154 #bottom_background { background: #cc0000; }154 #bottom_background { background: #cc0000; margin-top: 16px; } 155 155 #footer p { margin-top: 16px; } 156 156 -
branches/1.0/content/themes/bars/index.php
r980 r981 39 39 // set widths and widget block numbers 40 40 if ($bars['left'] && $bars['right']) { 41 $bar_width = 6; $content_width = 1 2; // BOTH BARS: total 24 (6x2 + 12)41 $bar_width = 6; $content_width = 11; // BOTH BARS: total 24 (6x2 + 12) 42 42 $left = 1; $right = 2; 43 43 } elseif (!$bars['left'] && !$bars['right']) { -
branches/1.0/libs/Avatar.php
r914 r981 121 121 $avatar = $value; 122 122 } 123 $output .= $avatar; // uses the last avatar sent to this hook123 $output .= $avatar; // uses the last avatar sent to this hook 124 124 } 125 125 $output .= "</a>\n";
Note: See TracChangeset
for help on using the changeset viewer.