People «
Hinque, Christian - LeChi
Personnalisation du thème skeleton [Solved]
Started by Hinque, Christian, edited by Alexis Raimbault on June 25 2010

Geogebra
Started by Hinque, Christian on June 10 2010, edited by Hinque, Christian on June 15 2010

Export vers OpenDocument
Started by LeChi on May 7 2008
Petit up...
Yacs martin saura-t-il se rendre perfectible à ce sujet ?..
Je ne m'attarde pas, j'ai mon yacs en double file...

Yacs on my blog | Suivez le blog Yacs | Yacs Showroom | Plugin Firefox de recherche dans Yetanoz |
Comment mettre à jour tinyMCE? [Solved]
Started by neige1963, edited by Christian on Sep. 4 2009

Bonjour.
Il me semble que FCKEditor prenne totalement en charge les codes yacs.
@+
Comment être notifié de toutes les événements ?
Started by Agnes on Aug. 16 2007
Agnès
Il n'y a pas de problèmes, que des solutions.
Agnès
Il n'y a pas de problèmes, que des solutions.
Overlay planning
Started by Tof on Aug. 5 2008
en fait le test de la ligne 140 est erroné. ça marche par hasard sur mon site car mes membres ont active='R' mais il faut faire le test sur users.capability <> 'A'
Le fichier joint a été mis à jour en conséquence.
Christophe Battarel - Société altairis -
- Planning.zip - By Tof on Sep. 10 2008
- 1.jpg - By LeChi on Sep. 4 2008
Collections : qui peut faire quoi?
Started by LeChi on June 21 2008

Bonjour,
à ma connaissance, non, pas possible. Pas par le fonctionnement http de yacs. Mais par FTP, oui ils peuvent. C'est même le but recherché en quelquees sortes : il suffit qu'ils aient un compte FTP (anonyme ou pas) sur ton serveur, par lequel il leur suffit de déverser leurs quantités de fichiers.
YACs fait le reste : il présente.
-----

Annuaire des sites YACs (new)
Plugin Firefox de recherche dans Yetanoz
Nouvelles fonctions suggérées <- centralisation perso
Sondages publiés (new) <- centralisation perso
Je ne m'attarde pas, j'ai mon yacs en double file...

Yacs on my blog | Suivez le blog Yacs | Yacs Showroom | Plugin Firefox de recherche dans Yetanoz |
Bibliographies
Started by LeChi on May 24 2008, edited by LeChi on June 10 2008

Voici le résultat de mes cellules grises.
----------------------------------------------
<?php/
* décrit une référence de lecture
*
* @see overlays/overlay.php
*
* @author Christian Hinque christian.hinque@laposte.net
* @author McNana
* @author Bernard Paques bernard.paques@bigfoot.com
* @license http://www.gnu.org/copyleft/lesser.txt GNU Lesser General Public License
*/
class Biblio extends Overlay {
/
* build the list of fields for one overlay
*
* @see overlays/overlay.php
*
* @param the hosting attributes
* @return a list of ($label, $input, $hint)
*/
function get_fields($host) {
global $context;
// auteur
$local['label_en'] = 'Author';
$local['label_fr'] = 'Auteur';
$label = i18n::l($local, 'label');
$input = '<input type="text" name="auteur" value ="'.encode_field(isset($this->attributes['auteur'])?$this->attributes['auteur']:'').'" size="45" maxlength="128" />';
$fields[] = array($label, $input);
// maison édition
$local['label_en'] = 'Edition';
$local['label_fr'] = 'Édition';
$label = i18n::l($local, 'label');
$input = '<textarea name="editeur" rows="2" cols="50">'.encode_field(isset($this->attributes['editeur'])?$this->attributes['editeur']:'').'</textarea>';
$fields[] = array($label, $input);
// date de parution
$local['label_en'] = 'Publication date';
$local['label_fr'] = 'Date de parution';
$label = i18n::l($local, 'label');
$input = '<input type="date" name="dateparu" value ="'.encode_field($this->attributes['dateparu']).'" />';
$local['hint_en'] = 'Publication date of the book or publlication month of the magazine';
$local['hint_fr'] = 'Date de parution du livre ou mois de parution de la revue';
$hint = i18n::l($local, 'hint');
$fields[] = array($label, $input, $hint);
// numéro ISBN
$local['label_en'] = 'Reference';
$local['label_fr'] = 'Référence';
$label = i18n::l($local, 'label');
$input = '<input type="text" name="isbn" value ="'.encode_field(isset($this->attributes['isbn'])?$this->attributes['isbn']:'').'" size="45" maxlength="128" />';
$local['hint_en'] = 'Usually, the ISBN identifier';
$local['hint_fr'] = 'L\'identifiant ISBN, le plus souvent';
$hint = i18n::l($local, 'hint');
$fields[] = array($label, $input, $hint);
// niveau
$local['label_en'] = 'Text level';
$local['label_fr'] = 'Niveau de texte';
$label = i18n::l($local, 'label');
$input = '<select name="niveau" >
<option value="'.encode_field($this->attributes['niveau']).'" selected>'.encode_field($this->attributes['niveau']).'</option>
<option value="Vulgarisation">Vulgarisation</option>
<option value="Professionnel">Professionnel</option>
<option value="Etudiant">Etudiant</option>
</select>';
$fields[] = array($label, $input);
// genre
$local['label_en'] = 'Kind of subject';
$local['label_fr'] = 'Genre de sujet';
$label = i18n::l($local, 'label');
$input = '<select name="genre" >
<option value="'.encode_field($this->attributes['genre']).'" selected>'.encode_field($this->attributes['genre']).'</option>
<option value="Architecture">Architecture</option>
<option value="Ingénierie">Ingénierie</option>
<option value="Urbanisme">Urbanisme</option>
</select>';
$fields[] = array($label, $input);
// note
$local = array();
$local['label_en'] = 'Note';
$local['label_fr'] = 'Note';
$label = i18n::l($local, 'label');
$input = '<select name="note">
<option value="'.encode_field($this->attributes['note']).'" selected>'.encode_field($this->attributes['note']).'</option>
<option value="Nul">Nul</option>
<option value="Passable">Passable</option>
<option value="Bien">Bien</option>
<option value="Excellent">Excellent</option>
<option value="Génial">Génial</option>
</select>';
$fields[] = array($label, $input);
return $fields;
}
/
* get an overlaid label
*
* Accepted action codes:
* - 'edit' the modification of an existing object
* - 'delete' the deleting form
* - 'new' the creation of a new object
* - 'view' a displayed object
*
* @see overlays/overlay.php
*
* @param string the target label
* @param string the on-going action
* @return the label to use
*/
function get_label($name, $action='view') {
global $context;
// the target label
switch($name) {
// description label
case 'description':
$local['label_en'] = 'My opinion';
$local['label_fr'] = 'Avis du référenceur';
return i18n::l($local, 'label');
// help panel
case 'help':
if(($action == 'new') || ($action == 'edit'))
return '<p>'.i18n::s('Il faut être le plus précis possible dans les références.').'</p>';
return NULL;
// page title
case 'page_title':
switch($action) {
case 'edit':
$local['label_en'] = 'Update one book review';
$local['label_fr'] = 'Modifiez une fiche de lecture';
return i18n::l($local, 'label');
case 'delete':
$local['label_en'] = 'Delete a book review';
$local['label_fr'] = 'Supprimez une fiche';
return i18n::l($local, 'label');
case 'new':
$local['label_en'] = 'Enter a new book review';
$local['label_fr'] = 'Publiez une nouvelle fiche de lecture';
return i18n::l($local, 'label');
case 'view':
default:
// use the article title as the page title
return NULL;
}
}
// no match
return NULL;
}
/
* display the content of one recipe
*
* Accepted variant codes:
* - 'view' - embedded into the main viewing page
*
* @see overlays/overlay.php
*
* @param string the variant code
* @param array the hosting record
* @return some HTML to be inserted into the resulting page
*/
function get_text($variant='view', $host=NULL) {
global $context;
$local = array();
// add something to zooming views only
if($variant != 'view')
return '';
// text to return
$rows = array();
// note
$localnote['label_en'] = 'Note';
$localnote['label_fr'] = 'Note';
$rows[] = array(i18n::l($localnote, 'label'), $this->attributes['note']);
// niveau de texte
$localniv['label_en'] = 'Text level';
$localniv['label_fr'] = 'Niveau de texte';
$rows[] = array(i18n::l($localniv, 'label'), $this->attributes['niveau']);
// Genre de texte
$localgenre['label_en'] = 'Kind of subject';
$localgenre['label_fr'] = 'Genre de sujet';
$rows[] = array(i18n::l($localgenre, 'label'), $this->attributes['genre']);
// author
$local['label_en'] = 'Author';
$local['label_fr'] = 'Auteur';
$rows[] = array(i18n::l($local, 'label'), $this->attributes['auteur']);
// maison édition
$local['label_en'] = 'Edition';
$local['label_fr'] = 'Edition';
$rows[] = array(i18n::l($local, 'label'), $this->attributes['editeur']);
// reference
$local['label_en'] = 'Reference';
$local['label_fr'] = 'Référence';
$rows[] = array(i18n::l($local, 'label'), $this->attributes['isbn']);
// date de parution
$local['label_en'] = 'Publication date';
$local['label_fr'] = 'Date de parution';
$rows[] = array(i18n::l($local, 'label'), $this->attributes['dateparu']);
if(count($rows))
return Codes::beautify(Skin::table(NULL, $rows));
else
return '';
}
/
* retrieve the content of one modified overlay
*
* @see overlays/overlay.php
*
* @param the fields as filled by the end user
* @return the updated fields
*/
function parse_fields($fields) {
$this->attributes['note'] = $fields['note'];
$this->attributes['auteur'] = $fields['auteur'];
$this->attributes['editeur'] = $fields['editeur'];
$this->attributes['dateparu'] = $fields['dateparu'];
$this->attributes['isbn'] = $fields['isbn'];
$this->attributes['niveau'] = $fields['niveau'];
$this->attributes['genre'] = $fields['genre'];
return $this->attributes;
}
}
?>
Christian Hinque dit LeChi Architecte
YACS 8.3beta31.1, 080401-22:30:55 GMT Style TOTEM 930; PHP 4.4.8 ; MySQL 5.0.44-log
Notification d'ajout d'un article
Started by LeChi, edited by LeChi on June 8 2008

En fait, le site dont je suis actuellement le webmaster est un site de communauté fermée : des étudiants post diplôme d'architecture, concernant la construction durable. Dans une section, on voudrait déposer le sujet des conférenciers suivants et donc avertir chacun de ce programme.
Il y a d'autres sections de type forum, wiki... dans lesquelles chacun peut s'abonner ou pas.
Voilà pour l'explication.
Christian Hinque dit LeChi Architecte
YACS 8.3beta31.1, 080401-22:30:55 GMT Style TOTEM 930; PHP 4.4.8 ; MySQL 5.0.44-log
Sigle "Interdiction de stationner" [Integrated]
Started by LeChi, edited by Christian on June 2 2008

ThierryP :
Je suis passé en version 8.3beta31.1, 080401-22:30:55 GMT,
Je viens de tester à la seconde un nouvel article : il est directement visible par les autres.
Le temps d'acheminement des messages est correct.
Christian Hinque dit LeChi Architecte
YACS 8.3beta31.1, 080401-22:30:55 GMT Style TOTEM 930; PHP 4.4.8 ; MySQL 5.0.44-log
Choix de l'affichage de l'information [Solved]
Started by LeChi on May 24 2008

Christian Hinque dit LeChi Architecte
YACS 8.3beta31.1, 080401-22:30:55 GMT Style TOTEM 930; PHP 4.4.8 ; MySQL 5.0.44-log
Ouverture de liens dans un onglet différent
Started by LeChi on May 17 2008

Actupro
quelques sites yacs : création site internet annuaire pro
Téléphonie VoIp, protocole SIP
Started by LeChi on May 17 2008

mais j'avoue que dans ce domaine je suis totalement incompétent et je laisserai les autres s'exprimerActupro
quelques sites yacs : création site internet annuaire pro
Création de nouveaux utilisateurs
Started by LeChi on May 3 2008

<quote>LeChi : Pourriez-vous nous indiquer la version de Yacs utilisée, et les paramètres utilisateurs que vous avez choisi ? (Panneau de contrôle > paramètres (anciennement "configuration" > personnes (anciennement "utilisateurs").
Je suppose que la gestion des mails est bien activée et opérationnelle dans les paramètres système. Donc partant de là, on va tenter de mieux cerner le problème.</quote>
Pouvez-vous me dire ce que vous entendiez par cette remarque?
Chi
Christian Hinque dit LeChi Architecte
YACS 8.3beta31.1, 080401-22:30:55 GMT Style TOTEM 930; PHP 4.4.8 ; MySQL 5.0.44-log
Collection [Solved]
Started by LeChi on May 5 2008

J'ai trouvé, comme décrit, le moyen de placer dans le menu.
Merci
Chi
Christian Hinque dit LeChi Architecte
YACS 8.3beta31.1, 080401-22:30:55 GMT Style TOTEM 930; PHP 4.4.8 ; MySQL 5.0.44-log
Business cardHinque, Christian
Architecte
Cosnes-et-Romain - Lorraine









Websites made with Yacs


Alexis Raimbault webmaster free-lance