diff --git a/module/bug/control.php b/module/bug/control.php index 95120dc799..26461b31f1 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -1156,8 +1156,8 @@ class bug extends control /** * Confirm story change. - * - * @param int $bugID + * + * @param int $bugID * @access public * @return void */ @@ -1171,8 +1171,8 @@ class bug extends control /** * Delete a bug. - * - * @param int $bugID + * + * @param int $bugID * @param string $confirm yes|no * @access public * @return void diff --git a/module/common/model.php b/module/common/model.php index 2448165ad8..c73ceec12c 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -588,14 +588,14 @@ class commonModel extends model * Print link to an modules' methd. * * Before printing, check the privilege first. If no privilege, return fasle. Else, print the link, return true. - * + * * @param string $module the module name * @param string $method the method * @param string $vars vars to be passed * @param string $label the label of the link * @param string $target the target of the link * @param string $misc others - * @param bool $newline + * @param bool $newline * @static * @access public * @return bool @@ -1129,7 +1129,7 @@ class commonModel extends model global $app, $lang; /* Check is the super admin or not. */ - if($app->user->admin) return true; + if($app->user->admin) return true; /* If not super admin, check the rights. */ $rights = $app->user->rights['rights']; diff --git a/module/doc/view/showfiles.html.php b/module/doc/view/showfiles.html.php index d272ff9c7a..8a0633472f 100644 --- a/module/doc/view/showfiles.html.php +++ b/module/doc/view/showfiles.html.php @@ -108,10 +108,10 @@ $imageWidth = $imageSize ? $imageSize[0] : 0; } - $sessionString = $config->requestType == 'PATH_INFO' ? '?' : '&'; - $sessionString .= session_name() . '=' . session_id(); - $fileID = $file->id; - $url = helper::createLink('file', 'download', 'fileID=' . $fileID) . $sessionString ; + $sessionString = $config->requestType == 'PATH_INFO' ? '?' : '&'; + $sessionString .= session_name() . '=' . session_id(); + $fileID = $file->id; + $url = helper::createLink('file', 'download', 'fileID=' . $fileID) . $sessionString ; ?> extension?>' target='_blank' onclick="return downloadFile(id?>, 'extension?>', )">
objectID");?>'>title . '.' . $file->extension . ' [' . strtoupper($file->objectType) . ' #' . $file->objectID . ']';?> + id"); ?>' target='hiddenwin' title='delete?>' class='delete pull-right'> +
diff --git a/module/user/model.php b/module/user/model.php index 03f971818a..1830b69f6f 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -746,9 +746,9 @@ class userModel extends model /** * Keep the user in login state. - * - * @param string $account - * @param string $password + * + * @param string $account + * @param string $password * @access public * @return void */