Changeset 520

Show
Ignore:
Timestamp:
08/29/06 22:06:07 (2 years ago)
Author:
ben
Message:

Replaced 'personal learning landscape' with configurable tagline in default template

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/_templates/Default_Template/pageshell

    r512 r520  
    1414        <div id="logo"><!-- open div logo --> 
    1515            <h1><a href="{{url}}">{{sitename}}</a></h1> 
    16             <h2>Personal Learning Landscape</h2> 
     16            <h2>{{tagline}}</h2> 
    1717        </div><!-- close div logo --> 
    1818        <div id="global_menuoptions"><!-- open div global_menuoptions --> 
  • devel/config-dist.php

    r509 r520  
    66// i.e., define("system constant name", "your value"); 
    77 
    8 // Name of the site (eg Elgg, Apcala, University of Bogton's Learning Landscape, etc) 
     8// Name of the site (eg Elgg, Apcala, University of Bogton's Social Network, etc) 
    99 
    1010    $CFG->sitename = 'My Elgg site'; 
     11 
     12// A tagline for your site (eg 'Social network for Bogton') 
     13 
     14    $CFG->tagline = 'A social networking site'; 
    1115 
    1216// External URL to the site (eg http://elgg.bogton.edu/) 
  • devel/lib/setup.php

    r517 r520  
    2727// Set defaults for some variables 
    2828 
     29if (!isset($CFG->tagline)) { 
     30    $CFG->tagline = ""; 
     31} 
    2932if (empty($CFG->debug)) { 
    3033    $CFG->debug = 0; 
  • devel/lib/templates.php

    r517 r520  
    11801180            break; 
    11811181 
     1182        case "tagline": 
     1183            return $CFG->tagline; 
     1184            break; 
     1185 
    11821186        case "metatags": 
    11831187            // $run_result = "<link href=\"/".$template_variable.".css\" rel=\"stylesheet\" type=\"text/css\" />";