[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5102 - phpcompta/tags/rel650/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5102 - phpcompta/tags/rel650/include |
Date: |
Sat, 15 Sep 2012 15:22:10 +0200 (CEST) |
Author: danydb
Date: 2012-09-15 15:22:08 +0200 (Sat, 15 Sep 2012)
New Revision: 5102
Modified:
phpcompta/tags/rel650/include/ajax_add_menu.php
Log:
Show type of menu
Modified: phpcompta/tags/rel650/include/ajax_add_menu.php
===================================================================
--- phpcompta/tags/rel650/include/ajax_add_menu.php 2012-09-14 22:30:02 UTC
(rev 5101)
+++ phpcompta/tags/rel650/include/ajax_add_menu.php 2012-09-15 13:22:08 UTC
(rev 5102)
@@ -38,7 +38,16 @@
order by 1
",1);
$ame_code=$cn->make_array("
- select me_code,me_code||' '||me_menu||' '||coalesce(me_description,'')
from
+select me_code,me_code||' '||coalesce(me_menu,'')||'
'||coalesce(me_description,'')
+ ||'('|| case when me_type='SP' then 'Special'
+ when me_type='PR' then 'Impression'
+ when me_type='PL' then 'Plugin'
+ when me_type='ME' and me_file is null and me_javascript is null
and me_url is null then 'Module - Menu principal'
+ when me_type='ME' then 'Menu'
+ else
+ me_type
+ end||')'
+ from
menu_ref
order by 1
");
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5102 - phpcompta/tags/rel650/include,
phpcompta-dev <=