[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.79,1.80

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
In directory internal.geeklog.net:/tmp/cvs-serv29559/admin

Modified Files:
	story.php 
Log Message:
Added hooks for the advanced editor.


Index: story.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** story.php	10 Jan 2003 14:21:28 -0000	1.79
--- story.php	29 Jan 2003 17:08:52 -0000	1.80
***************
*** 169,173 ****
      // Load HTML templates
      $story_templates = new Template($_CONF['path_layout'] . 'admin/story');
!     $story_templates->set_file(array('editor'=>'storyeditor.thtml'));
      $story_templates->set_var('site_url', $_CONF['site_url']);
      $story_templates->set_var('site_admin_url', $_CONF['site_admin_url']);
--- 169,177 ----
      // Load HTML templates
      $story_templates = new Template($_CONF['path_layout'] . 'admin/story');
!     if (($_CONF['advanced_editor'] == 1) && file_exists ($_CONF['path_layout'] . 'admin/story/storyeditor_advanced.thtml')) {
!         $story_templates->set_file(array('editor'=>'storyeditor_advanced.thtml'));
!     } else {
!         $story_templates->set_file(array('editor'=>'storyeditor.thtml'));
!     }
      $story_templates->set_var('site_url', $_CONF['site_url']);
      $story_templates->set_var('site_admin_url', $_CONF['site_admin_url']);





More information about the geeklog-cvs mailing list