Skip to content

Commit

Permalink
*6018* Fixed space-based indents
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Oct 4, 2010
1 parent 56ae811 commit 0db0d21
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 63 deletions.
8 changes: 4 additions & 4 deletions classes/monograph/ChapterAuthorDAO.inc.php
Expand Up @@ -56,10 +56,10 @@ function &getAuthors($monographId = null, $chapterId = null) {
JOIN monograph_chapter_authors mca ON (ma.author_id = mca.author_id)
LEFT JOIN author_settings aspl ON (mca.author_id = aspl.author_id AND aspl.setting_name = ? AND aspl.locale = ?)
LEFT JOIN author_settings asl ON (mca.author_id = asl.author_id AND asl.setting_name = ? AND asl.locale = ?)' .
( (count($params)> 0)?' WHERE':'' ) .
( isset($monographId)?' ma.submission_id = ?':'' ) .
( (isset($monographId) && isset($chapterId))?' AND':'' ) .
( isset($chapterId)?' mca.chapter_id = ?':'' ) .
( (count($params)> 0)?' WHERE':'' ) .
( isset($monographId)?' ma.submission_id = ?':'' ) .
( (isset($monographId) && isset($chapterId))?' AND':'' ) .
( isset($chapterId)?' mca.chapter_id = ?':'' ) .
' ORDER BY mca.chapter_id, mca.seq';

$result =& $this->retrieve($sql, $params);
Expand Down
Expand Up @@ -95,7 +95,7 @@ function fetch($args, &$request) {
);

return parent::fetch($args, &$request, $additionalVars);
}
}

/*
* Configure the grid
Expand Down
Expand Up @@ -91,7 +91,7 @@ function fetch($args, &$request) {
);

return parent::fetch($args, &$request, $additionalVars);
}
}

/*
* Configure the grid
Expand Down
Expand Up @@ -92,7 +92,7 @@ function fetch($args, &$request) {
);

return parent::fetch($args, &$request, $additionalVars);
}
}

//
// Public AJAX-accessible functions
Expand Down Expand Up @@ -175,4 +175,4 @@ function deleteItems($args, &$request) {
return $json->getString();
}
}
?>
?>
Expand Up @@ -125,7 +125,7 @@ function fetch($args, &$request) {
);

return parent::fetch($args, &$request, $additionalVars);
}
}

/**
* @see PKPHandler::setupTemplate()
Expand Down
Expand Up @@ -67,7 +67,7 @@ function fetch($args, &$request) {
);

return parent::fetch($args, &$request, $additionalVars);
}
}


//
Expand Down
Expand Up @@ -103,7 +103,7 @@ function fetch($args, &$request) {
);

return parent::fetch($args, &$request, $additionalVars);
}
}

/**
* @see PKPHandler::setupTemplate()
Expand Down
Expand Up @@ -132,7 +132,7 @@ function fetch($args, &$request) {
);

return parent::fetch($args, &$request, $additionalVars);
}
}

/**
* @see PKPHandler::setupTemplate()
Expand Down
30 changes: 15 additions & 15 deletions pages/dashboard/DashboardHandler.inc.php
Expand Up @@ -14,21 +14,21 @@
import('handler.Handler');

class DashboardHandler extends Handler {
/**
* Constructor
*/
function DashboardHandler() {
parent::Handler();
}
/**
* Display about index page.
*/
function index(&$request, $args) {
$templateMgr = &TemplateManager::getManager();
$this->setupTemplate();
$templateMgr->display('dashboard/index.tpl');
}
/**
* Constructor
*/
function DashboardHandler() {
parent::Handler();
}
/**
* Display about index page.
*/
function index(&$request, $args) {
$templateMgr = &TemplateManager::getManager();
$this->setupTemplate();
$templateMgr->display('dashboard/index.tpl');
}


/**
Expand Down
72 changes: 36 additions & 36 deletions pages/manager/SettingsHandler.inc.php
Expand Up @@ -15,10 +15,10 @@
import('pages.manager.ManagerHandler');

class SettingsHandler extends ManagerHandler {
/**
* Constructor
*/
function SettingsHandler() {
/**
* Constructor
*/
function SettingsHandler() {
parent::ManagerHandler();
$this->addRoleAssignment(ROLE_ID_PRESS_MANAGER,
array(
Expand All @@ -36,40 +36,40 @@ function authorize(&$request, $args, $roleAssignments) {
}

/**
* Display settings index page.
*/
function settings(&$request, &$args) {
$templateMgr =& TemplateManager::getManager();
$this->setupTemplate(true);
$templateMgr->display('manager/settings/index.tpl');
}
* Display settings index page.
*/
function settings(&$request, &$args) {
$templateMgr =& TemplateManager::getManager();
$this->setupTemplate(true);
$templateMgr->display('manager/settings/index.tpl');
}

/**
* Display data settings index page.
*/
function data(&$request, &$args) {
$templateMgr =& TemplateManager::getManager();
$this->setupTemplate(true);
$templateMgr->display('manager/data/index.tpl');
}
/**
* Display data settings index page.
*/
function data(&$request, &$args) {
$templateMgr =& TemplateManager::getManager();
$this->setupTemplate(true);
$templateMgr->display('manager/data/index.tpl');
}

/**
* Display system settings index page.
*/
function system(&$request, &$args) {
$templateMgr =& TemplateManager::getManager();
$this->setupTemplate(true);
$templateMgr->display('manager/system/index.tpl');
}
/**
* Display system settings index page.
*/
function system(&$request, &$args) {
$templateMgr =& TemplateManager::getManager();
$this->setupTemplate(true);
$templateMgr->display('manager/system/index.tpl');
}

/**
* Display users settings index page.
*/
function users(&$request, &$args) {
$templateMgr =& TemplateManager::getManager();
$this->setupTemplate(true);
$templateMgr->display('manager/users/index.tpl');
}
/**
* Display users settings index page.
*/
function users(&$request, &$args) {
$templateMgr =& TemplateManager::getManager();
$this->setupTemplate(true);
$templateMgr->display('manager/users/index.tpl');
}
}

?>
?>

0 comments on commit 0db0d21

Please sign in to comment.