Indentation automatique

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@6 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
moyooo 2006-08-25 23:59:21 +00:00
parent 8b7d077d86
commit fda0ebe2d3
6 changed files with 169 additions and 169 deletions

View 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:
@ -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]);
}

View 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:

View 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:

View 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:

View 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:

View 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: