- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r1699 r1620 63 63 $core->auth->user_prefs->dashboard->put('quickentry',false,'boolean'); 64 64 } 65 66 // Handle folded/unfolded sections in admin from user preferences67 $ws = $core->auth->user_prefs->addWorkspace('toggles');68 if (!$core->auth->user_prefs->toggles->prefExists('unfolded_sections')) {69 $core->auth->user_prefs->toggles->put('unfolded_sections','','string','Folded sections in admin',null,true);70 }71 72 65 73 66 # Dashboard icons … … 217 210 218 211 if ($updater->getNotify() && $new_v) { 219 echo220 '<div class="dc-update"><h3>'.sprintf(__('Dotclear %s is available!'),$new_v).'</h3> '.221 '< p><a class="button submit" href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a>'.222 '< a href="update.php?hide_msg=1">'.__('Remind me later').'</a>'.223 ($version_info ? ' </ p>'.224 '< p><a href="'.$version_info.'" class="info">'.__('information about this version').'</a>' : '').'</p>'.225 '</div>';212 $message = 213 '<div><p>'.sprintf(__('Dotclear %s is available!'),$new_v).'</p> '. 214 '<ul><li><strong><a href="update.php">'.sprintf(__('Upgrade now'),$new_v).'</a></strong>'. 215 '</li><li><a href="update.php?hide_msg=1">'.__('Remind me later').'</a>'. 216 ($version_info ? ' </li><li><a href="'.$version_info.'">'.__('information about this version').'</a>' : ''). 217 '</li></ul></div>'; 218 dcPage::message($message,false,true); 226 219 } 227 220 }
Note: See TracChangeset
for help on using the changeset viewer.