<?php
/* --------------------------------------------------------------
gm_gprint.js.php 2009-11-16 mb
Gambio GmbH
http://www.gambio.de
Copyright (c) 2009 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
include_once('../../../lang/' . basename($_GET['language']) . '/admin/gm_gprint.php');
?>
$(document).ready(function()
{
var t_first = false;
var t_set_id = 0;
$('.sets_overview').each(function(){
$('#gm_gprint_selected_options').show();
if(t_first == false)
{
t_first = true;
$(this).css({'background-color': '#d6e6f3'});
t_set_id = $(this).attr('id');
t_set_id = t_set_id.replace(/set_/g, '');
$('.set_id').val(t_set_id);
}
});
$('.sets_overview').click(function(){
$('.sets_overview').css({'background-color': '#f7f7f7'});
$(this).css({'background-color': '#d6e6f3'});
t_set_id = $(this).attr('id');
t_set_id = t_set_id.replace(/set_/g, '');
$('.set_id').val(t_set_id);
});
$('#delete_set').click(function(){
var t_delete = confirm('<?php echo GM_GPRINT_CONFIRM_DELETE_1; ?>' + $('#set_name_' + $('#delete_set_id').val()).html() + '<?php echo GM_GPRINT_CONFIRM_DELETE_2; ?>');
if(t_delete)
{
coo_surfaces_groups_manager = new GMGPrintSurfacesGroupsManager();
coo_surfaces_groups_manager.delete_surfaces_group($('#delete_set_id').val());
$('#set_' + $('#delete_set_id').val()).remove();
t_first = false;
$('.sets_overview').each(function(){
if(t_first == false)
{
t_first = true;
$(this).css({'background-color': '#d6e6f3'});
t_set_id = $(this).attr('id');
t_set_id = t_set_id.replace(/set_/g, '');
$('.set_id').val(t_set_id);
}
});
if(t_first == false)
{
$('#gm_gprint_selected_options').hide();
}
}
});
$('#gm_gprint_check_all').click(function()
{
if($(this).attr('checked') == true)
{
$('.gm_gprint_checkbox').attr('checked', 'checked');
}
else
{
$('.gm_gprint_checkbox').removeAttr('checked');
}
});
});| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| ClearCache.js | 2013-11-12 20:53 | 1.43 KB | 76129f60960:kunden | -xw-x----- | |
| GMFavMaster.js | 2013-11-12 20:53 | 5.4 KB | 76129f60960:kunden | -xw-x----- | |
| GMLangEdit.js | 2013-11-12 20:53 | 3.36 KB | 76129f60960:kunden | -xw-x----- | |
| GMLeftBoxes.js | 2013-11-12 20:53 | 2.24 KB | 76129f60960:kunden | -xw-x----- | |
| LoadPayPalAdminNotification.js | 2013-11-12 20:53 | 1.44 KB | 76129f60960:kunden | -xw-x----- | |
| LoadUrl.js | 2013-11-12 20:53 | 1.47 KB | 76129f60960:kunden | -xw-x----- | |
| PayPalApiCheck.js | 2013-11-12 20:53 | 1.21 KB | 76129f60960:kunden | -xw-x----- | |
| ShowLog.js | 2013-11-12 20:53 | 3.69 KB | 76129f60960:kunden | -xw-x----- | |
| gm_bookmarks.js | 2013-11-12 20:53 | 1.87 KB | 76129f60960:kunden | -xw-x----- | |
| gm_counter.js | 2013-11-12 20:53 | 4.15 KB | 76129f60960:kunden | -xw-x----- | |
| gm_ebay.js | 2013-11-12 20:53 | 742 B | 76129f60960:kunden | -xw-x----- | |
| gm_gprint.js.php | 2013-11-12 20:53 | 2.2 KB | 76129f60960:kunden | -xw-x----- | |
| gm_invoicing.js | 2013-11-12 20:53 | 1.2 KB | 76129f60960:kunden | -xw-x----- | |
| gm_logo.js | 2013-11-12 20:53 | 2.14 KB | 76129f60960:kunden | -xw-x----- | |
| gm_modules.js | 2013-11-12 20:53 | 1.17 KB | 76129f60960:kunden | -xw-x----- | |
| gm_orders.js | 2013-11-12 20:53 | 4.41 KB | 76129f60960:kunden | -xw-x----- | |
| gm_pdf.js | 2013-11-12 20:53 | 5.17 KB | 76129f60960:kunden | -xw-x----- | |
| gm_sitemap.js | 2013-11-12 20:53 | 1.54 KB | 76129f60960:kunden | -xw-x----- | |
| gm_style_edit.js | 2013-11-12 20:53 | 2.46 KB | 76129f60960:kunden | -xw-x----- | |
| google_categories_administration.js | 2013-11-12 20:53 | 8.04 KB | 76129f60960:kunden | -xw-x----- | |
| image_mapper.js | 2013-11-12 20:53 | 47.22 KB | 76129f60960:kunden | -xw-x----- | |
| lettr_de.js | 2013-11-12 20:53 | 2.43 KB | 76129f60960:kunden | -xw-x----- | |
| lightbox_google_admin_categories.js | 2013-11-12 20:53 | 13.2 KB | 76129f60960:kunden | -xw-x----- | |
| lightbox_plugin.js | 2013-11-12 20:53 | 5.91 KB | 76129f60960:kunden | -xw-x----- | |