コード例 #1
0
echo lang('about to move');
?>
 <?php 
echo lc(lang('message'));
?>
 <b><?php 
echo clean($message->getTitle());
?>
</b></div>

  <div>
    <?php 
echo label_tag(lang('project to move to', clean($message->getTitle())), 'moveMessageFormTargetProjectId', true);
?>
    <?php 
echo select_project('move_data[target_project_id]', '', array_var($move_data, 'target_project_id'), array('id' => 'moveMessageFormTargetProjectId'));
?>
  </div>

  <?php 
echo submit_button(lang('move message'));
?>
 <span id="cancel"><a href="<?php 
echo $message->getViewUrl();
?>
"><?php 
echo lang('cancel');
?>
</a></span>
</form>
<?php 
コード例 #2
0
ファイル: add_project.php プロジェクト: bklein01/Project-Pier
  <div>
    <?php 
echo label_tag(lang('name'), 'projectFormName', true);
?>
    <?php 
echo text_field('project[name]', array_var($project_data, 'name'), array('class' => 'long', 'id' => 'projectFormName'));
?>
  </div>

  <div>
    <?php 
echo label_tag(lang('parent project'), 'projectSource', true);
?>
    <?php 
echo select_project('project[parent_id]', '', array_var($project_data, 'parent_id'), array('id' => 'projectFormParentId'));
?>
  </div>

  <div>
    <?php 
echo label_tag(lang('priority'), 'projectFormPriority');
?>
    <?php 
echo input_field('project[priority]', array_var($project_data, 'priority'), array('class' => 'short', 'id' => 'projectFormPriority'));
?>
  </div>
    
  <div>
    <?php 
echo label_tag(lang('description'), 'projectFormDescription');
コード例 #3
0
?>
<form action="<?php 
echo get_url('project', 'copy');
?>
" method="post">

<?php 
tpl_display(get_template_path('form_errors'));
?>

  <div>
    <?php 
echo label_tag(lang('projects copy source'), 'projectSource', true);
?>
    <?php 
echo select_project('project[source]', '', array_var($project_data, 'copy_source'), array('id' => 'projectFormSource'));
?>
  </div>

  <div>
    <?php 
echo label_tag(lang('projects shift dates'), 'projectFormShiftDates');
?>
    <?php 
echo checkbox_field('project[shift_dates]', true, array_var($project_data, 'shift_dates'), array('id' => 'projectFormShiftDates'));
?>
  </div>

  <div>
    <?php 
echo label_tag(lang('add days'), 'projectFormAddDaysFromNow');
$options[] = option_tag('-- ' . lang('anyone') . ' --', 0, array('selected' => 'selected'));
foreach ($users as $user) {
    $options[] = option_tag($user->getObjectName(), $user->getId());
}
echo select_box('report[user]', $options);
?>
</td>
		</tr>
		<tr style='height:30px;'>
			<td><b><?php 
echo lang("workspace");
?>
:&nbsp;</b></td>
			<td align='left'>
				<?php 
echo select_project('report[project_id]', $workspaces, null, null, true);
echo checkbox_field('report[include_subworkspaces]', true, array('id' => 'report[include_subworkspaces]'));
?>
 
	      <label for="<?php 
echo 'report[include_subworkspaces]';
?>
" class="checkbox"><?php 
echo lang('include subworkspaces');
?>
</label>
			</td>
		</tr>
		<tr style='height:30px;'>
			<td colspan=2 align='left'>
				<?php 
コード例 #5
0
ファイル: radio.php プロジェクト: bklein01/Project-Pier
"></script>
<div id="flashcontent1">No flash, no radio<br />
<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Download Flash</a>
</div>
<script type="text/javascript">
// <![CDATA[

  var so = new SWFObject("<?php 
echo get_javascript_url('nativeradio/nativeradio2small.swf');
?>
", "nativeradio2small", "200", "50", "10", "#cccccc");
  so.addParam("scale", "noscale");
  so.addVariable("swfcolor", "333333");
  so.addVariable("swfwidth", "200");
  so.addVariable("swfradiochannel", "TrackFM.nl");
  so.addVariable("swfstreamurl", "http://stream.trackfm.nl:8000/medium");
  so.addVariable("swfpause", "0");
  so.write("flashcontent1");

  if (document.all) {
    self.resizeTo(215+12, 145+35);
  } else {
    self.resizeTo(215, 145);
  }
  self.moveTo(0,0);

// ]]>
</script>
<?php 
echo select_project();