Example #1
0
<?php decorate_with(dirname(__FILE__).'/defaultLayout.php') ?>

<div class="sfTMessageContainer sfTLock">
  <?php echo image_tag('/sf/sf_default/images/icons/lock48.png', array('alt' => 'credentials required', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?>
  <div class="sfTMessageWrap">
    <h1>Credentials Required</h1>
    <h5>This page is in a restricted area.</h5>
  </div>
</div>
<dl class="sfTMessageInfo">
  <dt>You do not have the proper credentials to access this page</dt>
  <dd>Even though you are already logged in, this page requires special credentials that you currently don't have. </dd>

  <dt>How to access this page</dt>
  <dd>You must ask a site administrator to grant you some special credentials.</dd>

  <dt>What's next</dt>
  <dd>
    <ul class="sfTIconList">
      <li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li>
    </ul>
  </dd>
</dl>
<?php

decorate_with(sfLoader::getTemplatePath('default', 'defaultLayout.php'));
?>

<div class="sfTMessageContainer sfTAlert"> 
  <?php 
echo image_tag('/sf/sf_default/images/icons/tools48.png', array('alt' => 'website unavailable', 'class' => 'sfTMessageIcon', 'size' => '48x48'));
?>
  <div class="sfTMessageWrap">
    <h1>We're Sorry!<br />The Metadata Registry is briefly unavailable</h1>
    <h5>This website has been temporarily disabled. Please try again later.</h5>
  </div>
</div>
<?php

decorate_with(false);
$options = $jotag->getBadgeOptions();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<?php 
include_http_metas();
include_metas();
use_stylesheet('i18n/badgeStyle');
sfContext::getInstance()->getResponse()->removeStylesheet("jotag/reset");
sfContext::getInstance()->getResponse()->removeStylesheet("i18n/style");
?>

<title>Jotag</title>
<!--[if IE]>
	<script type="text/javascript" src="<?php 
echo sfConfig::get("app_general_base_path");
?>
js/jotag/iepngfix_tilebg.js"></script>
<![endif]-->
 
</head>

<body>

<?php 
Example #4
0
<?php

decorate_with(__DIR__ . '/defaultLayout.php');
?>

<div class="sfTMessageContainer sfTLock"> 
  <?php 
echo image_tag('/sf/sf_default/images/icons/lock48.png', array('alt' => 'credentials required', 'class' => 'sfTMessageIcon', 'size' => '48x48'));
?>
  <div class="sfTMessageWrap">
    <h1>Credentials Required</h1>
    <h5>This page is in a restricted area.</h5>
  </div>
</div>
<dl class="sfTMessageInfo">
  <dt>You do not have the proper credentials to access this page</dt>
  <dd>Even though you are already logged in, this page requires special credentials that you currently don't have. </dd>

  <dt>How to access this page</dt>
  <dd>You must ask a site administrator to grant you some special credentials.</dd>

  <dt>What's next</dt>
  <dd>
    <ul class="sfTIconList">
      <li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li>
    </ul>
  </dd>
</dl>
<?php use_helper('I18N') ?>

<?php decorate_with('login') ?>

<?php use_stylesheets_for_form( $form ) ?>
<?php slot('sf_apply_login') ?>
<?php end_slot() ?>

<?php slot('title') ?>
  Passwort vergessen?
<?php end_slot() ?>

  <p class="lead">Passwort vergessen?</p>
  
  <p>Kein Problem. Gib hier bitte deinen Benutzernamen <em>oder</em> deine Email-Adresse ein.
    Du erh&auml;ltst umgehend eine Email mit weiteren Anweisungen.</p>
    
<form method="POST" action="<?php echo url_for('sfApply/resetRequest') ?>"
  name="sf_apply_reset_request" id="sf_apply_reset_request">
   
    <?php echo $form->renderHiddenFields() ?>

    <?php echo $form->renderGlobalErrors() ?>
    
    <?php echo $form['username_or_email']->renderRow( array( 'class' => 'input-block' )) ?>
    
    <button type="submit" class="btn btn-danger btn-block"><?php echo __("Password Zur&uuml;cksetzen") ?></button>

      <?php echo link_to(__('Abbrechen'), sfConfig::get('app_sfApplyPlugin_after', '@homepage'), array('class'=>'btn btn-block')) ?>

</form>
Example #6
0
<?php

/**
 * @var sfWebResponse $sf_response
 * @var DecisionForm $form
 * @var string $value
 */
$sf_response->setTitle('Wizard Step 1');
decorate_with('wizard');
?>

<?php 
slot('navigation_links');
?>
<a id="next" class="steps-navigation step-next step-next-disabled wizard-steps-navigation" href="javascript:void(0)"><i
  class="fa fa-arrow-circle-o-right"></i></a>
<?php 
end_slot();
?>

<div class="row">
  <div class="col-md-12">
    <div class="wizard">
      <div class="table-row">
        <div class="table-cell">
          <form id="wizard" class="form col-md-offset-2 col-md-8" role="form" action="<?php 
echo url_for('@wizard\\decisionSave');
?>
" method="post">
            <!--
            <style media="all">
// get this page's absolute url.
<?php 
$url = $sf_context::getInstance()->getController()->genUrl(array(), true);
?>

render date time with doctrine model
<?php 
echo $object->getDateTimeObject('created_at')->format('Y-m-d H:i:s');
?>

//---------------------------------//
// HTML
//---------------------------------//
change layout to 'newLayout.php' in the global template dir.
<?php 
decorate_with('newLayout');
?>

add a new 'web/css/mystyle.css' style sheet file.
<?php 
use_stylesheet('mystyle.css');
?>

add a new 'web/js/myjs.js' javascript file.
<?php 
use_javascript('myjs.css');
?>

link tag
<?php 
echo link_to('click here', '@routing_name?name=' . $name);
<?php

/**
 * Шаблон для вывода ошибок
 *
 * @param  int    $code
 * @param  string $message
 */
decorate_with('layout.xml.php');
$xmlCode = isset($code) ? sprintf(' code="%d"', $code) : '';
?>

<error<?php 
echo $xmlCode;
?>
><?php 
echo $message;
?>
</error>
Example #9
0
<?php

//use_helper('opDiary', 'Text')
?>

<?php 
decorate_with('layoutC');
?>

<?php 
/* {{{ bbsDetailBox */
?>
<div class="dparts bbsDetailBox"><div class="parts">
<div class="partsHeading"><h3><?php 
echo __('Thread');
?>
</h3>

<?php 
if ($bbs->getPrevious() || $bbs->getNext()) {
    ?>
<div class="block prevNextLinkLine">
<?php 
    if ($bbs->getPrevious()) {
        ?>
<p class="prev"><?php 
        echo link_to(__('Previous Thread'), 'bbs_show', $bbs->getPrevious());
        ?>
</p>
<?php 
    }
Example #10
0
<?php

decorate_with('layout_desktop');
 * (at your option) any later version.
 *
 * Access to Memory (AtoM) is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Access to Memory (AtoM).  If not, see <http://www.gnu.org/licenses/>.
 */
// Forked from upstream to hide login fields outside login url
//
?>

<?php 
decorate_with('layout_1col');
use_helper('Javascript');
?>

<?php 
slot('content');
?>

  <div class="row">

    <div class="offset4 span4">

      <div id="content">

        <?php 
if ('user' != $sf_request->module || 'login' != $sf_request->action) {
<?php

decorate_with('print');
?>
<a href="javascript:window.print();" class="print-button"><?php 
echo image_tag('/images/print.gif', array('style' => 'z-index:1000; position: absolute'));
?>
</a>
<div class="landscape">
  <table class="students">
    <?php 
foreach ($students as $student) {
    ?>
      <?php 
    if (!$student) {
        continue;
    }
    ?>
      <tr>
        <?php 
    for ($i = 0; $i < 100; $i++) {
        ?>
          <td><?php 
        echo $student;
        ?>
</td>
        <?php 
    }
    ?>
      </tr>
    <?php 
 * (at your option) any later version.
 *
 * Access to Memory (AtoM) is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Access to Memory (AtoM).  If not, see <http://www.gnu.org/licenses/>.
 */
// Forked from upstream to remove password handling
//
?>

<?php 
decorate_with('layout_1col.php');
use_helper('Javascript');
?>

<?php 
slot('title');
?>
  <h1><?php 
echo __('User %1%', array('%1%' => render_title($resource)));
?>
</h1>
<?php 
end_slot();
?>

<?php 
Example #14
0
<?php

/**
 * @var $decision Decision
 * @var $sf_request sfWebRequest
 * @var $sf_response sfWebResponse
 * @var $upload_widget laWidgetFileUpload
 */
foreach ($upload_widget->getStylesheets() as $stylesheet => $media) {
    use_stylesheet($stylesheet);
}
foreach ($upload_widget->getJavaScripts() as $script) {
    use_javascript($script);
}
decorate_with('steps_layout');
$sf_response->setTitle('Collaborate');
$form = new RoleForm();
use_stylesheets_for_form($form);
use_javascripts_for_form($form);
?>

<?php 
slot('sidebar');
?>
  <?php 
include_partial("global/leftSidebar", array('decision_id' => $decision->getId()));
end_slot();
?>

<?php 
slot('app_name');
Example #15
0
<?php

use_helper('I18N');
decorate_with('layout_wellcome');
?>
<div id="signin_form">
    <div id="container">
        <div id="welcome_message">
            <h1>Bienvenid@s</h1>
            <p>A ti que eres un l&iacute;der de &eacute;xito, a ti cuyo discipulado es ejemplar, a ti esta dedicada esta p&aacute;gina</p>
        </div>
        <form action="<?php 
echo url_for('@sf_guard_signin');
?>
" method="post">
            <h1 style="text-align: center;">Iniciar Sesi&oacute;n</h1>
            <table>
                <tbody>
                    <?php 
echo $form;
?>
                </tbody>
                <tfoot>
                    <tr>
                        <td colspan="2" style="text-align: center;">
                            <input type="submit" value="<?php 
echo __('Signin', null, 'sf_guard');
?>
" />
                            <?php 
$routes = $sf_context->getRouting()->getRoutes();
<?php

use_helper('opAlbum');
?>

<?php 
decorate_with('layoutB');
slot('op_sidemenu', get_component('album', 'sidemenu', array('member' => $member)));
?>

<?php 
if ($sf_user->getMemberId() === $member->getId()) {
    op_include_box('newalbumLink', link_to(__('Post a album'), 'album_new'), array('title' => __('Post a album')));
}
?>

<?php 
$title = __('albums of %1%', array('%1%' => $member->getName()));
if ($pager->getNbResults()) {
    ?>
<div class="dparts recentAlbumList"><div class="parts">
<div class="partsHeading"><h3><?php 
    echo $title;
    ?>
</h3></div>
<?php 
    echo op_include_pager_navigation($pager, 'album/listMember?page=%d&id=' . $member->getId());
    ?>

<?php 
    foreach ($pager->getResults() as $album) {
<?php

decorate_with(dirname(__FILE__) . '/../../../templates/dashboard.php');
?>

<div class="page-header">
  <h1><?php 
echo isset($head) ? $head : 'Not found';
?>
</h1>
</div>
<p>
  <?php 
echo isset($message) ? $message : 'Not found.';
?>
</p>