Commit 1a4e54ef authored by Jerl1997's avatar Jerl1997

hola

parent 463d4caf
.qq-uploader { position:relative; width: 100%;}
.qq-upload-button {
display:block; /* or inline-block */
width: 105px; padding: 7px 0; text-align:center;
background:#880000; border-bottom:1px solid #ddd;color:#fff;
}
.qq-upload-button-hover {background:#cc0000;}
.qq-upload-button-focus {outline:1px dotted black;}
.qq-upload-drop-area {
position:absolute; top:0; left:0; width:100%; height:100%; min-height: 70px; z-index:2;
background:#FF9797; text-align:center;
}
.qq-upload-drop-area span {
display:block; position:absolute; top: 50%; width:100%; margin-top:-8px; font-size:16px;
}
.qq-upload-drop-area-active {background:#FF7171;}
.qq-upload-list {margin:15px 35px; padding:0; list-style:disc;}
.qq-upload-list li { margin:0; padding:0; line-height:15px; font-size:12px;}
.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-failed-text {
margin-right: 7px;
}
.qq-upload-file {}
.qq-upload-spinner {display:inline-block; background: url("loading.gif"); width:15px; height:15px; vertical-align:text-bottom;}
.qq-upload-size,.qq-upload-cancel {font-size:11px;}
.qq-upload-failed-text {display:none;}
.qq-upload-fail .qq-upload-failed-text {display:inline;}
\ No newline at end of file
This diff is collapsed.
/**
* Multiple Selects - jQuery plugin for converting a multiple <select> into two, adding the ability to move items between the boxes.
* http://code.google.com/p/jqmultiselects/
*
* Copyright (c) 2007 Rob Desbois
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Version: 0.2
*
* Changelog
* 0.1
* initial release
*
* 0.2
* <option> elements can be automatically selected upon parent form submission
* plugin options now passed as an array
* all element identifiers now taken as jQuery selectors instead
* added beforeMove and afterMove callback functions
*/
/** Adds multiple select behaviour to a <select> element.
* This allows options to be transferred to a different select using mouse double-clicks, or multiple options at a time via another element.
*
* Syntax:
* $(source).multiSelect(dest, options);
*
* Options:
* * trigger: Selector for elements which will trigger the move on a click event. Default is none.
* * autoSubmit: Whether to automatically select <option>s for submission with parent form submit. Default true.
* * beforeMove: Before move callback function. Return true to continue/false to cancel the move operation.
* * afterMove: After move callback function.
*
* @example $("#my_select_left").multiSelect("#my_select_right");
* @desc Sets up double-clicks on #my_select_left's options to move the option to #my_select_right
* @example $("#my_select_left").multiSelect("#my_select_right", {trigger: "#my_move_right_button"});
* @desc Sets up double-clicks as above and also sets up #my_move_right_button to transfer multiple elements on click.
*
* @example
* <form action="test-handler.php" method="get">
* <table>
* <tr>
* <td><select name="left[]" id="select_left" multiple="multiple" size="6">
* <option>Item 1</option>
* <option>Item 2</option>
* <option>Item 3</option>
* <option>Item 4</option>
* </select></td>
*
* <td>
* <p><a id="options_right" href="#">
* <img src="arrow_right.gif" alt="&gt;" />
* </a></p>
* <p><a id="options_left" href="#">
* <img src="arrow_left.gif" alt="&lt;" />
* </a></p>
* </td>
* <td><select name="right[]" id="select_right" multiple="multiple" size="6">
* <option>Item 5</option>
* <option>Item 6</option>
* <option>Item 7</option>
* <option>Item 8</option>
* </select></td>
* </tr>
* </table>
*
* <input type="submit" />
* </form>
*
*
* <script type="text/javascript"><!--
* $(function() {
* $("#select_left").multiSelect("#select_right", {trigger: "#options_right"});
* $("#select_right").multiSelect("#select_left", {trigger: "#options_left"});
* });
* // --></script>
*/
jQuery.fn.multiSelect = function(to, options) {
// support v0.1 syntax
if (typeof options == "string")
options = {trigger: "#"+options};
options = $.extend({
trigger: null, // selector of elements whose 'click' event should invoke a move
allTrigger:null, // select all of options
autoSubmit: true, // true => select all child <option>s on parent form submit (if any)
beforeMove: null, // before move callback function
afterMove: null // after move callback
}, options);
// for closures
var $select = this;
// make form submission select child <option>s
if (options.autoSubmit)
this.parents("form").submit(function() { selectChildOptions($select); });
// create the closure
var moveFunction = function() { moveOptions($select, to, options.beforeMove, options.afterMove); };
var moveAllFunction = function(){
jQuery("option", $select).each(function(){
jQuery(this).attr('selected',true);
});
moveFunction();
};
// attach double-click behaviour
this.dblclick(moveFunction);
// trigger element behaviour
if (options.trigger)
jQuery(options.trigger).click(moveFunction);
if (options.allTrigger)
jQuery(options.allTrigger).click(moveAllFunction);
return this;
// moves the options
function moveOptions(from, toSel, beforeMove, afterMove) {
if (beforeMove && !beforeMove())
return;
jQuery("option:selected", from).each(function() {
jQuery(this)
.attr("selected", false)
.appendTo(toSel);
});
afterMove && afterMove();
}
// selects all child options
function selectChildOptions($select) {
$select.children("option").each(function() {
this.selected = true;
});
}
};
\ No newline at end of file
...@@ -11275,3 +11275,44 @@ Stack trace: ...@@ -11275,3 +11275,44 @@ Stack trace:
REQUEST_URI=/sirep-1/sirep/images/banner.png REQUEST_URI=/sirep-1/sirep/images/banner.png
HTTP_REFERER=http://localhost/sirep-1/ HTTP_REFERER=http://localhost/sirep-1/
--- ---
2019/04/11 18:24:23 [error] [exception.CException] exception 'CException' with message 'La propiedad "Mzgteventos"."fK1_MZGTEVENTOS_INV_MZGTINSTITUCIONES_PK" no se encuentra definida.' in C:\xampp\htdocs\sirep-1\yii\framework\base\CComponent.php:130
Stack trace:
#0 C:\xampp\htdocs\sirep-1\yii\framework\db\ar\CActiveRecord.php(145): CComponent->__get('fK1_MZGTEVENTOS...')
#1 C:\xampp\htdocs\sirep-1\protected\controllers\ReportesController.php(23): CActiveRecord->__get('fK1_MZGTEVENTOS...')
#2 C:\xampp\htdocs\sirep-1\yii\framework\web\actions\CInlineAction.php(49): ReportesController->actionListarEventos()
#3 C:\xampp\htdocs\sirep-1\yii\framework\web\CController.php(308): CInlineAction->runWithParams(Array)
#4 C:\xampp\htdocs\sirep-1\yii\framework\web\CController.php(286): CController->runAction(Object(CInlineAction))
#5 C:\xampp\htdocs\sirep-1\yii\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 C:\xampp\htdocs\sirep-1\yii\framework\web\CWebApplication.php(282): CController->run('listarEventos')
#7 C:\xampp\htdocs\sirep-1\yii\framework\web\CWebApplication.php(141): CWebApplication->runController('reportes/listar...')
#8 C:\xampp\htdocs\sirep-1\yii\framework\base\CApplication.php(185): CWebApplication->processRequest()
#9 C:\xampp\htdocs\sirep-1\index.php(15): CApplication->run()
#10 {main}
REQUEST_URI=/sirep-1/reportes/listarEventos.html
HTTP_REFERER=http://localhost/sirep-1/mzgtlibros/admin.html
---
2019/04/16 15:09:35 [error] [php] Trying to get property of non-object (C:\xampp\htdocs\sirep-1\protected\controllers\ReportesController.php:46)
Stack trace:
#0 C:\xampp\htdocs\sirep-1\yii\framework\web\CController.php(286): ReportesController->runAction()
#1 C:\xampp\htdocs\sirep-1\yii\framework\web\CController.php(265): ReportesController->runActionWithFilters()
#2 C:\xampp\htdocs\sirep-1\yii\framework\web\CWebApplication.php(282): ReportesController->run()
#3 C:\xampp\htdocs\sirep-1\yii\framework\web\CWebApplication.php(141): CWebApplication->runController()
#4 C:\xampp\htdocs\sirep-1\yii\framework\base\CApplication.php(185): CWebApplication->processRequest()
#5 C:\xampp\htdocs\sirep-1\index.php(15): CWebApplication->run()
REQUEST_URI=/sirep-1/reportes/listarPublicaciones.html
2019/04/16 15:09:38 [error] [exception.CException] exception 'CException' with message 'La propiedad "Mzgteventos"."fK1_MZGTEVENTOS_INV_MZGTINSTITUCIONES_PK" no se encuentra definida.' in C:\xampp\htdocs\sirep-1\yii\framework\base\CComponent.php:130
Stack trace:
#0 C:\xampp\htdocs\sirep-1\yii\framework\db\ar\CActiveRecord.php(145): CComponent->__get('fK1_MZGTEVENTOS...')
#1 C:\xampp\htdocs\sirep-1\protected\controllers\ReportesController.php(23): CActiveRecord->__get('fK1_MZGTEVENTOS...')
#2 C:\xampp\htdocs\sirep-1\yii\framework\web\actions\CInlineAction.php(49): ReportesController->actionListarEventos()
#3 C:\xampp\htdocs\sirep-1\yii\framework\web\CController.php(308): CInlineAction->runWithParams(Array)
#4 C:\xampp\htdocs\sirep-1\yii\framework\web\CController.php(286): CController->runAction(Object(CInlineAction))
#5 C:\xampp\htdocs\sirep-1\yii\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 C:\xampp\htdocs\sirep-1\yii\framework\web\CWebApplication.php(282): CController->run('listarEventos')
#7 C:\xampp\htdocs\sirep-1\yii\framework\web\CWebApplication.php(141): CWebApplication->runController('reportes/listar...')
#8 C:\xampp\htdocs\sirep-1\yii\framework\base\CApplication.php(185): CWebApplication->processRequest()
#9 C:\xampp\htdocs\sirep-1\index.php(15): CApplication->run()
#10 {main}
REQUEST_URI=/sirep-1/reportes/listarEventos.html
HTTP_REFERER=http://localhost/sirep-1/reportes/listarPublicaciones.html
---
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment