/usr/share/gosa/plugins/personal/mail/sieve/class_sieveElement_Stop.inc is in gosa-plugin-mail 2.7.4-4.3~deb7u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | <?php
/* This class handles the stop statement */
class sieve_stop
{
var $object_id = -1;
function sieve_stop($data,$object_id)
{
$this->object_id = $object_id;
}
function save_object()
{
}
function check()
{
return(array());
}
function execute()
{
$smarty = get_smarty();
$smarty->assign("ID", $this->object_id);
$object_container = $smarty->fetch(get_template_path("templates/object_container.tpl",TRUE,dirname(__FILE__)));
$object= $smarty->fetch(get_template_path("templates/element_stop.tpl",TRUE,dirname(__FILE__)));
$str = preg_replace("/%%OBJECT_CONTENT%%/",addcslashes($object,"\\"),$object_container);
return($str);
}
function get_sieve_script_part()
{
return("stop; \n");
}
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>
|