[geeklog-cvs] geeklog-1.3/public_html/admin/plugins/staticpages index.php,1.13,1.14
dhaun at geeklog.net
dhaun at geeklog.net
Wed Jan 29 12:08:54 EST 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin/plugins/staticpages
In directory internal.geeklog.net:/tmp/cvs-serv29559/admin/plugins/staticpages
Modified Files:
index.php
Log Message:
Added hooks for the advanced editor.
Index: index.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/plugins/staticpages/index.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** index.php 10 Nov 2002 14:15:26 -0000 1.13
--- index.php 29 Jan 2003 17:08:52 -0000 1.14
***************
*** 63,67 ****
} else {
$sp_template = new Template($_CONF['path'] . 'plugins/staticpages/templates/admin');
! $sp_template->set_file('form','editor.thtml');
$sp_template->set_var('site_url', $_CONF['site_url']);
$sp_template->set_var('site_admin_url', $_CONF['site_admin_url']);
--- 63,71 ----
} else {
$sp_template = new Template($_CONF['path'] . 'plugins/staticpages/templates/admin');
! if (($_CONF['advanced_editor'] == 1) && file_exists ($_CONF['path'] . 'plugins/staticpages/templates/admin/editor_advanced.thtml')) {
! $sp_template->set_file('form','editor_advanced.thtml');
! } else {
! $sp_template->set_file('form','editor.thtml');
! }
$sp_template->set_var('site_url', $_CONF['site_url']);
$sp_template->set_var('site_admin_url', $_CONF['site_admin_url']);
More information about the geeklog-cvs
mailing list