Changeset 2566:9bf417837888 for plugins/aboutConfig
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- Location:
- plugins/aboutConfig
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/aboutConfig/_admin.php
r1294 r2566 15 15 preg_match('/plugin.php\?p=aboutConfig(&.*)?$/',$_SERVER['REQUEST_URI']), 16 16 $core->auth->isSuperAdmin()); 17 ?> -
plugins/aboutConfig/_define.php
r2257 r2566 22 22 23 23 ); 24 ?> -
plugins/aboutConfig/index.php
r2322 r2566 30 30 { 31 31 $core->blog->settings->addNamespace($ns); 32 32 33 33 foreach ($s as $k => $v) { 34 34 $core->blog->settings->$ns->put($k,$v); 35 35 } 36 36 37 37 $core->blog->triggerBlog(); 38 38 } … … 55 55 { 56 56 $core->blog->settings->addNamespace($ns); 57 57 58 58 foreach ($s as $k => $v) { 59 59 $core->blog->settings->$ns->put($k,$v,null,null,true,true); 60 60 } 61 61 62 62 $core->blog->triggerBlog(); 63 63 } 64 64 65 65 dcPage::addSuccessNotice(__('Configuration successfully updated')); 66 66 http::redirect($p_url.'&part=global'); … … 83 83 html::escapeHTML($s['value'])); 84 84 } 85 85 86 86 $slabel = $strong_label ? '<strong>%s</strong>' : '%s'; 87 87 88 88 return 89 89 '<tr class="line">'. … … 154 154 $ns_combo[$ns] = '#l_'.$ns; 155 155 } 156 echo 156 echo 157 157 '<form action="plugin.php" method="post">'. 158 158 '<p class="anchor-nav">'. … … 204 204 $ns_combo[$ns] = '#g_'.$ns; 205 205 } 206 echo 206 echo 207 207 '<form action="plugin.php" method="post">'. 208 208 '<p class="anchor-nav">'.
Note: See TracChangeset
for help on using the changeset viewer.