1
0
Переглянути джерело

[fixed] Wrong image displayed in piercing management. Table layout fixed. Reported by Skylah

anjuna krokus 1 місяць тому
батько
коміт
81a13e10ed
1 змінених файлів з 30 додано та 30 видалено
  1. 30 30
      locations/piercing_management.qsrc

+ 30 - 30
locations/piercing_management.qsrc

@@ -129,7 +129,7 @@ if $ARGS[0] = 'main':
 	'<center><font color="maroon">Piercing Management</font></center>'
 
 	$temp_table = '<center><table border=0 cellspacing=<<ward_img_hgt / 25>> cellpadding=5>'
-	$temp_table +=	'<tr>'
+	$temp_table +=	'<tr align="center">'
 	$temp_table +=		'<th>'
 	$temp_table +=			'Ear piercings'
 	$temp_table +=		'</th>'
@@ -144,49 +144,49 @@ if $ARGS[0] = 'main':
 	$temp_table +=		'</th>'
 	$temp_table +=	'</tr>'
 
-	$temp_table +=	'<tr>'
+	$temp_table +=	'<tr align="center">'
 	$temp_table +=		'<td>'
 	if pcs_piercings['ears'] = 0:
-		$temp_table +=		'<img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/ears.jpg">'
+		$temp_table +=		'<img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/ears.jpg">'
 	elseif pcs_piercings['ears'] < 0:
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''ears''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/ears.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''ears''"><img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/ears.jpg"></a>'
 	else
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''ears''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/c<<pcs_piercings[''ears'']>>.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''ears''"><img height=<<ward_img_hgt>> src="<<func(''piercing_management'', ''ears_image'')>>"></a>'
 	end
 	$temp_table +=		'</td>'
 
 	$temp_table +=		'<td>'
 	if pcs_piercings['nose'] = 0:
-		$temp_table +=		'<img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/nose.jpg">'
+		$temp_table +=		'<img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/nose.jpg">'
 	elseif pcs_piercings['nose'] < 0:
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''nose''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/nose.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''nose''"><img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/nose.jpg"></a>'
 	else
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''nose''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/d<<pcs_piercings[''nose'']>>.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''nose''"><img height=<<ward_img_hgt>> src="<<func(''piercing_management'', ''nose_image'')>>"></a>'
 	end
 	$temp_table +=		'</td>'
 
 	$temp_table +=		'<td>'
 	if pcs_piercings['brow'] = 0:
-		$temp_table +=		'<img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/brow.jpg">'
+		$temp_table +=		'<img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/brow.jpg">'
 	elseif pcs_piercings['brow'] < 0:
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''brow''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/brow.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''brow''"><img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/brow.jpg"></a>'
 	else
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''brow''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/a<<pcs_piercings[''brow'']>>.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''brow''"><img height=<<ward_img_hgt>> src="<<func(''piercing_management'', ''brow_image'')>>"></a>'
 	end
 	$temp_table +=		'</td>'
 
 	$temp_table +=		'<td>'
 	if pcs_piercings['lip'] = 0:
-		$temp_table +=		'<img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/lip.jpg">'
+		$temp_table +=		'<img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/lip.jpg">'
 	elseif pcs_piercings['lip'] < 0:
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''lip''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/lip.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''lip''"><img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/lip.jpg"></a>'
 	else
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''lip''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/b<<pcs_piercings[''lip'']>>.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''lip''"><img height=<<ward_img_hgt>> src="<<func(''piercing_management'', ''lip_image'')>>"></a>'
 	end
 	$temp_table +=		'</td>'
 	$temp_table +=	'</tr>'
 
-	$temp_table +=	'<tr>'
+	$temp_table +=	'<tr align="center">'
 	$temp_table +=		'<td>'
 	if pcs_piercings['ears'] = 0:
 		$temp_table +=		'Not pierced'
@@ -228,7 +228,7 @@ if $ARGS[0] = 'main':
 	$temp_table +=		'</td>'
 	$temp_table +=	'</tr>'
 
-	$temp_table +=	'<tr>'
+	$temp_table +=	'<tr align="center">'
 	$temp_table +=		'<th>'
 	$temp_table +=			'Tongue piercing'
 	$temp_table +=		'</th>'
@@ -243,49 +243,49 @@ if $ARGS[0] = 'main':
 	$temp_table +=		'</th>'
 	$temp_table +=	'</tr>'
 
-	$temp_table +=	'<tr>'
+	$temp_table +=	'<tr align="center">'
 	$temp_table +=		'<td>'
 	if pcs_piercings['tongue'] = 0:
-		$temp_table +=		'<img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/tongue.jpg">'
+		$temp_table +=		'<img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/tongue.jpg">'
 	elseif pcs_piercings['tongue'] < 0:
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''tongue''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/tongue.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''tongue''"><img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/tongue.jpg"></a>'
 	else
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''tongue''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/a<<pcs_piercings[''tongue'']>>.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''tongue''"><img height=<<ward_img_hgt>> src="<<func(''piercing_management'', ''tongue_image'')>>"></a>'
 	end
 	$temp_table +=		'</td>'
 
 	$temp_table +=		'<td>'
 	if pcs_piercings['navel'] = 0:
-		$temp_table +=		'<img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/navel.jpg">'
+		$temp_table +=		'<img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/navel.jpg">'
 	elseif pcs_piercings['navel'] < 0:
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''navel''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/unpierced/navel.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''navel''"><img height=<<ward_img_hgt>> src="images/pc/body/piercings/unpierced/navel.jpg"></a>'
 	else
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''navel''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/n<<pcs_piercings[''navel'']>>.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''navel''"><img height=<<ward_img_hgt>> src="<<func(''piercing_management'', ''navel_image'')>>"></a>'
 	end
 	$temp_table +=		'</td>'
 
 	$temp_table +=		'<td>'
 	if pcs_piercings['nipples'] = 0:
-		$temp_table +=		'<img Height = <<ward_img_hgt>> src="<<func(''$body_image'', ''tits'')>>">'
+		$temp_table +=		'<img height=<<ward_img_hgt>> src="<<func(''$body_image'', ''tits'')>>">'
 	elseif pcs_piercings['nipples'] < 0:
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''nipples''"><img Height = <<ward_img_hgt>> src="<<func(''$body_image'', ''tits'')>>"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''nipples''"><img height=<<ward_img_hgt>> src="<<func(''$body_image'', ''tits'')>>"></a>'
 	else
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''nipples''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/f<<pcs_piercings[''nipples'']>>.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''nipples''"><img height=<<ward_img_hgt>> src="<<func(''piercing_management'', ''nipples_image'')>>"></a>'
 	end
 	$temp_table +=		'</td>'
 
 	$temp_table +=		'<td>'
 	if pcs_piercings['pussy'] = 0:
-		$temp_table +=		'<img Height = <<ward_img_hgt>> src="<<$pcs_vag_image>>">'
+		$temp_table +=		'<img height=<<ward_img_hgt>> src="<<$pcs_vag_image>>">'
 	elseif pcs_piercings['pussy'] < 0:
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''pussy''"><img Height = <<ward_img_hgt>> src="<<$pcs_vag_image>>"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''pussy''"><img height=<<ward_img_hgt>> src="<<$pcs_vag_image>>"></a>'
 	else
-		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''pussy''"><img Height = <<ward_img_hgt>> src="images/pc/body/piercings/g<<pcs_piercings[''pussy'']>>.jpg"></a>'
+		$temp_table +=		'<a href="exec:gt ''piercing_management'', ''pussy''"><img height=<<ward_img_hgt>> src="<<func(''piercing_management'', ''pussy_image'')>>"></a>'
 	end
 	$temp_table +=		'</td>'
 	$temp_table +=	'</tr>'
 
-	$temp_table +=	'<tr>'
+	$temp_table +=	'<tr align="center">'
 	$temp_table +=		'<td>'
 	if pcs_piercings['tongue'] = 0:
 		$temp_table +=		'Not pierced'