[doc] Changed all HTML comments to PHP comments

This commit is contained in:
Matt Nadareski
2016-02-18 21:38:29 -08:00
parent 576bae369d
commit 8650ea21a2
4 changed files with 24 additions and 25 deletions

View File

@@ -1,4 +1,6 @@
<!--
<?php
/* ------------------------------------------------------------------------------------
Add, edit, and remove data from the database manually.
Requires:
@@ -6,22 +8,15 @@ Requires:
NOTE: Is it necessary to have a switch on the type? Can't everything be on the same page?
Flow: Choose System / Source from auto-populated dropdowns -> Game dropdown appears, filtered
Flow: Choose System / Source from auto-populated dropdowns -> Game dropdown appears,
filtered
Persistent have Add System and Add Source buttons
Conditional Edit System, Remove System, Edit Source, Remove Source if a valid (non-0) source is selected
Conditional Edit System, Remove System, Edit Source, Remove Source if a valid (non-0)
source is selected
Persistent Add Game button
Conditional Edit Game, Remove Game buttons if a valid (non-0) source is selected
Search boxes?
Note: Can we automatically figure out what systems are related to what sources? We can!
SELECT systems.id AS sysid, systems.manufacturer AS manufacturer, systems.system AS system, sources.id AS sourceid, sources.name AS source
FROM systems
JOIN games ON systems.id=games.system
JOIN sources ON games.source=sources.id
-->
<?php
------------------------------------------------------------------------------------ */
$path_to_root = (getcwd() == "/wod/" ? "" : "..");

View File

@@ -1,14 +1,17 @@
<!--
<?php
/* ------------------------------------------------------------------------------------
Create a DAT from the database
Requires:
source [Required by mode=custom] ID of the source as it appears in the database to create a DAT from
source [Required by mode=custom] ID of the source as it appears in the database
to create a DAT from
system ID of the system that is to be polled
old [Optional] set this to 1 for the old style output
-->
<?php
TODO: Create an "auto-generate all available"? Would it need to filter on things like
TOSEC or Redump? Harder than just clicking links?
------------------------------------------------------------------------------------ */
echo "<h2>Export to Datfile</h2>";

View File

@@ -1,12 +1,13 @@
<!--
<?php
/* ------------------------------------------------------------------------------------
Import an existing DAT into the system
Requires:
filename File name in the format of "Manufacturer - SystemName (Source .*)\.dat"
-->
<?php
TODO: Auto-generate DATs affected by import (merged and custom)?
------------------------------------------------------------------------------------ */
echo "<h2>Import From Datfile</h2>";

View File

@@ -1,4 +1,6 @@
<!--
<?php
/*
Check for new downloadable ROMs from all available sites
Note: This is the most tedious one of all. All of the checks should be named as "sites/<sitename>.php".
@@ -11,8 +13,6 @@ TODO: Figure out where the id files should be stored (temp/ids/?, sites/ids/?)
TODO: Retool existing onlinecheck.php files to follow the new format
TODO: Add a way to figure out if a site is dead based on the original list that WoD created
TODO: Figure out more todos
-->
<?php
*/
?>