[geeklog-cvs] geeklog-1.3/public_html comment.php,1.38,1.39 submit.php,1.48,1.49
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
In directory internal.geeklog.net:/tmp/cvs-serv29559
Modified Files:
comment.php submit.php
Log Message:
Added hooks for the advanced editor.
Index: comment.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/comment.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** comment.php 13 Jan 2003 18:54:45 -0000 1.38
--- comment.php 29 Jan 2003 17:08:52 -0000 1.39
***************
*** 150,154 ****
$comment_template = new Template($_CONF['path_layout'] . 'comment');
! $comment_template->set_file('form','commentform.thtml');
$comment_template->set_var('site_url', $_CONF['site_url']);
$comment_template->set_var('start_block_postacomment', COM_startBlock($LANG03[1]));
--- 150,158 ----
$comment_template = new Template($_CONF['path_layout'] . 'comment');
! if (($_CONF['advanced_editor'] == 1) && file_exists ($_CONF['path_layout'] . 'comment/commentform_advanced.thtml')) {
! $comment_template->set_file('form','commentform_advanced.thtml');
! } else {
! $comment_template->set_file('form','commentform.thtml');
! }
$comment_template->set_var('site_url', $_CONF['site_url']);
$comment_template->set_var('start_block_postacomment', COM_startBlock($LANG03[1]));
Index: submit.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/submit.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** submit.php 1 Jan 2003 20:02:19 -0000 1.48
--- submit.php 29 Jan 2003 17:08:52 -0000 1.49
***************
*** 352,356 ****
$storyform = new Template($_CONF['path_layout'] . 'submit');
! $storyform->set_file('storyform','submitstory.thtml');
$storyform->set_var('site_url', $_CONF['site_url']);
$storyform->set_var('lang_username', $LANG12[27]);
--- 352,360 ----
$storyform = new Template($_CONF['path_layout'] . 'submit');
! if (($_CONF['advanced_editor'] == 1) && file_exists ($_CONF['path_layout'] . 'submit/submitstory_advanced.thtml')) {
! $storyform->set_file('storyform','submitstory_advanced.thtml');
! } else {
! $storyform->set_file('storyform','submitstory.thtml');
! }
$storyform->set_var('site_url', $_CONF['site_url']);
$storyform->set_var('lang_username', $LANG12[27]);
More information about the geeklog-cvs
mailing list