}
// "Getter" for date from patch_ctime
-function getDateFromPatchTime () {
+function getDateFromRepository () {
// Is it cached?
if (!isset($GLOBALS[__FUNCTION__])) {
// Then set it
- $GLOBALS[__FUNCTION__] = generateDateTime(getConfig('patch_ctime'), '5');
+ $GLOBALS[__FUNCTION__] = generateDateTime(getConfig('CURRENT_REPOSITORY_DATE'), '5');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS[__FUNCTION__];
+}
+
+// "Getter" for date/time from patch_ctime
+function getDateTimeFromRepository () {
+ // Is it cached?
+ if (!isset($GLOBALS[__FUNCTION__])) {
+ // Then set it
+ $GLOBALS[__FUNCTION__] = generateDateTime(getConfig('CURRENT_REPOSITORY_DATE'), '2');
} // END - if
// Return cache
}
// Generates a YES/NO option list from given default
-function generateYesNoOptionList ($default = '') {
+function generateYesNoOptionList ($configEntry = '') {
// Generate it
- return generateOptionList('/ARRAY/', array('Y', 'N'), array('{--YES--}', '{--NO--}'), $default);
+ return generateOptionList('/ARRAY/', array('Y', 'N'), array('{--YES--}', '{--NO--}'), $configEntry);
}
// "Getter" for total available receivers