mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-24 09:08:42 -04:00
Continue bootstrap-tables integration (#293)
Refactor manage_tables code and use proper js namespacing Add glyphicons for most buttons in customers sections Tidy up HTML in customers table page Remove jquery-color plugin (not needed anymore) Fix some minor css issues (feedback bar bottom margin)
This commit is contained in:
1 parent
af7b64a398
commit
2b03d3bfd7
14 files changed
+449
-1338
No files matched your search
@@ -1,36 +1,12 @@
|
||||
<?php
|
||||
require_once ("interfaces/Iperson_controller.php");
|
||||
require_once ("Secure_area.php");
|
||||
abstract class Person_controller extends Secure_area implements iPerson_controller
|
||||
abstract class Person_controller extends Secure_area
|
||||
{
|
||||
function __construct($module_id=null)
|
||||
{
|
||||
parent::__construct($module_id);
|
||||
}
|
||||
|
||||
/*
|
||||
This returns a mailto link for persons with a certain id. This is called with AJAX.
|
||||
*/
|
||||
function mailto()
|
||||
{
|
||||
$people_to_email=$this->input->post('ids');
|
||||
|
||||
if($people_to_email!=false)
|
||||
{
|
||||
$mailto_url='mailto:';
|
||||
foreach($this->Person->get_multiple_info($people_to_email)->result() as $person)
|
||||
{
|
||||
$mailto_url.=$person->email.',';
|
||||
}
|
||||
//remove last comma
|
||||
$mailto_url=substr($mailto_url,0,strlen($mailto_url)-1);
|
||||
|
||||
echo $mailto_url;
|
||||
exit;
|
||||
}
|
||||
echo '#';
|
||||
}
|
||||
|
||||
/*
|
||||
Gives search suggestions based on what is being searched for
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user