Remove mobile specific javascript from includeJSVars()
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 19 Nov 2010 04:07:19 +0000 (23:07 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 19 Nov 2010 04:07:19 +0000 (23:07 -0500)
kronolith/lib/Kronolith.php

index eca5254..877643c 100644 (file)
@@ -314,7 +314,6 @@ class Kronolith
             'wrong_date_format' => sprintf(_("You used an unknown date format \"%s\". Please try something like \"%s\"."), '#{wrong}', '#{right}'),
             'wrong_time_format' => sprintf(_("You used an unknown time format \"%s\". Please try something like \"%s\"."), '#{wrong}', '#{right}'),
             'fix_form_values' => _("Please enter correct values in the form first."),
-            'noevents' => _("No events to display"),
         );
         for ($i = 1; $i <= 12; ++$i) {
             $code['text']['month'][$i - 1] = Horde_Nls::getLangInfo(constant('MON_' . $i));
@@ -332,14 +331,6 @@ class Kronolith
             $code['text']['recur'][$recurType] = self::recurToString($recurType);
         }
 
-        $code['text']['recur']['desc'] = array(
-            Horde_Date_Recurrence::RECUR_WEEKLY => array(sprintf(_("Recurs weekly on every %s"), "#{weekday}"),
-                                                         sprintf(_("Recurs every %s weeks on %s"), "#{interval}", "#{weekday}")),
-            Horde_Date_Recurrence::RECUR_MONTHLY_DATE => array(sprintf(_("Recurs on the %s of every month"), "#{date}"),
-                                                               sprintf(_("Recurs every %s months on the %s"), "#{interval}", "#{date}")),
-            Horde_Date_Recurrence::RECUR_MONTHLY_WEEKDAY => array(_("Recurs every month on the same weekday"),
-                                                               sprintf(_("Recurs every %s months on the same weekday"), "#{interval}"))
-        );
         $code['text']['recur']['exception'] = _("Exception");
 
         // Maps