Breakup post.php into post.php, comment.php, page.php, post-new.php

git-svn-id: http://svn.automattic.com/wordpress/trunk@3563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2006-02-21 06:11:46 +00:00
parent c8e61c99b8
commit 29540c8e2b
13 changed files with 494 additions and 323 deletions

View File

@@ -36,9 +36,9 @@ function addLoadEvent(func) {if ( typeof wpOnload!='function'){wpOnload=func;}el
<script type="text/javascript">
//<![CDATA[
addLoadEvent( function() {
<?php switch ( $pagenow ) : case 'post.php' : ?>
<?php switch ( $pagenow ) : case 'post.php' : case 'post-new.php' : ?>
var manager = new dbxManager('postmeta');
<?php break; case 'page-new.php' : ?>
<?php break; case 'page.php' : case 'page-new.php' : ?>
var manager = new dbxManager('pagemeta');
<?php break; endswitch; ?>
});