Exemple #1
0
/**
 * seo_admin_bar
 *
 * @return includes an SEO menu bar in your project to edit meta and sitemap data
 * @author Brent Shaffer
 */
function seo_admin_bar()
{
    if (has_slot('seo_admin_bar')) {
        include_slot('seo_admin_bar');
    } else {
        include_component('csSEO', 'seo_admin_bar');
    }
}
Exemple #2
0
<?php

if (has_slot('a-footer')) {
    ?>
  <?php 
    include_slot('a-footer');
} else {
    ?>
  <?php 
    a_slot('footer', 'aRichText', array("global" => true));
}
// Feel free to shut this off in app.yml or override the footer partial in your app
if (sfConfig::get('app_a_credit', true)) {
    ?>
<div class="a-attribution">Built with <a href="http://www.apostrophenow.com/">Apostrophe</a></div>
<?php 
}
<?php 
slot('title');
echo __('Inactive Apps');
end_slot();
?>

<?php 
if ($pager->getNbResults()) {
    slot('pager');
    op_include_pager_navigation($pager, '@op_opensocial_inactive_list?page=%d');
    end_slot();
    include_slot('pager');
    ?>
<ul>
<?php 
    foreach ($pager->getResults() as $application) {
        ?>
<li><?php 
        echo link_to($application->getTitle(), '@op_opensocial_info?id=' . $application->getId());
        ?>
</li>
<?php 
    }
    ?>
</ul>
<?php 
    include_slot('pager');
} else {
    echo __('There are no inactive app.');
}
Exemple #4
0
?>
          </div>
          <!--content ends-->
          
          <?php 
include_partial('global/sidebar');
?>

        </div>
        <!--main ends-->
        
        <?php 
include_partial('global/header');
?>
        <?php 
include_partial('global/footer');
?>
        
      </div>
    </div>
  </div>
  <!--wrapper ends-->
  <?php 
if (has_slot('popup')) {
    include_slot('popup');
}
?>
</body>
</html>

Exemple #5
0
<?php

use_helper('I18N');
if (has_slot('sf_apply_login')) {
    ?>
  <?php 
    include_slot('sf_apply_login');
} else {
    ?>
  <?php 
    if ($loggedIn) {
        ?>
    <?php 
        include_partial('sfApply/logoutPrompt');
        ?>
  <?php 
    } else {
        ?>
    <?php 
        include_partial('sfApply/loginPrompt', array("form" => $form));
        ?>
  <?php 
    }
}
include_slot('about');
?>
                    </div>
                    <div id="pricing">
                        <?php 
include_slot('pricing');
?>
                    </div>
                    <div id="trial">
			<?php 
include_slot('trial');
?>
                    </div>
                    <div id="getting_started">
                        <?php 
include_slot('getting_started');
?>
                    </div>
		</div>
            </td>
            <td>
                <div class="side_content">
                    <?php 
include_partial("public/eclassroom/eclassroom_nav");
?>
                    <div id="side_content_data">
                        <?php 
include_partial("public/eclassroom/supported");
?>
                    </div>
		</div>
  </head>

  <body>

    <div class="navbar navbar-fixed-top navbar-inverse">
      <?php include_component('sfAdminDash','header'); ?>
    </div> <!-- /navbar -->

    <div class="container">
            
      <div class="hidden-desktop">
      <?php include_slot('breadcrump') ?>
      </div>

      <div class="row">
        <div class="span2 visible-desktop">
          <?php if (!include_slot('sidebar')): ?>
          <?php endif ?>
        </div>
        <div class="span10">
      
          <?php include_partial('global/flashes') ?>  
      
          <?php echo $sf_content ?>
            
        </div> <!-- /main -->
      </div>
    </div> <!-- /container -->

  </body>
</html>
        ?>
" />                
                                </div>
                    <?php 
    }
    ?>
 
                </p>

            </fieldset>

        </form>
        </div>
</div>
<?php 
    include_slot('define_work_week_end');
}
?>
<script type="text/javascript">
        //<![CDATA[
        var permissions = {
            canRead: <?php 
echo $workWeekPermissions->canRead() ? 'true' : 'false';
?>
,
            canCreate: <?php 
echo $workWeekPermissions->canCreate() ? 'true' : 'false';
?>
,            
            canUpdate: <?php 
echo $workWeekPermissions->canUpdate() ? 'true' : 'false';
</td>
<?php 
    }
    ?>

</tr>
<?php 
}
?>

</tbody>
</table>

<div class="block bottomBox">
<?php 
include_slot('calendar_pager');
?>
</div>

<?php 
if ($is_community || $isSelf) {
    ?>
<div class="partsInfo">
<?php 
    if ($add_schedule) {
        ?>
<p class="note_schedule">※<?php 
        echo __('You can add schedule to click %img%.', array('%img%' => image_tag('/opCalendarPlugin/images/icon_schedule.gif', array('alt' => __('Add schedule')))));
        ?>
</p>
<?php 
"><?php 
echo sfConfig::get('app_site_name');
?>
</a></h1>
		<p id="slogan"><?php 
echo sfConfig::get('app_site_slogan');
?>
</p>
	</div>

	<!-- content-wrap starts here -->
	<div id="content-wrap"><div id="content">
              <div id="sidebar" >
                  <h3>About this file</h3>
                  <?php 
include_slot('SideBar');
?>
		</div>
		<div id="main">
    <?php 
echo $sf_content;
?>
                    	</div>

	<!-- content-wrap ends here -->
	</div></div>

	<?php 
include_partial('global/footer');
?>
  </body>
Exemple #11
0
<h1><?php 
include_slot('header', 'All Articles');
?>
</h1>

<?php 
include_partial('hello/articles', array('articles' => $articles));
Exemple #12
0
echo __('Bug Tracker');
?>
</a></li>                        
                    </ul>
                </div>-->
            </div> <!-- branding -->      
            
            <?php 
include_component('core', 'mainMenu');
?>

            <div id="content">

                  <?php 
echo $sf_content;
?>

            </div> <!-- content -->
          
        </div> <!-- wrapper -->
        
        <div id="footer">
            <?php 
include_partial('global/copyright');
?>
        </div> <!-- footer -->        
        
        
<?php 
include_slot('footer', get_partial('global/footer'));
Exemple #13
0
          </td>
          <td class="column_right">


            <?php 
include_slot('blogWidget');
?>

            <?php 
include_slot('bannersOnRightWidget');
?>



            <?php 
include_slot('bannersOnRightBWidget');
?>
            <div class="boxseparator"></div>



        <?php 
//include_partial('global/topbox')
?>
        <?php 
//include_partial('global/centerbox')
?>
        <?php 
include_partial('global/footer');
?>
</body>
		<div id="header">
			<div class="content">
				<h1>
				</h1>
				<div id="opcions">
					<?php 
include_slot('opcions');
?>
				</div>
			</div>
		</div>
		<div id="content">
			<div id="central">	
				<div class="sidebar">
					<?php 
include_slot('sidebar');
?>
				</div>
				<div class="content">
					<?php 
echo $sf_content;
?>
				</div>
			</div>
			<div id="footer">
				<div class="content">
					<span class="footer_bar">
						<?php 
include_component('index', 'footer');
?>
					</span>
Exemple #15
0
echo $options->getRaw('lastRow');
include_customizes($id, 'lastRow');
?>
</table>
<?php 
end_slot();
?>

<?php 
if ($hasRequiredField) {
    echo __('%0% is required field.', array('%0%' => '<strong>*</strong>'));
}
?>

<?php 
include_slot('form_table');
?>

<div class="operation">
<ul class="moreInfo button">
<li>
<?php 
foreach ($forms as $form) {
    echo $form->renderHiddenFields();
}
?>
<input type="submit" class="input_submit" value="<?php 
echo $options['button'];
?>
" />
</li>
Exemple #16
0
<!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" xml:lang="fr" lang="fr">
  <head>
    <?php 
include_http_metas();
?>
    <?php 
include_metas();
?>
    <title><?php 
include_slot('title', 'COPIsim - Administration');
?>
</title>
    <link rel="shortcut icon" href="<?php 
echo $sf_request->getRelativeUrlRoot();
?>
/images/favicon.ico" />
    <?php 
include_stylesheets();
?>
    <?php 
include_javascripts();
?>
  </head>
  <body>
    <div id="container">
      <div id="header">
	<span id="titre"><a href="<?php 
echo url_for('@homepage');
?>
"><?php 
Exemple #17
0
?>
~<?php 
echo $form['value_max']->render();
?>
</td>
</tr>
</table>
<?php 
end_slot();
?>

<?php 
if ($formType === 'input' || $formType === 'textarea') {
    include_slot('advanced_settings_text');
} elseif ($formType === 'date') {
    include_slot('advanced_settings_date');
}
?>

<?php 
echo $form->renderHiddenFields();
?>
<input type="submit" value="<?php 
echo $form->isNew() ? __('Add') : __('Modify');
?>
" />
</form>
</div>

<?php 
echo javascript_tag('
    <div class="navbar navbar-fixed-top navbar-inverse">
      <?php include_component('sfAdminDash','header'); ?>
    </div> <!-- /navbar -->

    <div class="container">
            
      <div class="hidden-desktop">
      <?php include_slot('breadcrump') ?>
      </div>

      <div class="row">
        <div class="span2 visible-desktop">
          <?php if (!include_slot('sidebar')): ?>
            --no sidebar--
          <?php endif ?>
        </div>
        <div class="span10">
      
          <?php include_partial('global/flashes') ?>  

          <h1><?php include_slot('header') ?></h1>
      
          <?php echo $sf_content ?>
            
        </div> <!-- /main -->
      </div>
    </div> <!-- /container -->

  </body>
</html>
<!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();
?>

<title><?php 
if (!include_slot('title')) {
    ?>
JoTAG<?php 
}
?>
</title>
<link rel="shortcut icon" href="/favicon.ico" />
<!--[if IE]>
	<script type="text/javascript" src="<?php 
echo sfConfig::get("app_general_base_path");
?>
js/jotag/iepngfix_tilebg.js"></script>
<![endif]-->
</head>
<body>
<div id="startwrapper">
	<?php 
echo $sf_content;
?>
</div>
</body>
Exemple #20
0
<div class="centerboxleft">
        <?php 
include_slot('bannerCycleWidget');
?>
        <?php 
include_slot('productGroupsPics');
?>


		<?php 
include_slot('newsArchivePage');
?>
		<?php 
include_slot('searchResults');
?>
        <?php 
include_slot('article');
?>
        <?php 
include_slot('productPage');
?>
    
        

        
</div>
Exemple #21
0
        <li class="partner_unitedway"><a href="http://www.unitedwaynashville.org" title="United Way">United Way Nashville</a></li>
        <li class="partner_coolpeoplecare"><a href="http://coolpeoplecare.org" title="Cool People Care">Cool People Care</a></li>
      </ul>
  		<div class="center">&copy;<?php 
echo date('Y');
?>
 Donate Nashville</div>
		</div>
	</div>
	
	<?php 
if (has_slot('popUp')) {
    ?>
	 <div id="popup">
	   <?php 
    include_slot('popUp');
    ?>
	 </div>
	<?php 
}
?>
	
	
	<script type="text/javascript">
  var uservoiceOptions = {
    /* required */
    key: 'donatenashville',
    host: 'donatenashville.uservoice.com', 
    forum: '55628',
    showTab: true,  
    /* optional */
Exemple #22
0
?>
                        </div>
                    </div>
                    <div class="bmaintopr">
                        <?php 
include_partial('searchResults/searchBox');
?>
                    </div>
                    <div class="clear"></div>
                    
                    <div class="centerboxin">
                        <div class="boxinleft">
                            <?php 
include_component('query', 'leftMenu');
?>
                        </div>
                        <div class="boxinright">
                            <?php 
include_slot('content');
?>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="clear"></div>
                    <?php 
include_slot('bottomArticlesWidget');
?>
                    <div class="clear"></div>
            </div>
    </div>
</div>
Exemple #23
0
<div id="body">
<?php 
if (has_slot('submenu')) {
    ?>
<ul id="submenu">
<?php 
    include_slot('submenu');
    ?>
</ul>
<?php 
}
if (has_slot('title')) {
    ?>
<h2><?php 
    include_slot('title');
    ?>
</h2>
<?php 
}
?>

<?php 
if ($sf_user->hasFlash('error')) {
    ?>
<p id="flashError" class="flash"><?php 
    echo __($sf_user->getFlash('error'));
    ?>
</p>
<?php 
}
include_stylesheets();
?>
    <?php 
include_javascripts();
?>
    <script type="text/javascript" src="/js/jquery-1.10.2.min.js"></script>    
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
</head>
<body>
    <div id="gc_policy">
   	<?php 
echo $sf_content;
?>
    </div>
    <?php 
include_slot('user_policy');
?>
    <script type="text/javascript">
        // a check if policy.html is included in the page, otherwise display our site policy in full
        if(jQuery("#user_policy").length != 0)
        {
                jQuery("#gc_policy").width("49%");
                jQuery("#gc_policy").css("float", "left");
        };
    </script>
    <script type="text/javascript" language="javascript">
        var hs_portalid=108225;
        var hs_salog_version = "2.00";
        var hs_ppa = "globalclassroom.app10.hubspot.com";
        document.write(unescape("%3Cscript src='" + document.location.protocol + "//" + hs_ppa + "/salog.js.aspx' type='text/javascript'%3E%3C/script%3E"));
    </script>
Exemple #25
0
include_component('home', 'globalheader');
?>
    </div>
    <div class="header">
      <?php 
include_component('home', 'header');
?>
    </div>
    <div class="content">
      <div class="leftmenu">
        <div class="leftmenucontent">
          <?php 
if (has_slot('leftmenu')) {
    ?>
          	<?php 
    include_slot('leftmenu');
    ?>
          <?php 
}
?>
        </div>
      </div>
      <div class="contentMain"> <?php 
echo $sf_data->getRaw('sf_content');
?>
 </div>
    </div>
    <div class="footermark"> 
      <div class="footBg"><img src="/images/spacer.gif" /></div>
    </div>
  </div>
Exemple #26
0
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php 
include_http_metas();
include_metas();
include_title();
include_stylesheets();
include_javascripts();
?>
	<link rel="Shortcut Icon" type="image/x-icon" href="favicon.ico" />
<?php 
if (has_slot('inline_styles')) {
    ?>
	<style type="text/css">
<?php 
    include_slot('inline_styles');
    ?>
	</style>
<?php 
}
?>
</head>
<body class="<?php 
echo $_request->getParameter('module') . '-' . $_request->getParameter('action');
?>
">

<?php 
if (0 && CORE_ENVIRONMENT !== 'prod') {
    ?>
	<div style="position:absolute;z-index:100;left:50%;top:0;opacity:0.6;width:100px;margin-left:-66px;background:#040;color:#fff;font:bold 16px Arial;padding:8px 16px;">
slot('title', $title . ' - Forum ' . sfConfig::get('app_config_title_short'));
?>

<?php 
slot('forum_navigation');
?>
  <?php 
echo forum_breadcrumb(array(array(__(sfConfig::get('app_sfSimpleForumPlugin_forum_name', 'Forums'), null, 'sfSimpleForum'), 'sfSimpleForum/forumList'), $title));
end_slot();
?>

<div id="middle-side" class="forum">

  <div class="breadcrumb">
    <?php 
include_slot('forum_navigation');
?>
  </div>

  <h1><?php 
echo $title;
?>
</h1>

  <?php 
include_partial('sfSimpleForum/figures', array('display_topic_link' => $nb_topics, 'nb_topics' => $nb_topics, 'topic_rule' => 'sfSimpleForum/latestTopics', 'display_post_link' => false, 'nb_posts' => $post_pager->getNbResults(), 'post_rule' => '', 'feed_rule' => 'sfSimpleForum/latestPostsFeed', 'feed_title' => $feed_title));
?>

  <?php 
include_partial('sfSimpleForum/post_list', array('posts' => $post_pager->getResults(), 'rankArray' => $rankArray, 'include_topic' => true));
?>
Exemple #28
0
    // End controls for this individual slot
    ?>
		
				
    <?php 
    // Wraps the actual content - edit and normal views for this individual slot
    ?>
  	<div class="a-slot-content" id="a-slot-content-<?php 
    echo "{$pageid}-{$name}-{$permid}";
    ?>
">
      <?php 
    // Now we can include the slot
    ?>
      <?php 
    include_slot("a-slot-content-{$pageid}-{$name}-{$permid}");
    ?>
  	</div>
	</div>
<?php 
    $i++;
}
?>

<?php 
if (!$refresh) {
    ?>
  </div>  <?php 
    // Closes the div wrapping all of the slots
    ?>
</div> <?php 
Exemple #29
0
?>
</th>
<?php 
end_slot();
include_slot('sf_admin.current_header');
slot('sf_admin.current_header');
?>
<th class="sf_admin_date sf_admin_list_th_updated_at">
  <?php 
if ('updated_at' == $sort[0]) {
    ?>
    <?php 
    echo link_to(__('Updated at', array(), 'messages'), '@fields', array('query_string' => 'sort=updated_at&sort_type=' . ($sort[1] == 'asc' ? 'desc' : 'asc')));
    ?>
    <?php 
    echo image_tag(sfConfig::get('sf_admin_module_web_dir') . '/images/' . $sort[1] . '.png', array('alt' => __($sort[1], array(), 'sf_admin'), 'title' => __($sort[1], array(), 'sf_admin')));
    ?>
  <?php 
} else {
    ?>
    <?php 
    echo link_to(__('Updated at', array(), 'messages'), '@fields', array('query_string' => 'sort=updated_at&sort_type=asc'));
    ?>
  <?php 
}
?>
</th>
<?php 
end_slot();
include_slot('sf_admin.current_header');
Exemple #30
0
<!-- apps/frontend/templates/layout.php -->
<!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" xml:lang="en" lang="en">
<head>
    <title>
        <?php 
include_slot('title', 'Jobeet - Your best job board');
?>
    </title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php 
include_javascripts();
?>
    <?php 
include_stylesheets();
?>

</head>
<body>
<div id="container">
    <div id="header">
        <div class="content">
            <h1><a href="<?php 
echo url_for('homepage');
?>
">
                    <img src="/legacy/images/logo.jpg" alt="Jobeet Job Board" />
                </a></h1>

            <div id="sub_header">