Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_modules / htmlpages [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 28 Jul 2002 17:04:51 | postnuke_modules/htmlpages | pnadmin.php,1.10,1.11 pninit.php,1.3,1.4 | Andrea M. |
| fixed stuff | |||
Update of /home/cvsroot/postnuke_modules/htmlpages
In directory ns7.hostnuke.net:/tmp/cvs-serv2164
Modified Files:
pnadmin.php pninit.php
Log Message:
fixed stuff
Index: pnadmin.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/htmlpages/pnadmin.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** pnadmin.php 28 Jul 2002 16:34:32 -0000 1.10
--- pnadmin.php 28 Jul 2002 17:04:49 -0000 1.11
***************
*** 100,104 ****
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
! $row[] = $output->Text(pnVarPrepForDisplay(_HTMLPRINTLINK));
$row[] = $output->FormCheckbox('printlink', 0,'1', 'checkbox');
$output->SetOutputMode(_PNH_KEEPOUTPUT);
--- 100,106 ----
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
! $output->SetInputMode(_PNH_VERBATIMINPUT);
! $row[] = $output->Text(_ADD._READFR.' '._LINK);
! $output->SetInputMode(_PNH_PARSEINPUT);
$row[] = $output->FormCheckbox('printlink', 0,'1', 'checkbox');
$output->SetOutputMode(_PNH_KEEPOUTPUT);
***************
*** 257,261 ****
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
! $row[] = $output->Text(pnVarPrepForDisplay(_HTMLPRINTLINK));
$row[] = $output->FormCheckbox('printlink', pnVarPrepForDisplay($item['printlink']),'1', 'checkbox');
$output->SetOutputMode(_PNH_KEEPOUTPUT);
--- 259,266 ----
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
! $output->SetInputMode(_PNH_VERBATIMINPUT);
! $row[] = $output->Text(_ADD._READFR.' '._LINK);
! $output->SetInputMode(_PNH_PARSEINPUT);
!
$row[] = $output->FormCheckbox('printlink', pnVarPrepForDisplay($item['printlink']),'1', 'checkbox');
$output->SetOutputMode(_PNH_KEEPOUTPUT);
***************
*** 502,505 ****
--- 507,511 ----
'numitems' => pnModGetVar('htmlpages',
'itemsperpage')));
+ $output->SetInputMode(_PNH_VERBATIMINPUT);
$sortedby=_HTMLPAGESTITLE;
if ($orderby=='pid') {
***************
*** 510,514 ****
$sortedby=_HTMLPAGESTIME;
} elseif ($orderby=='printlink') {
! $sortedby=_HTMLPRINTLINK;
} elseif ($orderby=='uid') {
$sortedby=_HTMLPAGESUID;
--- 516,520 ----
$sortedby=_HTMLPAGESTIME;
} elseif ($orderby=='printlink') {
! $sortedby=_READFR.' '._LINK;
} elseif ($orderby=='uid') {
$sortedby=_HTMLPAGESUID;
***************
*** 527,531 ****
$order='ASC';
}
! $output->SetInputMode(_PNH_VERBATIMINPUT);
$col[]=$output->URL(pnModURL('htmlpages','admin','view',
array('orderby' =>'pid',
--- 533,537 ----
$order='ASC';
}
!
$col[]=$output->URL(pnModURL('htmlpages','admin','view',
array('orderby' =>'pid',
***************
*** 544,549 ****
'order' =>$order)),
_HTMLPAGESTIME) ;
! $img=_ADD." <img src=\"modules/".pnModGetName()."/pnimages/print.gif\" border=0
! title=\""._PRFRVIEW."\" alt=\""._PRFRVIEW."\" align=\"bottom\">"._LINK;
$col[]=$output->URL(pnModURL('htmlpages','admin','view',
array('orderby' =>'printlink',
--- 550,554 ----
'order' =>$order)),
_HTMLPAGESTIME) ;
! $img=_ADD._READFR.' '._LINK;
$col[]=$output->URL(pnModURL('htmlpages','admin','view',
array('orderby' =>'printlink',
Index: pninit.php
===================================================================
RCS file: /home/cvsroot/postnuke_modules/htmlpages/pninit.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pninit.php 23 Jul 2002 18:27:27 -0000 1.3
--- pninit.php 28 Jul 2002 17:04:49 -0000 1.4
***************
*** 88,92 ****
case 1.1:
! $sql = "ALTER TABLE $htmlpagestable CHANGE $htmlpagescolumn[title] $htmlpagescolumn[title] VARCHAR(128) NOT NULL ";
$dbconn->Execute($sql);
// Check for an error with the database code, and if so set an
--- 88,93 ----
case 1.1:
! $sql = "ALTER TABLE $htmlpagestable
! CHANGE $htmlpagescolumn[title] $htmlpagescolumn[title] VARCHAR(128) NOT NULL ";
$dbconn->Execute($sql);
// Check for an error with the database code, and if so set an
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |