Changeset - 446c8b9555f4
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 14 years ago 2012-02-16 10:08:05
ohnobinki@ohnopublishing.net
Automatically determine a workable student_address value (<college name> student).
1 file changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
inc/school.inc
Show inline comments
 
@@ -79,8 +79,11 @@ function school_load($school_id, $load_a
 
  $school += $school_info();
 

	
 
  /* Overridable defaults: */
 
  $school += array('domains' => array($school_id . '.edu'),
 
		   'url' => 'http://' . $school_id . '.edu/');
 
  $school += array(
 
    'domains' => array($school_id . '.edu'),
 
    'url' => 'http://' . $school_id . '.edu/',
 
    'student_address' => $school['name'] . ' student',
 
  );
 

	
 
  /*
 
   * append small amount of info from the cache entry for this school:
0 comments (0 inline, 0 general)