From e7b515aa363e3990fdbe7f5b6104999911e568a8 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 1 Sep 2011 08:44:20 -0400 Subject: [PATCH] Removed (very) old, unused template files Signed-off-by: Bill Erickson --- Open-ILS/src/templates/strings/ex.ttk | 53 --------------------------------- Open-ILS/src/templates/strings/perm.ttk | 29 ------------------ 2 files changed, 82 deletions(-) delete mode 100644 Open-ILS/src/templates/strings/ex.ttk delete mode 100644 Open-ILS/src/templates/strings/perm.ttk diff --git a/Open-ILS/src/templates/strings/ex.ttk b/Open-ILS/src/templates/strings/ex.ttk deleted file mode 100644 index b41820e52d..0000000000 --- a/Open-ILS/src/templates/strings/ex.ttk +++ /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 index 01de49e5c9..0000000000 --- a/Open-ILS/src/templates/strings/perm.ttk +++ /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); - -%] - -- 2.11.0