adminHook() public static method

Includes hooks for this filename from plugins
public static adminHook ( string $filename, array $vars = [] )
$filename string
$vars array
示例#1
0
      
      
      <!-- BEGIN Multi date table -->
      <?php 
if ($hasMultiDates) {
    echo '
  <script type="text/javascript">
    window.has_multidates = true;
  </script>';
    require 'edit_multidate_box.php';
}
?>
      <!-- END Multi date table -->

      <?php 
CampPlugin::adminHook(__FILE__, array('articleObj' => $articleObj, 'f_edit_mode' => $f_edit_mode));
?>

  </div>
  <script type="text/javascript">
  $(document).ready(function() {
    $('.sidebar .articlebox').each(function() {
        var box = $(this);
        var title = box.attr('title');

        // main classes
        box.addClass('ui-widget-content small-block block-shadow');

        // wrap content
        $('> *', box).wrapAll('<div class="padded clearfix" />');
示例#2
0
文件: edit.php 项目: nidzix/Newscoop
				<?php 
}
?>
		<TR>
			<TD COLSPAN="2" align="center" style="padding-top: 15px;">
				<INPUT TYPE="submit" class="button" NAME="Save" VALUE="<?php 
putGS('Save');
?>
">
			</TD>
		</TR>
		</TABLE>
		</FORM>
		<P>
		<?php 
CampPlugin::adminHook(__FILE__, array('issueObj' => $issueObj));
?>
	</td>

	<td valign="top">
		<div class="action_buttons" style="font-size: 10pt; font-weight: bold;"><?php 
putGS('Issue Publishing Schedule');
?>
</div>
		<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="3" class="table_list">
		<TR class="table_list_header">
			<TD ALIGN="LEFT" VALIGN="TOP"><B><?php 
putGS("Date/Time");
?>
</B></TD>
			<TD ALIGN="LEFT" VALIGN="TOP"><B><?php 
示例#3
0
    }
    ?>
        </TABLE>
    </td>
    <!-- END right column -->
    <?php 
}
?>
</tr>
<?php 
if (isset($publicationObj)) {
    ?>
<tr>
	<td colspan="2">
        <?php 
    CampPlugin::adminHook(__FILE__, array('publicationObj' => $publicationObj));
    ?>
    </td>
</tr>
<?php 
}
?>
<TR>
	<TD COLSPAN="2" align="center" style="padding-left: 8px; padding-right: 8px;">
	   <table style="border-top: 1px solid black; padding-top: 7px; padding-bottom: 6px; margin-top: 10px;" width="100%">
	   <tr>
	       <td align="center">
        	<?php 
if (isset($publicationObj)) {
    ?>
        	<INPUT TYPE="HIDDEN" NAME="f_publication_id" VALUE="<?php 
示例#4
0
文件: edit.php 项目: nidzix/Newscoop
    ?>
            <INPUT TYPE="hidden" NAME="cSectionTplId" VALUE="<?php 
    echo $issueHasTheme ? $tplSectionPathSafe : '0';
    ?>
"/>
            <INPUT TYPE="hidden" NAME="cArticleTplId" VALUE="<?php 
    echo $issueHasTheme ? $tplArticlePathSafe : '0';
    ?>
"/>
    	<?php 
}
?>
<tr>
	<td colspan="2">
		<?php 
CampPlugin::adminHook(__FILE__, array('sectionObj' => $sectionObj));
?>
	</td>
</tr>
<tr>
  <td colspan="2" align="center">
    <input type="hidden" name="Pub" value="<?php 
p($Pub);
?>
" />
    <input type="hidden" name="Issue" value="<?php 
p($Issue);
?>
" />
    <input type="hidden" name="Language" value="<?php 
p($Language);