Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8072/include
Modified Files:
functions_entries.inc.php
Log Message:
tweak iframe display some more
Index: functions_entries.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_entries.inc.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- functions_entries.inc.php 29 Nov 2004 10:39:26 -0000 1.13
+++ functions_entries.inc.php 29 Nov 2004 10:53:55 -0000 1.14
@@ -1603,8 +1603,8 @@
</head>
<body style="padding: 0px; margin: 0px;">
- <div id="mainpane" style="padding: 0px; margin: auto; width: 99%;">
- <div id="content" style="padding: 0px; margin: 0px; height: 100%">
+ <div id="mainpane" style="padding: 0px; margin: 5px auto 5px auto; width: 98%;">
+ <div id="content" style="padding: 5px; margin: 0px;">
<?php
// We need to restore GET/POST variables to that depending plugins inside the iframe
// can still fetch all that variables; and we also tighten security by not allowing
@@ -1633,6 +1633,7 @@
switch ($mode) {
case 'save':
+ echo '<div style="float: left; height: 75px"></div>';
$res = serendipity_updertEntry($entry);
if (is_string($res)) {
echo '<div class="serendipity_msg_error">' . ERROR . ': <b>' . $res . '</b></div>';
@@ -1644,16 +1645,19 @@
}
echo '<div class="serendipityAdminMsgSuccess">' . ENTRY_SAVED . '</div>';
}
+ echo '<br style="clear: both" />';
return true;
break;
case 'preview':
+ echo '<div style="float: left; height: 225px"></div>';
$serendipity['smarty_raw_mode'] = true; // Force output of Smarty stuff in the backend
serendipity_smarty_init();
$serendipity['smarty']->assign('is_preview', true);
serendipity_printEntries(array($entry), ($entry['extended'] != '' ? 1 : 0), true);
+ echo '<br style="clear: both" />';
return true;
break;
|