X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Frallye_functions.php;h=3304a5f7242b5bef5973438f4ef55d949f633c77;hb=1cf72a9c1a5e737509af79d49f0731da2eb6a218;hp=c09d6c5d6d7eb0597f40c06ae72bc2aa1cc56354;hpb=8f60465485bd5e9ab2c0ddfa1f054458cf510042;p=mailer.git diff --git a/inc/libs/rallye_functions.php b/inc/libs/rallye_functions.php index c09d6c5d6d..3304a5f724 100644 --- a/inc/libs/rallye_functions.php +++ b/inc/libs/rallye_functions.php @@ -714,23 +714,20 @@ function RALLYE_TEMPLATE_SELECTION($name="template", $default="") closedir($dir); // Do we have found templates which we can link with the new rallye? - if (!empty($ral[0])) - { + if (!empty($ral[0])) { // Generate selection box for all found templates + // @TODO Rewrite this to our API function $OUT = "\n"; - } - else - { + } else { // No rallye templates found - $OUT = RALLYE_NO_TEMPLATES_FOUND; + $OUT = getMessage('RALLYE_NO_TEMPLATES_FOUND'); } // Return selection