function header($params)
 {
     global $DOCUMENT_ROOT, $HTML, $group_id;
     use_javascript('/js/sortable.js');
     html_use_jquery();
     $params['toptab'] = 'taskboard';
     $params['group'] = $group_id;
     $labels[] = _("View Taskboard");
     $links[] = '/plugins/taskboard/index.php?group_id=' . $group_id;
     if (session_loggedin()) {
         if (forge_check_perm('tracker', $this->getID(), 'manager')) {
             $labels[] = _('Administration');
             $links[] = '/plugins/taskboard/admin/index.php?group_id=' . $group_id;
             $action = getStringFromRequest('action');
             if ($action == 'edit_column') {
                 $labels[] = _('Configure Columns');
                 $links[] = '/plugins/taskboard/admin/index.php?group_id=' . $group_id . '&action=columns';
                 $column_id = getStringFromRequest('column_id', '');
                 if ($column_id) {
                     $labels[] = _('Delete Column');
                     $links[] = '/plugins/taskboard/admin/index.php?group_id=' . $group_id . '&action=delete_column&column_id=' . $column_id;
                 }
             }
         }
     }
     $params['submenu'] = $HTML->subMenu($labels, $links);
     site_project_header($params);
 }
 public function render($name, $value = array(), $attributes = array(), $errors = array())
 {
     $widget = array();
     use_javascript('jquery.tooltip/jquery.tooltip.js');
     use_stylesheet('../js/jquery.tooltip/jquery.tooltip.css');
     $widget['%thumbnails%'] = '';
     $widget['%thumbnails%'] .= '';
     $j = 0;
     foreach ($value as $j => $image) {
         if (!isset($image['id'])) {
             continue;
         }
         $fileIdInput = new sfWidgetFormInputHidden();
         $fileNameInput = new sfWidgetFormInputHidden();
         $commentInput = new sfWidgetFormInput(array(), array('maxlength' => 255));
         $largeInput = new sfWidgetFormInputHidden();
         $thumbnailInput = new sfWidgetFormInputHidden();
         $widget['%thumbnails%'] .= '<div class="upload_item" style="margin-bottom: 10px;" >' . '<span style="display: inline; width: 260px; float: left; text-align: center; padding-top: 10px;">' . link_to($image['name'], strval($image['Large']), array('class' => 'preview', 'rel' => strval($image['Thumbnail']))) . '</span>' . '&nbsp;' . $thumbnailInput->render($name . "[" . $j . "][Thumbnail]", strval($image['Thumbnail']), array()) . $largeInput->render($name . "[" . $j . "][Large]", strval($image['Large']), array()) . $fileNameInput->render($name . "[" . $j . "][name]", $image['name'], array()) . $fileIdInput->render($name . "[" . $j . "][id]", $image['id'], array()) . '<span>Title:</span>' . $commentInput->render($name . "[" . $j . "][description]", $image['description'], array('class' => 'text  input-mercha-account')) . '&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="del-photo"><img src="/images/cross.gif"  style="vertical-align:middle;" /></a>' . '</div>';
     }
     $i = $j + 1;
     $fileInput = new sfWidgetFormInputFile();
     $commentInput = new sfWidgetFormInput();
     $widget['%thumbnails%'] .= '<div class="upload_item" style="margin-bottom: 10px;" >' . $fileInput->render($name . "[" . $i . "][file]", null, array('class' => '', 'style' => "padding-left:0px;  width: 260px;  padding:0px; ")) . '&nbsp;' . '<span>Title:</span>' . $commentInput->render($name . "[" . $i . "][description]", null, array('class' => 'text  input-mercha-account')) . '&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="del-photo" style="vertical-align:middle;"><img src="/images/cross.gif" /></a>' . '</div>' . '<div class=" add-another-location bottom_add_new_category_link" style="padding-top: 0px; padding-bottom: 15px;">' . '<div class="plus_category">' . '<div class="left margin1"><img src="/images/plus.gif" /></div>' . '<div class="left margin_top3"><a href="#" class="add-photo">Add Another Photo</a></div>' . '</div>' . '</div>';
     $js = jq_javascript_tag("\r\n      jQuery(document).ready(function(){\r\n        i = jQuery('.upload_item').length + 1;\r\n        \r\n        jQuery('a.del-photo').live('click', function(e){\r\n          e.preventDefault();\r\n          jQuery(this).parents('.upload_item').remove();\r\n        });\r\n        \r\n        jQuery('.preview').tooltip({ \r\n            delay: 0, \r\n            showURL: false, \r\n            bodyHandler: function() { \r\n                return jQuery('<img/>').attr('src', jQuery(this).attr('rel')); \r\n            } \r\n        });\r\n        \r\n        jQuery('a.add-photo').live('click', function(e){\r\n          \r\n          e.preventDefault();\r\n          \r\n          var already = jQuery('.upload_item');\r\n          \r\n          var newUpload = '';\r\n          \r\n          var maxCount = " . intval($this->getOption('max_count')) . ";\r\n          \r\n          if ((maxCount > 0 && already.length < maxCount) || maxCount == 0) {\r\n          \r\n            newUpload = \r\n              '<div class=\\'upload_item\\' style=\\'margin-bottom: 10px;\\'><input type=\\'file\\' name=\\'" . $name . "[' + i + '][file]" . "\\' class=\"\" style=\"padding-left:0px;  width: 260px; padding:0px; \" />' +\n              '&nbsp;<span>Title:</span>' +\r\n              '<input type=\\'text\\' name=\\'" . $name . "[' + i + '][description]" . "\\' class=\\'text input-mercha-account\\' >';\r\n          \r\n            newUpload += \r\n              '&nbsp;&nbsp;&nbsp;&nbsp;<a href=\\'#\\' class=\\'del-photo\\'><img src=\\'/images/cross.gif\\'  style=\\'vertical-align:middle;\\' /></a>';\r\n          \r\n            \r\n            \r\n            newUpload += '</div>';\r\n            \r\n            jQuery(newUpload).insertBefore(jQuery(this).parents('div.add-another-location'));\r\n            i++;\r\n          }\r\n        })\r\n      \r\n      });\r\n    ");
     return $js . '<div id="uploader" style="width: 590px;">' . strtr($this->getOption('template'), $widget) . '</div>';
 }
 /**
  * @return mixed
  */
 public function importAssets()
 {
     use_javascript("jstree/js/jstree.min.js");
     use_javascript("treeManagement/jstree/common.js");
     use_javascript("treeManagement/jstree/editMode/editMode.js");
     use_stylesheet("jstree/themes/default/style.min.css");
     use_stylesheet("jstree/custom/custom.css");
 }
/**
 * Get the HTML snippet for a Bootstrap Menu.
 *
 * @param string $config  An optional path to the config file. Defaults to {sf_config_dir}/menu.yml
 * @param array  $options An optional array of options. Currently only 'secondary' is supported.
 *
 * @return string
 */
function ncbt_menu($config = null, $options = array())
{
    use_stylesheet('/ncBootstrapMenuHelper/css/bootstrap.min.css');
    use_javascript('/ncBootstrapMenuHelper/js/bootstrap-dropdown.css', 'last');
    if (null === $config) {
        $config = sfConfig::get('sf_config_dir') . '/menu.yml';
    }
    $config = new ncbtMenuConfigParser($config, $options);
    return strval($config->getMenu());
}
/**
 * Add one or several JavaScript file(s) to the page
 * @param Mixed $j String or array
 */
function use_plop_javascript($js)
{
    if (is_array($js)) {
        foreach ($js as $f) {
            use_javascript($f);
        }
    } else {
        use_javascript($js);
    }
}
Beispiel #6
0
function grid_libraries()
{
    use_javascript('jqgrid/js/i18n/grid.locale-en.js');
    use_javascript('jqgrid/plugins/ui.multiselect.js');
    use_javascript('jqgrid/js/jquery.jqGrid.min.js');
    use_javascript('jqgrid/plugins/jquery.tablednd.js');
    use_javascript('jqgrid/plugins/jquery.contextmenu.js');
    $js = '<link rel="stylesheet" type="text/css" href="' . base_url() . 'css/jquery/jquery-ui.custom.css" />
    <link rel="stylesheet" type="text/css" href="' . base_url() . 'js/jqgrid/css/ui.jqgrid.css" />';
    return $js;
}
/**
 * Returns the ShareThis integration code snippet.
 *
 * See: http://www.sharethis.com
 *
 * @package    Reditype
 * @subpackage helper
 * @author     Piers Warmers <*****@*****.**>
 * @param      array $options
 * @return     string
 */
function get_sharethis_badge($options = null)
{
    $string = '';
    $username = sfConfig::get('app_rt_social_networking_service_username', '');
    $option_string = '';
    use_javascript('http://w.sharethis.com/button/sharethis.js#publisher=' . $username);
    if (!is_null($options)) {
        $options['url'] = isset($options['url']) ? $options['url'] : '';
        $options['title'] = isset($options['title']) ? $options['title'] : '';
        $options['description'] = isset($options['description']) ? $options['description'] : '';
        $option_string = sprintf(' url="%s", title="%s", summary="%s" ', $options['url'], $options['title'], $options['description']);
        $option_string = sprintf('{ url: "%s", title: "%s", summary: "%s" }', $options['url'], $options['title'], $options['description']);
    }
    $string = <<<EOS
<script language="javascript" type="text/javascript">
\tSHARETHIS.addEntry({$option_string}, {button:true} );
</script>
EOS;
    return $string;
}
function _loadJsOamTools()
{
    $debug = sfContext::getInstance()->getRequest()->getParameter('debug', false);
    $async_map = sfConfig::get('app_async_map', false);
    $lang = sfContext::getInstance()->getUser()->getCulture();
    if ($debug) {
        include_partial('documents/map_lib_include_debug');
    } else {
        use_stylesheet('/static/css/carto_base.css', 'custom');
        use_stylesheet('/static/css/popup.css', 'custom');
        if (!$async_map) {
            use_javascript('/static/js/carto/build/carto.min.js', 'maps');
        }
    }
    use_stylesheet('/static/css/carto.css', 'custom');
    if (!$async_map || $debug) {
        use_javascript("/static/js/carto/build/lang-{$lang}.min.js", 'maps');
        use_javascript('/static/js/popup.js', 'maps');
        use_javascript('/static/js/carto/embedded.js', 'maps');
    }
}
Beispiel #9
0
function init_assets_library_popup()
{
    use_javascript('/sfAssetsLibraryPlugin/js/main', 'last');
    return javascript_tag('sfAssetsLibrary.init(\'' . url_for('sfAsset/list') . '?popup=2' . '\')');
}
Beispiel #10
0
var viewPhoto = '<?php 
echo $viewPhoto;
?>
';
var MAXLENGTH = 140;
var fileMaxSize = '<?php 
echo opTimelinePluginUtil::getFileSizeMax();
?>
';
//]]>
</script>
<?php 
use_javascript('/opTimelinePlugin/js/jquery.timeline.js', 'last');
use_javascript('/opTimelinePlugin/js/jquery.timeago.js', 'last');
use_javascript('/opTimelinePlugin/js/timeline-loader.api.js', 'last');
use_javascript('/opTimelinePlugin/js/lightbox.js', 'last');
use_stylesheet('/opTimelinePlugin/css/lightbox.css', 'last');
use_stylesheet('/opTimelinePlugin/css/bootstrap.css', 'last');
use_stylesheet('/opTimelinePlugin/css/timeline.css', 'last');
?>

<?php 
include_partial('timeline/timelineTemplate');
?>

<div class="partsHeading"><h3><?php 
echo $activity->getMember()->getName();
?>
さんの<?php 
echo $op_term['activity'];
?>
Beispiel #11
0
echo include_title();
?>
        <?php 
$culture = $sf_user->getCulture();
$langFile = '/sf/calendar/lang/calendar-' . strtolower(substr($culture, 0, 2));
$jss = array('/sf/calendar/calendar', is_readable(sfConfig::get('sf_symfony_data_dir') . '/web/' . $langFile . '.js') ? $langFile : '/sf/calendar/lang/calendar-en', '/sf/calendar/calendar-setup');
foreach ($jss as $js) {
    echo use_javascript($js);
}
echo use_stylesheet('/sf/calendar/skins/dark/theme');
#echo use_javascript(sfConfig::get('sf_prototype_pmb_dir').'/js/prototype');
#echo use_javascript(sfConfig::get('sf_prototype_pmb_dir').'/js/effects');
#echo use_javascript(sfConfig::get('sf_prototype_pmb_dir').'/js/controls');
echo use_javascript(sfConfig::get('sf_prototype_web_dir') . '/js/prototype');
echo use_javascript(sfConfig::get('sf_prototype_web_dir') . '/js/effects');
echo use_javascript(sfConfig::get('sf_prototype_web_dir') . '/js/controls');
?>

        <link rel="shortcut icon" href=<?php 
echo image_path('favicon.ico');
?>
 />
        <style>
            div.overlay {
                position: absolute;
                top: 0;
                left: 0;
                z-index: 90;
                width: 0;
                height: 0;
                filter:alpha(opacity=80);
?>
<script type="text/javascript" src="<?php 
echo public_path('../../scripts/jquery/ui/ui.draggable.js');
?>
"></script>
<script type="text/javascript" src="<?php 
echo public_path('../../scripts/jquery/ui/ui.resizable.js');
?>
"></script>

<?php 
use_stylesheet('../../../themes/orange/css/jquery/jquery.autocomplete.css');
use_stylesheet('../../../themes/orange/css/ui-lightness/jquery-ui-1.7.2.custom.css');
use_javascript('../../../scripts/jquery/ui/ui.core.js');
use_javascript('../../../scripts/jquery/ui/ui.dialog.js');
use_javascript('../../../scripts/jquery/jquery.autocomplete.js');
?>

<div id="validationMsg" style="margin-left: 16px; width: 470px"><?php 
echo isset($messageData) ? templateMessage($messageData) : '';
?>
</div>
<div class="outerbox"  style="width: 500px">
    <div class="maincontent">
        <div class="mainHeading">
            <h2><?php 
echo __('My Attendance Records');
?>
</h2>
        </div>
        <br class="clear">
Beispiel #13
0
<?php 
use_stylesheet('select');
use_javascript('tr-select');
include_partial('global/h1', array('txt' => 'Electrical Transformers Selection Process'));
?>
<div id='step_box'>
	<div class='step one'><img id='indy_1st' src='/images/industry-first-trans.png' alt="Industry's first transformer selection tool" /></div>
	<div id='step'>
		<h2 class='one'>Select Your KVA Rating <img id='tooltip' src='/images/help.png' alt='kVA Help' /></h2>
		

		
		<div id='tip' class='invisible'>
			<p class='_1st q'><span>Q)</span> What's the difference between KVA and VA rating?</p>
			<p><span>A)</span> 1 KVA = 1000 Volt Amps.  Therefore a 2500 VA transformer would be listed as 2.5 KVA.</p>
			<p class='q'><span>Q)</span> I don't see my specific KVA listed?</p>
			<p><span>A)</span> We have listed the most common KVA requirements.  It is commonly acceptable to oversize your transformer to the next largest size listed.  For example, if you require a 2.5 KVA transformer you should select a 3 KVA transformer, or if you require a 40 KVA transformer you should select 45 KVA. Make sure to size the associated circuit breaker appropriately.</p>
		</div>
		<div id='kva'>
			<div class='mod sm'>
				<p>0.25 &ndash; 1 KVA</p>
				<ul>
					<li class='m'><?php 
echo link_to('0.05', '@tr_select', array('query_string' => 'kva=0.05&step=kva', 'class' => 'ajax'));
?>
</li>
					<li><?php 
echo link_to('0.08', '@tr_select', array('query_string' => 'kva=0.08&step=kva', 'class' => 'ajax'));
?>
</li>
?>
    <?php 
include_title();
?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php 
use_stylesheet('reset.css');
?>
    <?php 
use_stylesheet('header.css');
?>
    <?php 
use_stylesheet('mainstyles.css');
?>
    <?php 
use_javascript('header.js');
?>
    <script type="text/javascript" src="/js/jquery-1.10.2.min.js"></script>
    <?php 
include_stylesheets();
?>
    <?php 
include_javascripts();
?>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
</head>
<body>
    <?php 
include_partial("public/header");
?>
    <div class="page_title">
Beispiel #15
0
function _WeekCalendar_common()
{
    use_javascript('/jquery-weekcalendar/jquery.weekcalendar.js', 'last');
    use_stylesheet('/jquery-weekcalendar/jquery.weekcalendar.css', 'first');
}
Beispiel #16
0
<?php

/**
 * @var $external_ids
 * @var $modal_header
 * @var $url_import
 */
use_javascript('https://api.trello.com/1/client.js?key=' . sfConfig::get('app_trello_api_key') . '&dummy=.js');
?>

<!-- Trello Modal -->
<div id="TrelloModal" class="modal fade modal-wizard" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title"><?php 
echo $modal_header;
?>
</h4>
      </div>
      <div class="modal-body">
        <div class="row">
          <div class="col-sm-6 col-sm-offset-1">
            <div id="trello-logged-out" class="text-center">
              <a id="connectLink" href="javascript:void(0)" class="btn btn-default">Connect To Trello</a>
            </div>

            <div id="trello-logged-in">
              <div id="header">
                <a id="disconnect" href="javascript:void(0)" class="btn btn-warning pull-right">Disconnect from Trello</a>
Beispiel #17
0
<?php

use_stylesheet('dev/demopage.css');
use_stylesheet('dev/votacion.css');
use_stylesheet('dev/visualize.css');
use_stylesheet('dev/visualize-light-votacion.css');
use_javascript('jquery.min.js');
use_javascript('visualize2.jQuery.js');
use_stylesheet('dev/bubbletip.css');
use_javascript('ui/jbubbletip.js');
?>
<!--esta es la prueba definitiva--->

<!--[if IE 7]><?php 
use_stylesheet('bubbletip-IE.css');
?>
<![endif]-->

<?php 
slot('breadbrumb');
?>
  <li>> <a href="<?php 
echo url_for('Sesion/index');
?>
">Análisis legislativo</a></li>
  <li>> <a href="<?php 
echo url_for('ProyectoLey/show?id_proyecto_ley=' . $proyecto_ley->getIdProyectoLey());
?>
">Proyecto en discusión</a></li>
  <li class="actual">> Votaciones</li>
<?php 
Beispiel #18
0
<?php

use_stylesheet('form');
use_javascript('form');
?>

<p>
    Теперь Вы можете изменить пароль, используя форму ниже.
</p>
<form method="post" action="<?php 
echo url_for("sfApply/reset");
?>
" name="sf_apply_reset_form" id="sf_apply_reset_form">
    <fieldset>
        <dl>
            <dt><?php 
echo $form['password']->renderLabel();
?>
</dt>
            <dd>
                <?php 
echo $form['password']->renderError();
?>
                <?php 
echo $form['password'];
?>
            </dd>
        </dl>
        <dl>
            <dt><?php 
echo $form['password2']->renderLabel();
Beispiel #19
0
<?php

use_javascript('/libs/jquery-ui/jquery-ui.min.js?v=1.11.2');
use_stylesheet('/libs/jquery-ui/jquery-ui.min.css?v=1.11.2');
?>

<style type="text/css">
.draggable, .droppable { width: 427px; height: 130px; padding: 0.5em; float: left; margin: 10px; border: 1px solid black; border-radius: 5px; white-space: nowrap; }
.draggable { background: #818281; color: white; cursor: move; }
.draggable .bootstrap-tooltip { overflow: hidden; display: inline-block; text-overflow: ellipsis; max-width: 100%; padding-right: 15px; line-height: normal; font-size: 15px; }
.droppable { background: white; color: black; line-height: 110px; }
.desc-cell {
  cursor: default;
  background: white;
  color: black;
  border: 1px solid black;
  height: 80px;
  overflow: hidden;
  overflow-y: scroll;
  border-radius: 5px;
  font-size: 15px;
  text-align: left;
  padding: 3px 10px;
  margin-top: 5px;
  white-space: normal;
}
</style>

<?php 
$max_rating = $collection->count();
?>
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM 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 this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 *
 */
?>

<?php 
use_stylesheet(plugin_web_path('orangehrmRecruitmentPlugin', 'css/addJobVacancySuccess'));
use_javascript(plugin_web_path('orangehrmRecruitmentPlugin', 'js/addJobVacancySuccess'));
?>

<div class="box" id="addJobVacancy">

    <div class="head">
        <h1><?php 
echo isset($vacancyId) ? __('Edit Job Vacancy') : __('Add Job Vacancy');
?>
</h1>
    </div>

    <div class="inner">
        <?php 
include_partial('global/flash_messages');
?>
Beispiel #21
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');
Beispiel #22
0
<?php

use_javascript('jquery.min.js');
use_javascript('ui/jquery.ui.core.min.js');
use_javascript('ui/jquery.ui.widget.min.js');
use_javascript('ui/jquery.ui.accordion.min.js');
use_javascript('jquery-accordion.js');
use_stylesheet('tweet.css');
use_stylesheet('perfilrelacion.css');
?>

<?php 
slot('breadbrumb');
?>
  <li>> <a href="<?php 
echo url_for('Parlamentario/index');
?>
">Perfiles Parlamentarios</a></li>
  <li class="actual">> <?php 
echo $parlamentario->getNombre() . ' ' . $parlamentario->getApellidos();
?>
</li>
<?php 
end_slot();
?>

<div id="top">
  <div class="topperfil">
    <img class="fotoperfil" src="/images/parlamentarios/<?php 
echo $parlamentario->getIdParlamentario();
?>
<?php

echo javascript_include_tag('jquery.tooltip.js');
use_javascript(plugin_web_path('orangehrmAdminPlugin', '/js/viewCompanyStructureSuccess'));
?>

<style type="text/css">
    p {
        margin-top: 10px;
    }
</style>

<div class="box">
    <div class="head">
        <h1><?php 
echo __("Organization Structure");
?>
</h1>
    </div>

    <div class="inner" >
        <div id="messageDiv"></div>
        <?php 
if ($isOrganizationNameSet) {
    ?>
            <?php 
    echo $listForm;
    ?>
            <ol id="divCompanyStructureContainer">            
                <?php 
    $tree->render();
Beispiel #24
0
            <?php 
if (count($data) < 6) {
    ?>
                <?php 
    echo str_repeat('<li></li>', 6 - count($data));
    ?>
            <?php 
}
?>
        </ul>
    </div>
    <div class="clear"></div>
</div>

<?php 
use_javascript('/olly/js/blockUI/script.js');
?>
<script type="text/javascript">
// carousel scripts
$('.roofimg').click(function(e){
    e.preventDefault();

    // already selected
    if($(this).find('.roofbigimg').is(':visible'))return false;


    $('.roofbigimg').css('display','none');
    $(this).find('.roofbigimg').css('display','block');

    // block ui
    $.blockUI({ message: '<h1><?php 
<?php

use_javascript('jquery-1.3.2.min.js');
use_helper('Form', 'Javascript', 'Object');
echo form_tag('Login/changePassword');
?>

<div id="main_content">
	<div class="box_content">
	<div class="box_title">
		<h2><span class="dark_blue">Change Password</span></h2>
	</div>
	<div class="box_text_content">
	<div class="box_text">
	
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="form">

                <tr>
                  <td height="7" colspan="2"></td>
                </tr>
                <tr>
                  <td colspan="2" valign="top">&nbsp;</td>
  </tr>
               
				<tr>
                  <td width="15%" height="27" valign="top" style="padding-left: 10px; line-height: 18px;">Old Password:<span class="error">*</span></td>
                  <td width="85%" valign="top" style="padding-left: 10px; line-height: 18px;"><?php 
echo input_password_tag('old_password', '', 'size=25');
?>
				  <script type="text/javascript">
	var old_password = new LiveValidation('old_password', { validMessage: "<?php 
<?php 
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/membershipSuccess'));
?>

<div id="membership" class="box">
    
    <div class="head"><h1 id="membershipHeading"><?php 
echo __("Add Membership");
?>
</h1></div>
    
    <div class="inner">
        
        <form name="frmMembership" id="frmMembership" method="post" action="<?php 
echo url_for('admin/membership');
?>
" >
            <?php 
echo $form['_csrf_token'];
?>
            <?php 
echo $form->renderHiddenFields();
?>
           <fieldset>
                <ol>
                    <li>
                        <?php 
echo $form['name']->renderLabel(__('Name') . ' <em>*</em>');
?>
                        <?php 
<?php

use_javascript('protovis.js');
use_javascript('jquery.min.js');
use_javascript('jquery-parlamentario.js');
?>

<?php 
if (($mociones = $partido->getMociones()) != null && $partido != 'PC') {
    ?>

  <?php 
    $num_mat = $partido->countMocionesMateria($mociones, 2006, 2010, null);
    $num_est = $partido->countMocionesEstado($mociones, 2006, 2010, 0);
    //por materias
    if ($num_mat > 0) {
        $materias = Doctrine_Core::getTable('Materia')->createQuery('m')->execute();
        $anterior = null;
        $super_materias = "";
        foreach ($materias as $i => $materia) {
            if ($i == 0) {
                $anterior = $materia->getSuperMateria();
                $super_materias = $materia->getIdMateria();
            } else {
                if ($materia->getSuperMateria() == $anterior) {
                    $super_materias .= "," . $materia->getIdMateria();
                } else {
                    //echo $anterior.":".$parlamentario->countMocionesMateria($mociones,2006,2010,explode(",",$super_materias)).'<br>';
                    $mats[] = array('materia' => $super_materias, 'a2006' => $partido->countMocionesMateria($mociones, 2006, 2010, explode(",", $super_materias)));
                    $super_materias = $materia->getIdMateria();
                    $super_m[] = $anterior;
<?php

slot('title', __('Specimens Search Result'));
use_javascript('double_list.js');
include_partial('result_cols', array('columns' => $columns, 'field_to_show' => $field_to_show));
?>

<div class="encoding">
  <?php 
include_stylesheets_for_form($form);
?>
  <?php 
include_javascripts_for_form($form);
?>
  <div class="page" id="search_div">
    <h1 id="title"><?php 
echo __('Specimens Search Result');
?>
</h1>
    <?php 
echo form_tag('specimensearch/search' . (isset($is_choose) ? '?is_choose=' . $is_choose : ''), array('class' => 'specimensearch_form', 'id' => 'specimen_filter'));
?>
      <ul id="intro" class="hidden">
        <?php 
// Render all the form fields as hidden input if possible. if the value is an array or and object render them as usual
foreach ($form as $row) {
    $w = new sfWidgetFormInputHidden();
    $attributes = $form->getWidget($row->getName())->getAttributes();
    if (is_string($row->getValue()) || is_null($row->getValue())) {
        echo '<li>' . $w->render($form->getWidgetSchema()->generateName($row->getName()), $row->getValue(), $attributes) . '</li>';
    } else {
 * Licensed Materials are received. Title to the Licensed Materials and media shall remain
 * vested in OrangeHRM Inc. For the avoidance of doubt title and all intellectual property
 * rights to any design, new software, new protocol, new interface, enhancement, update,
 * derivative works, revised screen text or any other items that OrangeHRM Inc creates for
 * Customer shall remain vested in OrangeHRM Inc. Any rights not expressly granted herein are
 * reserved to OrangeHRM Inc.
 *
 * You should have received a copy of the OrangeHRM Enterprise  proprietary license file along
 * with this program; if not, write to the OrangeHRM Inc. 538 Teal Plaza, Secaucus , NJ 0709
 * to get the file.
 *
 */
?>

<?php 
use_javascript(plugin_web_path('orangehrmAdminPlugin', 'js/viewJobTitleListSuccess'));
?>

<div id="jobTitleList">
    <?php 
include_component('core', 'ohrmList', $parmetersForListCompoment);
?>
</div>

<!-- comment dialog -->

<div id="commentDialog" title="<?php 
echo __('Job Description');
?>
" style="display: none">
    <form action="updateComment" method="post" id="frmCommentSave">
/**
 * Adds a dynamic javascript to the response object.
 *
 * The first argument is an internal URI.
 * The helper automatically adds the sf_format to the internal URI, so you don't have to.
 *
 * @see sfResponse->addJavascript()
 */
function use_dynamic_javascript($js, $position = '', $options = array())
{
    $options['raw_name'] = true;
    return use_javascript(_dynamic_path($js, 'js'), $position, $options);
}