Layout folder move to admin and frontend

This commit is contained in:
Clemens Schwaighofer
2024-02-27 12:02:03 +09:00
parent a377ab4b61
commit b6ae3f99d9
832 changed files with 3 additions and 8 deletions

View File

@@ -0,0 +1 @@
../../../admin/layout/javascript/debug.js

View File

@@ -0,0 +1 @@
../../../admin/layout/javascript/fineuploader/

View File

@@ -0,0 +1 @@
../../../admin/layout/javascript/firebug.js

View File

@@ -0,0 +1,25 @@
/*
* AUTHOR: Clemens Schwaighofer
* DATE: 2008/12/29
* DESC: Javascript functions for the Catalogue frontend
*/
// METHOD: SwitchImage
// PARAMS: front/back -> what image to show
// RETURN: none
// DESC: ajax call to switch the main image in the detail view
function SwitchImage(image) {
if (image != 'front' || image != 'back') {
image = 'front';
}
// disable / enable the href for the other side
x_ajax_afSwitchImage(image, OutputSwitchImage);
}
// METHOD: OutputSwitchImage
// PARAMS: data -> the image full path for the new image
// RETURN: none
// DESC: replace the image in the product detail with the back image
function OutputSwitchImage(data) {
}