From: Reini U. <ru...@us...> - 2007-02-17 14:15:17
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11981/lib/plugin Modified Files: RateIt.php Log Message: noborder for the recycle bin Index: RateIt.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/RateIt.php,v retrieving revision 1.21 retrieving revision 1.22 diff -u -2 -b -p -d -r1.21 -r1.22 --- RateIt.php 22 Jan 2007 23:50:48 -0000 1.21 +++ RateIt.php 17 Feb 2007 14:15:14 -0000 1.22 @@ -138,5 +138,5 @@ function submitRating(actionImg, page, v var imgSrc = '".$urlprefix."' + escape(page) + '?version=' + version + '&action=".urlencode(_("RateIt"))."&mode=add&rating=' + rating + '&dimension=' + dimension + '&nopurge=1&rand=' + myRand" .(!empty($_GET['start_debug']) ? "+'&start_debug=1'" : '')."; - ".(DEBUG ? '' : '//')."alert('submitRating(\"'+actionImg+'\", \"'+page+'\", '+version+', '+dimension+', '+rating+') => '+imgSrc); + ".(DEBUG & _DEBUG_REMOTE ? '' : '//')."alert('submitRating(\"'+actionImg+'\", \"'+page+'\", '+version+', '+dimension+', '+rating+') => '+imgSrc); document[actionImg].src = imgSrc; } @@ -145,5 +145,5 @@ function deleteRating(actionImg, page, d var imgSrc = '".$urlprefix."' + escape(page) + '?action=".urlencode(_("RateIt"))."&mode=delete&dimension=' + dimension + '&nopurge=1&rand=' + myRand" .(!empty($_GET['start_debug']) ? "+'&start_debug=1'" : '')."; - ".(DEBUG ? '' : '//')."alert('deleteRating(\"'+actionImg+'\", \"'+page+'\", '+version+', '+dimension+')'); + ".(DEBUG & _DEBUG_REMOTE ? '' : '//')."alert('deleteRating(\"'+actionImg+'\", \"'+page+'\", '+version+', '+dimension+')'); document[actionImg].src = imgSrc; } @@ -370,4 +370,5 @@ function deleteRating(actionImg, page, d $a0->pushContent(HTML::img(array('src' => $WikiTheme->getImageUrl("RateIt".$imgPrefix."Cancel"), 'name'=> $imgPrefix.'Cancel', + 'border' => 0, 'alt' => $msg))); $a0->addToolTip($msg); @@ -402,4 +403,7 @@ function deleteRating(actionImg, page, d // $Log$ +// Revision 1.22 2007/02/17 14:15:14 rurban +// noborder for the recycle bin +// // Revision 1.21 2007/01/22 23:50:48 rurban // Do not diplay if not signed in |