]> git.mxchange.org Git - mailer.git/blobdiff - inc/template-functions.php
Documentation updated, fixes for bug #195/196 (previous commit comment was wrong):
[mailer.git] / inc / template-functions.php
index f8e5da36b78e16e5e12412884112e8800c7b22cf..d46d83e45886189f7aa3efc8f679f0feabb58ddf 100644 (file)
@@ -1676,8 +1676,14 @@ function fixNullEmptyToDashes ($str, $num) {
        return $return;
 }
 
+// Translates the "pool type" into human-readable
+function translatePoolType ($type) {
+       // Return "translation"
+       return sprintf("{--POOL_TYPE_%s--}", strtoupper($type));
+}
+
 //-----------------------------------------------------------------------------
-//                       Template Helper Functions
+//                      Template helper functions for EL
 //-----------------------------------------------------------------------------
 
 // Color-switch helper function