Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2008-03-17 21:38:52


Author: grafik
Date: 2008-03-17 21:38:52 EDT (Mon, 17 Mar 2008)
New Revision: 43688
URL: http://svn.boost.org/trac/boost/changeset/43688

Log:
Replace navigation and blurb icons with current IDB images. Fixes various docs which assume that those icons are smallish.
Added:
   website/public_html/beta/style/css_0/theme_grass/caution.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/admonitions/solid/caution.png
   website/public_html/beta/style/css_0/theme_grass/home.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/navigation/home.png
   website/public_html/beta/style/css_0/theme_grass/important.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/admonitions/solid/important.png
   website/public_html/beta/style/css_0/theme_grass/next.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/navigation/next.png
   website/public_html/beta/style/css_0/theme_grass/next_disabled.png (contents, props changed)
   website/public_html/beta/style/css_0/theme_grass/note.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/admonitions/solid/note.png
   website/public_html/beta/style/css_0/theme_grass/prev.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/navigation/prev.png
   website/public_html/beta/style/css_0/theme_grass/prev_disabled.png (contents, props changed)
   website/public_html/beta/style/css_0/theme_grass/tip.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/admonitions/solid/tip.png
   website/public_html/beta/style/css_0/theme_grass/up.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/navigation/up.png
   website/public_html/beta/style/css_0/theme_grass/up_disabled.png (contents, props changed)
   website/public_html/beta/style/css_0/theme_grass/warning.png
      - copied unchanged from r43674, /sandbox/boost_docs/trunk/doc/style/html/images/admonitions/solid/warning.png
Text files modified:
   website/public_html/beta/common/code/boost_archive.php | 32 +++++++++++++++-------------
   website/public_html/beta/style/css_0/theme_grass/theme.css | 45 ++++++++++++++++++++++++++++++++++++++++
   2 files changed, 62 insertions(+), 15 deletions(-)

Modified: website/public_html/beta/common/code/boost_archive.php
==============================================================================
--- website/public_html/beta/common/code/boost_archive.php (original)
+++ website/public_html/beta/common/code/boost_archive.php 2008-03-17 21:38:52 EDT (Mon, 17 Mar 2008)
@@ -252,18 +252,20 @@
         
         $text = substr($text,strpos($text,'<div class="spirit-nav">'));
         $text = substr($text,0,strpos($text,'</body>'));
- for ($i = 0; $i < 8; $i++) {
- $text = preg_replace(
- '@<img src="[\./]*images/(.*\.png)" alt="(.*)"([ ][/])?>@Ssm',
- '<img src="/style/css_0/${1}" alt="${2}" />',
- $text );
- }
         $text = str_replace('<hr>','',$text);
         $text = str_replace('<table width="100%">','<table class="footer-table">',$text);
         $text = preg_replace(
             '@[\s]+(border|cellpadding|cellspacing|width|height|valign|frame|rules|naturalsizeflag|background)=[^\s>]+@i',
             '',
             $text );
+ /* */
+ for ($i = 0; $i < 8; $i++) {
+ $text = preg_replace(
+ '@<img src="[\./]*images/([^.]+)\.png" alt="([^"]+)"([ /]*)>@Ssm',
+ '<img src="/gfx/space.png" alt="${2}" class="${1}_image" />',
+ $text );
+ }
+ /* */
         
         print $text;
     }
@@ -388,39 +390,39 @@
             $text );
         $text = preg_replace(
             '@src=".*theme/u_arr\.gif"@i',
- 'src="/style/css_0/up.png"',
+ 'src="/gfx/space.png" class="up_image"',
             $text );
         $text = preg_replace(
             '@src=".*theme/l_arr\.gif"@i',
- 'src="/style/css_0/prev.png"',
+ 'src="/gfx/space.png" class="prev_image"',
             $text );
         $text = preg_replace(
             '@src=".*theme/r_arr\.gif"@i',
- 'src="/style/css_0/next.png"',
+ 'src="/gfx/space.png" class="next_image"',
             $text );
         $text = preg_replace(
             '@src=".*theme/u_arr_disabled\.gif"@i',
- 'src="/style/css_0/up_disabled.png"',
+ 'src="/gfx/space.png" class="up_image_disabled"',
             $text );
         $text = preg_replace(
             '@src=".*theme/l_arr_disabled\.gif"@i',
- 'src="/style/css_0/prev_disabled.png"',
+ 'src="/gfx/space.png" class="prev_image_disabled"',
             $text );
         $text = preg_replace(
             '@src=".*theme/r_arr_disabled\.gif"@i',
- 'src="/style/css_0/next_disabled.png"',
+ 'src="/gfx/space.png" class="next_image_disabled"',
             $text );
         $text = preg_replace(
             '@src=".*theme/note\.gif"@i',
- 'src="/style/css_0/note.png"',
+ 'src="/gfx/space.png" class="note_image"',
             $text );
         $text = preg_replace(
             '@src=".*theme/alert\.gif"@i',
- 'src="/style/css_0/caution.png"',
+ 'src="/gfx/space.png" class="caution_image"',
             $text );
         $text = preg_replace(
             '@src=".*theme/bulb\.gif"@i',
- 'src="/style/css_0/tip.png"',
+ 'src="/gfx/space.png" class="tip_image"',
             $text );
         $text = preg_replace(
             '@<img src=".*theme/(?:bullet|lens)\.gif">@i',

Added: website/public_html/beta/style/css_0/theme_grass/next_disabled.png
==============================================================================
Binary file. No diff available.

Added: website/public_html/beta/style/css_0/theme_grass/prev_disabled.png
==============================================================================
Binary file. No diff available.

Modified: website/public_html/beta/style/css_0/theme_grass/theme.css
==============================================================================
--- website/public_html/beta/style/css_0/theme_grass/theme.css (original)
+++ website/public_html/beta/style/css_0/theme_grass/theme.css 2008-03-17 21:38:52 EDT (Mon, 17 Mar 2008)
@@ -61,6 +61,51 @@
   padding: 1px;
 }
 
+/* Documentation icons, etc. */
+#content img.prev_image,
+#content img.prev_image_disabled,
+#content img.up_image,
+#content img.up_image_disabled,
+#content img.home_image,
+#content img.home_image_disabled,
+#content img.next_image,
+#content img.next_image_disabled
+{ width: 19px; height: 19px; }
+#content a img.prev_image { background: url(prev.png) no-repeat center center; }
+#content a img.up_image { background: url(up.png) no-repeat center center; }
+#content a img.home_image { background: url(home.png) no-repeat center center; }
+#content a img.next_image { background: url(next.png) no-repeat center center; }
+#content img.prev_image,
+#content img.prev_image_disabled { background: url(prev_disabled.png) no-repeat center center; }
+#content img.up_image,
+#content img.up_image_disabled { background: url(up_disabled.png) no-repeat center center; }
+#content img.next_image,
+#content img.next_image_disabled { background: url(next_disabled.png) no-repeat center center; }
+#content img.tip_image,
+#content img.note_image,
+#content img.warning_image,
+#content img.important_image,
+#content img.caution_image,
+#content img.sidebar_image,
+#content img.hint_image,
+#content img.alert_image
+{ width: 30px; height: 30px; float: left; clear: left; margin: 0em 0.5em 0.5em 0em; }
+#content img.tip_image { background: url(tip.png) no-repeat center center; }
+#content img.note_image { background: url(note.png) no-repeat center center; }
+#content img.warning_image { background: url(caution.png) no-repeat center center; }
+#content img.important_image { background: url(important.png) no-repeat center center; }
+#content img.caution_image { background: url(caution.png) no-repeat center center; }
+#content img.sidebar_image { background: url(note.png) no-repeat center center; }
+#content img.hint_image { background: url(tip.png) no-repeat center center; }
+#content img.alert_image { background: url(caution.png) no-repeat center center; }
+#content .section div.tip { background: url(tip.png) no-repeat 0.5em 0.5em !important; }
+#content .section div.note { background: url(note.png) no-repeat 0.5em 0.5em !important; }
+#content .section div.warning { background: url(caution.png) no-repeat 0.5em 0.5em !important; }
+#content .section div.important { background: url(important.png) no-repeat 0.5em 0.5em !important; }
+#content .section div.caution { background: url(caution.png) no-repeat 0.5em 0.5em !important; }
+#content .section div.sidebar { background: url(note.png) no-repeat 0.5em 0.5em !important; }
+#content .section div.hint { background: url(tip.png) no-repeat 0.5em 0.5em !important; }
+
 /* Footer */
 #footer {
   background: #FFFFFF url(footer-bg.png) repeat-x top left;

Added: website/public_html/beta/style/css_0/theme_grass/up_disabled.png
==============================================================================
Binary file. No diff available.


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk