Skip to content

Commit

Permalink
Modificado el schema solucionado problema de modificar usuarios
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloRN committed Jul 22, 2011
1 parent 4299e6a commit cbdcb82
Show file tree
Hide file tree
Showing 65 changed files with 1,695 additions and 457 deletions.
4 changes: 2 additions & 2 deletions apps/admin/modules/busqueda/config/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generator:
list:
display:
- '=id'
- user_id
- dm_user_id
- titulo
- mensaje
- is_active
Expand Down Expand Up @@ -44,7 +44,7 @@ generator:
- updated_at
form:
display:
NONE: [is_active, user_id]
NONE: [is_active, dm_user_id]
Mensaje: [mensaje]
Others: [titulo, tematica, fecha_antes, fecha_despues]
class: BusquedaAdminForm
Expand Down
1 change: 1 addition & 0 deletions apps/admin/modules/busqueda/lib/BusquedaAdminForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ class BusquedaAdminForm extends BaseBusquedaForm
public function configure()
{
parent::configure();
unset($this['created_at'], $this['updated_at']);
}
}
16 changes: 16 additions & 0 deletions apps/admin/modules/monografia/actions/actions.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

require_once dirname(__FILE__).'/../lib/monografiaGeneratorConfiguration.class.php';
require_once dirname(__FILE__).'/../lib/monografiaGeneratorHelper.class.php';

/**
* monografia actions.
*
* @package bibliocnic
* @subpackage monografia
* @author Your name here
* @version SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $
*/
class monografiaActions extends autoMonografiaActions
{
}
115 changes: 115 additions & 0 deletions apps/admin/modules/monografia/config/generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
generator:
class: dmAdminDoctrineGenerator
param:
model_class: monografia
theme: dmAdmin
non_verbose_templates: true
with_show: false
route_prefix: monografia
with_doctrine_route: false
config:
actions: ~
fields:
autor_list:
label: Autor
tematica_list:
label: Tematica
dm_users_list:
label: Users
is_active:
label: Active
list:
display:
- '=id'
- pdf_id
- created_by
- updated_by
- autor_list
- tematica_list
- dm_users_list
- titulo
- anno
- resumen
- idioma
- aprobado
- is_active
- formato_duro
- palabras_claves
- pais
- institucion
- total_paginas
- num_internacional
- organismo
- tipo_dc
- cant_registros
- fecha_inicial
- fecha_final
- ciudad_pub
- editorial
- isbn
- volumen
- num_revista
- pagina_inicial
- pagina_final
- issn
- num_diapositivas
- departamento
- ciudad
- tutor
- tipo
- created_at
- updated_at
sort:
- position
- asc
table_method: getAdminListQuery
table_count_method: ~
sortable: true
filter:
display:
- id
- aprobado
- is_active
- formato_duro
- titulo
- anno
- resumen
- idioma
- pdf_id
- palabras_claves
- pais
- institucion
- total_paginas
- num_internacional
- organismo
- tipo_dc
- cant_registros
- fecha_inicial
- fecha_final
- ciudad_pub
- editorial
- isbn
- volumen
- num_revista
- pagina_inicial
- pagina_final
- issn
- num_diapositivas
- departamento
- ciudad
- tutor
- tipo
- created_at
- updated_at
- created_by
- updated_by
form:
display:
NONE: [aprobado, is_active, formato_duro, created_by, updated_by]
Pdf: [pdf_id_form, pdf_id_view]
Users: [dm_users_list]
Others: [titulo, anno, resumen, idioma, palabras_claves, pais, institucion, total_paginas, num_internacional, organismo, tipo_dc, cant_registros, fecha_inicial, fecha_final, ciudad_pub, editorial, isbn, volumen, num_revista, pagina_inicial, pagina_final, issn, num_diapositivas, departamento, ciudad, tutor, tipo]
class: monografiaAdminForm
fields: { }
edit: ~
new: ~
12 changes: 12 additions & 0 deletions apps/admin/modules/monografia/lib/monografiaAdminExport.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

/**
* monografia admin export
*
* @package bibliocnic
* @subpackage monografia
* @author Your name here
*/
class monografiaAdminExport extends myDoctrineTableExport
{
}
16 changes: 16 additions & 0 deletions apps/admin/modules/monografia/lib/monografiaAdminForm.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

/**
* monografia admin form
*
* @package bibliocnic
* @subpackage monografia
* @author Your name here
*/
class monografiaAdminForm extends BasemonografiaForm
{
public function configure()
{
parent::configure();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

/**
* monografia module configuration.
*
* @package bibliocnic
* @subpackage monografia
* @author Your name here
* @version SVN: $Id: configuration.php 12474 2008-10-31 10:41:27Z fabien $
*/
class monografiaGeneratorConfiguration extends BaseMonografiaGeneratorConfiguration
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

/**
* monografia module helper.
*
* @package bibliocnic
* @subpackage monografia
* @author Your name here
* @version SVN: $Id: helper.php 12474 2008-10-31 10:41:27Z fabien $
*/
class monografiaGeneratorHelper extends BaseMonografiaGeneratorHelper
{
}
16 changes: 16 additions & 0 deletions apps/admin/modules/recurso/actions/actions.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

require_once dirname(__FILE__).'/../lib/recursoGeneratorConfiguration.class.php';
require_once dirname(__FILE__).'/../lib/recursoGeneratorHelper.class.php';

/**
* recurso actions.
*
* @package bibliocnic
* @subpackage recurso
* @author Your name here
* @version SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $
*/
class recursoActions extends autoRecursoActions
{
}
117 changes: 117 additions & 0 deletions apps/admin/modules/recurso/config/generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
generator:
class: dmAdminDoctrineGenerator
param:
model_class: recurso
theme: dmAdmin
non_verbose_templates: true
with_show: false
route_prefix: recurso
with_doctrine_route: false
config:
actions: ~
fields:
autors_list:
label: Autors
tematicas_list:
label: Tematicas
dm_users_list:
label: Users
is_active:
label: Active
list:
display:
- '=id'

- created_by
- updated_by
- autors_list
- tematicas_list
- dm_users_list
- titulo
- anno
- resumen
- idioma
- aprobado
- is_active
- formato_duro
- palabras_claves
- type
- pais
- institucion
- total_paginas
- num_internacional
- organismo
- tipo_dc
- cant_registros
- fecha_inicial
- fecha_final
- ciudad_pub
- editorial
- isbn
- volumen
- num_revista
- pagina_inicial
- pagina_final
- issn
- num_diapositivas
- departamento
- ciudad
- tutor
- tipo
- created_at
- updated_at
sort:
- position
- asc
table_method: getAdminListQuery
table_count_method: ~
sortable: true
filter:
display:
- id
- aprobado
- is_active
- formato_duro
- titulo
- anno
- resumen
- idioma

- palabras_claves
- type
- pais
- institucion
- total_paginas
- num_internacional
- organismo
- tipo_dc
- cant_registros
- fecha_inicial
- fecha_final
- ciudad_pub
- editorial
- isbn
- volumen
- num_revista
- pagina_inicial
- pagina_final
- issn
- num_diapositivas
- departamento
- ciudad
- tutor
- tipo
- created_at
- updated_at
- created_by
- updated_by
form:
display:
NONE: [aprobado, is_active, formato_duro, created_by, updated_by]

Users: [dm_users_list]
Others: [titulo, anno, resumen, idioma, palabras_claves, type, pais, institucion, total_paginas, num_internacional, organismo, tipo_dc, cant_registros, fecha_inicial, fecha_final, ciudad_pub, editorial, isbn, volumen, num_revista, pagina_inicial, pagina_final, issn, num_diapositivas, departamento, ciudad, tutor, tipo]
class: recursoAdminForm
fields: { }
edit: ~
new: ~
12 changes: 12 additions & 0 deletions apps/admin/modules/recurso/lib/recursoAdminExport.class.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

/**
* recurso admin export
*
* @package bibliocnic
* @subpackage recurso
* @author Your name here
*/
class recursoAdminExport extends myDoctrineTableExport
{
}
Loading

0 comments on commit cbdcb82

Please sign in to comment.