<div class=”footer-container”> <div class=”footer”> <div ?php echo $this->getChildHtml() ?> </div> </div>Turn the cache back on Why not take this opportunity to change the footer copyright to something of your choice? This can be found in the system/configuration menu. Select design on the left then fill out the footer parts as required. NB: I am currently testing the modern theme so to remove the magento bugs message edit the footer file in appdesignfrontenddefaultmoderntemplatepagehtml Simply remove the whole ‘p class bugs’ line.
1 |
<action method= "addJs" ><script>lib/ccard.js</script></action> |
1
2
3
4 |
<block type= "page/html_head" name= "head" as = "head" > <action method= "addJs" ><script>prototype/prototype.js</script></action> <action method= "addJs" ifconfig= "dev/js/deprecation" ><script>prototype/deprecation.js</script></action> <action method= "addJs" ><script>lib/ccard.js</script></action> |
1
2
3
4
5
6
7 |
<!-- Mage_Page --> <block type= "page/html" name= "root" output= "toHtml" template= "page/print.phtml" > <block type= "page/html_head" name= "head" as = "head" > <action method= "addJs" ><script>prototype/prototype.js</script></action> <action method= "addJs" ><script>mage/translate.js</script></action> <action method= "addJs" ><script>lib/ccard.js</script></action> |
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 |
// Credit Card Validation Javascript // copyright 12th May 2003, by Stephen Chapman, Felgall Pty Ltd // You have permission to copy and use this javascript provided that // the content of the script is not changed in any way. function validateCreditCard(s) { // remove non-numerics var v = "0123456789" ; var w = "" ; for (i=0; i < s.length; i++) { x = s.charAt(i); if (v.indexOf(x,0) != -1) w += x; } // validate number j = w.length / 2; k = Math. floor (j); m = Math. ceil (j) - k; c = 0; for (i=0; i<k; i++) { a = w.charAt(i*2+m) * 2; c += a > 9 ? Math. floor (a/10 + a) : a; } for (i=0; i<k+m; i++) c += w.charAt(i*2+1-m) * 1; return (c == 0); } |
This email address is being protected from spambots. You need JavaScript enabled to view it.