finish to purge trezo module
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 30 Jul 2006 10:41:32 +0000 (10:41 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 30 Jul 2006 10:41:32 +0000 (10:41 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@711 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs.net/.htaccess
htdocs/.htaccess
templates/trezo/choix_date.tpl [deleted file]
templates/trezo/gere_operations.tpl [deleted file]
templates/trezo/index.tpl [deleted file]

index 7b98184..addfb4c 100644 (file)
@@ -1,7 +1,7 @@
 Options +FollowSymLinks
 RewriteEngine on
 
-RewriteBase /~x2001corpet
+RewriteBase /~x2000habouzit
 
 # wiki
 
index 54469c6..73d78b6 100644 (file)
@@ -1,7 +1,7 @@
 Options +FollowSymLinks
 RewriteEngine on
 
-RewriteBase /~x2001corpet
+RewriteBase /~x2000habouzit
 
 # wiki
 
diff --git a/templates/trezo/choix_date.tpl b/templates/trezo/choix_date.tpl
deleted file mode 100644 (file)
index b9b5ee5..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{**************************************************************************}
-{*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
-{*  http://opensource.polytechnique.org/                                  *}
-{*                                                                        *}
-{*  This program is free software; you can redistribute it and/or modify  *}
-{*  it under the terms of the GNU General Public License as published by  *}
-{*  the Free Software Foundation; either version 2 of the License, or     *}
-{*  (at your option) any later version.                                   *}
-{*                                                                        *}
-{*  This program is distributed in the hope that it will be useful,       *}
-{*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
-{*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
-{*  GNU General Public License for more details.                          *}
-{*                                                                        *}
-{*  You should have received a copy of the GNU General Public License     *}
-{*  along with this program; if not, write to the Free Software           *}
-{*  Foundation, Inc.,                                                     *}
-{*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
-{*                                                                        *}
-{**************************************************************************}
-
-<form method="post" action="{$platal->path}">
-  <div class="center">
-    <input type="hidden" name="action" value="lister" />
-    Afficher la période suivante :
-    <select name="mois" size="1">
-      {foreach key=key item=item from=$month_arr}
-      <option value="{$key}" {if $mois_sel eq $key}selected="selected"{/if}>{$item}</option>
-      {/foreach}
-    </select>
-    <input type="text" name="annee" size="10" value="{$smarty.request.annee|default:$annee_sel}" />
-    <input type="submit" value="lister" />
-  </div>
-</form>
-
-{* vim:set et sw=2 sts=2 sws=2: *}
diff --git a/templates/trezo/gere_operations.tpl b/templates/trezo/gere_operations.tpl
deleted file mode 100644 (file)
index 7a97822..0000000
+++ /dev/null
@@ -1,158 +0,0 @@
-{**************************************************************************}
-{*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
-{*  http://opensource.polytechnique.org/                                  *}
-{*                                                                        *}
-{*  This program is free software; you can redistribute it and/or modify  *}
-{*  it under the terms of the GNU General Public License as published by  *}
-{*  the Free Software Foundation; either version 2 of the License, or     *}
-{*  (at your option) any later version.                                   *}
-{*                                                                        *}
-{*  This program is distributed in the hope that it will be useful,       *}
-{*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
-{*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
-{*  GNU General Public License for more details.                          *}
-{*                                                                        *}
-{*  You should have received a copy of the GNU General Public License     *}
-{*  along with this program; if not, write to the Free Software           *}
-{*  Foundation, Inc.,                                                     *}
-{*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
-{*                                                                        *}
-{**************************************************************************}
-
-{if $smarty.request.action eq "edit"}
-<h1>
-  Gestion des opérations de trésorerie
-</h1>
-
-<form method="post" action="{$platal->path}">
-  <table class="bicol">
-    <tr>
-      <th colspan="2">
-        {if $op_id}
-        Modifier une opération
-        {else}
-        Ajouter une opération
-        {/if}
-      </th>
-    </tr>
-    <tr>
-      <td>Date (DD/MM/YYYY)</td>
-      <td><input type="text" name="op_date" size="40"
-        value="{$op_date|date_format:"%d/%m/%Y"}" /></td>
-    </tr>
-    <tr>
-      <td>Description libre</td>
-      <td><input type="text" name="op_label" size="40" value="{$op_label}" /></td>
-    </tr>
-    <tr>
-      <td>Débit</td>
-      <td><input type="text" name="op_debit" size="40" value="{$op_debit}" /></td>
-    </tr>
-    <tr>
-      <td>Crédit</td>
-      <td><input type="text" name="op_credit" size="40" value="{$op_credit}" /></td>
-    </tr>
-    <tr>
-      <td class="center" colspan="2">
-        <input type="hidden" name="op_id" value="{$op_id}" />
-        <input type="hidden" name="action" value="update" />
-        <input type="hidden" name="annee" value="{$annee_sel}" />
-        <input type="hidden" name="mois" value="{$mois_sel}" />
-        <input type="submit" value="enregistrer" /> 
-      </td>
-    </tr>
-  </table>
-</form>
-
-<a href="{$platal->path}">retour</a>
-{elseif $smarty.request.action eq "update" && $op_id}
-<strong>modification de l'opération</strong>
-{elseif $smarty.request.action eq "update"}
-<strong>ajout de l'opération</strong>
-{elseif $smarty.request.action eq "del"}
-<strong>suppression de l'opération</strong>
-{/if}
-
-{if $smarty.request.action neq "edit"}
-<h1>
-  Tr&eacute;sorerie pour {$mon_sel}
-</h1>
-
-<table class="bicol">
-<tr>
-  <th>Solde en début de mois</th>
-</tr>
-<tr>
-  <td class="right">{$from_solde}</td>
-</tr>
-</table>
-
-<br />
-
-<table class="bicol" style="font-size: 90%">
-  <tr>
-    <th>Id</th>
-    <th>Date</th>
-    <th>Description</th>
-    <th>Débit</th>
-    <th>Crédit</th>
-    <th>Action</th>
-  </tr>
-  <tr class="impair">
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
-    <td><strong>Nouvelle opération</strong></td>
-    <td>&nbsp;</td>
-    <td>&nbsp;</td>
-    <td>
-      <form method="post" action="{$platal->path}">
-        <div>
-          <input type="hidden" name="op_id" value="0" />
-          <input type="hidden" name="action" value="edit" />
-          <input type="hidden" name="annee" value="{$annee_sel}" />
-          <input type="hidden" name="mois" value="{$mois_sel}" />
-          <input type="submit" value="new" />
-        </div>
-      </form>
-    </td>
-  </tr>
-{iterate item=op from=$ops}
-  <tr class="{cycle values="pair,impair"}">
-    <td>{$op.id}</td>
-    <td>{$op.date|date_format}</td>
-    <td>{$op.label}</td>
-    <td class="right">{$op.debit}</td>
-    <td class="right">{$op.credit}</td>
-    <td>
-      <form method="post" action="{$platal->path}">
-        <div>
-          <input type="hidden" name="op_id" value="{$op.id}" />
-          <input type="hidden" name="annee" value="{$annee_sel}" />
-          <input type="hidden" name="mois" value="{$mois_sel}" />
-          <input type="submit" name="action" value="edit" />
-          <input type="submit" name="action" value="del" />
-        </div>
-      </form>
-    </td>
-  </tr>
-{/iterate}
-</table>
-
-<br />
-
-<table class="bicol">
-<tr>
-  <th>Solde en fin de mois</th>
-</tr>
-<tr>
-  <td class="right">{$to_solde}</td>
-</tr>
-</table>
-
-<br />
-
-{include file=trezo/choix_date.tpl month_arr=$month_arr}
-{/if}
-
-{* vim:set et sw=2 sts=2 sws=2: *}
diff --git a/templates/trezo/index.tpl b/templates/trezo/index.tpl
deleted file mode 100644 (file)
index 219f999..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-{**************************************************************************}
-{*                                                                        *}
-{*  Copyright (C) 2003-2006 Polytechnique.org                             *}
-{*  http://opensource.polytechnique.org/                                  *}
-{*                                                                        *}
-{*  This program is free software; you can redistribute it and/or modify  *}
-{*  it under the terms of the GNU General Public License as published by  *}
-{*  the Free Software Foundation; either version 2 of the License, or     *}
-{*  (at your option) any later version.                                   *}
-{*                                                                        *}
-{*  This program is distributed in the hope that it will be useful,       *}
-{*  but WITHOUT ANY WARRANTY; without even the implied warranty of        *}
-{*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *}
-{*  GNU General Public License for more details.                          *}
-{*                                                                        *}
-{*  You should have received a copy of the GNU General Public License     *}
-{*  along with this program; if not, write to the Free Software           *}
-{*  Foundation, Inc.,                                                     *}
-{*  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *}
-{*                                                                        *}
-{**************************************************************************}
-
-<h1>Tr&eacute;sorerie pour {$mon_sel}</h1>
-
-{if $smarty.session.perms eq admin}
-<p>[<a href="trezo/ops">éditer les comptes</a>]</p>
-{/if}
-
-<table class="bicol">
-<tr>
-  <th>Solde en début de période</th>
-</tr>
-<tr>
-  <td class="right">{$from_solde}</td>
-</tr>
-</table>
-
-<br />
-
-<table class="bicol">
-  <tr>
-    <th>Date</th>
-    <th>Description</th>
-    <th>D&eacute;penses</th>
-    <th>Recettes</th>
-  </tr>
-{iterate item=op from=$ops}
-  <tr class="{cycle values="impair,pair"}">
-    <td>{$op.date|date_format}</td>
-    <td>{$op.label}</td>
-    <td class="right">{$op.debit}</td>
-    <td class="right">{$op.credit}</td>
-  </tr>
-{/iterate}
-</table>
-
-<br />
-
-<table class="bicol">
-<tr>
-  <th>Solde en fin de mois</th>
-</tr>
-<tr>
-  <td class="right">{$to_solde}</td>
-</tr>
-</table>
-
-<br />
-
-{include file=trezo/choix_date.tpl month_arr=$month_arr}
-
-
-{* vim:set et sw=2 sts=2 sws=2: *}