projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#384: name substitution in mails to non-X
[platal.git]
/
include
/
trombi.inc.php
diff --git
a/include/trombi.inc.php
b/include/trombi.inc.php
index
9f09a3f
..
034c9ac
100644
(file)
--- a/
include/trombi.inc.php
+++ b/
include/trombi.inc.php
@@
-26,33
+26,33
@@
require_once('xorg.plugin.inc.php');
class Trombi extends XOrgPlugin
{
// {{{ properties
class Trombi extends XOrgPlugin
{
// {{{ properties
-
- var $_get_vars =
A
rray('offset');
+
+ var $_get_vars =
a
rray('offset');
var $limit = 24;
var $admin = false;
var $showpromo = true;
// }}}
// {{{ function setNbRows()
var $limit = 24;
var $admin = false;
var $showpromo = true;
// }}}
// {{{ function setNbRows()
-
+
function setNbRows($row)
{ $this->limit = $row*3; }
// }}}
// {{{ function setAdmin()
function setNbRows($row)
{ $this->limit = $row*3; }
// }}}
// {{{ function setAdmin()
-
+
function setAdmin()
{ $this->admin = true; }
// }}}
// {{{ function hidePromo()
function setAdmin()
{ $this->admin = true; }
// }}}
// {{{ function hidePromo()
-
+
function hidePromo()
{ $this->showpromo = false; }
// }}}
// {{{ function show()
function hidePromo()
{ $this->showpromo = false; }
// }}}
// {{{ function show()
-
+
function show()
{
/* this point is nasty... but since show() is called from the template ...
function show()
{
/* this point is nasty... but since show() is called from the template ...
@@
-81,7
+81,7
@@
class Trombi extends XOrgPlugin
$page->assign('trombi_admin', $this->admin);
return $page->fetch('include/trombi.tpl');
}
$page->assign('trombi_admin', $this->admin);
return $page->fetch('include/trombi.tpl');
}
-
+
// }}}
}
// }}}
}