User Tools

Site Tools


code:personnalisation_pluxml_theme_du_gnu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code:personnalisation_pluxml_theme_du_gnu [2017/07/14 11:02]
supergnu au
code:personnalisation_pluxml_theme_du_gnu [2017/07/14 20:22]
supergnu [Codes complet]
Line 185: Line 185:
 ==== Favicon ==== ==== Favicon ====
 Rien de compliqué, il suffit de modifier l'image favicon.png dans le dossier img du thème. Il faut parfois vider le cache du navigateur pour voir le favicon apparaître. Rien de compliqué, il suffit de modifier l'image favicon.png dans le dossier img du thème. Il faut parfois vider le cache du navigateur pour voir le favicon apparaître.
 +
 +==== Sidebar ====
 + J'ai ajouté à la suite de sidebar.php les lignes suivantes afin d'étoffer un peu la sidebar.
 +Ces lignes ajoutent des liens vers des sites que je fréquente souvent, des images et précisent la licence.
 +
 +<code html>
 +<h3>
 + <?php $plxShow->lang('HACKER VAILLANT …'); ?>
 +</h3>
 + <ul class="arch-list unstyled-list">
 + <p>
 + ... rien d'impossible !<br>
 + <a href="http://www.catb.org/hacker-emblem/" target=_blank><img src="<?php $plxShow->template(); ?>/img/140px-Glider.svg_.png" height="100" width="100" ></a><br>
 + Emblème Hacker
 + </p>
 +</ul>
 +<h3>
 + <?php $plxShow->lang('BLOGS FAVORIS'); ?>
 +</h3>
 +
 +<ul class="arch-list unstyled-list">
 + <p>
 + <a href="http://www.cyrille-borne.com" target=_blank>Cyril Borne</a><br>
 + <a href="http://zythom.blogspot.fr" target=_blank>Zythom</a><br>
 + <a href="http://lehollandaisvolant.net" target=_blank>Le Hollandais Volant</a><br>
 + <a href="http://www.warriordudimanche.net" target=_blank>Warrior du dimanche</a><br>
 + <a href="http://www.instructables.com" target=_blank>Instructable</a><br>
 + <a href="http://hackaday.com/" target=_blank>Hackaday</a><br>
 + <a href="http://korben.info/" target=_blank>Korben</a><br>
 + <a href="http://linuxfr.org/" target=_blank>LinuxFr</a><br>
 + <a href="https://www.raspberrypi.org/" target=_blank>Raspberry Pi</a><br>
 + <a href="https://xkcd.com" target=_blank>xkcd</a><br>
 + <a href="http://sebsauvage.net/" target=_blank>sebsauvage (shaarli)</a><br>
 + <a href="http://monorailc.at/cms/" target=_blank>Monorailc.at</a><br>
 + <a href="http://grisebouille.net/" target=_blank>Grise Bouille</a><br>
 + <a href="https://ploum.net/" target=_blank>Ploum</a><br>
 + <a href="https://www.journalduhacker.net/" target=_blank>Journal du Hacker</a><br>
 + </p>
 +</ul>
 +<h3>
 + <?php $plxShow->lang('FIREFOX FOREVER'); ?>
 +</h3>
 +
 +<ul class="arch-list unstyled-list">
 + <p>
 +
 + <a href="https://www.mozilla.org/en-US/firefox/new/" target=_blank><img src="<?php $plxShow->template(); ?>/img/getfirefox.png"></a><br>
 + Utilisez Firefox !
 + </p>
 +</ul>
 +
 +<h3>
 + <?php $plxShow->lang('LICENCE'); ?>
 +</h3>
 +
 +<ul class="arch-list unstyled-list">
 + <p>
 + Tout le contenu de ce site sauf mention particulière est placé sous la Gnu Public Licence (GPLV3) : 
 + <a href="https://www.gnu.org/licenses/gpl.html" target=_blank>https://www.gnu.org/licenses/gpl.html</a>
 + </p>
 +</ul>
 +
 +</code>
 +
  
 ===== Codes complet ===== ===== Codes complet =====
Line 632: Line 696:
 </code> </code>
  
 +<code html sidebar.php>
 +<?php if(!defined('PLX_ROOT')) exit; ?>
 +
 + <aside class="aside col sml-12 med-4">
 +
 + <h3>
 + <?php $plxShow->lang('CATEGORIES'); ?>
 + </h3>
 +
 + <ul class="cat-list unstyled-list">
 + <?php $plxShow->catList('','<li id="#cat_id"><a class="#cat_status" href="#cat_url" title="#cat_name">#cat_name</a> (#art_nb)</li>'); ?>
 + </ul>
 +
 + <h3>
 + <?php $plxShow->lang('LATEST_ARTICLES'); ?>
 + </h3>
 +
 + <ul class="lastart-list unstyled-list">
 + <?php $plxShow->lastArtList('<li><a class="#art_status" href="#art_url" title="#art_title">#art_title</a></li>'); ?>
 + </ul>
 +
 + <h3>
 + <?php $plxShow->lang('TAGS'); ?>
 + </h3>
 +
 + <ul class="tag-list">
 + <?php $plxShow->tagList('<li class="tag #tag_size"><a class="#tag_status" href="#tag_url" title="#tag_name">#tag_name</a></li>'); ?>
 + </ul>
 +
 + <h3>
 + <?php $plxShow->lang('LATEST_COMMENTS'); ?>
 + </h3>
 +
 + <ul class="lastcom-list unstyled-list">
 + <?php $plxShow->lastComList('<li><a href="#com_url">#com_author '.$plxShow->getLang('SAID').' : #com_content(34)</a></li>'); ?>
 + </ul>
 +
 + <h3>
 + <?php $plxShow->lang('ARCHIVES'); ?>
 + </h3>
 +
 + <ul class="arch-list unstyled-list">
 + <?php $plxShow->archList('<li id="#archives_id"><a class="#archives_status" href="#archives_url" title="#archives_name">#archives_name</a> (#archives_nbart)</li>'); ?>
 + </ul>
 +
 + <h3>
 + <?php $plxShow->lang('HACKER VAILLANT …'); ?>
 + </h3>
 +
 + <ul class="arch-list unstyled-list">
 + <p>
 + ... rien d'impossible !<br>
 + <a href="http://www.catb.org/hacker-emblem/" target=_blank><img src="<?php $plxShow->template(); ?>/img/140px-Glider.svg_.png" height="100" width="100" ></a><br>
 + Emblème Hacker
 + </p>
 + </ul>
 +
 + <h3>
 + <?php $plxShow->lang('BLOGS FAVORIS'); ?>
 + </h3>
 +
 + <ul class="arch-list unstyled-list">
 + <p>
 + <a href="http://www.cyrille-borne.com" target=_blank>Cyril Borne</a><br>
 + <a href="http://zythom.blogspot.fr" target=_blank>Zythom</a><br>
 + <a href="http://lehollandaisvolant.net" target=_blank>Le Hollandais Volant</a><br>
 + <a href="http://www.warriordudimanche.net" target=_blank>Warrior du dimanche</a><br>
 + <a href="http://www.instructables.com" target=_blank>Instructable</a><br>
 + <a href="http://hackaday.com/" target=_blank>Hackaday</a><br>
 + <a href="http://korben.info/" target=_blank>Korben</a><br>
 + <a href="http://linuxfr.org/" target=_blank>LinuxFr</a><br>
 + <a href="https://www.raspberrypi.org/" target=_blank>Raspberry Pi</a><br>
 + <a href="https://xkcd.com" target=_blank>xkcd</a><br>
 + <a href="http://sebsauvage.net/" target=_blank>sebsauvage (shaarli)</a><br>
 + <a href="http://monorailc.at/cms/" target=_blank>Monorailc.at</a><br>
 + <a href="http://grisebouille.net/" target=_blank>Grise Bouille</a><br>
 + <a href="https://ploum.net/" target=_blank>Ploum</a><br>
 + <a href="https://www.journalduhacker.net/" target=_blank>Journal du Hacker</a><br>
 + </p>
 + </ul>
 +
 + <h3>
 + <?php $plxShow->lang('FIREFOX FOREVER'); ?>
 + </h3>
 +
 + <ul class="arch-list unstyled-list">
 + <p>
 +
 + <a href="https://www.mozilla.org/en-US/firefox/new/" target=_blank><img src="<?php $plxShow->template(); ?>/img/getfirefox.png"></a><br>
 + Utilisez Firefox !
 + </p>
 + </ul>
 +
 + <h3>
 + <?php $plxShow->lang('LICENCE'); ?>
 + </h3>
 +
 + <ul class="arch-list unstyled-list">
 + <p>
 + Tout le contenu de ce site sauf mention particulière est placé sous la Gnu Public Licence (GPLV3) : 
 + <a href="https://www.gnu.org/licenses/gpl.html" target=_blank>https://www.gnu.org/licenses/gpl.html</a>
 + </p>
 + </ul>
 +
 + </aside>
 +
 +</code>
code/personnalisation_pluxml_theme_du_gnu.txt · Last modified: 2017/07/14 20:22 by supergnu