mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
formatting RainTPL class
This commit is contained in:
parent
3edeefd799
commit
28776ac178
@ -329,6 +329,7 @@ class RainTPL{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* execute stripslaches() on the xml block. Invoqued by preg_replace_callback function below
|
* execute stripslaches() on the xml block. Invoqued by preg_replace_callback function below
|
||||||
*
|
*
|
||||||
@ -340,6 +341,8 @@ class RainTPL{
|
|||||||
return "<?php echo '<?xml ".stripslashes($capture[1])." ?>'; ?>";
|
return "<?php echo '<?xml ".stripslashes($capture[1])." ?>'; ?>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compile and write the compiled template file
|
* Compile and write the compiled template file
|
||||||
*
|
*
|
||||||
@ -653,6 +656,7 @@ class RainTPL{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reduce a path
|
* Reduce a path
|
||||||
*
|
*
|
||||||
@ -728,8 +732,6 @@ class RainTPL{
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* replace constants
|
* replace constants
|
||||||
*
|
*
|
||||||
@ -1015,6 +1017,8 @@ class RainTPL{
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prints debug info about exception or passes it further if debug is disabled.
|
* Prints debug info about exception or passes it further if debug is disabled.
|
||||||
*
|
*
|
||||||
@ -1053,6 +1057,7 @@ class RainTPL{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Basic Rain tpl exception.
|
* Basic Rain tpl exception.
|
||||||
*/
|
*/
|
||||||
@ -1085,6 +1090,8 @@ class RainTpl_Exception extends Exception{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception thrown when template file does not exists.
|
* Exception thrown when template file does not exists.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user