Browse Source

nettoyage et rangement

master
cedric@yterium.com 11 years ago
parent
commit
373a2f99b2
  1. 10
      .gitattributes
  2. 0
      css/img/delete.gif
  3. 0
      css/img/star.png
  4. 2
      css/jquery.rating.css
  5. 4
      css/notation.v2.css
  6. BIN
      img_pack/notation.gif
  7. BIN
      img_pack/notation.png
  8. BIN
      img_pack/note.gif
  9. BIN
      img_pack/poids.gif
  10. BIN
      img_pack/spip_mecano_24.png
  11. BIN
      img_pack/star.gif
  12. 28
      inc/notation.php

10
.gitattributes vendored

@ -4,6 +4,8 @@ balise/formulaire_jaime.php -text
balise/formulaire_jaime_jaimepas.php -text
balise/formulaire_notation.php -text
base/notation.php -text
css/img/delete.gif -text
css/img/star.png -text
css/jquery.rating.css -text
css/notation.v2.css -text
formulaires/activer_notes_objet.html -text
@ -18,16 +20,8 @@ formulaires/jaime_jaimepas.html -text
formulaires/jaime_jaimepas.php -text
formulaires/notation.html -text
formulaires/notation.php -text
img_pack/delete.gif -text
img_pack/notation-moins.gif -text
img_pack/notation-plus.gif -text
img_pack/notation.gif -text
img_pack/notation.png -text
img_pack/note.gif -text
img_pack/poids.gif -text
img_pack/spip_mecano_24.png -text
img_pack/star.gif -text
img_pack/star.png -text
inc/articles_accepter_notes.php -text
inc/notation.php -text
inc/notation_autorisations.php -text

0
img_pack/delete.gif → css/img/delete.gif

Before

Width:  |  Height:  |  Size: 752 B

After

Width:  |  Height:  |  Size: 752 B

0
img_pack/star.png → css/img/star.png

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

2
css/jquery.rating.css

@ -1,6 +1,6 @@
/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */
div.rating-cancel,div.star-rating{float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden}
div.star-rating,div.star-rating a{background:url('../img_pack/star.png') no-repeat 0 0px}
div.star-rating,div.star-rating a{background:url('img/star.png') no-repeat 0 0px}
div.rating-cancel a,div.star-rating a{display:block;width:16px;height:100%;background-position:0 0px;border:0}
div.star-rating-on a{background-position:0 -16px!important}
div.star-rating-hover a{background-position:0 -32px}

4
css/notation.v2.css

@ -11,8 +11,8 @@
/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */
div.rating-cancel,div.star-rating{float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden}
div.star-rating,div.star-rating a{background:url('../img_pack/star.png') no-repeat 0 0px}
div.rating-cancel,div.rating-cancel a{background:url('../img_pack/delete.gif') no-repeat 0 -16px}
div.star-rating,div.star-rating a{background:url('img/star.png') no-repeat 0 0px}
div.rating-cancel,div.rating-cancel a{background:url('img/delete.gif') no-repeat 0 -16px}
div.rating-cancel a,div.star-rating a{display:block;width:16px;height:100%;background-position:0 0px;border:0}
div.star-rating-on a{background-position:0 -16px!important}
div.rating-cancel.star-rating-on a{background-position:0 0!important}

BIN
img_pack/notation.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

BIN
img_pack/notation.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
img_pack/note.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 203 B

BIN
img_pack/poids.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 734 B

BIN
img_pack/spip_mecano_24.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
img_pack/star.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 815 B

28
inc/notation.php

@ -10,34 +10,6 @@
if (!defined("_ECRIRE_INC_VERSION")) return;
/**
* Fonction pour commencer l'affichage de la page dans exec/
* a virer en passant la conf depuis l'onglet CFG ?
*/
function notation_commencer_page(){
$commencer_page = charger_fonction("commencer_page","inc");
echo $commencer_page(_T('notation:notation'), "naviguer", "notation");
include_spip('inc/autoriser');
if (!autoriser('configurer')){
// Pas d'acces
echo debut_gauche("",true);
echo debut_droite("",true);
echo gros_titre("Plugin "._T('notation:notation'), "", false);
return true;
}
// Informations
echo debut_gauche("",true);
echo debut_droite("",true);
// Afficher les onglets
echo gros_titre("Plugin "._T('notation:notation'), "", false);
return true;
}
/**
* Retourne la configuration de la ponderation (defaut : 30)
* @return int : valeur de ponderation

Loading…
Cancel
Save