Changeset 2566:9bf417837888 for plugins/userPref
- Timestamp:
- 11/17/13 20:25:53 (12 years ago)
- Branch:
- 2.6
- Children:
- 2567:6c11245cbf04, 2568:61c67a7d17fa
- Location:
- plugins/userPref
- Files:
-
- 3 edited
-
_admin.php (modified) (1 diff)
-
_define.php (modified) (1 diff)
-
index.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/userPref/_admin.php
r1293 r2566 15 15 preg_match('/plugin.php\?p=userPref(&.*)?$/',$_SERVER['REQUEST_URI']), 16 16 $core->auth->isSuperAdmin()); 17 ?> -
plugins/userPref/_define.php
r2257 r2566 21 21 ) 22 22 ); 23 ?> -
plugins/userPref/index.php
r2322 r2566 30 30 { 31 31 $core->auth->user_prefs->addWorkspace($ws); 32 32 33 33 foreach ($s as $k => $v) { 34 34 $core->auth->user_prefs->$ws->put($k,$v); 35 35 } 36 36 } 37 37 38 38 dcPage::addSuccessNotice(__('Preferences successfully updated')); 39 39 http::redirect($p_url); … … 53 53 { 54 54 $core->auth->user_prefs->addWorkspace($ws); 55 55 56 56 foreach ($s as $k => $v) { 57 57 $core->auth->user_prefs->$ws->put($k,$v,null,null,true,true); 58 58 } 59 59 } 60 60 61 61 dcPage::addSuccessNotice(__('Preferences successfully updated')); 62 62 http::redirect($p_url.'&part=global'); … … 79 79 html::escapeHTML($s['value'])); 80 80 } 81 81 82 82 $slabel = $strong_label ? '<strong>%s</strong>' : '%s'; 83 83 84 84 return 85 85 '<tr class="line">'. … … 126 126 <h3 class="out-of-screen-if-js"><?php echo __('User preferences'); ?></h3> 127 127 128 <?php 128 <?php 129 129 $table_header = '<div class="table-outer"><table class="prefs" id="%s"><caption class="as_h3">%s</caption>'. 130 130 '<thead>'. … … 151 151 $ws_combo[$ws] = '#l_'.$ws; 152 152 } 153 echo 153 echo 154 154 '<form action="plugin.php" method="post">'. 155 155 '<p class="anchor-nav">'. … … 201 201 $ws_combo[$ws] = '#g_'.$ws; 202 202 } 203 echo 203 echo 204 204 '<form action="plugin.php" method="post">'. 205 205 '<p class="anchor-nav">'.
Note: See TracChangeset
for help on using the changeset viewer.
