diff --git a/app.js b/app.js index 92173db96..152784360 100644 --- a/app.js +++ b/app.js @@ -25,7 +25,7 @@ var doT = require('doT'), response.write("

Photo Galleries

"); response.end('Admin'); diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 000000000..cd6234da1 Binary files /dev/null and b/favicon.ico differ diff --git a/gallery-demo/album_sample.xml b/gallery-demo/xml/album_sample.xml similarity index 93% rename from gallery-demo/album_sample.xml rename to gallery-demo/xml/album_sample.xml index 3e4a74a2b..1f312413c 100644 --- a/gallery-demo/album_sample.xml +++ b/gallery-demo/xml/album_sample.xml @@ -1,5 +1,5 @@  - + diff --git a/gallery-demo/character_ass.xml b/gallery-demo/xml/character_ass.xml similarity index 98% rename from gallery-demo/character_ass.xml rename to gallery-demo/xml/character_ass.xml index b8f31e6af..5459899ac 100644 --- a/gallery-demo/character_ass.xml +++ b/gallery-demo/xml/character_ass.xml @@ -1,8 +1,8 @@ - - - - -sample

2

3
-sample

3

1
-sample

1

3
+ + + + +sample

2

3
+sample

3

1
+sample

1

3
\ No newline at end of file diff --git a/gallery-demo/characters.xml b/gallery-demo/xml/characters.xml similarity index 89% rename from gallery-demo/characters.xml rename to gallery-demo/xml/characters.xml index 53ffa2d71..23f83cfde 100644 --- a/gallery-demo/characters.xml +++ b/gallery-demo/xml/characters.xml @@ -1,22 +1,22 @@ - - - - - - - A - Friend - grade1 - 2006Q2 - - - - - Hurray - More - Best Friend - Canadian - 2010Q2 - - + + + + + + + A + Friend + grade1 + 2006Q2 + + + + + Hurray + More + Best Friend + Canadian + 2010Q2 + + \ No newline at end of file diff --git a/gallery-demo/gallery.xml b/gallery-demo/xml/gallery.xml similarity index 89% rename from gallery-demo/gallery.xml rename to gallery-demo/xml/gallery.xml index 04ee63da1..0a844df40 100644 --- a/gallery-demo/gallery.xml +++ b/gallery-demo/xml/gallery.xml @@ -1,14 +1,14 @@ - - - - - 1 - sample - 1.8 - 1 - Sample - British Columbia - 2001-2005 - 2004-01-04-01.jpg - + + + + + 1 + sample + 1.8 + 1 + Sample + British Columbia + 2001-2005 + 2004-01-04-01.jpg + \ No newline at end of file diff --git a/index.htm b/index.htm index 7e8460009..a89dda3b8 100644 --- a/index.htm +++ b/index.htm @@ -1,7 +1,7 @@ - -

View Photo Galleries

-
    -
  • Photo admin
  • -
  • GitHub: Download code
  • -
  • Demo site 0.15.0
  • + +

    View Photo Galleries

    + \ No newline at end of file diff --git a/js/xml.js b/js/xml.js index 04d9c0ed1..17539e131 100644 --- a/js/xml.js +++ b/js/xml.js @@ -4,7 +4,7 @@ function Xml(options) { callback = requireArg({"args": options, "name": "callback", "type": "function"}), gallery = requireArg({"args": options, "name": "gallery", "type": "string"}); - jQuery.get('../gallery-' + gallery + '/album_' + album + '.xml') + jQuery.get('../gallery-' + gallery + '/xml/album_' + album + '.xml') .error(ajaxError) .success(function (response) { var json = jQuery.parseJSON(util.xml.convertToJsonString(response,'')); diff --git a/xslt/album.xslt b/xslt/album.xslt index c3d3f6a4e..1fa3c8d37 100644 --- a/xslt/album.xslt +++ b/xslt/album.xslt @@ -3,8 +3,8 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - - + + @@ -15,7 +15,8 @@ History - Photo Album - + +