Browse Source

Database name is now parsed into table rows by using the OBJECT tag.

pull/3/head
Jessica James 9 years ago
parent
commit
4070810224
  1. 2
      RenX.Ladder.Web/RenX_Ladder_Web.cpp

2
RenX.Ladder.Web/RenX_Ladder_Web.cpp

@ -283,6 +283,7 @@ Jupiter::String RenX_Ladder_WebPlugin::generate_entry_table(RenX::LadderDatabase
while (count != 0) while (count != 0)
{ {
row = RenX_Ladder_WebPlugin::entry_table_row; row = RenX_Ladder_WebPlugin::entry_table_row;
row.replace(RenX::tags->INTERNAL_OBJECT_TAG, db->getName());
RenX::processTags(row, *node); RenX::processTags(row, *node);
result += row; result += row;
node = node->next; node = node->next;
@ -332,6 +333,7 @@ Jupiter::String *RenX_Ladder_WebPlugin::generate_search_page(RenX::LadderDatabas
if (node->most_recent_name.findi(name) != Jupiter::INVALID_INDEX) // match found if (node->most_recent_name.findi(name) != Jupiter::INVALID_INDEX) // match found
{ {
row = RenX_Ladder_WebPlugin::entry_table_row; row = RenX_Ladder_WebPlugin::entry_table_row;
row.replace(RenX::tags->INTERNAL_OBJECT_TAG, db->getName());
RenX::processTags(row, *node); RenX::processTags(row, *node);
result->concat(row); result->concat(row);
} }

Loading…
Cancel
Save