コード例 #1
0
ファイル: feedback.php プロジェクト: atrakroo/carpool-1
<link rel="stylesheet" type="text/css" href="css/reset-fonts.css">
<link rel="stylesheet" type="text/css" href="css/common.css">
<?php 
    if (LocaleManager::getInstance()->isRtl()) {
        ?>
<link rel="stylesheet" type="text/css" href="css/common_rtl.css">
<?php 
    }
    ?>
<title>Carpool</title>
</head>
<body>
<div id="bd">
<?php 
    echo View_Navbar::buildNavbar();
    echo View_Header::render(_('So, what do you say?'));
    ?>
<div id="content">
<form id="feedbackForm" action="feedback.php" method="post">
	<dl class="noFloat">
	<dd class="mandatory">
		<label for="wantTo"><?php 
    echo _('I want to...');
    ?>
</label>
		<select id="wantTo" name="wantTo">
		<?php 
    foreach ($feedbackOptions as $key => $feedbackOption) {
        ?>
			<option value="<?php 
        echo $key;
コード例 #2
0
ファイル: index.php プロジェクト: atrakroo/carpool-1
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<?php 
if (LocaleManager::getInstance()->isRtl()) {
    ?>
<link rel="stylesheet" type="text/css" href="css/common_rtl.css">
<?php 
}
?>
<title>Carpool</title>
</head>
<body>
<div id="bd">
<?php 
echo View_Navbar::buildNavbar();
echo View_Header::render(_('Welcome To The Carpool'), _('The colleagues, listed below, may be able to provide a ride both to and from the listed locations'));
?>
<div id="content">
	<div id="searchFormHolder">
		<form id="searchForm" action="xhr/SearchRides.php">
			<fieldset>
			<legend></legend>
			<dl>
				<dd>
					<label for="wantTo"><?php 
echo _('Show me');
?>
&nbsp;</label>
					<select id="wantTo" name="wantTo">
						<option value="<?php 
echo STATUS_DONT_CARE;
コード例 #3
0
ファイル: help.php プロジェクト: atrakroo/carpool-1
<link rel="stylesheet" type="text/css" href="css/reset-fonts.css">
<link rel="stylesheet" type="text/css" href="css/common.css">
<?php 
if (LocaleManager::getInstance()->isRtl()) {
    ?>
<link rel="stylesheet" type="text/css" href="css/common_rtl.css">
<?php 
}
?>
<title>Carpool</title>
</head>
<body>
<div id="bd">
<?php 
echo View_Navbar::buildNavbar();
echo View_Header::render(null);
?>
<div id="content">
<?php 
if ($content) {
    ?>
<ul id="questionsHolder">
<?php 
    foreach ($content as $qa) {
        ?>
<li>
	<p class='q'><span><?php 
        echo _('Q');
        ?>
:</span><?php 
        echo $qa['Question'];
コード例 #4
0
ファイル: translations.php プロジェクト: atrakroo/carpool-1
<link rel="stylesheet" type="text/css" href="../css/reset-fonts.css">
<link rel="stylesheet" type="text/css" href="../css/common.css">
<?php 
    if (LocaleManager::getInstance()->isRtl()) {
        ?>
<link rel="stylesheet" type="text/css" href="../css/common_rtl.css">
<?php 
    }
    ?>
<title>Carpool CMS</title>
</head>
<body>
<div id="bd">
<?php 
    echo View_Navbar::buildNavbar(AuthHandler::isLoggedIn());
    echo View_Header::render(_('Carpool CMS'));
    ?>
<div id="content">
<h2><?php 
    echo _('Questions and Answers editor');
    ?>
</h2>
<form id="qaDataForm" action="translations.php" method="post">
	<table style="width: 100%" summary="<?php 
    echo _('Edit existing translations');
    ?>
">
		<tr>
			<th>
    			<span><?php 
    echo _('Language');
コード例 #5
0
ファイル: join.php プロジェクト: atrakroo/carpool-1
<link rel="stylesheet" type="text/css" href="css/common.css">
<?php 
if (LocaleManager::getInstance()->isRtl()) {
    ?>
<link rel="stylesheet" type="text/css" href="css/common_rtl.css">
<?php 
}
?>
<title>Carpool</title>
</head>
<body>
<div id="bd">
<?php 
echo View_Navbar::buildNavbar();
$header = $hasRide ? _("Hello again, ") . htmlspecialchars($contact_Name) : _("Join the carpool.");
echo View_Header::render($header);
?>
<div id="content">
	<div>
	<form id="addRideForm" action="#" method="post" onsubmit="return false;"> 
		<p id="formMessage"></p>
		<fieldset>
			<legend><?php 
echo _('I want to...');
?>
</legend>
			<ul class="radioSelectorHolder">
    			<li><input type="radio" name="wantTo" <?php 
if (!isset($ride_Status) || isset($ride_Status) && $ride_Status == STATUS_LOOKING) {
    echo 'checked="checked"';
}
コード例 #6
0
ファイル: thanks.php プロジェクト: atrakroo/carpool-1
<link rel="stylesheet" type="text/css" href="css/reset-fonts.css">
<link rel="stylesheet" type="text/css" href="css/common.css">
<?php 
if (LocaleManager::getInstance()->isRtl()) {
    ?>
<link rel="stylesheet" type="text/css" href="css/common_rtl.css">
<?php 
}
?>
<title>Carpool</title>
</head>
<body>
<div id="bd">
<?php 
echo View_Navbar::buildNavbar();
echo View_Header::render(_("Thanks for joining") . ', ' . htmlspecialchars($contact['Name']) . "!");
?>
<div id="content">
<h2><?php 
echo _('Your contact details');
?>
:&nbsp;<span style="font-size: x-small"><a href="<?php 
echo Utils::buildLocalUrl('join.php');
?>
">(<?php 
echo _('Edit');
?>
)</a></span></h2>
<ul id="contactDetails">
<li><span><?php 
echo _('Name');
コード例 #7
0
ファイル: auth.php プロジェクト: atrakroo/carpool-1
    if (LocaleManager::getInstance()->isRtl()) {
        ?>
<link rel="stylesheet" type="text/css" href="css/common_rtl.css">
<?php 
    }
    ?>
<title><?php 
    echo _('Authentication');
    ?>
</title>
</head>
<body>
<div id="bd">
<?php 
    echo View_Navbar::buildNavbar();
    echo View_Header::render(_('Authentication'));
    ?>
<div id="content">
<form id="authenticationForm" action="auth.php" method="post">
	<dl class="noFloat">
	<?php 
    $authHelper->putLogonFormFields();
    ?>
	<dd>
		<input type="hidden" id="ref" name="ref" value="<?php 
    echo htmlspecialchars(Utils::getParam('ref', ''));
    ?>
" />
		<input type="submit" class="btn primary" value="<?php 
    echo _('Submit');
    ?>