fichiers en trop
darcs-hash:20070124131508-f46e9-8442a5df4ad047305520ac842e2e2169c47716a3.gz
This commit is contained in:
parent
91f8f06020
commit
9ca4c1ea99
4 changed files with 44 additions and 9 deletions
|
@ -35,7 +35,7 @@ Impression.settings.images = [
|
|||
|
||||
Impression.settings.preloadImage = function(imageName) {
|
||||
var image = new Image();
|
||||
image.src = "/static/images/"+imageName;
|
||||
image.src = "./static/"+imageName;
|
||||
}
|
||||
|
||||
Impression.settings.preloadAllImages = function() {
|
||||
|
@ -181,7 +181,7 @@ Impression.settings.updatePreview = function()
|
|||
image_name = "portrait_transparent_" + this.type_impression + ".png";
|
||||
else
|
||||
image_name = "portrait_" + this.type_impression + '_' + this.agrafes + ".png";
|
||||
var image = createDOM("IMG",{'src':'/static/images/'+image_name});
|
||||
var image = createDOM("IMG",{'src':'./static/'+image_name});
|
||||
log("Updating preview (new image : " + image_name + ")");
|
||||
replaceChildNodes("preview",image)
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ Impression.popup.popupImpression = function(code) {
|
|||
Popup.hide();
|
||||
Popup.create({}, "Impression en cours...",
|
||||
DIV(
|
||||
{"id":"printingPopupContent", "style":"background-image:url(/static/images/dialog-printer.png)"},
|
||||
{"id":"printingPopupContent", "style":"background-image:url(./static/dialog-printer.png)"},
|
||||
SPAN("code: "+code),
|
||||
A({"href":"https://wiki.crans.org/VieCrans/ImpressionReseau", "class":"aide", "target":"_blank"}, "Comment récupérer mon impression ? "),
|
||||
A({"href":"index", "class":"aide", "style":"text-align:right;"}, "Nouvelle impression")
|
||||
|
@ -209,7 +209,7 @@ Popup.display();
|
|||
Impression.popup.popupError = function(erreur) {
|
||||
Popup.hide();
|
||||
Popup.create({}, "Erreur",
|
||||
DIV({"id":"printingPopupContent", "style":"background-image:url(/static/images/dialog-warning.png)"},
|
||||
DIV({"id":"printingPopupContent", "style":"background-image:url(./static/dialog-warning.png)"},
|
||||
SPAN(erreur),
|
||||
A({"href":"mailto:nounous@crans.org", "class":"crans_help aide"}, "Envoyer un rapport aux nounous"),
|
||||
Popup.closeLink({"class":"aide", "style":"text-align:right;"}, "Fermer")));
|
||||
|
@ -220,7 +220,7 @@ Impression.popup.popupSolde = function(code) {
|
|||
Popup.hide();
|
||||
Popup.create({}, "Solde insuffisant",
|
||||
DIV(
|
||||
{"id":"printingPopupContent", "style":"background-image:url(/static/images/dialog-solde.png)"},
|
||||
{"id":"printingPopupContent", "style":"background-image:url(./static/dialog-solde.png)"},
|
||||
SPAN("pas assez de sous"),
|
||||
A({"href":"https://wiki.crans.org/CransPratique/SoldeImpression", "class":"aide", "target":"_blank"}, "Comment recharger mon compte ? "),
|
||||
Popup.closeLink({"class":"aide", "style":"text-align:right;"}, "Fermer")));
|
||||
|
@ -269,7 +269,7 @@ Impression.AJAX.modifPrix = function( text, wheel )
|
|||
{
|
||||
if (wheel)
|
||||
{
|
||||
var image = createDOM("IMG",{'src':'/static/images/indicator.gif'});
|
||||
var image = createDOM("IMG",{'src':'./static/indicator.gif'});
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue