Removed (very) old, unused template files
authorBill Erickson <berick@esilibrary.com>
Thu, 1 Sep 2011 12:44:20 +0000 (08:44 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 1 Sep 2011 12:44:20 +0000 (08:44 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/strings/ex.ttk [deleted file]
Open-ILS/src/templates/strings/perm.ttk [deleted file]

diff --git a/Open-ILS/src/templates/strings/ex.ttk b/Open-ILS/src/templates/strings/ex.ttk
deleted file mode 100644 (file)
index b41820e..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-[%-
-       # ------------------------------------------------------------------    
-       # return macro... ignore me.
-       # ------------------------------------------------------------------
-       MACRO ret(str) PROCESS ret_block s=str;
-       BLOCK ret_block;
-               s;
-               STOP;
-       END;
-       # ------------------------------------------------------------------
--%]
-
-
-
-
-[%-
-       # ------------------------------------------------------------------    
-       # RULES
-       # ------------------------------------------------------------------
-
-       IF type == ex_types.SEARCH_TOO_LARGE;
-               ret("Search term is too broad, please narrow your search");     END;
-
-       IF type == ex_types.UNKNOWN_BARCODE;
-               ret("Barcode does not exist in the database");  END;
-
-       IF type == ex_types.DUPLICATE_INVALID_USER_BARCODE;
-               ret("Barcode is a duplicate or is not valid");  END;
-
-       IF type == ex_types.DUPLICATE_USER_USERNAME;
-               ret("Username is a duplicate"); END;
-
-       IF type == ex_types.USER_WRONG_PASSWORD;
-               ret("Password is incorrect");   END;
-
-       IF type == ex_types.UNKNOWN_USER;
-               ret("User is not recognized"); END;
-
-       IF type == ex_types.MAX_RENEWALS_REACHED;
-               ret("The maximun number of renewals has been reached"); END;
-
-       IF type == ex_types.COPY_NEEDED_FOR_HOLD;
-               ret("Copy is needed to fulfill a hold"); END;
-
-       IF type == ex_types.NO_HOLD_FOUND;
-               ret("The requested hold could not be found"); END;
-
-       IF type == ex_types.NO_TRANSACTION_FOUND;
-               ret("The requested transaction could not be found"); END;
-
-       ret("Unknown exception occured");
-
--%]
diff --git a/Open-ILS/src/templates/strings/perm.ttk b/Open-ILS/src/templates/strings/perm.ttk
deleted file mode 100644 (file)
index 01de49e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-[%-
-       # ------------------------------------------------------------------    
-       # return macro... 
-       # ------------------------------------------------------------------
-       MACRO ret(str) PROCESS ret_block s=str;
-       BLOCK ret_block; "Permission Denied: " _ s; STOP; END;
-       # ------------------------------------------------------------------
--%]
-
-[%
-
-       perm_map = {};
-       perm_map.EDIT_MARC = "MARC Editing";
-       perm_map.OPAC_LOGIN = "OPAC Login";
-       perm_map.STAFF_LOGIN = "STAFF Login";
-       perm_map.COPY_HOLDS = "Copy level holds";
-       perm_map.VOLUME_HOLDS = "Volume level holds";
-       perm_map.TITLE_HOLDS = "Title level holds";
-       perm_map.MR_HOLDS = "Metarecord/Title Group level holds";
-       perm_map.REQUEST_HOLDS = "Requesting a hold for another user";
-       perm_map.REQUEST_HOLDS_OVERRIDE = "Requesting a dissallowed hold for another user";
-       perm_map.RENEW_HOLD_OVERRIDE = "Requesting renew for copy needed for hold";
-       perm_map.CREATE_VOLUME = "Creating a new volume";
-
-
-       ret(perm_map.$type);
-
-%]
-