Changeset 2962 for plugins/blocNotes/inc/lib.blocNotes.php
- Timestamp:
- 02/20/11 18:10:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blocNotes/inc/lib.blocNotes.php
r2195 r2962 3 3 # 4 4 # This file is part of Bloc-Notes. 5 # Copyright 2008,2010 Moe (http://gniark.net/)5 # Copyright 2008,2010,2011 Moe (http://gniark.net/) 6 6 # 7 7 # Bloc-Notes is free software; you can redistribute it and/or modify … … 35 35 { 36 36 global $core; 37 38 $core->blog->settings->addNameSpace('blocnotes'); 37 39 38 $set = $core->blog->settings ;40 $set = $core->blog->settings->blocnotes; 39 41 40 42 $notes = $core->con->select('SELECT bloc_notes '. … … 74 76 $cur->update('WHERE user_id = \''.$core->con->escape($core->auth->userID()).'\''); 75 77 76 $core->blog->settings-> setNameSpace('blocnotes');78 $core->blog->settings->addNameSpace('blocnotes'); 77 79 # Blog-specific notebook 78 $core->blog->settings-> put('blocNotes_text',80 $core->blog->settings->blocnotes->put('blocNotes_text', 79 81 base64_encode($_POST['blocNotes_text']),'text', 80 82 'Bloc-Notes\' text');
Note: See TracChangeset
for help on using the changeset viewer.