Différences entre les versions de « GWiki:Fichier modifié »

1 599 octets ajoutés ,  27 mai 2009 à 03:49
m
aucun résumé de modification
m
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 83 : Ligne 83 :
$request->getVal( 'redirect' ) != 'no'/* && // ... unless explicitly told not to
$request->getVal( 'redirect' ) != 'no'/* && // ... unless explicitly told not to
// ... and the article is not a non-redirect image page with associated file
// ... and the article is not a non-redirect image page with associated file
!( is_object( $file ) && $file->exists() && !$file->getRedirected() ) */) {
!( is_object( $file ) && $file->exists() && !$file->getRedirected() ) */)
##### END HACK #####
##### END HACK #####
</pre>
</pre>
Ligne 121 : Ligne 121 :
</pre>
</pre>


Ajoût de la balise google et déplacement du bloc 'p-logo' (voir plus bas)
Ajoût de la balise google, de la bannière de publicité et déplacement du bloc 'p-logo' (voir plus bas)
<pre>
<pre>
<!--googleoff: snippet-->
<!--googleoff: snippet-->
<!-- pub -->
<?php
global $wgUser;
if (!$wgUser->isLoggedIn()) {
?>
<div id="p-advertisement" class="portlet">
<!-- COMCLICK France : Haut de page -->
<iframe src="http://fl01.ct2.comclick.com/aff_frame.ct2?id_regie=1&num_editeur=18443&num_site=1&num_emplacement=10" WIDTH="728" HEIGHT="90" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" bordercolor="#000000">
</iframe>
<!-- FIN TAG -->
</div>
<?php } ?>
<!-- end pub -->
<div class="portlet" id="p-logo">
<div class="portlet" id="p-logo">
<a style="background-image: url(<?php $this->text('logopath') ?>);" <?php
<a style="background-image: url(<?php $this->text('logopath') ?>);" <?php
Ligne 131 : Ligne 144 :
<div id="globalWrapper">
<div id="globalWrapper">
<div id="column-content">
<div id="column-content">
</pre>
Déplacement des liens interlangues ("<?php $this->languageBox(); ?>")
<pre>
<?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
<?php $this->languageBox(); ?>
<h1 id="firstHeading" class="firstHeading"><?php $this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?></h1>
</pre>
A commenter
<pre>
//if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true;
</pre>
Remplacer la fonction languageBox()
<pre>
function languageBox() {
if( $this->data['language_urls'] ) {
?>
<div style="font-size: 1em; font-style: italic; float: right; margin-top: 5px; overflow: hidden;">
<?php foreach($this->data['language_urls'] as $langlink) { ?>
<a href="<?php echo htmlspecialchars($langlink['href']) ?>">
<img src="<?php $this->text('stylepath' ) ?>/monobook/icone/interlanguage/<?php echo $langlink['class'] ?>.png?<?php echo $GLOBALS['wgStyleVersion'] ?>" title="<?php echo $langlink['text'] ?>" alt="<?php echo $langlink['text'] ?>"/>
</a>
<?php } ?>
</div>
<?php
}
}
</pre>
</pre>