the only coding change the client would need to perform on adding the gallery would be to modify the gallery PHP code to a hidden element.
all of the other changes are changes you would need to make to the pages that display the Power CMS Content.
the 2nd, 3rd and forth code blocks are changes that need to be made to the Power CMS System to allow a gallery to be added.
once those changes are made, the client can add a gallery to the CMS by changing the php code for the gallery:
$pg_id = '1';
$pg_theme = 'DLM';
to a hidden element:
<input type="hidden" name="powergallery" id="1" theme="DLM" value="/homepages/40/d369590415/htdocs/divineloveministries/gallery/galleries/flow/index.php" />
the format of the hidden element is:
name="powergallery" - this wont change.
id="1" - this takes the value of the $pg_id variable "$pg_id = '1';"
theme="DLM" - this takes the value of the $pg_theme variable "$pg_theme = 'DLM';"
value="/homepages/40/d369590415/htdocs/divineloveministries/gallery/galleries/flow/index.php" - this takes the value of the include.