4 global $template_definition;
5 $sitename = $CFG->sitename
;
7 $template_definition[] = array(
9 'name' => gettext("Stylesheet"),
10 'description' => gettext("The Cascading Style Sheet for the template."),
11 'glossary' => array(),
15 $template['css'] = <<< END
22 font
-family
: arial
, verdana
, helvetica
, sans
-serif
;
31 text
-decoration
: none
;
34 font
-family
:verdana
, arial
, helvetica
, sans
-serif
;
44 margin
:0px
0px
15px
0px
;
52 margin
:0px
0px
5px
0px
;
59 margin
:0px
0px
5px
0px
;
65 margin
:0px
0px
5px
0px
;
71 margin
:0px
0px
5px
0px
;
79 padding
: 0 1pc
1pc
1pc
;
80 border
: 1px solid
#ddd;
81 background
-color
: #F0F0F0;
83 background
-image
: url("{$CFG->wwwroot}_templates/double-quotes.png");
84 background
-repeat
: no
-repeat
;
85 background
-position
: -10px
-7px
;
88 /*---------------------------------------
90 -----------------------------------------*/
100 /*-----------------------------------------
102 -------------------------------------------*/
105 padding
: 3px
0px
2px
0;
129 #global_menuoptions {
136 #global_menuoptions ul {
141 #global_menuoptions li {
145 list-style
-type
: none
;
149 #global_menuoptions a {
150 text
-decoration
: none
;
153 #global_menuoptions a:hover{
154 text
-decoration
:underline
;
158 /*---------------------------------------------
160 ------------------------------------------------*/
166 border
: 1px solid
#ccc;
175 margin
: 7px
0 0 20px
;
190 font
-family
: "Lucida Grande", arial
, sans
-serif
;
194 /*--------------------------------------------
196 ----------------------------------------------*/
209 list-style
-type
: none
;
213 #navigation a:link, #navigation a:visited {
219 border
: 0px solid
#036;
220 text
-decoration
: none
;
225 #navigation a:link.selected, #navigation a:visited.selected {
226 border
-bottom
: 1px solid
#fff;
232 #navigation a:hover {
237 #navigation li a:hover{
243 /*-----------------------------------------------
245 -------------------------------------------------*/
253 border
: 1px solid
#ccc;
255 background
-color
: #fff;
259 /*-------------------------------------------------
260 HOLDS THE MAIN CONTENT E.G. BLOG, PROFILE ETC
261 ----------------------------------------------------*/
263 #maincontent_container {
271 #maincontent_container h2 {
276 background-color:#fff;*/
279 #maincontent_container h1 {
284 background
-color
:#fff;
287 #maincontent_container h3 {
292 background-color:#fff;*/
295 #Footer .performanceinfo {
299 /*-------------------------------------------------------------
300 THIS DISPLAYS THE ACTUAL CONTENT WITHIN maincontent_container
301 --------------------------------------------------------------*/
303 #maincontent_display {
305 padding
: 0 0 20px
20px
;
309 background
-color
: #fff;
313 #maincontent_display h1 {
315 border
-bottom
: 1px solid
#666;
319 background
-color
: #fff;
322 /*---- Sub Menu attributes ----*/
324 #maincontent_display #sub_menu {
325 font
-family
: verdana
;
327 margin
: 5px
0 20px
0;
329 background
-color
:#fff;
332 #maincontent_display #sub_menu a {
338 #maincontent_display #sub_menu a:hover {
339 text
-decoration
: underline
;
342 #maincontent_display #sub_menu p {
347 /*-----------------------------------------------------------------------
348 DIV's to help control look and feel - infoholder holds all the profile data
349 and is always located in within 'maincontentdisplay'
351 -------------------------------------------------------------------------*/
353 /*------ holds profile data -------*/
365 .infoholder
.fieldname h2
{
375 .infoholder_twocolumn
{
383 .infoholder_twocolumn
.fieldname h3
{
392 /*----------- holds administration data---------*/
411 .admin_datatable td
{
420 .admin_datatable h4
{
423 /*---- header plus one row of content ------*/
426 background
-color
: #F9F9F9;
442 .databox_vertical
.fieldname h3
{
449 /*------- holds file content ----*/
452 background
-color
: #F9F9F9;
464 color
:#000; /*#1181AA;*/
482 /*------- holds fodler content ------*/
485 background
-color
: #F9F9F9;
509 /*------- holds network data ------*/
516 /*-------------------------------------------
518 ---------------------------------------------*/
526 border
-left
: 1px dotted
#dcdcdc;
529 /*overflow: hidden;*/
532 /*-----------------------------------------
533 ACTUAL SIDEBAR CONTENT
534 -------------------------------------------*/
558 font
-family
: "Lucida Grande", arial
, sans
-serif
;
562 margin
: 20px
0 3px
0;
568 border
-bottom
: 1px solid
#666;
571 /*-------------------------------------------
572 SIDEBAR DISPLAY COMPONENTS
573 ----------------------------------------------*/
584 #community_membership {
594 padding
: 0 3px
3px
3px
;
595 background
-color
:#FAC83D;
600 background
-color
:#FAC83D;
616 /*--- extra div's when looking at someone else's page ---*/
626 /*------------------------------------------
628 ------------------------------------------*/
631 margin
: 10px
0 20px
20px
;
636 #footer a:link, #footer a:visited {
641 /*-------------------------------------------
642 INDIVIDUAL BLOG POSTS
643 -------------------------------------------*/
646 /*------ wraps all blog components ------*/
651 .weblog_posts
.entry h3
{
654 padding
: 0 0 10px
110px
;
671 padding
: 0 0 20px
110px
;
677 margin
: 3px
0 10px
0;
682 margin
: 3px
0 10px
0;
692 list-style
-type
: square
;
695 .post
.blog_edit_functions p
{
699 .post
.blog_edit_functions a
{
703 .post
.weblog_keywords p
{
707 .post
.weblog_keywords a
{
716 font
-family
: verdana
;
725 text
-decoration
: none
;
726 border
-bottom
: 1px dotted
#666;
730 #comments ol, #comments ul {
731 margin
: 3px
0 10px
0;
736 margin
: 10px
0 10px
30px
;
741 list-style
-type
: square
;
749 border
:1px solid
#eee;
756 margin
:0px
5px
0px
0px
;
777 border
-bottom
: 1px solid
#ccc;
780 .clearing
{clear
:both
;}
782 /*---------------------------------------------
784 -----------------------------------------------*/
787 border
-bottom
: 1px dotted
#aaaaaa;
788 background
: transparent
url("{$CFG->wwwroot}_templates/sunflower.jpg") bottom right no
-repeat
;
799 .feed_content a
:hover
{
804 border
: 1px solid
#666666;
821 .feed_content h3 a
:hover
{
830 padding
: 5px
10px
5px
5px
;
833 text
-decoration
:none
;
843 border
-color
:#ebebeb;
852 /*---------------------------------------
854 ---------------------------------------*/
857 border
:1px solid
#D3322A;
870 /* ------------- help files -------------*/
873 font
-family
: arial
, helvetica
, Tahoma
;
882 /*------ site news for home.php ---------*/
895 /*-------------------------------------
897 --------------------------------------*/
900 border
: 1px solid
#7F9DB9;
922 /*--------------------------------------
924 --------------------------------------*/
948 $template_definition[] = array(
950 'name' => gettext("Page Shell"),
951 'description' => gettext("The main page shell, including headers and footers."),
954 '{{metatags}}' => gettext("Page metatags (mandatory) - must be in the 'head' portion of the page"),
955 '{{title}}' => gettext("Page title"),
956 '{{menu}}' => gettext("Menu"),
957 '{{topmenu}}' => gettext("Status menu"),
958 '{{mainbody}}' => gettext("Main body"),
959 '{{sidebar}}' => gettext("Sidebar")
963 $welcome = gettext("Welcome"); // gettext variable
965 $template['pageshell'] = <<< END
967 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
968 <html xmlns
="http://www.w3.org/1999/xhtml">
970 <title
>{{title
}}</title
>
974 <!-- elgg banner
and logo
-->
975 <div id
="container"><!-- start container
-->
976 <div id
="statusbar"><!-- start statusbar
-->
977 <div id
="welcome"><!-- start welcome
-->
978 <p
>$welcome {{userfullname
}}</p
>
979 </div
><!-- end welcome
-->
981 </div
><!-- end statusbar
-->
982 <div id
="header"><!-- start header
-->
984 <h2
>Personal Learning Landscape
</h2
>
988 </div
><!-- end header
-->
989 <div id
="content_holder"><!-- start contentholder
-->
990 <div id
="maincontent_container"><!-- start main content
-->
993 </div
><!-- end main content
-->
994 <div id
="sidebar_container">
995 <div id
="sidebar"><!-- start sidebar
-->
996 <ul
><!-- open sidebar lists
-->
999 </div
><!-- end sidebar
-->
1000 </div
><!-- end sidebar_container
-->
1001 </div
><!-- end contentholder
-->
1002 <div
class="clearall" />
1003 <div id
="footer"><!-- start footer
-->
1004 <a href
="http://elgg.net/"><img src
="{$CFG->wwwroot}_templates/elgg_powered.png" alt
="Powered by Elgg" title
="Powered by Elgg" border
="0" /></a
>
1005 </div
><!-- end footer
-->
1006 </div
><!-- end container
-->
1012 $template_definition[] = array(
1013 'id' => 'contentholder',
1014 'name' => gettext("Content holder"),
1015 'description' => gettext("Contains the main content for a page (as opposed to the sidebar or the title)."),
1016 'glossary' => array(
1017 '{{title}}' => gettext("The title"),
1018 '{{submenu}}' => gettext("The page submenu"),
1019 '{{body}}' => gettext("The body of the page")
1023 $template['contentholder'] = <<< END
1025 <div id
="maincontent_display">
1034 $template_definition[] = array(
1035 'id' => 'sidebarholder',
1036 'name' => gettext("Sidebar section holder"),
1037 'description' => gettext("Contains the sidebar section titles"),
1038 'glossary' => array(
1039 '{{title}}' => gettext("The header"),
1040 '{{body}}' => gettext("The body of the page")
1045 $template['sidebarholder'] = <<< END
1052 $template_definition[] = array(
1054 'name' => gettext("Owner box"),
1055 'description' => gettext("A box containing a description of the owner of the current profile."),
1056 'glossary' => array(
1057 '{{name}}' => gettext("The user's name"),
1058 '{{profileurl}}' => gettext("The URL of the user's profile page, including terminating slash"),
1059 '{{usericon}}' => gettext("The user's icon, if it exists"),
1060 '{{tagline}}' => gettext("A short blurb about the user"),
1061 '{{usermenu}}' => gettext("Links to friend / unfriend a user"),
1062 '{{lmshosts}}' => gettext("Links to any lms hosts the user is attached to"),
1067 $tags = gettext("Tags");
1068 $resources = gettext("Resources");
1069 $template['ownerbox'] = <<< END
1072 <div id
="icon"><a href
="{{profileurl}}">{{usericon
}}</a
></div
>
1073 <div id
="contents" ><p
>
1074 <span
class="userdetails">{{name
}}<br
/><a href
="{{profileurl}}rss/">RSS
</a
> |
<a href
="{{profileurl}}tags/">$tags</a
> |
<a href
="{{profileurl}}newsclient/">$resources</a
></span
></p
>
1077 <p
class="usermenu">{{usermenu
}}</p
>
1083 $template_definition[] = array(
1084 'id' => 'messageshell',
1085 'name' => gettext("System message shell"),
1086 'description' => gettext("A list of system messages will be placed within the message shell."),
1087 'glossary' => array(
1088 '{{messages}}' => gettext("The messages")
1092 $template['messageshell'] = <<< END
1094 <div id
="system_message">{{messages
}}</div
><br
/>
1098 $template_definition[] = array(
1100 'name' => gettext("Individual system messages"),
1101 'description' => gettext("Each individual system message."),
1102 'glossary' => array(
1103 '{{message}}' => gettext("The system message")
1107 $template['messages'] = <<< END
1116 $template_definition[] = array(
1118 'name' => gettext("Main menu shell"),
1119 'description' => gettext("A list of main menu items will be placed within the menubar shell."),
1120 'glossary' => array(
1121 '{{menuitems}}' => gettext("The menu items")
1125 $template['menu'] = <<< END
1130 $template_definition[] = array(
1132 'name' => gettext("Individual main menu item"),
1133 'description' => gettext("This is the template for each individual main menu item. A series of these is placed within the menubar shell template."),
1134 'glossary' => array(
1135 '{{location}}' => gettext("The URL of the menu item"),
1136 '{{name}}' => gettext("The menu item's name")
1140 $template['menuitem'] = <<< END
1142 <li
><a href
="{{location}}">{{name
}}</a
></li
>
1146 $template_definition[] = array(
1147 'id' => 'selectedmenuitem',
1148 'name' => gettext("Selected individual main menu item"),
1149 'description' => gettext("This is the template for an individual main menu item if it is selected."),
1150 'glossary' => array(
1151 '{{location}}' => gettext("The URL of the menu item"),
1152 '{{name}}' => gettext("The menu item's name")
1156 $template['selectedmenuitem'] = <<< END
1158 <li
><a
class="current" href
="{{location}}">{{name
}}</a
></li
>
1162 $template_definition[] = array(
1164 'name' => gettext("Sub-menubar shell"),
1165 'description' => gettext("A list of sub-menu items will be placed within the menubar shell."),
1166 'glossary' => array(
1167 '{{submenuitems}}' => gettext("The menu items")
1171 $template['submenu'] = <<< END
1180 $template_definition[] = array(
1181 'id' => 'submenuitem',
1182 'name' => gettext("Individual sub-menu item"),
1183 'description' => gettext("This is the template for each individual sub-menu item. A series of these is placed within the sub-menubar shell template."),
1184 'glossary' => array(
1185 '{{location}}' => gettext("The URL of the menu item"),
1186 '{{menu}}' => gettext("The menu item's name")
1190 $template['submenuitem'] = <<< END
1192 <a href
="{{location}}">{{name
}}</a
> 
;|
1196 $template_definition[] = array(
1198 'name' => gettext("Status menubar shell"),
1199 'description' => gettext("A list of statusbar menu items will be placed within the status menubar shell."),
1200 'glossary' => array(
1201 '{{topmenuitems}}' => gettext("The menu items")
1205 $template['topmenu'] = <<< END
1207 <ul id
="global_menuoptions">
1213 $template_definition[] = array(
1214 'id' => 'topmenuitem',
1215 'name' => gettext("Individual statusbar menu item"),
1216 'description' => gettext("This is the template for each individual statusbar menu item. A series of these is placed within the status menubar shell template."),
1217 'glossary' => array(
1218 '{{location}}' => gettext("The URL of the menu item"),
1219 '{{menu}}' => gettext("The menu item's name")
1223 $template['topmenuitem'] = <<< END
1225 <li
><a href
="{{location}}">[{{name
}}]</a
></li
>
1229 $template_definition[] = array(
1231 'name' => gettext("Data input box (two columns)"),
1232 'description' => gettext("This is mostly used whenever some input is taken from the user. For example, each of the fields in the profile edit screen is a data input box."),
1233 'glossary' => array(
1234 '{{name}}' => gettext("The name for the data we're inputting"),
1235 '{{column1}}' => gettext("The first item of data"),
1236 '{{column2}}' => gettext("The second item of data")
1240 $template['databox'] = <<< END
1242 <div
class="infoholder_twocolumn">
1243 <div
class="fieldname">
1252 $template_definition[] = array(
1254 'name' => gettext("Data input box (one column)"),
1255 'description' => gettext("A single-column version of the data box."),
1256 'glossary' => array(
1257 '{{name}}' => gettext("The name of the data we're inputting"),
1258 '{{column1}}' => gettext("The data itself")
1262 $template['databox1'] = <<< END
1264 <div
class="infoholder">
1265 <div
class="fieldname">
1273 $template_definition[] = array(
1274 'id' => 'adminTable',
1275 'name' => gettext("adminTable"),
1276 'description' => gettext("This table is used to house stats and administration details until a good CSS solution can be applied."),
1277 'glossary' => array(
1278 '{{name}}' => gettext("Column One"),
1279 '{{column1}}' => gettext("Column Two"),
1280 '{{column2}}' => gettext("Column Three")
1284 $template['adminTable'] = <<< END
1286 <div
class="admin_datatable">
1289 <td width
="25%" valign
="top">
1292 <td width
="45%" valign
="top">
1295 <td width
="30%" valign
="top">
1304 $template_definition[] = array(
1305 'id' => 'flagContent',
1306 'name' => gettext("flagContent"),
1307 'description' => gettext("This holds the flag content function throughout Elgg"),
1308 'glossary' => array(
1309 '{{name}}' => gettext("Column One"),
1310 '{{column1}}' => gettext("Column Two"),
1311 '{{column2}}' => gettext("Column Three")
1315 $template['flagContent'] = <<< END
1317 <div
class="flagcontent">
1325 $template_definition[] = array(
1326 'id' => 'databoxvertical',
1327 'name' => gettext("Data input box (vertical)"),
1328 'description' => gettext("A slightly different version of the data box, used on this edit page amongst other places."),
1329 'glossary' => array(
1330 '{{name}}' => gettext("Name of the data we\'re inputting"),
1331 '{{contents}}' => gettext("The data itself")
1335 $template['databoxvertical'] = <<< END
1336 <div
class="databox_vertical">
1337 <div
class="fieldname">