File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 22DrawHeader (ProgramTitle ());
33//$_ROSARIO['allow_edit'] = true;
44
5- if ($ _REQUEST ['tables ' ] && $ _POST ['tables ' ])
5+ if ($ _REQUEST ['tables ' ] && $ _POST ['tables ' ] && AllowEdit () )
66{
77 $ table = $ _REQUEST ['table ' ];
88 foreach ($ _REQUEST ['tables ' ] as $ id =>$ columns )
113113 unset($ _REQUEST ['tables ' ]);
114114}
115115
116- if ($ _REQUEST ['modfunc ' ]=='delete ' )
116+ if ($ _REQUEST ['modfunc ' ]=='delete ' && AllowEdit () )
117117{
118118 if ($ _REQUEST ['id ' ])
119119 {
Original file line number Diff line number Diff line change 22DrawHeader (ProgramTitle ());
33//$_ROSARIO['allow_edit'] = true;
44
5- if ($ _REQUEST ['tables ' ] && $ _POST ['tables ' ])
5+ if ($ _REQUEST ['tables ' ] && $ _POST ['tables ' ] && AllowEdit () )
66{
77 $ table = $ _REQUEST ['table ' ];
88 foreach ($ _REQUEST ['tables ' ] as $ id =>$ columns )
113113 unset($ _REQUEST ['tables ' ]);
114114}
115115
116- if ($ _REQUEST ['modfunc ' ]=='delete ' )
116+ if ($ _REQUEST ['modfunc ' ]=='delete ' && AllowEdit () )
117117{
118118 if ($ _REQUEST ['id ' ])
119119 {
Original file line number Diff line number Diff line change 22DrawHeader (ProgramTitle ());
33//$_ROSARIO['allow_edit'] = true;
44
5- if ($ _REQUEST ['tables ' ] && $ _POST ['tables ' ])
5+ if ($ _REQUEST ['tables ' ] && $ _POST ['tables ' ] && AllowEdit () )
66{
77 $ table = $ _REQUEST ['table ' ];
88 foreach ($ _REQUEST ['tables ' ] as $ id =>$ columns )
118118 unset($ _REQUEST ['tables ' ]);
119119}
120120
121- if ($ _REQUEST ['modfunc ' ]=='delete ' )
121+ if ($ _REQUEST ['modfunc ' ]=='delete ' && AllowEdit () )
122122{
123123 if ($ _REQUEST ['id ' ])
124124 {
Original file line number Diff line number Diff line change 22DrawHeader (ProgramTitle ());
33//$_ROSARIO['allow_edit'] = true;
44
5- if ($ _REQUEST ['tables ' ] && $ _POST ['tables ' ])
5+ if ($ _REQUEST ['tables ' ] && $ _POST ['tables ' ] && AllowEdit () )
66{
77 $ table = $ _REQUEST ['table ' ];
88 foreach ($ _REQUEST ['tables ' ] as $ id =>$ columns )
118118 unset($ _REQUEST ['tables ' ]);
119119}
120120
121- if ($ _REQUEST ['modfunc ' ]=='delete ' )
121+ if ($ _REQUEST ['modfunc ' ]=='delete ' && AllowEdit () )
122122{
123123 if ($ _REQUEST ['id ' ])
124124 {
You can’t perform that action at this time.
0 commit comments