import v1.1.0_beta1 | 2009-08-21
This commit is contained in:
22
modules/default/views/scripts/cid/index.phtml
Normal file
22
modules/default/views/scripts/cid/index.phtml
Normal file
@ -0,0 +1,22 @@
|
||||
<h2><?php echo $this->translate('About Community-id') ?></h2>
|
||||
<div>
|
||||
<label><?php echo $this->translate('Version installed:') ?></label>
|
||||
<?php echo $this->version ?>
|
||||
</div>
|
||||
<div style="margin:20px 0 10px">
|
||||
<label>
|
||||
<?php echo $this->translate('Latest news from Community-ID:') ?>
|
||||
</label>
|
||||
</div>
|
||||
<ul>
|
||||
<?php foreach ($this->news as $item): ?>
|
||||
<li>
|
||||
<div>
|
||||
<a href="<?php echo $item->link ?>"><?= $item->title ?></a>
|
||||
</div>
|
||||
<div class="newsExcerpt">
|
||||
<?php echo $item->content ?>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
@ -6,13 +6,13 @@
|
||||
</head>
|
||||
<body>
|
||||
<h2>An error occurred</h2>
|
||||
<strong><?= $this->message ?></strong>
|
||||
<? if ($this->trace): ?>
|
||||
<strong><?php echo $this->message ?></strong>
|
||||
<?php if ($this->trace): ?>
|
||||
<pre>
|
||||
Stack Trace:
|
||||
<?= $this->trace ?>
|
||||
<?php echo $this->trace ?>
|
||||
</pre>
|
||||
<? endif ?>
|
||||
<?php endif ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
<h3><?= $this->translate('In order to serve you better, we have provided the form below for your questions and comments') ?></h3>
|
||||
<form id="feedbackForm" method="post" action="<?= $this->base ?>/feedback/send" class="formGrid">
|
||||
<?= $this->form->name ?>
|
||||
<?= $this->form->email ?>
|
||||
<?= $this->form->feedback ?>
|
||||
<?= $this->form->captcha ?>
|
||||
<input type="submit" id="send" value="<?= $this->translate('Send') ?>" />
|
||||
<h3><?php echo $this->translate('In order to serve you better, we have provided the form below for your questions and comments') ?></h3>
|
||||
<form id="feedbackForm" method="post" action="<?php echo $this->base ?>/feedback/send" class="formGrid">
|
||||
<?php echo $this->form->name ?>
|
||||
<?php echo $this->form->email ?>
|
||||
<?php echo $this->form->feedback ?>
|
||||
<?php echo $this->form->captcha ?>
|
||||
<input type="submit" id="send" value="<?php echo $this->translate('Send') ?>" />
|
||||
<script type="text/javascript">
|
||||
var oButton = new YAHOO.widget.Button("send");
|
||||
</script>
|
||||
|
@ -10,7 +10,7 @@ YAHOO.util.Event.onDOMReady(function () {
|
||||
<div id="paging"></div>
|
||||
<div id="dt"></div>
|
||||
<div id="clearHistory">
|
||||
<input type="button" id="clearHistoryBtn" value="<?= $this->translate('Clear History') ?>" onclick="COMMID.historyList.clearEntries()" />
|
||||
<input type="button" id="clearHistoryBtn" value="<?php echo $this->translate('Clear History') ?>" onclick="COMMID.historyList.clearEntries()" />
|
||||
<script type="text/javascript">
|
||||
YAHOO.util.Event.onDOMReady(function () {
|
||||
var oButton = new YAHOO.widget.Button(
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div id="article">
|
||||
This is the identity page for the Community-ID user identified with:
|
||||
<h2 style="text-align:center"><?= $this->idUrl ?></h2>
|
||||
<h2 style="text-align:center"><?php echo $this->idUrl ?></h2>
|
||||
</div>
|
||||
|
@ -14,24 +14,43 @@
|
||||
<p style="font-weight: bold; text-align:center">
|
||||
Auf was warten Sie noch?<br />
|
||||
Vereinfachen Sie Ihr Leben und verringern das Risiko.<br /><br />
|
||||
<a href="<?= $this->base ?>/users/register">ERÖFFNEN SIE JETZT EIN KONTO</a>
|
||||
<a href="<?php echo $this->base ?>/users/register">ERÖFFNEN SIE JETZT EIN KONTO</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="yui-u">
|
||||
<div id="homeNews">
|
||||
<h3>Letzte News</h3>
|
||||
<ul>
|
||||
<? foreach ($this->news as $item): ?>
|
||||
<?php foreach ($this->news as $item): ?>
|
||||
<li>
|
||||
<div>
|
||||
<a href="<?= $item->link['href'] ?>"><?= $item->title ?></a>
|
||||
<a href="<?php echo $this->base . '/news/' . $item->id ?>"><?= $item->title ?></a>
|
||||
</div>
|
||||
<div class="newsExcerpt">
|
||||
<?= $item->content ?>
|
||||
<?php echo $item->excerpt ?>
|
||||
<div>
|
||||
<a class="readMore" href="<?php echo $this->base . '/news/' . $item->id ?>"><?php echo $this->translate('Read More') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<?php endforech ?>
|
||||
<?php if (count($this->news) == 0): ?>
|
||||
<div>
|
||||
<?php echo $this->translate('There are no news articles yet') ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</ul> <!-- FF bug -->
|
||||
<div style="position:relative">
|
||||
<div class="linksTopRight">
|
||||
<?php if (count($this->news) > 0): ?>
|
||||
<a href="<?php echo $this->base ?>/news"><?php echo $this->translate('View All') ?></a>
|
||||
<?php endif ?>
|
||||
<?php if ($this->user->role == Users_Model_User::ROLE_ADMIN): ?>
|
||||
|
|
||||
<a href="<?php echo $this->base ?>/news/edit/add"><?php echo $this->translate('Add New Article') ?></a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="borderFadingLeft">
|
||||
</div>
|
||||
|
@ -14,24 +14,43 @@
|
||||
<p style="font-weight: bold; text-align:center">
|
||||
What are you waiting for?<br />
|
||||
Simplify your life and reduce your risk exposure.<br /><br />
|
||||
<a href="<?= $this->base ?>/users/register">OPEN AN ACCOUNT NOW</a>
|
||||
<a href="<?php echo $this->base ?>/users/register">OPEN AN ACCOUNT NOW</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="yui-u">
|
||||
<div id="homeNews">
|
||||
<h3>Latest News</h3>
|
||||
<ul>
|
||||
<? foreach ($this->news as $item): ?>
|
||||
<?php foreach ($this->news as $item): ?>
|
||||
<li>
|
||||
<div>
|
||||
<a href="<?= $item->link['href'] ?>"><?= $item->title ?></a>
|
||||
<a href="<?php echo $this->base . '/news/' . $item->id ?>"><?= $item->title ?></a>
|
||||
</div>
|
||||
<div class="newsExcerpt">
|
||||
<?= $item->content ?>
|
||||
<?php echo $item->excerpt ?>
|
||||
<div>
|
||||
<a class="readMore" href="<?php echo $this->base . '/news/' . $item->id ?>"><?php echo $this->translate('Read More') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<?php endforeach ?>
|
||||
<?php if (count($this->news) == 0): ?>
|
||||
<div>
|
||||
<?php echo $this->translate('There are no news articles yet') ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</ul> <!-- FF bug -->
|
||||
<div style="position:relative">
|
||||
<div class="linksTopRight">
|
||||
<?php if (count($this->news) > 0): ?>
|
||||
<a href="<?php echo $this->base ?>/news"><?php echo $this->translate('View All') ?></a>
|
||||
<?php endif ?>
|
||||
<?php if ($this->user->role == Users_Model_User::ROLE_ADMIN): ?>
|
||||
|
|
||||
<a href="<?php echo $this->base ?>/news/edit/add"><?php echo $this->translate('Add New Article') ?></a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="borderFadingLeft">
|
||||
</div>
|
||||
|
@ -14,24 +14,41 @@
|
||||
<p style="font-weight: bold; text-align:center">
|
||||
¿Qué está esperando?<br />
|
||||
Simplifique su vida y reduzca su exposición al riesgo.<br /><br />
|
||||
<a href="<?= $this->base ?>/users/register">ABRA UNA CUENTA AHORA</a>
|
||||
<a href="<?php echo $this->base ?>/users/register">ABRA UNA CUENTA AHORA</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="yui-u">
|
||||
<div id="homeNews">
|
||||
<h3>Ultimas Noticias</h3>
|
||||
<ul>
|
||||
<? foreach ($this->news as $item): ?>
|
||||
<li>
|
||||
<?php foreach ($this->news as $item): ?>
|
||||
<div>
|
||||
<a href="<?= $item->link['href'] ?>"><?= $item->title ?></a>
|
||||
<a href="<?php echo $this->base . '/news/' . $item->id ?>"><?= $item->title ?></a>
|
||||
</div>
|
||||
<div class="newsExcerpt">
|
||||
<?= $item->content ?>
|
||||
<?php echo $item->excerpt ?>
|
||||
<div>
|
||||
<a class="readMore" href="<?php echo $this->base . '/news/' . $item->id ?>"><?php echo $this->translate('Read More') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<?php endforeach ?>
|
||||
<?php if (count($this->news) == 0): ?>
|
||||
<div>
|
||||
<?php echo $this->translate('There are no news articles yet') ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</ul> <!-- FF bug -->
|
||||
<div style="position:relative">
|
||||
<div class="linksTopRight">
|
||||
<?php if (count($this->news) > 0): ?>
|
||||
<a href="<?php echo $this->base ?>/news"><?php echo $this->translate('View All') ?></a>
|
||||
<?php endif ?>
|
||||
<?php if ($this->user->role == Users_Model_User::ROLE_ADMIN): ?>
|
||||
|
|
||||
<a href="<?php echo $this->base ?>/news/edit/add"><?php echo $this->translate('Add New Article') ?></a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="borderFadingLeft">
|
||||
</div>
|
||||
|
@ -24,24 +24,43 @@
|
||||
<p style="font-weight: bold; text-align:center">
|
||||
Vad väntar du på?<br />
|
||||
Förenkla livet och minska riskerna.<br /><br />
|
||||
<a href="<?= $this->base ?>/users/register">SKAFFA GRATIS OpenID NU</a>
|
||||
<a href="<?php echo $this->base ?>/users/register">SKAFFA GRATIS OpenID NU</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="yui-u">
|
||||
<div id="homeNews">
|
||||
<h3>Senaste nytt</h3>
|
||||
<ul>
|
||||
<? foreach ($this->news as $item): ?>
|
||||
<?php foreach ($this->news as $item): ?>
|
||||
<li>
|
||||
<div>
|
||||
<a href="<?= $item->link['href'] ?>"><?= $item->title ?></a>
|
||||
<a href="<?php echo $this->base . '/news/' . $item->id ?>"><?= $item->title ?></a>
|
||||
</div>
|
||||
<div class="newsExcerpt">
|
||||
<?= $item->content ?>
|
||||
<?php echo $item->excerpt ?>
|
||||
<div>
|
||||
<a class="readMore" href="<?php echo $this->base . '/news/' . $item->id ?>"><?php echo $this->translate('Read More') ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<?php endforeach ?>
|
||||
<?php if (count($this->news) == 0): ?>
|
||||
<div>
|
||||
<?php echo $this->translate('There are no news articles yet') ?>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
</ul> <!-- FF bug -->
|
||||
<div style="position:relative">
|
||||
<div class="linksTopRight">
|
||||
<?php if (count($this->news) > 0): ?>
|
||||
<a href="<?php echo $this->base ?>/news"><?php echo $this->translate('View All') ?></a>
|
||||
<?php endif ?>
|
||||
<?php if ($this->user->role == Users_Model_User::ROLE_ADMIN): ?>
|
||||
|
|
||||
<a href="<?php echo $this->base ?>/news/edit/add"><?php echo $this->translate('Add New Article') ?></a>
|
||||
<?php endif ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="borderFadingLeft">
|
||||
</div>
|
||||
|
@ -6,49 +6,33 @@
|
||||
}
|
||||
</style>
|
||||
<![endif]-->
|
||||
<em><?= $this->translate('This message will be sent to all registered Community-ID users') ?></em>
|
||||
<form id="messageUsersForm" name="messageUsersForm" method="post" action="<?= $this->base ?>/messageusers/send">
|
||||
<em><?php echo $this->translate('This message will be sent to all registered Community-ID users') ?></em>
|
||||
<form id="messageUsersForm" name="messageUsersForm" method="post" action="<?php echo $this->base ?>/messageusers/send" class="formGrid">
|
||||
<input type="hidden" name="messageType" value="rich" />
|
||||
<dl class="shortLabelsForm">
|
||||
<?= $this->messageUsersForm->subject ?>
|
||||
<?= $this->messageUsersForm->cc ?>
|
||||
</dl>
|
||||
<?php echo $this->messageUsersForm->subject ?>
|
||||
<?php echo $this->messageUsersForm->cc ?>
|
||||
<div id="textareasWrapper">
|
||||
<div id="linkSwitchToPlain">
|
||||
<a href="#" onclick="COMMID.messageUsers.switchToPlainText()"><?= $this->translate('switch to Plain-Text') ?></a>
|
||||
<a href="#" onclick="COMMID.messageUsers.switchToPlainText()"><?php echo $this->translate('switch to Plain-Text') ?></a>
|
||||
</div>
|
||||
<div id="linkSwitchToRich">
|
||||
<a href="#" onclick="COMMID.messageUsers.switchToRichText()"><?= $this->translate('switch to Rich-Text (HTML)') ?></a>
|
||||
<a href="#" onclick="COMMID.messageUsers.switchToRichText()"><?php echo $this->translate('switch to Rich-Text (HTML)') ?></a>
|
||||
</div>
|
||||
<br />
|
||||
<div id="bodyPlainWrapper">
|
||||
<?php echo $this->messageUsersForm->bodyPlain ?>
|
||||
</div>
|
||||
<div id="bodyHTMLWrapper">
|
||||
<?php echo $this->messageUsersForm->bodyHTML ?>
|
||||
</div>
|
||||
<dl class="shortLabelsForm">
|
||||
<!-- can't use the Zend_Form here in order to overcome an IE bug -->
|
||||
<dt id="bodyPlainDt">
|
||||
<label for="bodyPlain" class="optional"><?= $this->translate('Body:') ?></label>
|
||||
</dt>
|
||||
<dd id="bodyPlainDd">
|
||||
<textarea name="bodyPlain" id="bodyPlain" rows="24" cols="80"><?= $this->messageUsersForm->bodyPlain->getValue() ?></textarea>
|
||||
</dd>
|
||||
<dt id="bodyHTMLDt">
|
||||
<label for="bodyHTML" class="optional"><?= $this->translate('Body:') ?></label>
|
||||
</dt>
|
||||
<dd id="bodyHTMLDd">
|
||||
<textarea name="bodyHTML" id="bodyHTML" rows="24" cols="80"><?= $this->messageUsersForm->bodyHTML->getValue() ?></textarea>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
||||
<input type="submit" id="send" value="<?= $this->translate('Send') ?>" />
|
||||
<input type="submit" id="send" value="<?php echo $this->translate('Send') ?>" />
|
||||
<script type="text/javascript">
|
||||
var oButton = new YAHOO.widget.Button("send");
|
||||
</script>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
YAHOO.util.Event.onDOMReady(function() {
|
||||
COMMID.loader.insert(
|
||||
["resize", "menu", "editor"],
|
||||
function() {
|
||||
COMMID.editor.init('100%','500px', 'bodyHTML');
|
||||
$("messageUsersForm").onsubmit = COMMID.messageUsers.send;
|
||||
}
|
||||
);
|
||||
});
|
||||
YAHOO.util.Event.onDOMReady(function() {
|
||||
$("messageUsersForm").onsubmit = COMMID.messageUsers.send;
|
||||
});
|
||||
</script>
|
||||
|
@ -1,10 +1,16 @@
|
||||
<div id="article">
|
||||
<form action="authenticate?<?= $this->queryString ?>" method="post">
|
||||
<?= $this->form->openIdIdentity ?>
|
||||
<?= $this->form->password ?>
|
||||
<input type="submit" id="login" value="<?= $this->translate('Login') ?>" />
|
||||
<script type="text/javascript">
|
||||
var oButton = new YAHOO.widget.Button("login");
|
||||
</script>
|
||||
</form>
|
||||
</div>
|
||||
<form action="authenticate<?php echo $this->queryString ?>" method="post" class="formGrid">
|
||||
<?php echo $this->form->openIdIdentity ?>
|
||||
<?php echo $this->form->password ?>
|
||||
<?php if ($this->useCaptcha): ?>
|
||||
<?php echo $this->form->captcha ?>
|
||||
<?php endif ?>
|
||||
<div class="yui-gf">
|
||||
<div class="yui-u first">
|
||||
<input type="submit" id="login" value="<?php echo $this->translate('Login') ?>" />
|
||||
<script type="text/javascript">
|
||||
var oButton = new YAHOO.widget.Button("login");
|
||||
</script>
|
||||
</div>
|
||||
<div class="yui-u"> </div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -1,31 +1,31 @@
|
||||
<div id="article">
|
||||
<div>
|
||||
<?= $this->translate('A site identifying as %s has asked for confirmation that %s is your identity URL.', '<a href="' . $this->siteRoot . '">' . $this->siteRoot . '</a>', '<a href="' . $this->identityUrl . '">' . $this->identityUrl . '</a>') ?>
|
||||
<?php echo $this->translate('A site identifying as %s has asked for confirmation that %s is your identity URL.', '<a href="' . $this->siteRoot . '">' . $this->siteRoot . '</a>', '<a href="' . $this->identityUrl . '">' . $this->identityUrl . '</a>') ?>
|
||||
</div>
|
||||
<form method="post" action="provider?<?= $this->queryString ?>" class="formGrid">
|
||||
<form method="post" action="proceed<?php echo $this->queryString ?>" class="formGrid">
|
||||
<input type="hidden" name="action" value="proceed">
|
||||
<? if ($this->fields): ?>
|
||||
<?php if ($this->fields): ?>
|
||||
<br />
|
||||
<?= $this->translate('It also requests this additional information about you:') ?><br /><br />
|
||||
<?= $this->translate('Fields are automatically filled according to the personal info stored in your community-id account.') ?><br />
|
||||
<?= $this->translate('Fields marked with * are required.') ?>
|
||||
<?php echo $this->translate('It also requests this additional information about you:') ?><br /><br />
|
||||
<?php echo $this->translate('Fields are automatically filled according to the personal info stored in your community-id account.') ?><br />
|
||||
<?php echo $this->translate('Fields marked with * are required.') ?>
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
<? foreach ($this->fields as $field): ?>
|
||||
<?= $field ?>
|
||||
<? endforeach ?>
|
||||
<? if ($this->policyUrl): ?>
|
||||
<?= $this->translate('The private policy can be found at %s',
|
||||
<?php foreach ($this->fields as $field): ?>
|
||||
<?php echo $field ?>
|
||||
<?php endforeach ?>
|
||||
<?php if ($this->policyUrl): ?>
|
||||
<?php echo $this->translate('The private policy can be found at %s',
|
||||
'<a href="'.$this->policyUrl.'">'.$this->policyUrl.'</a>'); ?><br /><br />
|
||||
<? endif ?>
|
||||
<? endif ?>
|
||||
<?php endif ?>
|
||||
<?php endif ?>
|
||||
<div style="margin-top:20px">
|
||||
<input type="checkbox" name="forever" style="top:0" /> <?= $this->translate('Forever') ?>
|
||||
<input type="checkbox" name="forever" style="top:0" /> <?php echo $this->translate('Forever') ?>
|
||||
</div>
|
||||
<div style="margin-top:20px">
|
||||
<input type="submit" id="allow" name="allow" value="<?= $this->translate('Allow') ?>" />
|
||||
<input type="submit" id="deny" name="deny" value="<?= $this->translate('Deny') ?>" />
|
||||
<input type="submit" id="allow" name="allow" value="<?php echo $this->translate('Allow') ?>" />
|
||||
<input type="submit" id="deny" name="deny" value="<?php echo $this->translate('Deny') ?>" />
|
||||
<script type="text/javascript">
|
||||
var oButton1 = new YAHOO.widget.Button("allow");
|
||||
var oButton2 = new YAHOO.widget.Button("deny");
|
||||
|
@ -1,4 +1,4 @@
|
||||
<h2><?= $this->translate('Privacy Policy') ?></h2>
|
||||
<h2><?php echo $this->translate('Privacy Policy') ?></h2>
|
||||
<div>
|
||||
<?= $this->privacyPolicy ?>
|
||||
<?php echo $this->privacyPolicy ?>
|
||||
</div>
|
||||
|
@ -12,13 +12,13 @@ YAHOO.util.Event.onDOMReady(function () {
|
||||
<div id="paging"></div>
|
||||
<div id="dt"></div>
|
||||
<div id="fieldsDialog">
|
||||
<div class="hd"><?= $this->translate('Information Exchanged') ?></div>
|
||||
<div class="hd"><?php echo $this->translate('Information Exchanged') ?></div>
|
||||
<div class="bd">
|
||||
<?= $this->translate('Information exchanged with:') ?><br />
|
||||
<?php echo $this->translate('Information exchanged with:') ?><br />
|
||||
<span id="fieldsDialogSite"></span>
|
||||
<div id="fieldsDialogDl" class="formGrid"></div>
|
||||
<div style="text-align:right">
|
||||
<input type="button" id="closeDialog" value="<?= $this->translate('OK') ?>" onclick="COMMID.sitesList.closeDialog()" />
|
||||
<input type="button" id="closeDialog" value="<?php echo $this->translate('OK') ?>" onclick="COMMID.sitesList.closeDialog()" />
|
||||
<script type="text/javascript">
|
||||
YAHOO.util.Event.onDOMReady(function () {
|
||||
var oButton = new YAHOO.widget.Button(
|
||||
|
Reference in New Issue
Block a user