service links
\n- \n
- activity rewards \n
- art shop \n
- art studio \n
- deck donations \n
- special deck donations \n
- graphics donations \n
- levels \n
- masteries \n
- portfolios \n
- recycled art \n
- signatures \n
hiatus
\n") if type(variables.hiatus) == str: @@ -1021,7 +1057,10 @@ def portfoliogen(theportfolio,thetype,portnumber): portstring += "□" break portstring += " " + specialdeck - portstring += "\n\n
" + firstdate.strftime("%Y-%m-%d") + "
" + datetime.datetime.now().strftime("%Y-%m-%d") + "
" + firstdate.strftime("%Y-%m-%d") + "
" + datetime.datetime.now().strftime("%Y-%m-%d") + "
coupons
\n")
for coupon in coupons:
if coupons[coupon]["count"] > 0:
- content.write("")
+ content.write("")
content.write(" ")
if len(variables.tradestatement) > 0:
content.write(variables.tradestatement + " ")
- content.write("Trade cards here 0:
content.write("/" + variables.subfolder)
@@ -1610,9 +1673,15 @@ def indexgen():
for donation in donations:
content.write("" + printcard(donation["name"]))
+ content.write(donation["name"][:-2] + "\"")
+ if variables.newtab:
+ content.write(" target=\"_blank\"")
+ content.write(">" + printcard(donation["name"]))
else:
- content.write(donation["name"] + "\" target=\"_blank\">")
+ content.write(donation["name"] + "\"")
+ if variables.newtab:
+ content.write(" target=\"_blank\"")
+ content.write(">")
if donation["type"] == "deck":
content.write("
0:
@@ -2342,7 +2411,10 @@ def massseriesgen(series,massindex):
for deck in decklist:
if deck["mastered"]:
if series in deck["mass"] or series in deck["massmaster"]:
- content.write("
0:
content.write("/" + variables.subfolder)
content.write("/decks/" + deck["name"] + "/master.gif\" title=\"mastered " + deck["name"])
@@ -2354,7 +2426,10 @@ def massseriesgen(series,massindex):
content.write("\">")
elif series == "colors universe":
if deck["colour"] == "limited":
- content.write("
0:
content.write("/" + variables.subfolder)
content.write("/decks/" + deck["name"] + "/master.gif\" title=\"mastered " + deck["name"])
@@ -2447,7 +2522,10 @@ def tradegen(colour=False):
content.write("
available for trade
\n" + filterwrite("trade",colour,True,True) + "