dépôts
/
ptitvelo
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~version 3.0.7-->3.0.10
[ptitvelo/web/www.git]
/
www
/
ecrire
/
inc
/
actions.php
diff --git
a/www/ecrire/inc/actions.php
b/www/ecrire/inc/actions.php
index
717f8c8
..
dabed25
100644
(file)
--- a/
www/ecrire/inc/actions.php
+++ b/
www/ecrire/inc/actions.php
@@
-36,11
+36,11
@@
function generer_action_auteur($action, $arg, $redirect = "", $mode = false, $at
}
// http://doc.spip.org/@redirige_action_auteur
}
// http://doc.spip.org/@redirige_action_auteur
-function redirige_action_auteur($action, $arg, $ret, $gra = '', $mode = false, $atts = ''
)
{
+function redirige_action_auteur($action, $arg, $ret, $gra = '', $mode = false, $atts = ''
, $public = false)
{
- $r =
_DIR_RESTREINT.generer_url_ecrire($ret, $gra, true, true
);
+ $r =
($public ? _DIR_RESTREINT_ABS : _DIR_RESTREINT) .generer_url_ecrire($ret, $gra, true, $public
);
- return generer_action_auteur($action, $arg, $r, $mode, $atts);
+ return generer_action_auteur($action, $arg, $r, $mode, $atts
, $public
);
}
// http://doc.spip.org/@redirige_action_post
}
// http://doc.spip.org/@redirige_action_post