mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
Indentation automatique
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@6 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
8b7d077d86
commit
fda0ebe2d3
16
_relpos.php
16
_relpos.php
@ -25,7 +25,7 @@
|
||||
along with GLPI; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
------------------------------------------------------------------------
|
||||
*/
|
||||
*/
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Original Author of file:
|
||||
@ -40,13 +40,13 @@ $Dir = explode('/', $Dir);
|
||||
$NDir = count($Dir);
|
||||
for($i=count($Dir); $i>0;$i--)
|
||||
{
|
||||
if(file_exists(implode('/', $Dir) . '/siteroot.php'))
|
||||
{
|
||||
$phproot = implode('/', $Dir);
|
||||
$HTMLRel = str_repeat("../", $NDir - count($Dir));
|
||||
$i = 0;
|
||||
}
|
||||
unset($Dir[$i]);
|
||||
if(file_exists(implode('/', $Dir) . '/siteroot.php'))
|
||||
{
|
||||
$phproot = implode('/', $Dir);
|
||||
$HTMLRel = str_repeat("../", $NDir - count($Dir));
|
||||
$i = 0;
|
||||
}
|
||||
unset($Dir[$i]);
|
||||
}
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
along with GLPI; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
------------------------------------------------------------------------
|
||||
*/
|
||||
*/
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Original Author of file:
|
||||
|
@ -25,7 +25,7 @@
|
||||
along with GLPI; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
------------------------------------------------------------------------
|
||||
*/
|
||||
*/
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Original Author of file:
|
||||
|
@ -26,7 +26,7 @@
|
||||
along with GLPI; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
------------------------------------------------------------------------
|
||||
*/
|
||||
*/
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Original Author of file:
|
||||
|
@ -26,7 +26,7 @@
|
||||
along with GLPI; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
------------------------------------------------------------------------
|
||||
*/
|
||||
*/
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Original Author of file:
|
||||
|
@ -25,7 +25,7 @@
|
||||
along with GLPI; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
------------------------------------------------------------------------
|
||||
*/
|
||||
*/
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Original Author of file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user