Eledicss

[ Version française : ]

Eledicss is a CSS2 editor (GPL licensed) implemented as a server-side PHP script. It allows editing CSS files using a web browser.

It can be installed both on UNIX and Windows webservers. It was tested on PHP 4.1.2 on server side, and Mozilla 1.0 on client side. Eledicss should safetly work on all PHP 4.X versions.

Download

Go there and click "Download".

Installation

Untar the downloaded tgz and copy the "eledicss.php" file to the place where you want to use it in your DocumentRoot tree.

If you want to directly change the css files (online), they must be writable by the webserver.

Important Note : Eledicss allows you to navigate through the directories of your webserver. This could be a security flaw, so when installing to a production server, put it in a password protected directory (see the example on an Apache webserver at the end of this documentation).

Usage

Open a web browser, and point it to the URL where eledicss was installed :
- http://myserver/eledicss/eledicss.php

1- welcome

2- choose the right directory

3- choose the CSS file

4- edit the CSS file

5- edit one property (double-click it)

6- change the value

7- edit several properties

8- edit all the CSS (double-click the top bar)

Installation : an example

You are on an Apache webserver whose DocumentRoot is <DOCUMENTROOT>. The tar file was downloaded into /tmp.


  $ cd /tmp
  $ tar xzvf eledicss.XX.tgz
  $ cd <DOCUMENROOT>
  $ mkdir eledicss
  $ cd eledicss
  $ cp /tmp/eledicss/eledicss.php .

Then protect your eledicss directory with a password :


  $ cd <DOCUMENTROOT>/eledicss
  $ cat .htaccess
  AuthType Basic
  AuthName "eledicss"
  AuthUserFile <DOCUMENTROOT>/eledicss/.htpasswds
  Require valid-user
  $ htpasswd -c .htpasswds eledicss_user

To make your CSS writable by your www-data web server (example) :


  $ cd <DOCUMENTROOT>
  $ chown -R :www-data *.css
  $ chmod -R g+rw *.css

Debug the script

A debug version of eledicss can be downloaded from the CVS. This version contains all debug code which will allow you to trace the parsing of the CSS when it is called. All operations are logged into a debug file. To generate a non-debug version of the script, use the makeprod.sh script (also in CVS).

Quoi de Neuf ?

Extrait du blog Eledo

Mise en ligne de la version 2 de "Imagine ton Futur"

(15 avril 2008)

La passerelle entre les jeunes, les professionnels et les enseignants. Imagine ton futur répond à une véritable demande du corps enseignant. Imagine ton futur prend appui sur les centres (...)

Mise en ligne du site : lesverts-crlr.org

(14 janvier 2008)

Constitué pour l’essentiel d’infos concrètes, de données factuelles et de documents, lesverts-crlr.org n’est pas un site partisan mais se veut un lien avec les citoyens, (...)

Ouverture du site du SYMTOMA

(17 décembre 2007)

Le SYMTOMA permet l’application locale du Plan Départemental d’Elimination des Déchets Ménagers et Assimilés du GARD qui a été approuvé par le Préfet en 1996. [ SYndicat Mixte de (...)

© Copyright 2007 : Eledo.com - Design by : AdDesign - Mentions Légales - Plan du site