コード例 #1
0
 function index()
 {
     $this->set('sectionHead', 'Meta Tag Generator');
     $userId = isLoggedIn();
     $websiteController = new WebsiteController();
     $this->set('websiteList', $websiteController->__getAllWebsites($userId, true));
     $this->set('websiteNull', true);
     $this->set('onChange', pluginPOSTMethod('search_form', 'subcontent', 'action=show'));
     $this->pluginRender('index');
 }
コード例 #2
0
	</tr>
	<tr class="listBot">
		<td class="left" colspan="1"></td>
		<td class="right"></td>
	</tr>
</table>
<table width="100%" cellspacing="0" cellpadding="0" border="0" class="actionSec">
	<tr>
    	<td style="padding-top: 6px;text-align:right;">
    		<a onclick="<?php 
echo pluginGETMethod();
?>
" href="javascript:void(0);">
         		<img border="0" alt="" src="<?php 
echo SP_IMGPATH;
?>
/cancel.gif"/>
         	</a>
         	<a onclick="<?php 
echo pluginPOSTMethod('editSubmitInfo', 'subcontent', 'action=createmetatag');
?>
" href="javascript:void(0);">
         		<img border="0" alt="" src="<?php 
echo SP_IMGPATH;
?>
/proceed.gif"/>
         	</a>
    	</td>
	</tr>
</table>
</form>
コード例 #3
0
ファイル: index.ctp.php プロジェクト: codegooglecom/seopanel
echo showSectionHead($sectionHead);
?>
<form id='search_form'>
<table width="45%" border="0" cellspacing="0" cellpadding="0" class="search">
	<tr>				
		<th>Test Plugin Type: </th>
		<td>
			<select name="tp_type">
				<option value="1">active</option>
				<option value="0">inactive</option>
			</select>
		</td>
		<td align='left'>
			<a onclick="testPlugin();<?php 
echo pluginPOSTMethod('search_form', 'subcontent', 'action=show');
?>
" href="javascript:void(0);">
         		<img border="0" alt="" src="<?php 
echo SP_IMGPATH;
?>
/show_records.gif"/>
         	</a>
         </td>
	</tr>
</table>
</form>

<div id='subcontent'>
	<p class='note'>Click Show Records to <b class="testplugin">Show</b> Test Plugin Records.</p>
</div>