4 global $template_definition;
5 $sitename = $CFG->sitename
;
8 $template_definition[] = array(
10 'name' => gettext("Stylesheet"),
11 'description' => gettext("The Cascading Style Sheet for the template."),
12 'glossary' => array(),
16 $template['css'] = <<< END
23 font
-family
: arial
, verdana
, helvetica
, sans
-serif
;
32 text
-decoration
: none
;
35 font
-family
:verdana
, arial
, helvetica
, sans
-serif
;
45 margin
:0px
0px
15px
0px
;
53 margin
:0px
0px
5px
0px
;
60 margin
:0px
0px
5px
0px
;
66 margin
:0px
0px
5px
0px
;
72 margin
:0px
0px
5px
0px
;
80 padding
: 0 1pc
1pc
1pc
;
81 border
: 1px solid
#ddd;
82 background
-color
: #F0F0F0;
84 background
-image
: url("{$CFG->wwwroot}_templates/double-quotes.png");
85 background
-repeat
: no
-repeat
;
86 background
-position
: -10px
-7px
;
89 /*---------------------------------------
91 -----------------------------------------*/
101 /*-----------------------------------------
103 -------------------------------------------*/
106 padding
: 3px
0px
2px
0;
130 #global_menuoptions {
137 #global_menuoptions ul {
142 #global_menuoptions li {
146 list-style
-type
: none
;
150 #global_menuoptions a {
151 text
-decoration
: none
;
154 #global_menuoptions a:hover{
155 text
-decoration
:underline
;
159 /*---------------------------------------------
161 ------------------------------------------------*/
167 border
: 1px solid
#ccc;
176 margin
: 7px
0 0 20px
;
191 font
-family
: "Lucida Grande", arial
, sans
-serif
;
195 /*--------------------------------------------
197 ----------------------------------------------*/
210 list-style
-type
: none
;
214 #navigation a:link, #navigation a:visited {
220 border
: 0px solid
#036;
221 text
-decoration
: none
;
226 #navigation a:link.current, #navigation a:visited.current {
227 border
-bottom
: 1px solid
#fff;
233 #navigation a:hover {
238 #navigation li a:hover{
244 /*-----------------------------------------------
246 -------------------------------------------------*/
254 border
: 1px solid
#ccc;
256 background
-color
: #fff;
260 /*-------------------------------------------------
261 HOLDS THE MAIN CONTENT E.G. BLOG, PROFILE ETC
262 ----------------------------------------------------*/
264 #maincontent_container {
272 #maincontent_container h2 {
277 background-color:#fff;*/
280 #maincontent_container h1 {
285 background
-color
:#fff;
288 #maincontent_container h3 {
293 background-color:#fff;*/
296 #Footer .performanceinfo {
300 /*-------------------------------------------------------------
301 THIS DISPLAYS THE ACTUAL CONTENT WITHIN maincontent_container
302 --------------------------------------------------------------*/
304 #maincontent_display {
306 padding
: 0 0 20px
20px
;
310 background
-color
: #fff;
314 #maincontent_display h1 {
316 border
-bottom
: 1px solid
#666;
320 background
-color
: #fff;
323 /*---- Sub Menu attributes ----*/
325 #maincontent_display #sub_menu {
326 font
-family
: verdana
;
328 margin
: 5px
0 20px
0;
330 background
-color
:#fff;
333 #maincontent_display #sub_menu a {
339 #maincontent_display #sub_menu a:hover {
340 text
-decoration
: underline
;
343 #maincontent_display #sub_menu p {
348 /*-----------------------------------------------------------------------
349 DIV's to help control look and feel - infoholder holds all the profile data
350 and is always located in within 'maincontentdisplay'
352 -------------------------------------------------------------------------*/
354 /*------ holds profile data -------*/
366 .infoholder
.fieldname h2
{
376 .infoholder_twocolumn
{
384 .infoholder_twocolumn
.fieldname h3
{
393 /*----------- holds administration data---------*/
412 .admin_datatable td
{
421 .admin_datatable h4
{
424 /*---- header plus one row of content ------*/
427 background
-color
: #F9F9F9;
443 .databox_vertical
.fieldname h3
{
450 /*------- holds file content ----*/
453 background
-color
: #F9F9F9;
465 color
:#000; /*#1181AA;*/
483 /*------- holds fodler content ------*/
486 background
-color
: #F9F9F9;
510 /*------- holds network data ------*/
517 /*-------------------------------------------
519 ---------------------------------------------*/
527 border
-left
: 1px dotted
#dcdcdc;
530 /*overflow: hidden;*/
533 /*-----------------------------------------
534 ACTUAL SIDEBAR CONTENT
535 -------------------------------------------*/
559 font
-family
: "Lucida Grande", arial
, sans
-serif
;
563 margin
: 20px
0 3px
0;
569 border
-bottom
: 1px solid
#666;
572 /*-------------------------------------------
573 SIDEBAR DISPLAY COMPONENTS
574 ----------------------------------------------*/
585 #community_membership {
595 padding
: 0 3px
3px
3px
;
596 background
-color
:#FAC83D;
601 background
-color
:#FAC83D;
617 /*--- extra div's when looking at someone else's page ---*/
627 /*------------------------------------------
629 ------------------------------------------*/
632 margin
: 10px
0 20px
20px
;
637 #footer a:link, #footer a:visited {
642 /*-------------------------------------------
643 INDIVIDUAL BLOG POSTS
644 -------------------------------------------*/
647 /*------ wraps all blog components ------*/
652 .weblog_posts
.entry h3
{
655 padding
: 0 0 10px
110px
;
672 padding
: 0 0 20px
110px
;
678 margin
: 3px
0 10px
0;
683 margin
: 3px
0 10px
0;
693 list-style
-type
: square
;
696 .post
.blog_edit_functions p
{
700 .post
.blog_edit_functions a
{
704 .post
.weblog_keywords p
{
708 .post
.weblog_keywords a
{
717 font
-family
: verdana
;
726 text
-decoration
: none
;
727 border
-bottom
: 1px dotted
#666;
731 #comments ol, #comments ul {
732 margin
: 3px
0 10px
0;
742 list-style
-type
: square
;
758 border
-bottom
: 1px solid
#ccc;
761 .clearing
{clear
:both
;}
763 /*---------------------------------------------
765 -----------------------------------------------*/
768 border
-bottom
: 1px dotted
#aaaaaa;
769 background
: transparent
url("{$CFG->wwwroot}_templates/sunflower.jpg") bottom right no
-repeat
;
780 .feed_content a
:hover
{
785 border
: 1px solid
#666666;
802 .feed_content h3 a
:hover
{
811 padding
: 5px
10px
5px
5px
;
814 text
-decoration
:none
;
824 border
-color
:#ebebeb;
833 /*---------------------------------------
835 ---------------------------------------*/
838 border
:1px solid
#D3322A;
851 /* ------------- help files -------------*/
854 font
-family
: arial
, helvetica
, Tahoma
;
863 /*------ site news for home.php ---------*/
876 /*-------------------------------------
878 --------------------------------------*/
881 border
: 1px solid
#7F9DB9;
903 /*--------------------------------------
905 --------------------------------------*/
929 $template_definition[] = array(
931 'name' => gettext("Page Shell"),
932 'description' => gettext("The main page shell, including headers and footers."),
935 '{{metatags}}' => gettext("Page metatags (mandatory) - must be in the 'head' portion of the page"),
936 '{{title}}' => gettext("Page title"),
937 '{{menu}}' => gettext("Menu"),
938 '{{topmenu}}' => gettext("Status menu"),
939 '{{mainbody}}' => gettext("Main body"),
940 '{{sidebar}}' => gettext("Sidebar")
944 $welcome = gettext("Welcome"); // gettext variable
946 $template['pageshell'] = <<< END
948 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
949 <html xmlns
="http://www.w3.org/1999/xhtml">
951 <title
>{{title
}}</title
>
955 <!-- elgg banner
and logo
-->
956 <div id
="container"><!-- start container
-->
957 <div id
="statusbar"><!-- start statusbar
-->
958 <div id
="welcome"><!-- start welcome
-->
959 <p
>$welcome {{userfullname
}}</p
>
960 </div
><!-- end welcome
-->
962 </div
><!-- end statusbar
-->
963 <div id
="header"><!-- start header
-->
965 <h2
>Personal Learning Landscape
</h2
>
969 </div
><!-- end header
-->
970 <div id
="content_holder"><!-- start contentholder
-->
971 <div id
="maincontent_container"><!-- start main content
-->
974 </div
><!-- end main content
-->
975 <div id
="sidebar_container">
976 <div id
="sidebar"><!-- start sidebar
-->
977 <ul
><!-- open sidebar lists
-->
980 </div
><!-- end sidebar
-->
981 </div
><!-- end sidebar_container
-->
982 </div
><!-- end contentholder
-->
983 <div
class="clearall" />
984 <div id
="footer"><!-- start footer
-->
985 <a href
="http://elgg.net"><img src
="{$url}_templates/elgg_powered.png" alt
="Powered by Elgg" title
="Powered by Elgg" border
="0" /></a
>
986 </div
><!-- end footer
-->
987 </div
><!-- end container
-->
993 $template_definition[] = array(
994 'id' => 'contentholder',
995 'name' => gettext("Content holder"),
996 'description' => gettext("Contains the main content for a page (as opposed to the sidebar or the title)."),
998 '{{title}}' => gettext("The title"),
999 '{{submenu}}' => gettext("The page submenu"),
1000 '{{body}}' => gettext("The body of the page")
1004 $template['contentholder'] = <<< END
1006 <div id
="maincontent_display">
1015 $template_definition[] = array(
1016 'id' => 'sidebarholder',
1017 'name' => gettext("Sidebar section holder"),
1018 'description' => gettext("Contains the sidebar section titles"),
1019 'glossary' => array(
1020 '{{title}}' => gettext("The header"),
1021 '{{body}}' => gettext("The body of the page")
1026 $template['sidebarholder'] = <<< END
1033 $template_definition[] = array(
1035 'name' => gettext("Owner box"),
1036 'description' => gettext("A box containing a description of the owner of the current profile."),
1037 'glossary' => array(
1038 '{{name}}' => gettext("The user's name"),
1039 '{{profileurl}}' => gettext("The URL of the user's profile page, including terminating slash"),
1040 '{{usericon}}' => gettext("The user's icon, if it exists"),
1041 '{{tagline}}' => gettext("A short blurb about the user"),
1042 '{{usermenu}}' => gettext("Links to friend / unfriend a user"),
1043 '{{lmshosts}}' => gettext("Links to any lms hosts the user is attached to"),
1048 $tags = gettext("Tags");
1049 $resources = gettext("Resources");
1050 $template['ownerbox'] = <<< END
1053 <div id
="icon"><a href
="{{profileurl}}">{{usericon
}}</a
></div
>
1054 <div id
="contents" ><p
>
1055 <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
>
1058 <p
class="usermenu">{{usermenu
}}</p
>
1064 $template_definition[] = array(
1065 'id' => 'messageshell',
1066 'name' => gettext("System message shell"),
1067 'description' => gettext("A list of system messages will be placed within the message shell."),
1068 'glossary' => array(
1069 '{{messages}}' => gettext("The messages")
1073 $template['messageshell'] = <<< END
1075 <div id
="system_message">{{messages
}}</div
><br
/>
1079 $template_definition[] = array(
1081 'name' => gettext("Individual system messages"),
1082 'description' => gettext("Each individual system message."),
1083 'glossary' => array(
1084 '{{message}}' => gettext("The system message")
1088 $template['messages'] = <<< END
1097 $template_definition[] = array(
1099 'name' => gettext("Main menu shell"),
1100 'description' => gettext("A list of main menu items will be placed within the menubar shell."),
1101 'glossary' => array(
1102 '{{menuitems}}' => gettext("The menu items")
1106 $template['menu'] = <<< END
1111 $template_definition[] = array(
1113 'name' => gettext("Individual main menu item"),
1114 'description' => gettext("This is the template for each individual main menu item. A series of these is placed within the menubar shell template."),
1115 'glossary' => array(
1116 '{{location}}' => gettext("The URL of the menu item"),
1117 '{{name}}' => gettext("The menu item's name")
1121 $template['menuitem'] = <<< END
1123 <li
><a href
="{{location}}">{{name
}}</a
></li
>
1127 $template_definition[] = array(
1128 'id' => 'selectedmenuitem',
1129 'name' => gettext("Selected individual main menu item"),
1130 'description' => gettext("This is the template for an individual main menu item if it is selected."),
1131 'glossary' => array(
1132 '{{location}}' => gettext("The URL of the menu item"),
1133 '{{name}}' => gettext("The menu item's name")
1137 $template['selectedmenuitem'] = <<< END
1139 <li
><a
class="current" href
="{{location}}">{{name
}}</a
></li
>
1143 $template_definition[] = array(
1145 'name' => gettext("Sub-menubar shell"),
1146 'description' => gettext("A list of sub-menu items will be placed within the menubar shell."),
1147 'glossary' => array(
1148 '{{submenuitems}}' => gettext("The menu items")
1152 $template['submenu'] = <<< END
1161 $template_definition[] = array(
1162 'id' => 'submenuitem',
1163 'name' => gettext("Individual sub-menu item"),
1164 'description' => gettext("This is the template for each individual sub-menu item. A series of these is placed within the sub-menubar shell template."),
1165 'glossary' => array(
1166 '{{location}}' => gettext("The URL of the menu item"),
1167 '{{menu}}' => gettext("The menu item's name")
1171 $template['submenuitem'] = <<< END
1173 <a href
="{{location}}">{{name
}}</a
> 
;|
1177 $template_definition[] = array(
1179 'name' => gettext("Status menubar shell"),
1180 'description' => gettext("A list of statusbar menu items will be placed within the status menubar shell."),
1181 'glossary' => array(
1182 '{{topmenuitems}}' => gettext("The menu items")
1186 $template['topmenu'] = <<< END
1188 <ul id
="global_menuoptions">
1194 $template_definition[] = array(
1195 'id' => 'topmenuitem',
1196 'name' => gettext("Individual statusbar menu item"),
1197 'description' => gettext("This is the template for each individual statusbar menu item. A series of these is placed within the status menubar shell template."),
1198 'glossary' => array(
1199 '{{location}}' => gettext("The URL of the menu item"),
1200 '{{menu}}' => gettext("The menu item's name")
1204 $template['topmenuitem'] = <<< END
1206 <li
><a href
="{{location}}">[{{name
}}]</a
></li
>
1210 $template_definition[] = array(
1212 'name' => gettext("Data input box (two columns)"),
1213 '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."),
1214 'glossary' => array(
1215 '{{name}}' => gettext("The name for the data we're inputting"),
1216 '{{column1}}' => gettext("The first item of data"),
1217 '{{column2}}' => gettext("The second item of data")
1221 $template['databox'] = <<< END
1223 <div
class="infoholder_twocolumn">
1224 <div
class="fieldname">
1233 $template_definition[] = array(
1235 'name' => gettext("Data input box (one column)"),
1236 'description' => gettext("A single-column version of the data box."),
1237 'glossary' => array(
1238 '{{name}}' => gettext("The name of the data we're inputting"),
1239 '{{column1}}' => gettext("The data itself")
1243 $template['databox1'] = <<< END
1245 <div
class="infoholder">
1246 <div
class="fieldname">
1254 $template_definition[] = array(
1255 'id' => 'adminTable',
1256 'name' => gettext("adminTable"),
1257 'description' => gettext("This table is used to house stats and administration details until a good CSS solution can be applied."),
1258 'glossary' => array(
1259 '{{name}}' => gettext("Column One"),
1260 '{{column1}}' => gettext("Column Two"),
1261 '{{column2}}' => gettext("Column Three")
1265 $template['adminTable'] = <<< END
1267 <div
class="admin_datatable">
1270 <td width
="25%" valign
="top">
1273 <td width
="45%" valign
="top">
1276 <td width
="30%" valign
="top">
1285 $template_definition[] = array(
1286 'id' => 'flagContent',
1287 'name' => gettext("flagContent"),
1288 'description' => gettext("This hold the flag content function throughout Elgg"),
1289 'glossary' => array(
1290 '{{name}}' => gettext("Column One"),
1291 '{{column1}}' => gettext("Column Two"),
1292 '{{column2}}' => gettext("Column Three")
1296 $template['flagContent'] = <<< END
1298 <div
class="flagcontent">
1306 $template_definition[] = array(
1307 'id' => 'databoxvertical',
1308 'name' => gettext("Data input box (vertical)"),
1309 'description' => gettext("A slightly different version of the data box, used on this edit page amongst other places."),
1310 'glossary' => array(
1311 '{{name}}' => gettext("Name of the data we\'re inputting"),
1312 '{{contents}}' => gettext("The data itself")
1316 $template['databoxvertical'] = <<< END
1317 <div
class="databox_vertical">
1318 <div
class="fieldname">