PHP Core Libraries
- add .gitignore for log, templates_c and tmp - add base www/ folder
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
.debug_message
|
||||
{
|
||||
border-top: 1px solid #a4a4a4;
|
||||
color: #a4a4a4;
|
||||
font-size: 8px;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* $HeadURL: svn://svn/development/core_data/php/www/layout/frontend/default/javascript/frontend.js $
|
||||
* $LastChangedBy: gullevek $
|
||||
* $LastChangedDate: 2010-09-02 11:58:10 +0900 (Thu, 02 Sep 2010) $
|
||||
* $LastChangedRevision: 3159 $
|
||||
*
|
||||
* 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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/* $Id: frontend.js 3159 2010-09-02 02:58:10Z gullevek $ */
|
||||
@@ -0,0 +1,59 @@
|
||||
{*
|
||||
= SUBVERSION DATA ===================================================
|
||||
= $HeadURL: svn://svn/development/core_data/php/www/layout/frontend/default/templates/main_body.tpl $
|
||||
= $LastChangedBy: gullevek $
|
||||
= $LastChangedDate: 2010-09-02 11:58:10 +0900 (Thu, 02 Sep 2010) $
|
||||
= $LastChangedRevision: 3159 $
|
||||
= SUBVERSION DATA ===================================================
|
||||
|
||||
********************************************************************
|
||||
* AUTHOR: Clemens Schwaighofer
|
||||
* DATE: 2008/12/24
|
||||
* DESCRIPTION:
|
||||
* main body
|
||||
* HISTORY:
|
||||
********************************************************************
|
||||
*}
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>{$HTML_TITLE}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$DEFAULT_ENCODING}">
|
||||
{if $STYLESHEET}
|
||||
<link rel=stylesheet type="text/css" href="{$CSS}{$STYLESHEET}">
|
||||
{/if}
|
||||
{if $JAVASCRIPT}
|
||||
<script language="JavaScript" src="{$JS}{$JAVASCRIPT}"></script>
|
||||
{/if}
|
||||
{if $ajax_javascript}
|
||||
<script language="JavaScript">
|
||||
{$ajax_javascript}
|
||||
</script>
|
||||
{/if}
|
||||
{if $JS_INCLUDE}
|
||||
<script language="JavaScript" src="{$JS_INCLUDE}"></script>
|
||||
{/if}
|
||||
{* {popup_init src="`$js`/overlib/overlib.js"} *}
|
||||
</head>
|
||||
<body>
|
||||
<form name="product_search" method="get">
|
||||
<div style="border: 1px solid black; margin: 15px; padding: 5px;">
|
||||
{include file="top_menu.tpl"}
|
||||
</div>
|
||||
<div>
|
||||
{include file="$INCLUDE_TEMPLATE"}
|
||||
</div>
|
||||
</form>
|
||||
{* debug info *}
|
||||
{if $DEBUG}
|
||||
<div style="width:{$table_width}px;" class="debug_message">
|
||||
{$Id}<br>
|
||||
<b>{$smarty.now|date_format:"%Y-%m-%d %H:%M:%S"}</b><br>
|
||||
{$debug_error_msg}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
{* $Id: main_body.tpl 3159 2010-09-02 02:58:10Z gullevek $ *}
|
||||
Reference in New Issue
Block a user