| Server IP : 85.158.181.41 / Your IP : 216.73.217.12 Web Server : Apache System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64 User : moncbefd ( 1024) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/moncbefd/www.moneta.at/gm/javascript/ |
Upload File : |
/* GMGPrintConfiguration.js <?php
# --------------------------------------------------------------
# GMGPrintConfiguration.js 2018-06-15
# Gambio GmbH
# http://www.gambio.de
# Copyright (c) 2018 Gambio GmbH
# Released under the GNU General Public License (Version 2)
# [http://www.gnu.org/licenses/gpl-2.0.html]
# --------------------------------------------------------------
?>*/
/*<?php
if($GLOBALS['coo_debugger']->is_enabled('uncompressed_js') == false)
{
?>*/
function GMGPrintConfiguration(){this.v_languages_id='<?php echo (int)$this->v_data_array[';GET;'][';languages_id;']; ?>';this.v_languages_ids=new Array();this.v_configuration=new Object();this.load=function(){var t_configuration=new Object(),c_languages_id=encodeURIComponent(this.get_languages_id()),page_token=$('input[name="page_token"]').val();jQuery.ajax({data:'action=load_configuration&languages_id='+c_languages_id+'&mode='+c_mode+'&page_token='+page_token,url:'request_port.php?module=GPrint',dataType:'json',type:"POST",async:false,success:function(p_configuration){t_configuration=p_configuration}});this.set_languages_id(t_configuration.v_languages_id);this.set_languages_ids(t_configuration.v_languages_ids)};this.set_languages_id=function(p_languages_id){this.v_languages_id=p_languages_id};this.set_languages_ids=function(p_languages_ids){this.v_languages_ids=p_languages_ids};this.get_languages_id=function(){return this.v_languages_id};this.get_languages_ids=function(){return this.v_languages_ids};}
/*<?php
}
else
{
?>*/
function GMGPrintConfiguration()
{
this.v_languages_id = '<?php echo (int)$this->v_data_array['GET']['languages_id']; ?>';
this.v_languages_ids = new Array();
this.v_configuration = new Object();
this.load = function()
{
var t_configuration = new Object();
var c_languages_id = encodeURIComponent(this.get_languages_id());
var page_token = $('input[name="page_token"]').val();
jQuery.ajax({
data: 'action=load_configuration&languages_id=' + c_languages_id + '&mode=' + c_mode + '&page_token=' + page_token,
url: 'request_port.php?module=GPrint',
dataType: 'json',
type: "POST",
async: false,
success: function(p_configuration)
{
t_configuration = p_configuration;
}
});
this.set_languages_id(t_configuration.v_languages_id);
this.set_languages_ids(t_configuration.v_languages_ids);
}
this.set_languages_id = function(p_languages_id)
{
this.v_languages_id = p_languages_id;
}
this.set_languages_ids = function(p_languages_ids)
{
this.v_languages_ids = p_languages_ids;
}
this.get_languages_id = function()
{
return this.v_languages_id;
}
this.get_languages_ids = function()
{
return this.v_languages_ids;
}
}
/*<?php
}
?>*/