button() public static method

public static button ( $value = null, $attributes = [] )
Example #1
0
 /**
  * Creates an HTML form button input tag.
  *
  * @param   string|array  input name or an array of HTML attributes
  * @param   string|array  input value, when using a name or values
  * @param   string        a string to be attached to the end of the attributes
  * @param   string        $label
  * @param   string|array  $error
  * @param   string|array  $tip
  * @return  string
  */
 public static function button_wrap($data = '', $value = '', $extra = '', $label = '', $error = '', $tip = '')
 {
     $name = is_array($data) ? arr::get($data, 'name') : $data;
     $value = is_array($value) ? arr::get($value, $name) : $value;
     $input = form::button($data, $value, $extra);
     return form::wrap($input, $name, $label, $error, $tip);
 }
Example #2
0
 function input($key, $data, $inputOnly = false)
 {
     $input = "<input type='text' name='" . parent::protection($key) . "' value='{$key}' id='qform_input_{$key}' />" . parent::button("{$key}-select-coordinates", 'Nhập T�a �ộ', 'coordinates') . '<div id="get_map" title="Lấy T�a �ộ Trên Bản �ồ (kéo thả đến điểm cần để lấy t�a độ)"></div>';
     $script = '' . "var map={" . "getPostion:function(){" . "\$('#dialog:ui-dialog' ).dialog('destroy' );" . "\$('#get_map').dialog({" . "draggable: false,resizable: false,height: 440, width:640,modal: true," . "open: function(event, ui) {" . "jQuery(this).html('<div id=\"gmap\" class=\"gmap3\"></div>');" . 'map.loadMap();' . "}" . "});" . "}," . "loadMap:function(){" . "\$('#gmap').gmap3({\n\t\taction: 'addMarker',\n\t\tlatLng: [21.029391714981056, 105.85231983068843],\n\t\tmap:{ center: true, zoom: 15},\n\t\tmarker:{\n\t\toptions:{ draggable:true },\n\t\tevents:{\n\t\tdragend: function(marker){\n\t\t\$(this).gmap3({\n\t\taction:'getAddress',\n\t\tlatLng:marker.getPosition(),\n\t\tcallback:function(results){\n\t\tvar map = \$(this).gmap3('get'),\n\t\tinfowindow = \$(this).gmap3({action:'get', name:'infowindow'});\n\t\taddressValue = results && results[1] ? results && results[1].formatted_address : 'no address';\n\t\tcontent ='<div class=\"address\">';\n\t\tcontent += addressValue;\n\t\tcontent +='</div>';\n\t\tcontent +='<div class=\"button2-left\" style=\"clear: both;\" ><div class=\"blank\">'\n\t\tcontent +='<input type=\"button\"  title=\"\"  value=\"Lấy T�a �ộ này\" onclick=\"\$(\\'#qform_input_" . $fieldKey . "\\').val(\\''+marker.getPosition().lat()+','+marker.getPosition().lng()+'\\');  \$(\\'#get_map\\' ).dialog(\\'close\\');\" /></div></div>';\n\t\tmap.panTo(marker.getPosition());\n\t\t\t\n\t\t\n\t\tif (infowindow){\n\t\tinfowindow.open(map, marker);\n\t\tinfowindow.setContent(content);\n\t\t} else {\n\t\t\$(this).gmap3({action:'addinfowindow', anchor:marker, options:{content: content}});\n\t\t}\n\t\t\n\t\t}\n\t\t});\n\t\t}\n\t\t}\n\t\t \n\t\t}\n\t\t}\n\t\t);" . "}," . "};";
     $input .= '<script type="text/javascript">' . $script . "\$('#{$key}-select-coordinates').click(function(){" . 'map.getPostion();' . '});' . '</script>';
     //$this->CI->template->add_js($script);
     return self::rowForm($data->title, $input);
 }
Example #3
0
 public function render(&$render_variables, $errors = array())
 {
     // Load base template and attributes
     $result = parent::render($render_variables, $errors);
     if (is_array($result) and $result['type'] == 'submit') {
         $render_variables['submit'] = TRUE;
     }
     $result['template']->element = form::button($result['attributes'], $this->value);
     // Return the resulting output
     return (string) $result['template']->render();
 }
Example #4
0
 public function input($fieldKey, $fieldData)
 {
     $lable = preg_replace("/<.*?>/", "", $fieldData->lable);
     $attribute = '';
     if (!isset($fieldData->dir) || $fieldData->dir == '') {
         $fieldData->dir = 'content';
     }
     $resourceURL = $this->CI->config->item('resource_domain');
     $directory = $fieldData->dir != '' ? "/" . $fieldData->dir != '' : '';
     $subDir = $fieldData->dir != '' ? "?dir={$fieldData->dir}" : '';
     $script = '' . 'jQuery("#' . $fieldKey . '-select-image").click(function(e){ ' . "e.preventDefault();" . "var fm = \$('<div/>').dialogelfinder({" . "url : '" . $this->CI->config->item('assets_url') . "/elfinder-2.0/php/connector.php'," . "lang : 'en', width : 840,destroyOnClose : true," . "getFileCallback : function(files, fm) {" . "jQuery('input[type=text][name=" . parent::protection($fieldKey) . "]').val(files.replace('" . $this->CI->config->item('resource_domain') . "/', ''));" . "},commandsOptions : {getfile : { oncomplete : 'close',folders : false}}" . "}).dialogelfinder('instance');" . 'return false;' . '});';
     $this->CI->template->add_js_ready($script);
     $html = '<input type="text" name="' . parent::protection($fieldKey) . '" value="' . $fieldData->value . '" class="field-image text" readonly  />';
     $html .= parent::button('select image', 'button', array('id' => "{$fieldKey}-select-image", 'class' => 'imagebutton button grey'));
     return $html;
 }
Example #5
0
 public function index()
 {
     stylesheet::add('switchboard', 50);
     javascript::add('pubsub.js', 50);
     $this->view->sofia_status = '';
     $sipInterface = Doctrine::getTable('SipInterface')->findAll();
     foreach ($sipInterface as $interface) {
         $this->view->sofia_status .= form::button(array('id' => 'sofia_profile', 'class' => 'eslEvent', 'value' => 'SIP Interface ' . $interface->sipinterface_id . ' Status', 'param' => 'sipinterface_' . $interface->sipinterface_id));
     }
     $this->view->trunk_status = '';
     $trunks = Doctrine::getTable('Trunk')->findAll();
     foreach ($trunks as $trunk) {
         $this->view->trunk_status .= form::button(array('id' => 'gateway_profile', 'class' => 'eslEvent', 'value' => 'Trunk ' . $trunk->trunk_id . ' Status', 'param' => 'trunk_' . $trunk->trunk_id));
     }
     //CLEAR THE ESL SESSION
     $_SESSION['esl'] = array();
 }
Example #6
0
File: esl.php Project: swk/bluebox
 public function index()
 {
     stylesheet::add('esl', 50);
     $this->view->sofia_status = '';
     $sipInterface = Doctrine::getTable('SipInterface')->findAll();
     foreach ($sipInterface as $interface) {
         $this->view->sofia_status .= form::button(array('id' => 'sofia_profile', 'class' => 'eslEvent', 'value' => 'SIP Interface ' . $interface->sipinterface_id . ' Status', 'param' => 'sipinterface_' . $interface->sipinterface_id));
     }
     $this->view->trunk_status = '';
     $trunks = Doctrine::getTable('Trunk')->findAll();
     foreach ($trunks as $trunk) {
         $this->view->trunk_status .= form::button(array('id' => 'gateway_profile', 'class' => 'eslEvent', 'value' => 'Trunk ' . $trunk->trunk_id . ' Status', 'param' => 'trunk_' . $trunk->trunk_id));
     }
     $eslManager = new EslManager();
     $this->view->isConnected = $eslManager->isConnected();
     $this->view->isExtension = $eslManager->isExtension();
 }
Example #7
0
 private function buildForm()
 {
     $options = array('method' => "POST", 'enctype' => "multipart/form-data", 'action' => '/blog/formular/add', 'width' => '400px');
     $form = new \form('testing', $options);
     $form->label('checkbox');
     $form->checkbox('checkbox test', 'testcheckbox', 'check', '');
     $form->checkbox('checkbox test2', 'testcheckbox', 'check2', true);
     $form->label('radio');
     $form->radio('radio test', 'testradio', 'radio', '');
     $form->radio('radio test 2', 'testradio', 'radio2', true);
     $form->label('textarea');
     $form->text('textarea', ' ', ['error' => $this->error['textarea']]);
     $form->select('autos', ['a' => 'audi', 'b' => 'vw', 'c' => 'toyota'], 'b', ['label' => 'auto select']);
     $form->text('username', '', ['placeholder' => 'username', 'label' => 'Username', 'error' => $this->error['username']]);
     $form->password('password', '', ['label' => 'Password', 'error' => $this->error['password']]);
     $form->button('senden', ['type' => 'submit']);
     return $form;
 }
Example #8
0
<?php 
echo $form->select_db_multi("Danh mục", "sta_category_id", "sta_category_id", $listAll, "cat_id", "cat_name", $sta_category_id, "Danh mục", 1, "", 1, 0, "", "");
echo $form->text("Tiêu đề", "sta_title", "sta_title", $sta_title, "Tiêu đề", 1, 250, "", 255, "", "", "");
echo $form->text("Thứ tự", "sta_order", "sta_order", $sta_order, "Thứ tự", 2, 50, "", 255, "", "", "");
echo $form->text("Ngày tạo", "sta_strdate" . $form->ec . "sta_strtime", "sta_strdate" . $form->ec . "sta_strtime", $sta_strdate . $form->ec . $sta_strtime, "Ngày (dd/mm/yyyy)" . $form->ec . "Giờ (hh:mm:ss)", 0, 70 . $form->ec . 70, $form->ec, 10 . $form->ec . 10, " - ", $form->ec, "&nbsp; <i>(Ví dụ: dd/mm/yyyy - hh:mm:ss)</i>");
echo $form->close_table();
echo $form->wysiwyg("Mô tả chi tiết", "sta_description", $sta_description, "../../resource/ckeditor/", "95%", 300);
echo $form->create_table();
echo $form->close_table();
echo $form->wysiwyg("Bản lưu", "sta_description1", $sta_description1, "../../resource/ckeditor/", "95%", 300);
echo $form->create_table();
?>

<?php 
echo $form->radio("Sau khi lưu dữ liệu", "add_new" . $form->ec . "return_listing" . $form->ec . "return_edit", "after_save_data", $add . $form->ec . $listing . $form->ec . $edit, $after_save_data, "Thêm mới" . $form->ec . "Quay về danh sách" . $form->ec . "Sửa bản ghi", 0, "" . $form->ec . "" . $form->ec . "");
echo $form->button("submit" . $form->ec . "reset", "submit" . $form->ec . "reset", "submit" . $form->ec . "reset", "Cập nhật" . $form->ec . "Làm lại", "Cập nhật" . $form->ec . "Làm lại", 'style="background:url(' . $fs_imagepath . 'button_1.gif) no-repeat; border:none;"' . $form->ec . 'style="background:url(' . $fs_imagepath . 'button_2.gif) no-repeat; border:none;"', "");
?>
<br />
<?php 
echo $form->hidden("action", "action", "submitForm", "");
?>

<?
$form->close_table();
$form->close_form();
unset($form);
?>
<? /*------------------------------------------------------------------------------------------------*/ ?>
<?php 
echo template_bottom();
?>
Example #9
0
    	<dt><label for="password">Password:</label></dt>
        <dd><?php 
echo form::password('password', $post['password']);
?>
</dd>
    </dl>
    <dl>
        <dd><?php 
echo form::checkbox('remember_check', 'rememberMe', TRUE);
?>
<label for="rememberMe" class="rememberMe">Remember me</label></dd>
		<?php 
if (isset($_GET['return_to'])) {
    echo form::hidden("return_to", $_GET['return_to']);
} else {
    echo form::hidden("return_to", "home");
}
?>

    </dl>

</fieldset>
<fieldset class="action">
	<?php 
echo form::button('submit', 'Login');
?>
</fieldset>
</form>

</div>
Example #10
0
if (isset($views)) {
    echo subview::render($views);
}
?>

                </div>

                <div class="buttons form_bottom">
                <?php 
if (!empty($allowNext)) {
    echo form::button(array('name' => 'next', 'class' => 'save small_green_button'), 'Continue');
}
?>
                <?php 
if (!empty($allowPrev)) {
    echo form::button(array('name' => 'prev', 'class' => 'prev small_red_button'), 'Back');
}
?>
                </div>

                <?php 
echo form::close();
?>
            </div>
        </div>
    </div>
    <?php 
javascript::renderCodeBlocks();
?>
</body>
</html>
Example #11
0
echo form::open($action, $attributes);
?>

<?php 
include Eight::find_file('views', 'eight/form_errors');
?>

<fieldset>
<?php 
foreach ($inputs as $title => $input) {
    ?>
<label><span><?php 
    echo $title;
    ?>
</span><?php 
    echo form::input($input);
    ?>
</label>
<?php 
}
?>
</fieldset>

<fieldset class="submit"><?php 
echo html::anchor($cancel, 'Cancel'), ' ', form::button(nil, 'Save');
?>
</fieldset>

<?php 
echo form::close();
Example #12
0
 public function render()
 {
     $data = $this->data;
     unset($data['label']);
     return form::button($data);
 }
Example #13
0
echo form::input('username', isset($post['username']) ? $post['username'] : NULL, array('id' => 'username'));
?>
			</div>
			<div class="line" style="width: 160px">
				<?php 
echo form::label('password', 'Password');
?>
				<?php 
echo form::password('password', isset($post['password']) ? $post['password'] : NULL, array('id' => 'password'));
?>
			</div>
			<div class="line">
				<?php 
echo form::checkbox('remember', 'TRUE', FALSE, array('id' => 'remember', 'class' => 'auto'));
?>
				<?php 
echo form::label('remember', 'Remember');
?>
			</div>
			<div class="line controls">
				<?php 
echo form::button(NULL, 'כניסה למערכת', array('type' => 'submit', 'style' => 'width:110px;'));
?>
			</div>
		</fieldset>

	<?php 
echo form::close();
?>

</div>
Example #14
0
 public function getButtonLink($params)
 {
     $params['name'] = 'submit[' . $params['name'] . ']';
     $data = array('name' => 'submit[' . Bluebox_Controller::SUBMIT_CONFIRM . ']', 'class' => 'save small_green_button');
     return form::button();
 }
Example #15
0
					<?php 
echo form::select('endmonth', $months);
echo form::select('endday', $days);
echo form::select('endyear', $years);
?>
					</p>
				</div>
			</div>
			<div class="box_bottom"></div>
		</div>
		<div class="box">
			<div class="box_top"></div>
			<div class="box_inner notable">
				<h2 class="black">Rules</h2>
				<?php 
echo form::button('addRule', 'Add Rule', array('id' => 'add_rule', 'class' => 'add_rule'));
?>
				<div id="rules"></div>		
			</div>
			<div class="box_bottom"></div>
		</div>
		<div class="submit_container">
			<ul class="buttons">
				<li><?php 
echo form::submit('submit', '', array('class' => 'submit'));
?>
</li>
			</ul>
		</div>
	<?php 
echo form::close();
Example #16
0
</dd>

		<dt><?php 
echo form::label('completed', 'Completed On');
?>
</dt>
		<dd><?php 
echo form::input('completed', $post['completed']);
?>
</dd>

		<dt><?php 
echo form::label('website', 'Website URL');
?>
</dt>
		<dd><?php 
echo form::input('website', $post['website']);
?>
</dd>

		<dd class="submit"><?php 
echo form::button(NULL, 'Create Project', array('type' => 'submit'));
?>
</dd>
	</dl>

	<?php 
echo form::close();
?>

</div>
Example #17
0
                <?php 
echo form::button(array('id' => 'reload_sofia', 'class' => 'eslEvent', 'value' => 'Reload Sofia'));
?>
            </div>
        <h3><a href="#">Manual Entry</a></h3>
            <div id="modules">
                <?php 
echo form::dropdown('type', array('sendRecv', 'recvEvent'));
?>
                
                <?php 
echo form::input('params');
?>

                <?php 
echo form::button(array('id' => 'manual_entry', 'param' => 'version', 'class' => 'eslEvent', 'value' => 'Send'));
?>
            </div>
    </div>
</div>

<?php 
jquery::addPlugin('accordion');
?>

<?php 
javascript::codeBlock();
?>
    var eslEvent = 'sdf';

    $("#esl").accordion({
Example #18
0
    <?php 
echo form::open();
?>

    <?php 
echo form::open_section('Configure Phone');
?>

    Configure your phone by clicking an area on the phone.<br />

    <img src="http://imakys.teachoip.com/us/6757-carr%C3%A9+logo-aastra-%C3%A9cra.png" style="padding: 10px 10px 10px 10px">

    <div class="buttons form_bottom">

        <?php 
echo form::button(array('name' => 'submit', 'class' => 'cancel small_red_button'), 'Cancel');
?>

        <?php 
echo form::submit(array('name' => 'submit', 'class' => 'save small_green_button'), 'Save');
?>

    </div>

    <?php 
echo form::close();
?>

</div>
Example #19
0
	<?php 
include Kohana::find_file('views', 'template/errors');
?>

	<dl>
		<dt><?php 
echo form::label('u_email', 'Email address (used to login)');
?>
</dt>
		<dd><?php 
echo form::input('u_email', $post['u_email']);
?>
</dd>

		<dt><?php 
echo form::label('u_password', 'Password');
?>
</dt>
		<dd><?php 
echo form::password('u_password', $post['u_password']);
?>
</dd>

		<dd class="submit"><?php 
echo form::button(NULL, 'Register', array('type' => 'submit'));
?>
</dd>
	</dl>

<?php 
echo form::close();
Example #20
0
File: add.php Project: swk/bluebox
echo form::checkbox('upload[32000]', NULL, TRUE);
?>
    </div>

    <div class="field">
        <?php 
echo form::label('upload[48000]', 'Create 48kHz file');
echo form::checkbox('upload[48000]', NULL, TRUE);
?>
    </div>
    -->

    <div class="buttons form_bottom">

        <?php 
echo form::button(array('name' => 'cancel', 'class' => 'cancel small_red_button', 'onclick' => 'window.location="' . url::site('globalmedia/index') . '";return false;'), 'Cancel');
?>

        <?php 
echo form::submit(array('name' => 'submit', 'class' => 'save small_green_button'), 'Upload');
?>

    </div>


    <?php 
echo form::close_section();
?>

    <?php 
echo form::close(TRUE);
Example #21
0
			<option value="<?php 
echo $listAll[$i]["cat_id"];
?>
"<? if($listAll[$i]["cat_id"] == $iCat) echo ' selected="selected"';?>><? for($j=0;$j<$listAll[$i]["level"];$j++) echo "--"; ?> <?php 
echo $listAll[$i]["cat_name"];
?>
 </option>
		<?
		}
		?>
		</select>
	</td>
</tr>
<?php 
echo $form->text("Link tới category", "link_category", "link_category", $link_category, "Link tới category", 0, 250, "", 1000, "", 'disabled="disabled"', "");
echo $form->button("button", "create_link_category", "create_link_category", "Tạo link", "Tạo link tới category", '" onClick="link_to_category()"', "");
echo $form->hidden("object", "object", $object, "");
?>
<?
$form->close_table();
$form->close_form();
unset($form);

//---------------------------- Create link to data -----------------------------------
if(isset($arrayData)){
	//Search data
	$id			= getValue("id");
	$keyword		= getValue("keyword", "str", "GET", "", 1);
	$sqlWhere	= "";
	//Tìm theo ID
	if($id > 0)			$sqlWhere .= " AND " . $arrayData[0] . " = " . $id . " ";
Example #22
0
?>
</div>

<dl>
 <dt><?php 
echo $post->label('post_excerpt');
?>
</dt>
 <dd><?php 
echo $post->input('post_excerpt', array('class' => 'span-15'));
?>
</dd>
</dl>
 
<?php 
echo form::button('shindig_post', __('Submit'));
?>

</div>

<div class="span-5">

<dl>
 <dt><?php 
echo $post->label('created_on');
?>
</dt>
 <dd><?php 
echo $post->input('created_on');
?>
</dd>
Example #23
0
										Or
									</div>
								</td>
								<td>
									<div class="detailed_feedback">
										<a href="http://feedback.ushahidi.com/fillsurvey.php?sid=5">Provide Detailed Feedback</a>
									</div>
								</td>
							</tr>
							<tr>
								<td colspan="3">
									<?php 
print form::input('person_email', 'Email address', 'size="40" onclick="clearField();"');
?>
									<?php 
print form::button('submit', Kohana::lang('feedback.feedback_reply_send'), 'onclick="formSubmit();"');
?>
									<br /><br />
									<?php 
print empty($errors['person_email']) ? '' : $errors['person_email'] . '<br /><br />';
?>
								</td>
							</tr>
							<?php 
print form::close();
?>
						</tbody>
					</table>
				</div>
			</div>
			<strong class="f-logo"><a href="http://www.ushahidi.com">Ushahidi</a></strong>
Example #24
0
<fieldset>
<label><span>Email Address</span><?php 
echo form::input('email', $post['email']);
?>
</label><br/>
<label><span>Username</span><?php 
echo form::input('username', $post['username']);
?>
</label><br/>
<label><span>Password</span><?php 
echo form::password('password', $post['password']);
?>
</label><br/>
<label><span>Confirm Password</span><?php 
echo form::password('password_confirm', $post['password_confirm']);
?>
</label><br/>
</fieldset>

<fieldset class="submit"><?php 
echo form::button(NULL, 'Save User');
?>
</fieldset>

<?php 
echo form::close();
?>

</div>
Example #25
0
										<?php 
print empty($errors['feedback_captcha']) ? '' : $errors['feedback_captcha'] . '<br /<br />';
?>
									</div>
								</td>
							</tr>
							<tr>
								<td colspan="3">
									<?php 
$email = empty($form['person_email']) ? 'Email address' : $form['person_email'];
?>
									<?php 
print form::input('person_email', $email, 'size="40" class="text"  onclick="clearField();"');
?>
									<?php 
print form::button('submit', Kohana::lang('feedback.feedback_reply_send'));
?>
									<br /><br />
									<?php 
print empty($errors['person_email']) ? '' : $errors['person_email'] . '<br /><br />';
?>
								</td>
							</tr>
							<?php 
print form::close();
?>
					</tbody>
				</table>
			</div>
			<!-- /feedback form -->
 
Example #26
0
File: scan.php Project: swk/bluebox
<p><b>Scan complete. Your files have been updated.</b></p>
<br/>

<p>Your system will now look through all your media-related folders for any new/changed files. You will see the "last scan" at the top of the media manager page update when the scan is complete.</p>

<br/>

<div style="text-align:center">
    <?php 
echo form::button(array('name' => 'submit', 'class' => 'small_green_button', 'onClick' => "javascript:\$('.qtip').hide();\$('#qtip-blanket').fadeOut();"), 'Close');
?>
</div>
Example #27
0
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow group" id="syncRunningConfigRow_queuegroup"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_queuegroup" class="group">Queues</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_queuegroup" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow even" id="syncRunningConfigRow_buildrunningqueuelist"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_buildrunningqueuelist" class="sub">Building List of Running Queues</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_buildrunningqueuelist" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow odd" id="syncRunningConfigRow_builddbqueuelist"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_builddbqueuelist" class="sub">Building List of Queues in the database</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_builddbqueuelist" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow even" id="syncRunningConfigRow_reconcilequeues"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_reconcilequeues" class="sub">Reconciling Queues</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_reconcilequeues" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow group" id="syncRunningConfigRow_agentgroup"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_agentgroup" class="group">Agents</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_agentgroup" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow even" id="syncRunningConfigRow_buildrunningagentlist"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_buildrunningagentlist" class="sub">Reconciling Agents</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_buildrunningagentlist" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow odd" id="syncRunningConfigRow_builddbagentlist"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_builddbagentlist" class="sub">Building List of Agents in the database</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_builddbagentlist" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow even" id="syncRunningConfigRow_reconcileagents"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_reconcileagents" class="sub">Reconciling Agents</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_reconcileagents" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow group" id="syncRunningConfigRow_tiergroup"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_tiergroup" class="group">Tiers</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_tiergroup" class="status"></td></tr>
	<tr name="syncRunningConfigRow" class="syncRunningConfigRow even" id="syncRunningConfigRow_syncronizetiers"><td name="syncRunningConfigLabel" id="syncRunningConfigLabel_syncronizetiers" class="sub">Reconciling Tiers</td><td name="syncRunningConfigStatus" id="syncRunningConfigstatus_syncronizetiers" class="status"></td></tr>
</table>
<br>
<?php 
echo form::open();
$data = array('name' => 'submit[' . Bluebox_Controller::SUBMIT_CONFIRM . ']', 'class' => 'save small_green_button hide');
echo form::button($data, 'OK');
echo form::close(FALSE);
?>
<script language="javascript">


	function enableOKButton() {
		$('#submit_confirm__OK').removeClass('hide');
	}
	function clearWorking(el) {
		$(el).html("");
	}
	function setWorking(el) {
		$(el).html('<img src="<?php 
echo url::base() . skins::getSkin();
?>
Example #28
0
?>

<h1><?php 
echo __('Login');
?>
</h1>

<?php 
include Kohana::find_file('views', 'errors');
?>

<ol>
<li><label><span><?php 
echo __('Username');
?>
</span> <?php 
echo form::input('username', $user->username);
?>
</label></li>
<li><label><span>Password</span> <?php 
echo form::password('password');
?>
</label></li>
</ol>

<?php 
echo form::button(NULL, 'Login', array('type' => 'submit'));
?>

<?php 
echo form::close();
Example #29
0
?>
		<?php 
echo form::button(array('id' => 'manual_hold', 'param' => 'version', 'class' => 'switchboardEvent', 'value' => '--Put On Hold--'));
?>
		<?php 
echo form::button(array('id' => 'manual_xfer', 'param' => 'version', 'class' => 'switchboardEvent', 'value' => '--Xfer--'));
?>
		 <?php 
echo form::button(array('id' => 'manual_record', 'param' => 'version', 'class' => 'switchboardEvent', 'value' => '--Record--'));
?>
		 <div style="float: right;">
		 <?php 
echo mediafiles::dropdown(array('name' => 'media[mediafile]', 'id' => 'media_widget_file_list'));
?>
		<?php 
echo form::button(array('id' => 'manual_sound', 'param' => 'version', 'class' => 'switchboardEvent', 'value' => '--Send Audio--'));
?>
</div>
		
            </div>
	    </div>
        </div>
	<div id="sipinterfaces_tab">
            <div id="sip-interfaces"></div>
        </div>
		
        <div id="SwitchBoardContainer" style="width:900px;min-height: 500px;border: 1px solid #000;overflow-x: hidden;">
	
	<div id="DeviceList" style="width:150px;float:left;min-height: 500px;">
	<?php 
for ($idex = 0; $idex < count($DeviceRows); $idex++) {
Example #30
0
 contest</b><br /><br />

<table>
<tr><td><?php 
echo __('First Name');
?>
:</td><td><?php 
echo form::input('name', $contest['name']);
?>
</td>
<tr><td>Email:</td><td><?php 
echo form::input('email', $contest['email']);
?>
</td>
<tr><td></td><td><?php 
echo form::button('submit', __('Save'));
?>
</td>
<tr><td colspan="2">
<?php 
if (isset($success)) {
    ?>
	<li> <?php 
    echo $success;
    ?>
</li>
<?php 
}
?>

<?php