Changeset 11152 for trunk/gsdl
- Timestamp:
- 2006-01-27T17:15:18+13:00 (18 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/images/style.css
r11146 r11152 40 40 /* home, help, preferences links */ 41 41 p.bannerlinks { 42 font-family: arial;42 font-family: sans-serif, arial, helvetica; 43 43 font-size: 10pt; 44 44 font-weight: bold; 45 45 } 46 46 /* the image based on the page action */ 47 p.bannerimage {} 47 p.bannerimage { 48 font-family: sans-serif, arial, helvetica; 49 font-size: 24px; 50 font-weight: bold; 51 padding-top: 4px; 52 padding-right: 4px; 53 padding-bottom: 10px; 54 margin-left: 40px; 55 text-transform: lowercase; 56 background: #96c19b; 57 width: 40px; 58 text-align: right; 59 } 48 60 /* the image for the collection, shown in the banner */ 49 61 div.collectimage { … … 63 75 min-width: 500px; 64 76 white-space: nowrap; 65 font-family: arial;77 font-family: sans-serif, arial, helvetica; 66 78 font-size: 10pt; 67 79 font-weight: bold; -
trunk/gsdl/src/recpt/documentaction.cpp
r11144 r11152 882 882 bool unknown = false; 883 883 884 // test the _iconXXXpage_ macro to see if image macros are 885 // defined for this type of classification - if not we'll 886 // just display the text 884 // test if we have macros defined for this classification's 885 // metadata name - if not we'll just display the name 887 886 text_t tmp; 888 text_t macroname="_ icon" + title + "page_";889 disp.expandstring (" document", macroname, tmp);887 text_t macroname="_label" + title + "_"; 888 disp.expandstring ("Global", macroname, tmp); 890 889 if (tmp == macroname) unknown = true; // it wasn't expanded 891 890 892 891 if (unknown) { 893 892 disp.setmacro ("pagetitle", "document", title); 894 disp.setmacro ("imagethispage", "document", "<h2>" + title + "</h2>");893 disp.setmacro ("imagethispage", "document", title); 895 894 } else { 896 disp.setmacro ("pagetitle", "document", "_text" + title + "page_");897 disp.setmacro ("imagethispage", "document", "_icon" + title + "page_");895 disp.setmacro ("pagetitle", "document", macroname); 896 disp.setmacro ("imagethispage", "document", macroname); 898 897 } 899 898
Note:
See TracChangeset
for help on using the changeset viewer.