Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sirep
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Julio Fabricio Jaramillo
sirep
Commits
3e32d562
Commit
3e32d562
authored
Apr 18, 2019
by
Jefferson Vinueza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Grilla Libros
parent
67caff22
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
34 deletions
+20
-34
application.log
protected/runtime/application.log
+0
-0
_form.php
protected/views/mzgtlibros/_form.php
+4
-18
_form.php
protected/views/mzgtpublicaciones/_form.php
+16
-16
No files found.
protected/runtime/application.log
View file @
3e32d562
This diff is collapsed.
Click to expand it.
protected/views/mzgtlibros/_form.php
View file @
3e32d562
...
...
@@ -65,16 +65,6 @@
<?
php
echo
$form
->
textField
(
$model
,
'MZGTLIBROS_EDITOR'
,
array
(
'maxlength'
=>
150
,
'size'
=>
75
));
?>
<?php
echo
$form
->
error
(
$model
,
'MZGTLIBROS_EDITOR'
);
?>
</div>
<!-- row -->
<!--ENLACE --->
<div
class=
"row"
id=
"div_enlace"
>
<?php
//echo $form->labelEx($model,'MZGTLIBROS_ENLACE'); ?>
<?
php
echo
'<label for="Mzgtlibros_MZGTLIBROS_ENLACE">Enlace <span id="req_enlace" class="required">*</span></label>'
;
?>
<?php
echo
$form
->
textField
(
$model
,
'MZGTLIBROS_ENLACE'
,
array
(
'maxlength'
=>
500
,
'size'
=>
100
));
?>
<?php
echo
$form
->
error
(
$model
,
'MZGTLIBROS_ENLACE'
);
?>
</div>
<!-- row -->
<!--ENLACE-------->
<div
class=
"row"
id=
"div_ciudad_libro"
>
<?php
echo
$form
->
labelEx
(
$model
,
'MZGTLIBROS_CIUDAD'
);
?>
<?php
//echo '<label for="Mzgtlibros_MZGTLIBROS_CIUDAD">Ciudad <span id="req_ciudad_libro" class="required">*</span></label>'; ?>
...
...
@@ -179,28 +169,24 @@
</div>
<!-- row -->
</fieldset>
<details
open=
"open"
>
<details
>
<summary
style=
"background-color: #880000; color: white;"
><b>
Banco de Autores (clic para agregar autores)
</b></summary>
<h4
style=
"color: #C00; font-weight: bold; "
>
Seleccione en orden de autoría
</h4>
<!-- Aquí va el grid de autores -->
<?php
if
(
isset
(
$model
->
PK_MZGTPUBLICACIONES
))
<?php
if
(
isset
(
$model
->
PK_MZGTPUBLICACIONES
))
$publicacion
=
$model
->
PK_MZGTPUBLICACIONES
;
else
$publicacion
=
0
;
$this
->
widget
(
'ext.widgets.multiselects.XMultiSelects'
,
array
(
'leftTitle'
=>
'Actualmente en la publicación'
,
'leftName'
=>
'Mzgt
publicacione
s[mzgtbancoautores][]'
,
'leftName'
=>
'Mzgt
libro
s[mzgtbancoautores][]'
,
'leftList'
=>
Mzgtbancoautores
::
model
()
->
findBancoAutoresPorPublicacion
(
$publicacion
),
'rightTitle'
=>
'Banco de autores'
,
'rightName'
=>
'Mzgtbancoautores[mzgt
publicacione
s][]'
,
'rightName'
=>
'Mzgtbancoautores[mzgt
libro
s][]'
,
'rightList'
=>
Mzgtbancoautores
::
model
()
->
findBancoAutoresPorNoPublicacion
(
$publicacion
),
'size'
=>
20
,
'width'
=>
'300px'
,
));
?>
</details>
<?php
...
...
protected/views/mzgtpublicaciones/_form.php
View file @
3e32d562
...
...
@@ -248,22 +248,22 @@
<h4
style=
"color: #C00; font-weight: bold; "
>
Seleccione en orden de autoría
</h4>
<!-- Aquí va el grid de autores -->
<?php
if
(
isset
(
$model
->
PK_MZGTPUBLICACIONES
))
$publicacion
=
$model
->
PK_MZGTPUBLICACIONES
;
else
$publicacion
=
0
;
$this
->
widget
(
'ext.widgets.multiselects.XMultiSelects'
,
array
(
'leftTitle'
=>
'Actualmente en la publicación'
,
'leftName'
=>
'Mzgtpublicaciones[mzgtbancoautores][]'
,
'leftList'
=>
Mzgtbancoautores
::
model
()
->
findBancoAutoresPorPublicacion
(
$publicacion
),
'rightTitle'
=>
'Banco de autores'
,
'rightName'
=>
'Mzgtbancoautores[mzgtpublicaciones][]'
,
'rightList'
=>
Mzgtbancoautores
::
model
()
->
findBancoAutoresPorNoPublicacion
(
$publicacion
),
'size'
=>
20
,
'width'
=>
'300px'
,
));
?>
<?php
if
(
isset
(
$model
->
PK_MZGTPUBLICACIONES
))
$publicacion
=
$model
->
PK_MZGTPUBLICACIONES
;
else
$publicacion
=
0
;
$this
->
widget
(
'ext.widgets.multiselects.XMultiSelects'
,
array
(
'leftTitle'
=>
'Actualmente en la publicación'
,
'leftName'
=>
'Mzgtpublicaciones[mzgtbancoautores][]'
,
'leftList'
=>
Mzgtbancoautores
::
model
()
->
findBancoAutoresPorPublicacion
(
$publicacion
),
'rightTitle'
=>
'Banco de autores'
,
'rightName'
=>
'Mzgtbancoautores[mzgtpublicaciones][]'
,
'rightList'
=>
Mzgtbancoautores
::
model
()
->
findBancoAutoresPorNoPublicacion
(
$publicacion
),
'size'
=>
20
,
'width'
=>
'300px'
,
));
?>
</details>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment