Changeset 2227:bfa7b3467627 for plugins
- Timestamp:
- 10/03/13 13:47:05 (12 years ago)
- Branch:
- dcRepo
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance/_config.php
r2215 r2227 52 52 ); 53 53 } 54 55 http::redirect($list->getPageURL('module=maintenance&conf=1&done=1')); 54 55 dcPage::addSuccessNotice(__('Maintenance plugin has been successfully configured.')); 56 http::redirect($list->getURL('module=maintenance&conf=1')); 56 57 } 57 58 catch(Exception $e) { … … 60 61 } 61 62 62 63 '<p>'.__('Setup alert for maintenance task.').'</p>'.63 echo 64 '<p>'.__('Set up reminders for maintenance tasks.').'</p>'. 64 65 65 66 67 68 66 '<h4 class="pretty-title">'.__('Activation').'</h4>'. 67 '<p><label for="settings_plugin_message" class="classic">'. 68 form::checkbox('settings_plugin_message', 1, $core->blog->settings->maintenance->plugin_message). 69 __('Display alert messages on late tasks').'</label></p>'. 69 70 70 71 72 73 71 '<p class="info">'.sprintf( 72 __('You can place list of late tasks on your %s.'), 73 '<a href="preferences.php#user-favorites">'.__('Dashboard').'</a>' 74 ).'</p>'. 74 75 75 76 '<h4 class="pretty-title vertical-separator">'.__('Frequency').'</h4>'. 76 77 77 78 79 78 '<p class="vertical-separator">'.form::radio(array('settings_recall_type', 'settings_recall_all'), 'all').' '. 79 '<label class="classic" for="settings_recall_all">'. 80 '<strong>'.__('Use one recall time for all tasks').'</strong></label>'. 80 81 81 '<p class="field wide vertical-separator"><label for="settings_recall_time">'.__('Recall time for all tasks:').'</label>'. 82 form::combo('settings_recall_time', $combo_ts, 'seperate', 'recall-for-all'). 82 '<p class="field wide vertical-separator"><label for="settings_recall_time">'.__('Recall time for all tasks:').'</label>'. 83 form::combo('settings_recall_time', $combo_ts, 'seperate', 'recall-for-all'). 84 '</p>'. 85 86 '<p class="vertical-separator">'.form::radio(array('settings_recall_type', 'settings_recall_separate'), 'separate', 1).' '. 87 '<label class="classic" for="settings_recall_separate">'. 88 '<strong>'.__('Use one recall time per task').'</strong></label>'; 89 90 foreach($tasks as $t) 91 { 92 echo 93 '<div class="two-boxes">'. 94 95 '<p class="field wide"><label for="settings_ts_'.$t->id().'">'.$t->task().'</label>'. 96 form::combo('settings_ts_'.$t->id(), $combo_ts, $t->ts(), 'recall-per-task'). 83 97 '</p>'. 84 98 85 '<p class="vertical-separator">'.form::radio(array('settings_recall_type', 'settings_recall_separate'), 'separate', 1).' '. 86 '<label class="classic" for="settings_recall_separate">'. 87 '<strong>'.__('Use one recall time per task').'</strong></label>'; 88 89 foreach($tasks as $t) 90 { 91 echo 92 '<div class="two-boxes">'. 93 94 '<p class="field wide"><label for="settings_ts_'.$t->id().'">'.$t->task().'</label>'. 95 form::combo('settings_ts_'.$t->id(), $combo_ts, $t->ts(), 'recall-per-task'). 96 '</p>'. 97 98 '</div>'; 99 } 99 '</div>'; 100 }
Note: See TracChangeset
for help on using the changeset viewer.