Compatability, Re-enables old library

This commit is contained in:
Unknown
2019-11-08 10:47:32 -05:00
parent 551dd02a80
commit 7931795ddd
2 changed files with 7 additions and 13 deletions

View File

@@ -225,7 +225,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
<A href='?src=\ref[src];checkout=1'>(Commit Entry)</A><BR>
<A href='?src=\ref[src];switchscreen=0'>(Return to main menu)</A><BR>"}
if(4)
dat += "<h3>Deprecated Archive</h3>"
dat += "<h3>External Archive</h3>" //VOREStation Edit
establish_old_db_connection()
dat += "<h3><font color=red>Warning: System Administrator has slated this archive for removal. Personal uploads should be taken to the NT board of internal literature.</font></h3>"
@@ -251,7 +251,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
dat += "<H3>ERROR</H3>"
dat+= "<FONT color=red>Library Database is in Secure Management Mode.</FONT><BR>\
Contact a System Administrator for more information.<BR>"
/*
//VOREstation Edit Start
dat += "<H3>Upload a New Title</H3>"
if(!scanner)
for(var/obj/machinery/libraryscanner/S in range(9))
@@ -269,7 +269,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
dat += {"<TT>Author: </TT><A href='?src=\ref[src];setauthor=1'>[scanner.cache.author]</A><BR>
<TT>Category: </TT><A href='?src=\ref[src];setcategory=1'>[upload_category]</A><BR>
<A href='?src=\ref[src];upload=1'>\[Upload\]</A><BR>"}
*/
//VOREStation Edit End
dat += "<A href='?src=\ref[src];switchscreen=0'>(Return to main menu)</A><BR>"
if(7)
dat += {"<h3>Accessing Forbidden Lore Vault v 1.3</h3>
@@ -391,7 +391,8 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
if(newcategory)
upload_category = newcategory
/* if(href_list["upload"])
//VOREStation Edit Start
if(href_list["upload"])
if(scanner)
if(scanner.cache)
var/choice = input("Are you certain you wish to upload this title to the Archive?") in list("Confirm", "Abort")
@@ -419,7 +420,7 @@ datum/borrowbook // Datum used to keep track of who has borrowed what when and f
else
log_game("[usr.name]/[usr.key] has uploaded the book titled [scanner.cache.name], [length(scanner.cache.dat)] signs")
alert("Upload Complete.")
*/
//VOREStation Edit End
if(href_list["targetid"])
var/sqlid = sanitizeSQL(href_list["targetid"])