Subversion Repositories oidplus

Rev

Rev 1274 | Rev 1293 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1274 Rev 1278
Line 184... Line 184...
184
         * @param bool $handled
184
         * @param bool $handled
185
         * @return void
185
         * @return void
186
         * @throws OIDplusException
186
         * @throws OIDplusException
187
         */
187
         */
188
        public function gui(string $id, array &$out, bool &$handled) {
188
        public function gui(string $id, array &$out, bool &$handled) {
189
                $parts = explode('$',$id,2);
-
 
190
                if (!isset($parts[1])) $parts[1] = '';
-
 
191
                if ($parts[0] == 'oidplus:software_update') {
189
                if ($id == 'oidplus:software_update') {
192
                        @set_time_limit(0);
190
                        @set_time_limit(0);
193
 
191
 
194
                        $handled = true;
192
                        $handled = true;
195
                        $out['title'] = _L('Software update');
193
                        $out['title'] = _L('Software update');
196
                        $out['icon']  = OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'img/main_icon.png';
194
                        $out['icon']  = OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'img/main_icon.png';