[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: wiki/template preview.php,1.3,1.4
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: wiki/template preview.php,1.3,1.4 |
Date: |
Tue, 04 Mar 2003 17:56:13 -0500 |
Update of /cvsroot/phpgroupware/wiki/template
In directory subversions:/tmp/cvs-serv19538/template
Modified Files:
preview.php
Log Message:
added option to always have the Preview under the Editor
Index: preview.php
===================================================================
RCS file: /cvsroot/phpgroupware/wiki/template/preview.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** preview.php 3 Mar 2003 14:16:25 -0000 1.3
--- preview.php 4 Mar 2003 22:56:10 -0000 1.4
***************
*** 17,25 ****
function template_preview($args)
{
! global $EditRows, $EditCols, $categories, $UserName, $comment, $PrefsScript;
template_common_prologue(array('norobots' => 1,
! 'title' => 'Previewing ' . $args['page'],
! 'heading' => 'Previewing ',
'headlink' => $args['page'],
'headsufx' => '',
--- 17,27 ----
function template_preview($args)
{
! global $EditRows, $EditCols, $categories, $UserName, $comment,
$PrefsScript, $EditWithPreview;
!
! $title = $EditWithPreview ? 'Editing' : 'Previewing';
template_common_prologue(array('norobots' => 1,
! 'title' => $title . ' ' . $args['page'],
! 'heading' => $title . ' ',
'headlink' => $args['page'],
'headsufx' => '',
***************
*** 65,69 ****
</div>
</form>
! <h1>Preview</h1>
<hr align=left width=99% />
<?php print $args['html']; ?>
--- 67,75 ----
</div>
</form>
! <?php global $EditWithPreview;
! if (!$EditWithPreview) {
! echo "<h1>Preview</h1>\n";
! }
! ?>
<hr align=left width=99% />
<?php print $args['html']; ?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: wiki/template preview.php,1.3,1.4,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: wiki config.php,1.4,1.5
- Next by Date:
[Phpgroupware-cvs] CVS: felamimail/setup phpgw_en.lang,1.1.1.1.2.4,1.1.1.1.2.5 phpgw_fi.lang,1.1.2.2,1.1.2.3 phpgw_fr.lang,1.1.2.7,1.1.2.8 phpgw_ja.lang,1.1.1.1,1.1.1.1.2.1 phpgw_pl.lang,1.1.2.2,1.1.2.3 phpgw_pt.lang,1.1.1.1.2.1,1.1.1.1.2.2
- Previous by thread:
[Phpgroupware-cvs] CVS: wiki config.php,1.4,1.5
- Next by thread:
[Phpgroupware-cvs] CVS: felamimail/setup phpgw_en.lang,1.1.1.1.2.4,1.1.1.1.2.5 phpgw_fi.lang,1.1.2.2,1.1.2.3 phpgw_fr.lang,1.1.2.7,1.1.2.8 phpgw_ja.lang,1.1.1.1,1.1.1.1.2.1 phpgw_pl.lang,1.1.2.2,1.1.2.3 phpgw_pt.lang,1.1.1.1.2.1,1.1.1.1.2.2
- Index(es):