Fifth pass at adding key files
This commit is contained in:
1
site/glist/templates/common/README
Normal file
1
site/glist/templates/common/README
Normal file
@ -0,0 +1 @@
|
||||
Note! Do not edit these templates. You should use the template editor in the admin, which saves changes in the local directory. This allows you to recover old templates if you accidentally mess up a template, or compare your customized templates to the original template.
|
13
site/glist/templates/common/globals.txt
Normal file
13
site/glist/templates/common/globals.txt
Normal file
@ -0,0 +1,13 @@
|
||||
# This file is auto generated and contains a perl hash of
|
||||
# your template globals.
|
||||
# Generated on: Fri Dec 5 10:47:23 2003
|
||||
|
||||
{
|
||||
'advanced_editor_background' => '#FFFFFF',
|
||||
'advanced_editor_font' => 'Verdana,Arial,sans-serif',
|
||||
'editor_base_color' => '#c5e1a3',
|
||||
'site_title' => 'Gossamer List',
|
||||
'site_url' => 'http://www.gossamer-threads.com'
|
||||
};
|
||||
|
||||
# vim:syn=perl:ts=4:noet
|
15
site/glist/templates/common/local/globals.txt
Normal file
15
site/glist/templates/common/local/globals.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# This file is auto generated and contains a perl hash of
|
||||
# your template globals.
|
||||
# Generated on: Mon Oct 30 09:48:53 2017
|
||||
|
||||
{
|
||||
'fetch_lists' => 'sub {
|
||||
my $tab = $DB->table(\'Lists\');
|
||||
$tab->select_options(\'ORDER BY lst_title\');
|
||||
|
||||
my $lists = $tab->select()->fetchall_hashref;
|
||||
return { lists_loop => $lists };
|
||||
}'
|
||||
};
|
||||
|
||||
# vim:syn=perl:ts=4:noet
|
10
site/glist/templates/common/utils.js
Normal file
10
site/glist/templates/common/utils.js
Normal file
@ -0,0 +1,10 @@
|
||||
var isSafari = <%if is_safari%>true<%else%>false<%endif%>;
|
||||
<%if is_safari%>var safariVersion = '<%safari_version%>';<%endif%>
|
||||
var isIE = <%if is_ie%>true<%else%>false<%endif%>;
|
||||
<%if is_ie%>var ieVersion = '<%ie_version%>';<%endif%>
|
||||
var isOpera = <%if is_opera%>true<%else%>false<%endif%>;
|
||||
<%if is_opera%>var operaVersion = '<%opera_version%>';<%endif%>
|
||||
var isMozilla = <%if is_mozilla%>true<%else%>false<%endif%>;
|
||||
<%if is_mozilla%>var mozillaVersion = '<%mozilla_version%>';<%endif%>
|
||||
var isKonqueror = <%if is_konqueror%>true<%else%>false<%endif%>;
|
||||
<%if is_konqueror%>var konquerorVersion = '<%konqueror_version%>';<%endif%>
|
Reference in New Issue
Block a user