[CS-Project-svn_notify] SF.net SVN: cs-project:[926] trunk/1.2
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-02-05 18:08:04
|
Revision: 926 http://cs-project.svn.sourceforge.net/cs-project/?rev=926&view=rev Author: crazedsanity Date: 2009-02-05 18:07:59 +0000 (Thu, 05 Feb 2009) Log Message: ----------- Minor layout changes. /includes/login.inc: * updates new "MAINTABLE_EXTRA" so it is center-aligned. /templates/header.shared.tmpl: * set the table holding the infobar & MAIN_error_message to have padding. /templates/main.shared.tmpl: * put content into a table with left padding (and a "MAINTABLE_EXTRA" var in the table declaration, so it can be changed on a per-page basis). Modified Paths: -------------- trunk/1.2/includes/login.inc trunk/1.2/templates/header.shared.tmpl trunk/1.2/templates/main.shared.tmpl Modified: trunk/1.2/includes/login.inc =================================================================== --- trunk/1.2/includes/login.inc 2009-02-05 17:41:48 UTC (rev 925) +++ trunk/1.2/includes/login.inc 2009-02-05 18:07:59 UTC (rev 926) @@ -16,6 +16,7 @@ $page->db = &$db; $page->add_template_var('cs-project_version', VERSION_STRING); +$page->add_template_var('MAINTABLE_EXTRA', 'align="center"'); if(isset($_GET['loginDestination']) && strlen($_GET['loginDestination'])) { $_SESSION['loginDestination'] = $_GET['loginDestination']; Modified: trunk/1.2/templates/header.shared.tmpl =================================================================== --- trunk/1.2/templates/header.shared.tmpl 2009-02-05 17:41:48 UTC (rev 925) +++ trunk/1.2/templates/header.shared.tmpl 2009-02-05 18:07:59 UTC (rev 926) @@ -10,7 +10,7 @@ <body bgcolor="#e0e0e0" style="margin:1px" {HTMLBODY_EXTRA}> -<table> +<table style="padding-left:2em"> <tr> <td> {infobar} Modified: trunk/1.2/templates/main.shared.tmpl =================================================================== --- trunk/1.2/templates/main.shared.tmpl 2009-02-05 17:41:48 UTC (rev 925) +++ trunk/1.2/templates/main.shared.tmpl 2009-02-05 18:07:59 UTC (rev 926) @@ -1,3 +1,9 @@ {header} -{content} +<table border="0" cellpadding="0" cellspacing="0" style="padding-left:1em" {MAINTABLE_EXTRA}> + <tr> + <td> + {content} + </td> + </tr> +</table> {footer} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |