diff --git a/Admin/Templates/Newmessage.tpl b/Admin/Templates/Newmessage.tpl index 5d4fc660..ce67c276 100644 --- a/Admin/Templates/Newmessage.tpl +++ b/Admin/Templates/Newmessage.tpl @@ -50,7 +50,7 @@ $user = $database->getUserArray($id,1);

New Message

-
to
+
to
@@ -60,7 +60,7 @@ $user = $database->getUserArray($id,1);
Recipient
-
(UID )
+
(UID )
diff --git a/Admin/Templates/addABTroops.tpl b/Admin/Templates/addABTroops.tpl index 15ae709d..5710351c 100644 --- a/Admin/Templates/addABTroops.tpl +++ b/Admin/Templates/addABTroops.tpl @@ -58,7 +58,7 @@ if(isset($id)){
-
Upgrades – ()
+
Upgrades – ()
diff --git a/Admin/Templates/addTroops.tpl b/Admin/Templates/addTroops.tpl index a314eadc..57a692c5 100644 --- a/Admin/Templates/addTroops.tpl +++ b/Admin/Templates/addTroops.tpl @@ -60,7 +60,7 @@ if(isset($id)){
-
Edit troops – ()
+
Edit troops – ()
- Edit 's access + Edit 's access diff --git a/Admin/Templates/editResources.tpl b/Admin/Templates/editResources.tpl index 11e77fea..89397e38 100644 --- a/Admin/Templates/editResources.tpl +++ b/Admin/Templates/editResources.tpl @@ -49,7 +49,7 @@ if($id){
-
Modify Resources — (|)
+
Modify Resources — (|)
diff --git a/Admin/Templates/msg.tpl b/Admin/Templates/msg.tpl index ce0caefd..4c24ee94 100644 --- a/Admin/Templates/msg.tpl +++ b/Admin/Templates/msg.tpl @@ -41,14 +41,14 @@ if($nid > 0){
← Back to messages -
Sent to: getUserField($msg[0]['target'],'username',0);?>
+
Sent to: getUserField($msg[0]['target'],'username',0));?>

Message

-
getUserField($msg[0]['owner'],'username',0);?>
+
getUserField($msg[0]['owner'],'username',0));?>
diff --git a/Admin/Templates/natars.tpl b/Admin/Templates/natars.tpl index 2309f321..667b09dd 100644 --- a/Admin/Templates/natars.tpl +++ b/Admin/Templates/natars.tpl @@ -116,8 +116,8 @@ $deletedArtifacts = $database->getDeletedArtifacts();
- - + +
getUserField($artifact['owner'],"username",0); echo $u!="[?]"?''.$u.'':''.$u.'';?>getVillageField($artifact['vref'],"name"); echo $v!="[?]"?''.$v.'':''.$v.'';?>getUserField($artifact['owner'],"username",0)); echo $u!="[?]"?''.$u.'':''.$u.'';?>getVillageField($artifact['vref'],"name")); echo $v!="[?]"?''.$v.'':''.$v.'';?>
diff --git a/Admin/Templates/playeradditionalinfo.tpl b/Admin/Templates/playeradditionalinfo.tpl index 6b7b66aa..ba67c166 100644 --- a/Admin/Templates/playeradditionalinfo.tpl +++ b/Admin/Templates/playeradditionalinfo.tpl @@ -64,11 +64,11 @@ Sitter 1 - = 1 ? ''.$database->getUserField($user['sit1'],"username",0).'' : 'No Sitter'; ?> + = 1 ? ''.htmlspecialchars($database->getUserField($user['sit1'],"username",0)).'' : 'No Sitter'; ?> Sitter 2 - = 1 ? ''.$database->getUserField($user['sit2'],"username",0).'' : 'No Sitter'; ?> + = 1 ? ''.htmlspecialchars($database->getUserField($user['sit2'],"username",0)).'' : 'No Sitter'; ?> Beginners Protection diff --git a/Admin/Templates/playerdeletion.tpl b/Admin/Templates/playerdeletion.tpl index df1e3dc2..4ade403d 100644 --- a/Admin/Templates/playerdeletion.tpl +++ b/Admin/Templates/playerdeletion.tpl @@ -5,7 +5,7 @@
✖ Cancel diff --git a/Admin/Templates/playerheroinfo.tpl b/Admin/Templates/playerheroinfo.tpl index 45f5110c..36a9374e 100644 --- a/Admin/Templates/playerheroinfo.tpl +++ b/Admin/Templates/playerheroinfo.tpl @@ -91,7 +91,7 @@ if ($hero !== false) { Hero # Hero Name - + Hero Level diff --git a/Admin/Templates/playerinfo.tpl b/Admin/Templates/playerinfo.tpl index 2fe5b6cc..6531e6e8 100644 --- a/Admin/Templates/playerinfo.tpl +++ b/Admin/Templates/playerinfo.tpl @@ -48,7 +48,7 @@ - Player + Player Details diff --git a/Admin/Templates/village.tpl b/Admin/Templates/village.tpl index 04d03ada..3483f254 100644 --- a/Admin/Templates/village.tpl +++ b/Admin/Templates/village.tpl @@ -116,7 +116,7 @@ if(isset($id)){
Village Information
- +
Owner
Owner @@ -134,7 +134,7 @@ if(isset($id)){ - + @@ -164,7 +164,7 @@ if(isset($id)){
Expansion
- '; }else{ $vill = $database->getVillage($exp); echo ''; } } ?> + '; }else{ $vill = $database->getVillage($exp); echo ''; } } ?>
VillagePopCP
---
'.$vill['name'].''.$vill['pop'].''.$vill['cp'].'
---
'.htmlspecialchars($vill['name']).''.$vill['pop'].''.$vill['cp'].'
@@ -195,7 +195,7 @@ if(isset($id)){
-

Village Center -

+

Village Center -