Index: openacs-4/packages/calendar/sql/oracle/cal-item-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/oracle/cal-item-create.sql,v diff -u -N -r1.11 -r1.11.10.1 --- openacs-4/packages/calendar/sql/oracle/cal-item-create.sql 8 Aug 2006 21:26:16 -0000 1.11 +++ openacs-4/packages/calendar/sql/oracle/cal-item-create.sql 22 Apr 2017 12:25:25 -0000 1.11.10.1 @@ -193,7 +193,7 @@ is begin - -- Erase the cal_item assoicated with the id + -- Erase the cal_item associated with the id delete from cal_items where cal_item_id = cal_item.del.cal_item_id; Index: openacs-4/packages/calendar/sql/oracle/calendar-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/oracle/calendar-create.sql,v diff -u -N -r1.8 -r1.8.18.1 --- openacs-4/packages/calendar/sql/oracle/calendar-create.sql 21 Jan 2004 15:12:48 -0000 1.8 +++ openacs-4/packages/calendar/sql/oracle/calendar-create.sql 22 Apr 2017 12:25:25 -0000 1.8.18.1 @@ -101,7 +101,7 @@ -- or read, write, delete and invite to any member of the party -- on a cal_item basis or on a calendar basis(all items). begin - acs_privilege.create_privilege('calendar_admin', 'calendar adminstrator'); + acs_privilege.create_privilege('calendar_admin', 'calendar administrator'); acs_privilege.add_child('admin', 'calendar_admin'); acs_privilege.add_child('calendar_admin', 'calendar_read'); acs_privilege.add_child('calendar_admin', 'calendar_write'); Index: openacs-4/packages/calendar/sql/oracle/upgrade/upgrade-1.0-2.0d1.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/oracle/upgrade/upgrade-1.0-2.0d1.sql,v diff -u -N -r1.1 -r1.1.20.1 --- openacs-4/packages/calendar/sql/oracle/upgrade/upgrade-1.0-2.0d1.sql 8 Oct 2003 16:59:22 -0000 1.1 +++ openacs-4/packages/calendar/sql/oracle/upgrade/upgrade-1.0-2.0d1.sql 22 Apr 2017 12:25:25 -0000 1.1.20.1 @@ -127,7 +127,7 @@ is begin - -- Erase the cal_item assoicated with the id + -- Erase the cal_item associated with the id delete from cal_items where cal_item_id = cal_item.del.cal_item_id; Index: openacs-4/packages/calendar/sql/postgresql/cal-item-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/postgresql/cal-item-create.sql,v diff -u -N -r1.14 -r1.14.2.1 --- openacs-4/packages/calendar/sql/postgresql/cal-item-create.sql 27 Oct 2014 16:41:07 -0000 1.14 +++ openacs-4/packages/calendar/sql/postgresql/cal-item-create.sql 22 Apr 2017 12:25:25 -0000 1.14.2.1 @@ -176,7 +176,7 @@ delete from cal_items where cal_item_id = delete__cal_item_id; - -- Erase all the priviledges + -- Erase all the privileges delete from acs_permissions where object_id = delete__cal_item_id; Index: openacs-4/packages/calendar/sql/postgresql/calendar-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/sql/postgresql/calendar-create.sql,v diff -u -N -r1.14 -r1.14.18.1 --- openacs-4/packages/calendar/sql/postgresql/calendar-create.sql 20 Jan 2004 14:19:21 -0000 1.14 +++ openacs-4/packages/calendar/sql/postgresql/calendar-create.sql 22 Apr 2017 12:25:25 -0000 1.14.18.1 @@ -53,7 +53,7 @@ select acs_privilege__add_child('calendar_write', 'cal_item_write'); select acs_privilege__add_child('calendar_delete', 'cal_item_delete'); - select acs_privilege__create_privilege('calendar_admin', 'calendar adminstrator', null); + select acs_privilege__create_privilege('calendar_admin', 'calendar administrator', null); select acs_privilege__add_child('admin', 'calendar_admin'); select acs_privilege__add_child('calendar_admin', 'calendar_read'); select acs_privilege__add_child('calendar_admin', 'calendar_write'); Index: openacs-4/packages/calendar/tcl/calendar-outlook-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/calendar-outlook-procs.tcl,v diff -u -N -r1.16.2.1 -r1.16.2.2 --- openacs-4/packages/calendar/tcl/calendar-outlook-procs.tcl 10 Sep 2015 08:30:14 -0000 1.16.2.1 +++ openacs-4/packages/calendar/tcl/calendar-outlook-procs.tcl 22 Apr 2017 12:25:25 -0000 1.16.2.2 @@ -35,7 +35,7 @@ return $timestamp } - ad_proc cal_outlook_gmt_sql {{hours 0} {dash ""}} {formats the hours to substract or add to make the date_time be in gmt} { + ad_proc cal_outlook_gmt_sql {{hours 0} {dash ""}} {formats the hours to subtract or add to make the date_time be in gmt} { # east of gmt is notated as "-", # in order to get gmt (to store the date_time for outlook) # we need to have the hour equal gmt at the same time as the client @@ -52,11 +52,11 @@ ad_proc -public format_item { {-cal_item_id:required} - {-all_occurences_p 0} + {-all_occurrences_p 0} {-client_timezone 0} } { the cal_item_id is obvious. - If we want all occurrences, we set all_occurences_p to true. + If we want all occurrences, we set all_occurrences_p to true. The client timezone helps to make things right. It is the number offset from GMT. @@ -76,7 +76,7 @@ set ics_event "BEGIN:VCALENDAR\r\nPRODID:-//OpenACS//OpenACS 5.0 MIMEDIR//EN\r\nVERSION:2.0\r\nMETHOD:PUBLISH\r\nBEGIN:VEVENT\r\nDTSTART:$DTSTART\r\nDTEND:$DTEND\r\n" # Recurrence stuff - if {$cal_item(recurrence_id) ne "" && $all_occurences_p} { + if {$cal_item(recurrence_id) ne "" && $all_occurrences_p} { set recur_rule "RRULE:FREQ=" Index: openacs-4/packages/calendar/tcl/calendar-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/calendar-procs.tcl,v diff -u -N -r1.34.2.1 -r1.34.2.2 --- openacs-4/packages/calendar/tcl/calendar-procs.tcl 10 Sep 2015 08:30:14 -0000 1.34.2.1 +++ openacs-4/packages/calendar/tcl/calendar-procs.tcl 22 Apr 2017 12:25:25 -0000 1.34.2.2 @@ -155,8 +155,8 @@ {-calendar_id_list {}} {-party_id party_id } } { - check to see if ther user have a private calendar - if -return_id is 1, then proc will return the calendar_id + Check to see if the user has a private calendar. + When the provided -return_id is 1, then proc will return the calendar_id @param calendar_id_list If you supply the calendar_id_list, then we'll only search for a personal calendar among the calendars supplied here. Index: openacs-4/packages/calendar/www/cal-item-create-recurrence.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/cal-item-create-recurrence.tcl,v diff -u -N -r1.9.2.3 -r1.9.2.4 --- openacs-4/packages/calendar/www/cal-item-create-recurrence.tcl 2 Oct 2016 16:43:51 -0000 1.9.2.3 +++ openacs-4/packages/calendar/www/cal-item-create-recurrence.tcl 22 Apr 2017 12:25:25 -0000 1.9.2.4 @@ -35,7 +35,7 @@ set dow_string "$dow_string [lindex $dow 0]  \n" } -set recurrance_options [list \ +set recurrence_options [list \ [list [_ calendar.day_s] day] \ [list "$dow_string [_ calendar.of_the_week]" week] \ [list "[_ calendar.day] $cal_item(day_of_month) [_ calendar.of_the_month]" month_by_date] \ @@ -55,7 +55,7 @@ {interval_type:text(radio) {label ""} - {options $recurrance_options} + {options $recurrence_options} } {recur_until:date Index: openacs-4/packages/calendar/www/cal-item-delete-all-occurrences.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/cal-item-delete-all-occurrences.tcl,v diff -u -N -r1.5.2.2 -r1.5.2.3 --- openacs-4/packages/calendar/www/cal-item-delete-all-occurrences.tcl 20 May 2016 20:14:43 -0000 1.5.2.2 +++ openacs-4/packages/calendar/www/cal-item-delete-all-occurrences.tcl 22 Apr 2017 12:25:25 -0000 1.5.2.3 @@ -1,6 +1,6 @@ ad_page_contract { - delete all occurences of a recurring item + delete all occurrences of a recurring item @author Ben Adida (ben@openforce.net) @creation-date April 25, 2002 Index: openacs-4/packages/calendar/www/cal-item-view.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/cal-item-view.adp,v diff -u -N -r1.40.2.2 -r1.40.2.3 --- openacs-4/packages/calendar/www/cal-item-view.adp 18 Jan 2017 08:26:36 -0000 1.40.2.2 +++ openacs-4/packages/calendar/www/cal-item-view.adp 22 Apr 2017 12:25:25 -0000 1.40.2.3 @@ -98,7 +98,7 @@ #calendar.delete# @attachment_options;noquote@ #calendar.sync_with_Outlook# - (#calendar.all_events#) + (#calendar.all_events#) Index: openacs-4/packages/calendar/www/view-month-display.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/view-month-display.tcl,v diff -u -N -r1.26.2.4 -r1.26.2.5 --- openacs-4/packages/calendar/www/view-month-display.tcl 24 Feb 2017 15:50:19 -0000 1.26.2.4 +++ openacs-4/packages/calendar/www/view-month-display.tcl 22 Apr 2017 12:25:25 -0000 1.26.2.5 @@ -1,7 +1,7 @@ set system_type "" if {![info exists date] || $date eq ""} { - # Default to todays date in the users (the connection) timezone + # Default to today's date in the users (the connection) timezone set server_now_time [dt_systime] set user_now_time [lc_time_system_to_conn $server_now_time] set date [lc_time_fmt $user_now_time "%x"] Index: openacs-4/packages/calendar/www/view-one-day-display.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/view-one-day-display.tcl,v diff -u -N -r1.41.2.3 -r1.41.2.4 --- openacs-4/packages/calendar/www/view-one-day-display.tcl 13 Feb 2017 10:54:56 -0000 1.41.2.3 +++ openacs-4/packages/calendar/www/view-one-day-display.tcl 22 Apr 2017 12:25:25 -0000 1.41.2.4 @@ -40,7 +40,7 @@ } if {$date eq ""} { - # Default to todays date in the users (the connection) timezone + # Default to today's date in the users (the connection) timezone set server_now_time [dt_systime] set user_now_time [lc_time_system_to_conn $server_now_time] set date [lc_time_fmt $user_now_time "%F"] Index: openacs-4/packages/calendar/www/view-week-display.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/view-week-display.tcl,v diff -u -N -r1.27.2.2 -r1.27.2.3 --- openacs-4/packages/calendar/www/view-week-display.tcl 20 Oct 2015 08:19:14 -0000 1.27.2.2 +++ openacs-4/packages/calendar/www/view-week-display.tcl 22 Apr 2017 12:25:25 -0000 1.27.2.3 @@ -36,7 +36,7 @@ } if {$date eq ""} { - # Default to todays date in the users (the connection) timezone + # Default to today's date in the users (the connection) timezone set server_now_time [dt_systime] set user_now_time [lc_time_system_to_conn $server_now_time] set date [lc_time_fmt $user_now_time "%x"] Index: openacs-4/packages/calendar/www/doc/requirements.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/doc/requirements.adp,v diff -u -N -r1.1.2.4 -r1.1.2.5 --- openacs-4/packages/calendar/www/doc/requirements.adp 5 Jul 2016 16:52:02 -0000 1.1.2.4 +++ openacs-4/packages/calendar/www/doc/requirements.adp 22 Apr 2017 12:25:25 -0000 1.1.2.5 @@ -111,9 +111,9 @@ does not have to be registered with the site to be able to obtain this event information through their personal calendar. To allow this functionality, the calendars for groups and parties would need -to support all the event managment and calendar views had by +to support all the event management and calendar views had by individual calendars, and in addition, the role of calendar -administrator must be assigned to handle event managment.

+administrator must be assigned to handle event management.

Administrators for a group and party wide calendar are given create, read, and write permissions on each Index: openacs-4/packages/calendar/www/doc/requirements.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/doc/requirements.html,v diff -u -N -r1.1.1.1.26.1 -r1.1.1.1.26.2 --- openacs-4/packages/calendar/www/doc/requirements.html 22 Jun 2016 07:43:59 -0000 1.1.1.1.26.1 +++ openacs-4/packages/calendar/www/doc/requirements.html 22 Apr 2017 12:25:25 -0000 1.1.1.1.26.2 @@ -113,9 +113,9 @@ common visitor does not have to be registered with the site to be able to obtain this event information through their personal calendar. To allow this functionality, the calendars for groups and parties would -need to support all the event managment and calendar views had by individual +need to support all the event management and calendar views had by individual calendars, and in addition, the role of calendar administrator must -be assigned to handle event managment. +be assigned to handle event management.

Administrators for a group and party wide calendar are given create, read, and write permissions on each individual item on the calendar. He or she also has the privilege to change the permissions for each of Index: openacs-4/packages/calendar/www/ics/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/ics/index.vuh,v diff -u -N -r1.4.2.1 -r1.4.2.2 --- openacs-4/packages/calendar/www/ics/index.vuh 9 Jun 2016 09:13:25 -0000 1.4.2.1 +++ openacs-4/packages/calendar/www/ics/index.vuh 22 Apr 2017 12:25:25 -0000 1.4.2.2 @@ -8,7 +8,7 @@ @creation-date June 20, 2002 @cvs-id $Id$ } { - {all_occurences_p 0} + {all_occurrences_p 0} } set path [ad_conn path_info] @@ -21,7 +21,7 @@ permission::require_permission -object_id $cal_item_id -privilege read -set ics_stuff [calendar::outlook::format_item -cal_item_id $cal_item_id -all_occurences_p $all_occurences_p] +set ics_stuff [calendar::outlook::format_item -cal_item_id $cal_item_id -all_occurrences_p $all_occurrences_p] ns_return 200 application/x-msoutlook $ics_stuff Index: openacs-4/packages/forums/tcl/messages-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/messages-procs.tcl,v diff -u -N -r1.46.2.2 -r1.46.2.3 --- openacs-4/packages/forums/tcl/messages-procs.tcl 2 Jan 2016 19:20:42 -0000 1.46.2.2 +++ openacs-4/packages/forums/tcl/messages-procs.tcl 22 Apr 2017 12:28:32 -0000 1.46.2.3 @@ -54,12 +54,12 @@ db_abort_transaction # Check to see if the message with a message_id matching the - # message_id arguement was in the database before calling + # message_id argument was in the database before calling # this procedure. If so, the error is due to a double click # and we should continue without returning an error. if {$original_message_id ne ""} { - # The was a non-null message_id arguement + # The was a non-null message_id argument if {[db_string message_exists_p {}]} { return $message_id } else { Index: openacs-4/packages/forums/tcl/test/forums-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/test/forums-procs.tcl,v diff -u -N -r1.3.10.1 -r1.3.10.2 --- openacs-4/packages/forums/tcl/test/forums-procs.tcl 12 Sep 2015 11:06:27 -0000 1.3.10.1 +++ openacs-4/packages/forums/tcl/test/forums-procs.tcl 22 Apr 2017 12:28:32 -0000 1.3.10.2 @@ -25,7 +25,7 @@ select 1 from forums_forums where forum_id = :forum_id } -default "0"] - aa_equals "forum was created succesfully" $success_p 1 + aa_equals "forum was created successfully" $success_p 1 } } @@ -52,7 +52,7 @@ select 1 from forums_messages where message_id = :message_id } -default "0"] - aa_equals "message was created succesfully" $success_p 1 + aa_equals "message was created successfully" $success_p 1 } } Index: openacs-4/packages/forums/tcl/test/tclwebtest-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/test/Attic/tclwebtest-procs.tcl,v diff -u -N -r1.2.10.1 -r1.2.10.2 --- openacs-4/packages/forums/tcl/test/tclwebtest-procs.tcl 12 Sep 2015 11:06:27 -0000 1.2.10.1 +++ openacs-4/packages/forums/tcl/test/tclwebtest-procs.tcl 22 Apr 2017 12:28:32 -0000 1.2.10.2 @@ -38,7 +38,7 @@ if { [catch {tclwebtest::link find $name} testerror1] ||[catch {tclwebtest::assert text $charter} testerror2 ] } { aa_error "The forum $name was not created. The forum name or the charter was not founded in the admin page of forums" } else { - aa_log "The forum $name was succesfully created" + aa_log "The forum $name was successfully created" set response 1 } @@ -83,7 +83,7 @@ if { [catch {tclwebtest::link find "Edited $name"} testerror1] ||[catch {tclwebtest::assert text "$charter"} testerror2 ] } { aa_error "The forum $name was not Edited. The forum name or the charter was not founded in the admin page of forums" } else { - aa_log "The forum $name was succesfully edited, new name Edited $name" + aa_log "The forum $name was successfully edited, new name Edited $name" set response 1 } @@ -131,7 +131,7 @@ if { [catch {tclwebtest::assert text "$msgb"} testerror2 ] } { aa_error "The body of the message was not correctly posted" } else { - aa_log "The message was succesfully posted" + aa_log "The message was successfully posted" set response 1 } @@ -180,7 +180,7 @@ if { [catch {tclwebtest::assert text "$msgb2"} testerror2 ] } { aa_error "The body of the message was not correctly edited" } else { - aa_log "The message $subject of the forum $name was succesfully edited" + aa_log "The message $subject of the forum $name was successfully edited" set response 1 } @@ -210,7 +210,7 @@ if {[string first "forum-view" $response_url]!=-1 && [string first $forum_admin_page $response_url]!=-1 } { if {[catch {tclwebtest::link follow "Edited $subject"}]} { - aa_log "The message $subject was succesfully deleted in the forum $name" + aa_log "The message $subject was successfully deleted in the forum $name" set response 1 } else { aa_error "The message $subject of the forum $name was not deleted" @@ -259,7 +259,7 @@ if { [catch {tclwebtest::assert text "$msgb_reply"} testerror2 ] } { aa_error "The body of the replyed message was not correctly posted" } else { - aa_log "The reply message to $subject of the forum $name was succesfully posted" + aa_log "The reply message to $subject of the forum $name was successfully posted" set response 1 } Index: openacs-4/packages/new-portal/sql/oracle/datasource-sc-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/sql/oracle/datasource-sc-create.sql,v diff -u -N -r1.8 -r1.8.24.1 --- openacs-4/packages/new-portal/sql/oracle/datasource-sc-create.sql 9 Aug 2002 20:56:27 -0000 1.8 +++ openacs-4/packages/new-portal/sql/oracle/datasource-sc-create.sql 22 Apr 2017 12:33:27 -0000 1.8.24.1 @@ -74,7 +74,7 @@ ); -- Link: Where is the href target for this PE? - -- ** not currently implimented *** + -- ** not currently implemented *** foo := acs_sc_msg_type.new( msg_type_name => 'portal_datasource.Link.InputType', msg_type_spec => '' @@ -161,7 +161,7 @@ ); -- Edit: the datasources' edit html - -- ** not currently implimented ** + -- ** not currently implemented ** foo := acs_sc_msg_type.new( msg_type_name => 'portal_datasource.Edit.InputType', msg_type_spec => 'element_id:integer' Index: openacs-4/packages/new-portal/tcl/portal-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/tcl/portal-callback-procs.tcl,v diff -u -N -r1.2.2.1 -r1.2.2.2 --- openacs-4/packages/new-portal/tcl/portal-callback-procs.tcl 12 Sep 2015 11:06:38 -0000 1.2.2.1 +++ openacs-4/packages/new-portal/tcl/portal-callback-procs.tcl 22 Apr 2017 12:33:27 -0000 1.2.2.2 @@ -40,7 +40,7 @@ } return [list object_id $object_id \ - title {TODO the_communites_title} \ + title {TODO the_communities_title} \ content $bodies \ keywords {} \ storage_type text \ Index: openacs-4/packages/new-portal/tcl/portal-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/tcl/portal-procs.tcl,v diff -u -N -r1.193.2.7 -r1.193.2.8 --- openacs-4/packages/new-portal/tcl/portal-procs.tcl 13 Feb 2017 10:57:30 -0000 1.193.2.7 +++ openacs-4/packages/new-portal/tcl/portal-procs.tcl 22 Apr 2017 12:33:27 -0000 1.193.2.8 @@ -159,7 +159,7 @@ set page_accesskey_list [list] set layout_name_list [list] - # seperate name and layout + # separate name and layout foreach item $page_name_and_layout_list { lassign [split $item ","] page_name layout_name page_accesskey lappend page_name_list $page_name @@ -1477,7 +1477,7 @@ ad_proc -private portal::hidden_elements_list { {-portal_id:required} } { - Returns a list of "hidden" element avaliable to a portal. Use a 1 second cache here + Returns a list of "hidden" element available to a portal. Use a 1 second cache here to fake a per-connection cache. } { return [util_memoize "portal::hidden_elements_list_not_cached -portal_id $portal_id" 1] Index: openacs-4/packages/new-portal/www/themes/kelp-theme/dotlrn/dotlrn-master-kelp.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/themes/kelp-theme/dotlrn/dotlrn-master-kelp.tcl,v diff -u -N -r1.6.2.1 -r1.6.2.2 --- openacs-4/packages/new-portal/www/themes/kelp-theme/dotlrn/dotlrn-master-kelp.tcl 12 Sep 2015 11:06:41 -0000 1.6.2.1 +++ openacs-4/packages/new-portal/www/themes/kelp-theme/dotlrn/dotlrn-master-kelp.tcl 22 Apr 2017 12:33:27 -0000 1.6.2.2 @@ -34,7 +34,7 @@ # at the top of the page, the title of the pages, the fonts of the portlets, etc. # # WARNING: All current portlet themes (table, deco, nada, etc) depend on some -# of the CSS defined below. Be carefull when you edit the CSS below, +# of the CSS defined below. Be careful when you edit the CSS below, # and check how themes use it. # # @@ -207,7 +207,7 @@ } # DRB: default logo for dotlrn is a JPEG provided by Collaboraid. This can - # be replaced by custom gifs if prefered (as is done by SloanSpace) + # be replaced by custom gifs if preferred (as is done by SloanSpace) if { [file exists "$header_img_file-$scope_name.jpg"] } { set header_img_url "$header_img_url-$scope_name.jpg" @@ -274,7 +274,7 @@ # under /dotlrn # DRB: default logo for dotlrn is a JPEG provided by Collaboraid. This can - # be replaced by custom gifs if prefered (as is done by SloanSpace) + # be replaced by custom gifs if preferred (as is done by SloanSpace) if { [file exists "$header_img_file-$scope_name.jpg"] } { set header_img_url "$header_img_url-$scope_name.jpg"