From: <men...@us...> - 2011-09-12 12:46:47
|
Revision: 8 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=8&view=rev Author: mennodekker Date: 2011-09-12 12:46:41 +0000 (Mon, 12 Sep 2011) Log Message: ----------- update for new project Added Paths: ----------- trunk/new_project/htdocs/.htaccess trunk/new_project/var/settings/db.inc.php Added: trunk/new_project/htdocs/.htaccess =================================================================== --- trunk/new_project/htdocs/.htaccess (rev 0) +++ trunk/new_project/htdocs/.htaccess 2011-09-12 12:46:41 UTC (rev 8) @@ -0,0 +1,14 @@ +Options +FollowSymlinks + +php_flag magic_quotes_gpc off + +#SetEnv APPLICATION_ENV development + +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule ^.*$ - [NC,L] +RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php [NC,L] +#RewriteRule ^.*$ index.php [NC,L] \ No newline at end of file Added: trunk/new_project/var/settings/db.inc.php =================================================================== --- trunk/new_project/var/settings/db.inc.php (rev 0) +++ trunk/new_project/var/settings/db.inc.php 2011-09-12 12:46:41 UTC (rev 8) @@ -0,0 +1,10 @@ +<?php +//------------------------------------------------------------------------------------------------- +// Connect parameters for your project +//------------------------------------------------------------------------------------------------- +define ('HOST', 'localhost'); +define ('USER', 'new_project'); +define ('PASSWD', 'yourpassword'); +define ('DATABASE', 'new_project'); + +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gem...@li...> - 2011-09-19 08:19:06
|
Revision: 34 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=34&view=rev Author: mennodekker Date: 2011-09-19 08:19:00 +0000 (Mon, 19 Sep 2011) Log Message: ----------- Minor improvements for new_project Modified Paths: -------------- trunk/new_project/application/configs/project.ini trunk/new_project/htdocs/.htaccess Modified: trunk/new_project/application/configs/project.ini =================================================================== --- trunk/new_project/application/configs/project.ini 2011-09-19 08:07:34 UTC (rev 33) +++ trunk/new_project/application/configs/project.ini 2011-09-19 08:19:00 UTC (rev 34) @@ -10,9 +10,8 @@ favicon = "erasmusmc/erasmusmc.ico" jquerycss = "erasmusmc/css/jquery-mc.css" -contact.bugsUrl = http://survey.erasmusmc.nl/support/mantis/my_view_page.php -contact.supportUrl = http://survey.erasmusmc.nl/support/ - +contact.bugsUrl = https://sourceforge.net/apps/trac/gemstracker/wiki +contact.supportUrl = https://sourceforge.net/projects/gemstracker/support databaseFileEncoding = ISO-8859-1 ;------------------------------------------------------- Modified: trunk/new_project/htdocs/.htaccess =================================================================== --- trunk/new_project/htdocs/.htaccess 2011-09-19 08:07:34 UTC (rev 33) +++ trunk/new_project/htdocs/.htaccess 2011-09-19 08:19:00 UTC (rev 34) @@ -1,6 +1,7 @@ Options +FollowSymlinks php_flag magic_quotes_gpc off +php_value memory_limit 32M #SetEnv APPLICATION_ENV development @@ -10,5 +11,4 @@ RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] -RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php [NC,L] -#RewriteRule ^.*$ index.php [NC,L] \ No newline at end of file +RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php [NC,L] \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gem...@li...> - 2012-02-15 10:54:10
|
Revision: 474 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=474&view=rev Author: mennodekker Date: 2012-02-15 10:54:01 +0000 (Wed, 15 Feb 2012) Log Message: ----------- Introduced the DisplayVars event, to help code new events (doc's will be added to the wiki shortly, using this event) Set keywords Added Paths: ----------- trunk/new_project/application/events/survey/completed/DisplayVars.php Property Changed: ---------------- trunk/new_project/application/classes/NewProject/Escort.php trunk/new_project/application/classes/NewProject/Menu.php trunk/new_project/htdocs/index.php trunk/new_project/var/settings/db.inc.php Property changes on: trunk/new_project/application/classes/NewProject/Escort.php ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date Author Property changes on: trunk/new_project/application/classes/NewProject/Menu.php ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date Author Added: trunk/new_project/application/events/survey/completed/DisplayVars.php =================================================================== --- trunk/new_project/application/events/survey/completed/DisplayVars.php (rev 0) +++ trunk/new_project/application/events/survey/completed/DisplayVars.php 2012-02-15 10:54:01 UTC (rev 474) @@ -0,0 +1,74 @@ +<?php +/** + * Copyright (c) 2011, Erasmus MC + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Erasmus MC nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * @package Gems + * @subpackage Event + * @copyright Copyright (c) 2011 Erasmus MC + * @license New BSD License + * @version $Id: Sample.php 215 2011-07-12 08:52:54Z michiel $ + */ + +/** + * Displays the variables and their values to help create a new calculation + * + * To start a new calculation you need to know the exact name of the variables returned + * by the survey source. This event will show this information and the values for each + * token it finds. + * + * @package Gems + * @subpackage Event + * @copyright Copyright (c) 2011 Erasmus MC + * @license New BSD License + * @since Class available since version 1.5.1 + */ +class DisplayVars extends Gems_Event_EventCalculations implements Gems_Event_SurveyCompletedEventInterface +{ + + /** + * A pretty name for use in dropdown selection boxes. + * + * @return string Name + */ + public function getEventName() + { + return "Echo the variables"; + } + + /** + * Process the data and return the answers that should be changed. + * + * Storing the changed values is handled by the calling function. + * + * @param Gems_Tracker_Token $token Gems token object + * @return array Containing the changed values + */ + public function processTokenData(Gems_Tracker_Token $token) + { + MUtil_Echo::r($token->getRawAnswers(), $token->getTokenId()); + return false; + } +} \ No newline at end of file Property changes on: trunk/new_project/htdocs/index.php ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date Author Property changes on: trunk/new_project/var/settings/db.inc.php ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date Author This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gem...@li...> - 2012-07-05 11:02:46
|
Revision: 814 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=814&view=rev Author: matijsdejong Date: 2012-07-05 11:02:37 +0000 (Thu, 05 Jul 2012) Log Message: ----------- New project uses basic.css cleanup of extra db.inc.php Modified Paths: -------------- trunk/new_project/application/configs/project.ini trunk/new_project/var/settings/db.inc.php Modified: trunk/new_project/application/configs/project.ini =================================================================== --- trunk/new_project/application/configs/project.ini 2012-07-05 10:54:04 UTC (rev 813) +++ trunk/new_project/application/configs/project.ini 2012-07-05 11:02:37 UTC (rev 814) @@ -10,7 +10,7 @@ ; Put %s somewhere within the salt to mix the value ; in the salt. ;--------------------------------------------------- -salt = +salt = ;---------------------------------------------------------- ; The non database super user @@ -19,16 +19,17 @@ ; and quoted if it contains special characters. ;---------------------------------------------------------- admin.user = superadmin -admin.pwd = +admin.pwd = PASSWD ;admin.ipRanges = css.gems = gems/css/gems-fixed.css css.print.url = gems/css/gems_print.css css.print.media = print -imagedir = gems/images -css.local = "erasmusmc/css/erasmusmc.css" -favicon = "erasmusmc/erasmusmc.ico" -jquerycss = "erasmusmc/css/jquery-mc.css" +imagedir = gems/images +imagedir = gems/images +css.local = basic/basic.css +favicon = basic/basic.ico +jquerycss = basic/basic.jquery-basic.css contact.bugsUrl = https://sourceforge.net/apps/trac/gemstracker/wiki contact.supportUrl = https://sourceforge.net/projects/gemstracker/support Modified: trunk/new_project/var/settings/db.inc.php =================================================================== --- trunk/new_project/var/settings/db.inc.php 2012-07-05 10:54:04 UTC (rev 813) +++ trunk/new_project/var/settings/db.inc.php 2012-07-05 11:02:37 UTC (rev 814) @@ -6,5 +6,3 @@ define ('USER', 'new_project'); define ('PASSWD', 'yourpassword'); define ('DATABASE', 'new_project'); - -?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gem...@li...> - 2012-07-05 12:22:48
|
Revision: 815 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=815&view=rev Author: matijsdejong Date: 2012-07-05 12:22:38 +0000 (Thu, 05 Jul 2012) Log Message: ----------- Now the basic style is fully fluid and cleaned up Modified Paths: -------------- trunk/new_project/application/configs/project.ini trunk/new_project/htdocs/basic/basic.css trunk/new_project/htdocs/gems/css/gems-new.css Modified: trunk/new_project/application/configs/project.ini =================================================================== --- trunk/new_project/application/configs/project.ini 2012-07-05 11:02:37 UTC (rev 814) +++ trunk/new_project/application/configs/project.ini 2012-07-05 12:22:38 UTC (rev 815) @@ -22,7 +22,7 @@ admin.pwd = PASSWD ;admin.ipRanges = -css.gems = gems/css/gems-fixed.css +css.gems = gems/css/gems-fluid.css css.print.url = gems/css/gems_print.css css.print.media = print imagedir = gems/images Modified: trunk/new_project/htdocs/basic/basic.css =================================================================== --- trunk/new_project/htdocs/basic/basic.css 2012-07-05 11:02:37 UTC (rev 814) +++ trunk/new_project/htdocs/basic/basic.css 2012-07-05 12:22:38 UTC (rev 815) @@ -4,7 +4,6 @@ } #all, #all_full_width { - margin: 0 10px; max-width: 10000px; } @@ -18,7 +17,7 @@ box-shadow: 1px 1px 2px darkgrey; -moz-box-shadow: 1px 1px 2px darkgrey; -webkit-box-shadow: 1px 1px 2px darkgrey; - color: black; + color: black; margin: 4px 0; padding: 0 4px; text-decoration: none; @@ -44,7 +43,7 @@ box-shadow: 1px 1px 2px darkgrey; -moz-box-shadow: 1px 1px 2px darkgrey; -webkit-box-shadow: 1px 1px 2px darkgrey; - color: black; + color: black; font-size: 80%; margin: 4px 0; padding: 0 4px; @@ -59,16 +58,9 @@ background-color: white; font-family: Verdana,Arial,Helvetica,Sans-serif; font-size: 14px; + padding: 0 10px 0 10px; } -#header { - background: url(local/pulse.gif) no-repeat right bottom; - height: 52px; - margin: 10px auto 0 auto; - overflow: hidden; - padding : 0; -} - #footer, #header_bar { background-color: lightgrey; border: 1px solid lightgrey; @@ -78,10 +70,16 @@ box-shadow: 1px 1px 2px black; -moz-box-shadow: 1px 1px 2px black; -webkit-box-shadow: 1px 1px 2px black; - padding: 1px 3px; - /*height: 18px;*/ } +#header { + background: url(local/pulse.gif) no-repeat right bottom; + height: 52px; + margin: 10px auto 0 auto; + overflow: hidden; + padding: 0; +} + #header_bar #languages span { font-style: italic; font-weight: bold; @@ -100,15 +98,15 @@ } #menu .navigation .active a { - color: black; -} + color: black; +} #menu .navigation .active ul li a { - color: darkblue; -} + color: darkblue; +} #menu .navigation .active ul li.active a { - color: black; + color: black; } .tab { @@ -151,7 +149,7 @@ font-weight: bold; } -table.browser tfoot td a, table.browser thead th a, , table.timeTable tfoot td a, table.timeTable thead th a, +table.browser tfoot td a, table.browser thead th a, , table.timeTable tfoot td a, table.timeTable thead th a, .toolbox .toolanchor { color: #00ffff; text-decoration: underline; Modified: trunk/new_project/htdocs/gems/css/gems-new.css =================================================================== --- trunk/new_project/htdocs/gems/css/gems-new.css 2012-07-05 11:02:37 UTC (rev 814) +++ trunk/new_project/htdocs/gems/css/gems-new.css 2012-07-05 12:22:38 UTC (rev 815) @@ -1,8 +1,3 @@ -/* - * START OF LAYOUT - * - * Be careful making changes here - */ /* column container */ #wrapper { @@ -28,35 +23,6 @@ right:160px; /* menu_abs_width */ } -#main { - margin: 10px 10px 10px 170px; /* margin margin margin margin + menu_abs_width */ - position:relative; - right:100%; - overflow:hidden; -} -#menu { - margin: 10px 10px 10px 10px; /* margin margin margin margin */ - float:left; - width:140px; /* menu_abs_width - margin - margin */ - position:relative; - right:160px; /* menu_abs_width */ -} - -/* Header/footer styles */ -#footer { - margin-bottom: 10px; - height: 1.2em; -} - -.fullwidth > div { - margin: 0px 5px; /* provide a little 'air' on full-width */ -} - -/* - * END OF LAYOUT - */ - - /* Links */ a { text-decoration: none; @@ -105,18 +71,6 @@ padding-right: 20px !important; } -.askRound { - margin-left: 2em; -} - -.askSurvey { - margin: 0.1em 0 0.1em 4em; -} - -.askTrack { - margin-top: 0.8em; -} - body { margin: 0; padding: 0; @@ -202,6 +156,19 @@ padding-right: 0.5em; } +/* Header/footer styles */ +#footer { + margin-bottom: 10px; +} + +#footer div, #header_bar div, #header_bar span { + padding: 1px 3px 2px 3px; +} + +.fullwidth > div { + margin: 0px 5px; /* provide a little 'air' on full-width */ +} + h1, h2, h3 { margin: 0.5em 0 0.25em 0; padding: 0; @@ -212,8 +179,8 @@ padding: 0; } -#header h1 { - margin-top: 0; +#header_bar { + padding: 0px; } #header_bar #contact .dropdownContent { @@ -236,9 +203,21 @@ width: 100%; } +#header h1 { + margin-top: 0; +} + +#header_bar #organizations { + float:left; + height: 1.7em; + padding-top: 2px; + overflow: hidden; +} + +#header_bar #organizations input, #header_bar #organizations select { margin: 1px; padding: 0px; font-size: 100%;} + #login .logout { - margin-left: 1em; - margin-right: .5em; + margin-left: 0.5em; } img { @@ -283,9 +262,12 @@ padding: 2px 0.5em; } -/* *padding + *ovverflow to use only in IE */ #main { - margin-bottom: 10px; + margin: 10px 10px 10px 170px; /* margin margin margin margin + menu_abs_width */ + position:relative; + right:100%; + overflow:hidden; + /* *padding + *overflow to use only in IE 6 */ *overflow-x: auto; *padding-bottom: 25px; } @@ -328,7 +310,12 @@ } #menu { + margin: 10px 10px 10px 10px; /* margin margin margin margin */ + float:left; + width:140px; /* menu_abs_width - margin - margin */ padding: 0px 0 10px 10px; + position:relative; + right:160px; /* menu_abs_width */ word-wrap: break-word; /* IE only feature */ } @@ -374,29 +361,6 @@ font-weight: bold; } -#header_bar { - height: 1.9em; - padding: 0px; -} - -#header_bar #contact, #header_bar #login { - position: relative; - padding: 5px 5px 0 5px; -} - -#header_bar #languages { - padding: 5px; -} - -#header_bar #organizations { - float:left; - height: 1.7em; - padding-top: 2px; - overflow: hidden; -} - -#header_bar #organizations input, #header_bar #organizations select { margin: 1px; padding: 0px; font-size: 100%;} - .middleAlign { vertical-align: middle; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <gem...@li...> - 2013-02-28 11:02:06
|
Revision: 1164 http://sourceforge.net/p/gemstracker/code/1164 Author: matijsdejong Date: 2013-02-28 11:02:02 +0000 (Thu, 28 Feb 2013) Log Message: ----------- Moved GEMS_PROJECT_NAME_UC to pre_bootstrap Adapted .ini's to maximum GEMS_PROJECT_NAME_UC use Modified Paths: -------------- trunk/new_project/application/configs/application.ini trunk/new_project/application/configs/project.ini trunk/new_project/htdocs/index.php Modified: trunk/new_project/application/configs/application.ini =================================================================== --- trunk/new_project/application/configs/application.ini 2013-02-28 11:00:48 UTC (rev 1163) +++ trunk/new_project/application/configs/application.ini 2013-02-28 11:02:02 UTC (rev 1164) @@ -3,9 +3,9 @@ phpSettings.display_startup_errors = 0 phpSettings.display_errors = 0 -bootstrap.path = "NewProject/Escort.php" -bootstrap.class = "NewProject_Escort" -loaderDirs.NewProject = APPLICATION_PATH "/classes/NewProject" +bootstrap.path = GEMS_PROJECT_NAME_UC "/Escort.php" +bootstrap.class = GEMS_PROJECT_NAME_UC "_Escort" +; loaderDirs.NEWPROJECT = APPLICATION_PATH "/classes/" GEMS_PROJECT_NAME_UC loaderDirs.Gems = GEMS_LIBRARY_DIR "/classes/Gems" ; resources.db.adapter = PDO_MYSQL resources.db.adapter = Mysqli Modified: trunk/new_project/application/configs/project.ini =================================================================== --- trunk/new_project/application/configs/project.ini 2013-02-28 11:00:48 UTC (rev 1163) +++ trunk/new_project/application/configs/project.ini 2013-02-28 11:02:02 UTC (rev 1164) @@ -1,6 +1,6 @@ [production] -name = "New" -description = "New" +name = GEMS_PROJECT_NAME_UC +description = GEMS_PROJECT_NAME_UC ;longDescr = "" ;longDescrNl = "" Modified: trunk/new_project/htdocs/index.php =================================================================== --- trunk/new_project/htdocs/index.php 2013-02-28 11:00:48 UTC (rev 1163) +++ trunk/new_project/htdocs/index.php 2013-02-28 11:02:02 UTC (rev 1164) @@ -53,7 +53,6 @@ // Internal pretty project name - no spaces etc., will be used for tags and IDs! define('GEMS_PROJECT_NAME', 'newProject'); -defined('GEMS_PROJECT_NAME_UC') || define('GEMS_PROJECT_NAME_UC', ucfirst(GEMS_PROJECT_NAME)); /** * Define application environment This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |