Changeset 494
- Timestamp:
- 08/11/06 11:23:18 (2 years ago)
- Files:
-
- devel/content/mainindex/content_loggedout.php (modified) (1 diff)
- devel/units/templates/default_template.php (modified) (29 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/content/mainindex/content_loggedout.php
r269 r494 7 7 $run_result = "<h5>" . gettext("Welcome") . "</h5>"; 8 8 $run_result .= "<p>" . sprintf(gettext("This is %s, a learning landscape. Why not check out <a href=\"%s\">what people are saying</a> right now."), $sitename, url . "_weblog/everyone.php") . "<br />"; 9 $run_result .= "< p>". sprintf(gettext("<a href=\"%s\">Find others</a> with similar interests and goals."), url . "search/tags.php") . "<br /><br />";9 $run_result .= "<br />". sprintf(gettext("<a href=\"%s\">Find others</a> with similar interests and goals."), url . "search/tags.php") . "<br /><br />"; 10 10 11 11 if ($users = get_records_sql("SELECT DISTINCT u.*,i.filename AS iconfile, ".$db->random." as rand devel/units/templates/default_template.php
r488 r494 14 14 15 15 $template['css'] = <<< END 16 /* -------------------------------------------------------------------16 /* 17 17 Default CSS for the Elgg Learning Landscape 18 -------------------------------------------------------------------*/ 18 Version 0.65 - August 2006 19 */ 19 20 20 21 body { … … 53 54 } 54 55 55 /*--------------------------------------------------------- 56 Wraps the whole page 57 ----------------------------------------------------------*/ 56 input { 57 margin: 0 5px 5px 0; 58 font-family:Verdana, Arial, Helvetica, sans-serif; 59 } 60 61 textarea { 62 background-color: #FFF; 63 color: #000; 64 border: 1px solid #CCC; 65 font-size: 1.4em; 66 padding: 3px; 67 margin: 0 0 5px; 68 width:95%; 69 height:100px; 70 } 71 72 /* WRAPS THE WHOLE PAGE */ 58 73 59 74 #container { … … 65 80 } 66 81 67 /*--------------------------------------------------------- 68 HEADER 69 ---------------------------------------------------------*/ 82 /* HEADER */ 70 83 71 84 #header { … … 137 150 } 138 151 139 /*---------------------------------------------------------- 140 Wraps the main content pane and the sidebar 141 ----------------------------------------------------------*/ 152 /* WRAPS THE MAIN CONTENT PANE AND THE SIDEBAR */ 142 153 143 154 #content_holder { … … 148 159 } 149 160 150 /*--------------------------------------------------------- 151 Wraps the main content pane - the left hand side of the 152 screen 153 ----------------------------------------------------------*/ 161 /* WRAPS THE MAIN CONTENT PANE - THE LEFT HAND SIDE OF THE SCREEN */ 154 162 155 163 #maincontent_container { … … 157 165 } 158 166 159 /*-------------------------------------------- 160 NAVIGATION 161 ----------------------------------------------*/ 167 /* NAVIGATION */ 162 168 163 169 #navigation { … … 205 211 } 206 212 207 /*------------------------------------------------------------- 208 Misc 209 --------------------------------------------------------------*/ 213 /* MISC */ 210 214 211 215 .clearme{clear:both;} 212 216 213 217 214 /*------------------------------------------------------------- 215 SIDEBAR and its contents 216 --------------------------------------------------------------*/ 218 /* SIDEBAR AND ITS CONTENTS */ 217 219 218 220 #sidebar { … … 221 223 } 222 224 223 /*------------------------------------------ 224 FOOTER 225 ------------------------------------------*/ 225 /* ACTUAL SIDEBAR CONTENT */ 226 227 228 #sidebar ul { 229 margin: 0; 230 padding: 0; 231 list-style: none; 232 } 233 234 #sidebar ul li { 235 margin: 10px 0; 236 padding-left: 0; 237 } 238 239 #sidebar ul li ul li{ 240 padding: 0 0 0 10px; 241 } 242 243 #sidebar h2 { 244 font-family: "Lucida Grande", arial, sans-serif; 245 font-weight: bold; 246 color: #333; 247 background:#fff; 248 margin: 20px 0 3px 0; 249 padding: 0; 250 border: none; 251 } 252 253 #sidebar h2 { 254 border-bottom: 0px solid #666; 255 text-align:center; 256 border-top:1px solid #777; 257 color:#777; 258 font-size:1em; 259 width:260px; 260 } 261 262 #search_widget { 263 background:url({{url}}_templates/default_images/own_ad_bg.gif) repeat-y; 264 text-align:center; 265 width:250px; 266 margin:0 0 0 10px; 267 } 268 269 #search_widget p { 270 margin:10px; 271 font-weight:bold; 272 } 273 274 #search_widget input { 275 margin:5px 0 5px 0; 276 } 277 278 /* SIDEBAR DISPLAY COMPONENTS */ 279 280 #sidebar_user { 281 } 282 283 #recent_activity { 284 } 285 286 #community_owned { 287 } 288 289 #community_membership { 290 } 291 292 #sidebar_friends p { 293 padding:0 0 0 10px; 294 } 295 296 #search { 297 } 298 299 #me { 300 border:0px solid #086a89; 301 background:#4391B0 url({{url}}_templates/default_images/login_bg.gif); 302 width:260px; 303 padding:0; 304 margin:0; 305 text-align:left; 306 min-height:80px; 307 } 308 309 #me label { 310 padding:4px; 311 margin:0 0 5px 0; 312 color:#fff; 313 } 314 315 #me h2 { 316 color:#fff; 317 font-size:1.2em; 318 padding:5px; 319 margin:0 10px 0 10px; 320 background:#0C5896; 321 } 322 323 #me #icon { 324 margin:3px 0 0 4px; 325 float: left; 326 width: 70px; 327 padding:0; 328 } 329 330 #me #contents { 331 margin: 0 0 0 75px; 332 text-align: left; 333 padding:0; 334 } 335 336 #me a { 337 color:#fff; 338 text-decoration:underline; 339 } 340 341 #me p { 342 color:#fff; 343 margin:0; 344 padding:0 0 5px 0; 345 } 346 347 /* Two new divs to let put curved images around the 'me' box */ 348 349 #me_top { 350 background:url({{url}}_templates/default_images/login_top.gif) bottom no-repeat; 351 height:9px; 352 width:260px; 353 padding:0; 354 margin:0; 355 } 356 357 #me_bottom { 358 background:url({{url}}_templates/default_images/login_bottom.gif) no-repeat; 359 height:9px; 360 width:260px; 361 margin:0; 362 padding:0; 363 } 364 365 /* extra div's when looking at someone else's page */ 366 367 #sidebar_weblog { 368 } 369 370 #sidebar_files { 371 } 372 373 374 #sidebar_user h2 { 375 display:none; 376 } 377 378 /* FOOTER */ 226 379 227 380 #footer { … … 244 397 } 245 398 246 /*----------------------------------------------------------- 247 Remove the search component from he sidebar - it is replaced by the search widget 248 -----------------------------------------------------------*/ 399 /* Remove the search component from the sidebar - it is replaced by the search widget */ 249 400 250 401 #search { … … 252 403 } 253 404 254 /*--------------------------------------- 255 SYSTEM MESSAGES 256 ---------------------------------------*/ 405 /* SYSTEM MESSAGES */ 257 406 258 407 #system_message{ … … 269 418 } 270 419 271 /*----------------------------------------- 272 ACTUAL SIDEBAR CONTENT 273 -------------------------------------------*/ 274 275 276 #sidebar ul { 277 margin: 0; 278 padding: 0; 279 list-style: none; 280 } 281 282 #sidebar ul li { 283 margin: 10px 0; 284 padding-left: 0; 285 } 286 287 #sidebar ul li ul li{ 288 padding: 0 0 0 10px; 289 } 290 291 #sidebar h2 { 292 font-family: "Lucida Grande", arial, sans-serif; 293 font-weight: bold; 294 color: #333; 295 background:#fff; 296 margin: 20px 0 3px 0; 297 padding: 0; 298 border: none; 299 } 300 301 #sidebar h2 { 302 border-bottom: 0px solid #666; 303 text-align:center; 304 border-top:1px solid #777; 305 color:#777; 306 font-size:1em; 307 width:260px; 308 } 309 310 #search_widget { 311 background:url({{url}}_templates/default_images/own_ad_bg.gif) repeat-y; 312 text-align:center; 313 width:250px; 314 margin:0 0 0 10px; 315 } 316 317 #search_widget p { 318 margin:10px; 319 font-weight:bold; 320 } 321 322 #search_widget input { 323 margin:5px 0 5px 0; 324 } 325 326 /*------------------------------------------- 327 SIDEBAR DISPLAY COMPONENTS 328 ----------------------------------------------*/ 329 330 #sidebar_user { 331 } 332 333 #recent_activity { 334 } 335 336 #community_owned { 337 } 338 339 #community_membership { 340 } 341 342 #sidebar_friends p { 343 padding:0 0 0 10px; 344 } 345 346 #search { 347 } 348 349 #me { 350 border:0px solid #086a89; 351 background:#4391B0 url({{url}}_templates/default_images/login_bg.gif); 352 width:260px; 353 padding:0; 354 margin:0; 355 text-align:left; 356 min-height:80px; 357 } 358 359 #me label { 360 padding:4px; 361 margin:0 0 5px 0; 362 color:#fff; 363 } 364 365 #me h2 { 366 color:#fff; 367 font-size:1.2em; 368 padding:5px; 369 margin:0 10px 0 10px; 370 background:#0C5896; 371 } 372 373 #me #icon { 374 margin:3px 0 0 4px; 375 float: left; 376 width: 70px; 377 padding:0; 378 } 379 380 #me #contents { 381 margin: 0 0 0 75px; 382 text-align: left; 383 padding:0; 384 } 385 386 #me a { 387 color:#fff; 388 text-decoration:underline; 389 } 390 391 #me p { 392 color:#fff; 393 margin:0; 394 padding:0 0 5px 0; 395 } 396 397 /*----------------------------------------------------------------- 398 Two new divs to let me put curved images around the me box 399 -----------------------------------------------------------------*/ 400 401 #me_top { 402 background:url({{url}}_templates/default_images/login_top.gif) bottom no-repeat; 403 height:9px; 404 width:260px; 405 padding:0; 406 margin:0; 407 } 408 409 #me_bottom { 410 background:url({{url}}_templates/default_images/login_bottom.gif) no-repeat; 411 height:9px; 412 width:260px; 413 margin:0; 414 padding:0; 415 } 416 417 /*--- extra div's when looking at someone else's page ---*/ 418 419 #sidebar_weblog { 420 } 421 422 #sidebar_files { 423 } 424 425 426 #sidebar_user h2 { 427 display:none; 428 } 429 430 /*------------------------------------------------------------- 431 THIS DISPLAYS THE ACTUAL CONTENT WITHIN maincontent_container 432 --------------------------------------------------------------*/ 420 /* THIS DISPLAYS THE ACTUAL CONTENT WITHIN maincontent_container */ 433 421 434 422 #maincontent_display { … … 461 449 462 450 463 /* ---- Sub Menu attributes ----*/451 /* SUB MENU attributes */ 464 452 465 453 #maincontent_display #sub_menu { … … 487 475 } 488 476 489 /*------------------------------------------- 490 INDIVIDUAL BLOG POSTS 491 -------------------------------------------*/ 492 493 494 /*------ wraps all blog components ------*/ 477 /* INDIVIDUAL BLOG POSTS */ 478 479 480 /* wraps all blog components */ 495 481 496 482 .weblog_posts { … … 691 677 692 678 693 /*--------------------------------------------- 694 Your Resources 695 -----------------------------------------------*/ 679 /* YOUR RESOURCES */ 696 680 697 681 .feeds { … … 772 756 773 757 774 /* -----------------------------------------------------------------------758 /* 775 759 DIV's to help control look and feel - infoholder holds all the profile data 776 760 and is always located in within 'maincontentdisplay' 777 778 -------------------------------------------------------------------------*/ 779 780 /*------ holds profile data -------*/ 761 */ 762 763 /* holds profile data */ 781 764 .infoholder { 782 765 border:1px; … … 827 810 } 828 811 829 .infoholder_twocolumn h2 { 830 font-size:1.2em; 831 } 832 833 /*----------- holds administration data---------*/ 812 .infoholder_twocolumn h3 { 813 font-size:1.1em; 814 padding:0; 815 margin:0; 816 } 817 818 /* holds administration data */ 834 819 835 820 .admin_datatable { … … 861 846 padding:0; 862 847 margin:0; 863 font-size:1 .2em;848 font-size:1em; 864 849 } 865 850 … … 869 854 padding:0; 870 855 margin:0; 856 font-size:1em; 871 857 } 872 858 … … 874 860 } 875 861 876 /* ---- header plus one row of content ------*/862 /* header plus one row of content */ 877 863 878 864 .databox_vertical { … … 898 884 color:#1181AA; 899 885 background-color: #F9F9F9; 900 } 901 902 /*------- holds file content ----*/ 886 font-size:1.2em; 887 } 888 889 /* holds file content */ 903 890 904 891 .filetable { … … 933 920 934 921 935 /* ------- holds fodler content ------*/922 /* holds fodler content */ 936 923 937 924 .foldertable { … … 960 947 } 961 948 962 /* ------- holds network data ------*/949 /* holds network data */ 963 950 964 951 .networktable { … … 966 953 } 967 954 968 /*---------------------------------------------969 INPUT FIELDS970 ----------------------------------------------*/971 972 input {973 background-color: #FFF;974 color: #000;975 border: 1px solid #CCC;976 font-size: 1.2em;977 padding: 3px;978 margin: 0 0 5px;979 font-family:Verdana, Arial, Helvetica, sans-serif;980 }981 982 input:hover, input select:hover, input textbox:hover {983 background-color: #F0F8FF;984 }985 986 input:focus {987 background-color: #F0F8FF;988 border-color:#777;989 }990 991 textarea {992 background-color: #FFF;993 color: #000;994 border: 1px solid #CCC;995 font-size: 1.4em;996 padding: 3px;997 margin: 0 0 5px;998 width:95%;999 height:100px;1000 }1001 955 1002 956 END; … … 1033 987 <tr> 1034 988 <td> 1035 <div id="header"><!-- open div logo-->1036 <div id="logo"> 989 <div id="header"><!-- open div header --> 990 <div id="logo"><!-- open div logo --> 1037 991 <h1><a href="{{url}}/index.php">$sitename</a></h1> 1038 992 <h2>Personal Learning Landscape</h2> 1039 993 </div><!-- close div logo --> 1040 <div id="global_menuoptions"> 994 <div id="global_menuoptions"><!-- open div global_menuoptions --> 1041 995 {{topmenu}} 1042 996 <p>Welcome {{userfullname}} </p> 1043 </div> 1044 </div> 997 </div><!-- close div global_menuoptions --> 998 </div><!-- close div header --> 1045 999 <div class="clearme"/> 1046 1000 </td> … … 1053 1007 <ul id="navigation"> 1054 1008 {{menu}} 1009 <li></li><!-- used to validate --> 1055 1010 </ul> 1056 1011 {{messageshell}} … … 1060 1015 <ul><!-- open sidebar lists --> 1061 1016 {{sidebar}} 1062 </ul> 1063 <div id="search_widget"> 1017 </ul><!-- close sidebar lists --> 1018 <div id="search_widget"><!-- open div search_widget --> 1064 1019 <img src="{{url}}_templates/default_images/own_ad_top.gif" alt="" border="0" /> 1065 1020 <form name="searchform" action="/search/all.php"> … … 1072 1027 --> 1073 1028 </script> 1074 <p><label>Search</label> <input type="text" size="20" name="tag" value="" /> <select name=""><option value="all">--- all ---</option></select> <br /><input type="submit" name="" value="search" /></p>1029 <p><label>Search</label><br /><input type="text" size="20" name="tag" value="" /> <select name=""><option value="all">--- all ---</option></select> <br /><input type="submit" name="" value="search" /></p> 1075 1030 </form> 1076 1031 <img src="{{url}}_templates/default_images/own_ad_bottom.gif" alt="" border="0" /> 1077 </div> 1032 </div><!-- close div search_widget --> 1078 1033 </td> 1079 1034 </tr> … … 1086 1041 <span style="color:#FF934B">$sitename</span> <a href="{{url}}content/terms.php">Terms and conditions</a> | <a href="{{url}}content/privacy.php">Privacy Policy</a> 1087 1042 </div><!-- end footer --><br /> 1088 <a href="http://elgg.org"><img src="{{url}}_templates/elgg_powered.png" title="Elgg powered" border="0" alt="Elgg powered logo" ></a>1043 <a href="http://elgg.org"><img src="{{url}}_templates/elgg_powered.png" title="Elgg powered" border="0" alt="Elgg powered logo" /></a> 1089 1044 <br /> 1090 </div>1091 1045 </td> 1092 1046 </tr> … … 1095 1049 </body> 1096 1050 </html> 1051 1097 1052 END; 1098 1053
